Deep Policy Iteration with Integer Programming for Inventory Management

Pavithra Harsha, Ashish Jagmohan, Jayant Kalagnanam, Brian Quanz, Divya Singhvi

TL;DR

This paper introduces PARL, a novel deep reinforcement learning framework that combines neural networks with mathematical programming to optimize complex inventory management problems. PARL significantly outperforms existing methods by explicitly incorporating state-dependent constraints, offering a more robust and effective solution for real-world supply chain challenges.

What Problem Does This Paper Address?

Modern supply chains, especially with the rise of e-commerce, face immense complexity. Managers must make decisions about inventory replenishment across multiple locations (multi-echelon networks) while dealing with uncertain demand, lost sales, capacity constraints, fixed ordering costs, and lead times. These factors create a massive, combinatorial action space and state-dependent constraints, making traditional optimization and even standard deep reinforcement learning (DRL) approaches computationally intractable or suboptimal. The paper aims to bridge this gap by developing an RL framework that can effectively handle these complexities.

Methods

The core innovation is PARL (Programmable Actor Reinforcement Learning), a deep policy iteration algorithm. It leverages:

  • Neural Networks (NNs): Used to approximate the value function (the expected future reward from a given state).
  • Mathematical Programming (MP): Specifically, integer programming (IP) is used to solve for the optimal action at each step. This is a key differentiator, as it allows PARL to explicitly incorporate complex, state-dependent constraints that are difficult for standard DRL methods to handle implicitly.
  • Sample Average Approximation (SAA): Used to handle the uncertainty in demand by approximating expectations over sampled demand realizations.

PARL works by iteratively improving a policy. In each iteration, it uses the current policy to gather data, trains a neural network to approximate the value function, and then uses this value function within a mathematical program to find the optimal action for the current state. This process continues until the policy converges.

Datasets

The paper does not use traditional "datasets" in the sense of pre-collected data. Instead, it relies on a custom-built simulation environment that models various supply chain networks. These environments are designed to mimic real-world complexities such as:

  • Network Structures: Single-echelon, multi-echelon (1S-mR, 1S-2W-3R), and dual-sourcing networks.
  • Demand: Uncertain, with varying distributions (e.g., normal, Poisson).
  • Costs: Holding costs, ordering costs (fixed and variable), lead times.
  • Constraints: Holding capacities, lost sales.

The authors introduce a modular Python library to facilitate the creation and benchmarking of these supply chain environments, making them accessible to other researchers.

Key Insights and Ideas

  • Explicit Constraint Handling is Crucial: The paper strongly suggests that explicitly modeling state-dependent constraints using mathematical programming, rather than implicitly learning them, is key to achieving superior performance in complex inventory settings.
  • PARL's Strength in Complexity: PARL's performance advantage becomes more pronounced in more complex supply chain settings (e.g., multi-echelon, dual sourcing, larger networks), where standard heuristics and other DRL methods struggle.
  • Trade-off Between Costs and Revenue: PARL effectively balances ordering costs and holding costs, often making fewer but larger orders, leading to lower overall inventory costs.
  • Near-Optimal Policy Learning: In simpler settings where near-optimal heuristics exist (like back-order settings), PARL can learn policies that are very close to optimal, mimicking known parametric solutions.
  • Initial Learning Curve: PARL might show slower initial progress compared to some DRL baselines because its "critic" (value function) needs to be trained before the "actor" (policy) can effectively optimize actions. However, it often converges to a better final policy.

Key Results

  • Performance Improvement: PARL outperforms state-of-the-art RL algorithms (PPO, SAC, TD3, A2C) by an average of 14.7% and base stock heuristics by 45% across various complex supply chain settings.
  • Scalability: PARL can be trained to solve moderately sized supply chain problems (hundreds of retailers) in approximately 10 days of training time on their computational setup.
  • Runtime: While PARL's per-step action optimization (due to IP) is slower than the gradient steps of pure DRL algorithms like PPO, its overall training can be efficient due to parallelization and the ability to learn robust policies.
  • Near-Optimality: In settings with known optimal or near-optimal heuristics, PARL achieves performance comparable to these benchmarks, with optimality gaps typically between 1-5%.

Limitations and Future Work

  • Computational Resources: PARL, especially due to its reliance on IP solvers, requires significant computational resources and time for training. While it can handle moderately large problems, further speedups are needed for very large-scale or real-time applications.
  • Hyperparameter Tuning: Like all DRL methods, PARL's performance is sensitive to hyperparameter tuning, requiring extensive search.
  • Future Directions:
    • Developing more efficient IP formulations or approximations to reduce computation time.
  • Exploring alternative NN architectures tailored for inventory optimization.
  • Extending the framework to settings where the complete demand distribution is unknown, relying on historical data for online estimation.
  • Applying the methodology to order fulfillment problems.
  • Further research into making the framework more scalable and accessible.

Summary updated

BibTeX
@article{harsha2025deep,
  author = {Pavithra Harsha and Ashish Jagmohan and Jayant Kalagnanam and Brian Quanz and Divya Singhvi},
  title = {{Deep Policy Iteration with Integer Programming for Inventory Management}},
  journal = {Manuf. Serv. Oper. Manag.},
  year = {2025},
  doi = {10.1287/msom.2022.0617},
}
Figure