Algorithmic Approaches to Inventory Management Optimization

Héctor D. Pérez, Christian D. Hubbs, Can Li, Ignacio E. GrossmannProcesses 2021

TL;DR

This paper explores three algorithmic approaches—deterministic linear programming (DLP), multi-stage stochastic programming (MSSP), and reinforcement learning (RL)—to optimize inventory management in complex, multi-echelon supply chains with uncertain demand. The study finds that while MSSP yields the highest profits, RL creates more resilient inventory policies, and DLP offers a computationally efficient alternative with comparable profitability.

What Problem Does This Paper Address?

Modern supply chains are intricate networks where managing inventory is crucial for profitability and customer satisfaction. A key challenge is balancing the costs of holding inventory against the risks of stockouts, especially when consumer demand is uncertain and lead times vary across different stages of the supply chain. This paper tackles the "Inventory Management Problem" (IMP) in a make-to-order, multi-echelon, single-product supply chain. The goal is to determine optimal reorder quantities at each node to maximize profit, considering factors like production capacity limits, heterogeneous lead times, and two demand fulfillment scenarios: backlogging (delayed fulfillment with penalty) and lost sales (demand not met, with a goodwill penalty).

Methods

The authors compare three distinct algorithmic approaches to solve this complex IMP:

  1. Deterministic Linear Programming (DLP): This method optimizes reorder quantities by considering the expected consumer demand. It uses either a rolling horizon (fixed look-ahead window) or a shrinking horizon (window shrinks as the end of the planning period approaches).
  2. Multi-Stage Stochastic Programming (MSSP): This approach explicitly models the uncertainty in consumer demand by using a scenario tree. It aims to find optimal policies that perform well across a range of possible demand realizations, considering both rolling and shrinking horizons.
  3. Reinforcement Learning (RL): The authors frame the IMP as a Markov Decision Process (MDP) and employ the Proximal Policy Optimization (PPO) algorithm. An RL agent learns an optimal policy by interacting with a simulated environment, observing states (inventory levels, demand), taking actions (placing orders), and receiving rewards (profit). This method learns dynamic reorder policies without explicit knowledge of future demand.

The study also benchmarks these approaches against a "perfect information" model (Oracle), where future demand is known, to establish an upper bound on performance.

Datasets

The paper does not use pre-existing datasets. Instead, it introduces a simulated environment built upon the open-source OR-Gym Python package. This environment is configured with a specific supply chain network (a four-echelon tree topology) and parameters (lead times, costs, capacities, demand distributions) representative of a case study. For evaluation, 100 unique sample paths were generated, each consisting of 30 daily demand realizations sampled from a Poisson distribution with a mean of 20.

Key Insights and Ideas

  • Stochasticity Pays Off (Mostly): MSSP, by explicitly accounting for demand uncertainty, generally yields the highest profits, suggesting that robust planning in the face of uncertainty is key.
  • RL for Resilience: While not always the most profitable, RL creates inventory policies that are more balanced and potentially more resilient to unexpected disruptions. This is because RL tends to maintain more stable inventory levels and distribute demand more evenly across suppliers.
  • DLP's Practicality: Deterministic models, despite ignoring demand uncertainty, are computationally very fast and can achieve profitability comparable to RL, making them a practical choice when computational resources are limited or when quick decisions are needed.
  • Horizon Matters: Both rolling and shrinking horizons were tested. Shrinking horizons generally performed better than rolling horizons for the mathematical programming models, as they allow for longer-term planning.
  • End-of-Simulation Effects: All models exhibited a tendency to reduce inventory to zero near the end of the simulation to avoid holding costs, a practical limitation that could be addressed with terminal constraints or longer simulation horizons.

Key Results

  • Profitability:
    • In the "lost sales" scenario, MSSP-SH achieved the highest mean profit (830.6), followed closely by MSSP-RH (802.7) and DLP-SH (786.9). RL achieved 757.8.
  • In the "backlog" scenario, MSSP-SH again led with 847.7, followed by DLP-SH (825.3) and MSSP-RH (802.7). RL achieved 737.2.
  • All models performed within 3% to 15% of the perfect information "Oracle" model.
  • Service Levels (Lost Sales): RL demonstrated superior service levels, with significantly lower average unfulfilled demands (Figure 9) compared to DLP and MSSP models.
  • Computational Efficiency: DLP models solved in fractions of a second, while MSSP models took significantly longer (up to 119 seconds for MSSP-SH). RL training was extensive (70,000 episodes), but inference (decision-making) is fast.
  • Inventory Profiles: RL maintained more stable and balanced inventory levels across the network, whereas mathematical programming models sometimes showed more drastic fluctuations or concentrated inventory in specific nodes.

Limitations and Future Work

  • Stationary Demand: The current study assumes stationary demand. Future work could explore the impact of non-stationary (time-varying) demand on the performance of these models.
  • End-of-Simulation Effects: The observed tendency to deplete inventory at the end of the simulation horizon is a limitation. Future research could investigate methods to mitigate this, such as imposing terminal inventory constraints or extending simulation horizons.
  • Model Complexity: While MSSP offers superior performance, its computational complexity can be a barrier. Further research could focus on more efficient approximations or solution techniques for MSSP.
  • Generalization: The study used a specific tree-topology supply network. Extending the research to more complex network structures and exploring the generalizability of the RL policies would be valuable.
  • Multi-Product/Multi-Echelon Complexity: The current work focuses on a single product. Future extensions could address multi-product scenarios and more intricate multi-echelon structures.

Summary updated

BibTeX
@inproceedings{perez2021algorithmic,
  author = {Héctor D. Pérez and Christian D. Hubbs and Can Li and Ignacio E. Grossmann},
  title = {{Algorithmic Approaches to Inventory Management Optimization}},
  booktitle = {Processes},
  year = {2021},
  doi = {10.3390/pr9010102},
}
Figure