IDEAS home Printed from https://ideas.repec.org/a/spr/annopr/v349y2025i3d10.1007_s10479-025-06551-6.html
   My bibliography  Save this article

Going faster to see further: graphics processing unit-accelerated value iteration and simulation for perishable inventory control using JAX

Author

Listed:
  • Joseph Farrington

    (University College London)

  • Wai Keong Wong

    (University College London
    NIHR University College London Hospitals Biomedical Research Centre, University College London
    University College London Hospitals NHS Foundation Trust
    Cambridge University Hospitals NHS Foundation Trust)

  • Kezhi Li

    (University College London)

  • Martin Utley

    (University College London)

Abstract

Value iteration can find the optimal replenishment policy for a perishable inventory problem, but is computationally demanding due to the large state spaces that are required to represent the age profile of stock. The parallel processing capabilities of modern graphics processing units (GPUs) can reduce the wall time required to run value iteration by updating many states simultaneously. The adoption of GPU-accelerated approaches has been limited in operational research relative to other fields like machine learning, in which new software frameworks have made GPU programming widely accessible. We used the Python library JAX to implement value iteration and simulators of the underlying Markov decision processes in a high-level interface, and relied on this library’s function transformations and compiler to efficiently utilize GPU hardware. Our method can extend use of value iteration to settings that were previously considered infeasible or impractical. We demonstrate this on example scenarios from three recent studies which include problems with over 16 million states and additional problem features, such as substitution between products, that increase computational complexity. We compare the performance of the optimal replenishment policies to heuristic policies, fitted using simulation optimization in JAX which allowed the parallel evaluation of multiple candidate policy parameters on thousands of simulated years. The heuristic policies gave a maximum optimality gap of 2.49%. Our general approach may be applicable to a wide range of problems in operational research that would benefit from large-scale parallel computation on consumer-grade GPU hardware.

Suggested Citation

  • Joseph Farrington & Wai Keong Wong & Kezhi Li & Martin Utley, 2025. "Going faster to see further: graphics processing unit-accelerated value iteration and simulation for perishable inventory control using JAX," Annals of Operations Research, Springer, vol. 349(3), pages 1609-1638, June.
  • Handle: RePEc:spr:annopr:v:349:y:2025:i:3:d:10.1007_s10479-025-06551-6
    DOI: 10.1007/s10479-025-06551-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10479-025-06551-6
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10479-025-06551-6?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. De Moor, Bram J. & Gijsbrechts, Joren & Boute, Robert N., 2022. "Reward shaping to improve the performance of deep reinforcement learning in perishable inventory management," European Journal of Operational Research, Elsevier, vol. 301(2), pages 535-545.
    2. Liu, Xinbao & Yang, Tianji & Pei, Jun & Liao, Haitao & Pohl, Edward A., 2019. "Replacement and inventory control for a multi-customer product service system with decreasing replacement costs," European Journal of Operational Research, Elsevier, vol. 273(2), pages 561-574.
    3. Emmett J. Lodree & Nezih Altay & Robert A. Cook, 2019. "Staff assignment policies for a mass casualty event queuing network," Annals of Operations Research, Springer, vol. 283(1), pages 411-442, December.
    4. Duarte, Victor & Duarte, Diogo & Fonseca, Julia & Montecinos, Alexis, 2020. "Benchmarking machine-learning software and hardware for quantitative economics," Journal of Economic Dynamics and Control, Elsevier, vol. 111(C).
    5. Duan, Qinglin & Liao, T. Warren, 2013. "A new age-based replenishment policy for supply chain inventory optimization of highly perishable products," International Journal of Production Economics, Elsevier, vol. 145(2), pages 658-671.
    6. Steven Nahmias, 1982. "Perishable Inventory Theory: A Review," Operations Research, INFORMS, vol. 30(4), pages 680-708, August.
    7. Doraid Dalalah & Omar Bataineh & Khaled A. Alkhaledi, 2019. "Platelets inventory management: A rolling horizon Sim–Opt approach for an age-differentiated demand," Journal of Simulation, Taylor & Francis Journals, vol. 13(3), pages 209-225, July.
    8. Haijema, René & Minner, Stefan, 2019. "Improved ordering of perishables: The value of stock-age information," International Journal of Production Economics, Elsevier, vol. 209(C), pages 316-324.
    9. Brant E. Fries, 1975. "Optimal Ordering Policy for a Perishable Commodity with Fixed Lifetime," Operations Research, INFORMS, vol. 23(1), pages 46-61, February.
    10. Aldrich, Eric M. & Fernández-Villaverde, Jesús & Ronald Gallant, A. & Rubio-Ramírez, Juan F., 2011. "Tapping the supercomputer under your desk: Solving dynamic equilibrium models with graphics processors," Journal of Economic Dynamics and Control, Elsevier, vol. 35(3), pages 386-393, March.
    11. Vaibhav Chaudhary & Rakhee Kulshrestha & Srikanta Routroy, 2018. "State-of-the-art literature review on inventory models for perishable products," Journal of Advances in Management Research, Emerald Group Publishing Limited, vol. 15(3), pages 306-346, March.
    12. Mojtaba Heydar & Małgorzata M. O’Reilly & Erin Trainer & Mark Fackrell & Peter G. Taylor & Ali Tirdad, 2022. "A stochastic model for the patient-bed assignment problem with random arrivals and departures," Annals of Operations Research, Springer, vol. 315(2), pages 813-845, August.
    13. Vaibhav Chaudhary & Rakhee Kulshrestha & Srikanta Routroy, 2018. "State-of-the-art literature review on inventory models for perishable products," Journal of Advances in Management Research, Emerald Group Publishing Limited, vol. 15(3), pages 306-346, March.
    14. Yianni, Panayioti C. & Neves, Luis C. & Rama, Dovile & Andrews, John D., 2018. "Accelerating Petri-Net simulations using NVIDIA Graphics Processing Units," European Journal of Operational Research, Elsevier, vol. 265(1), pages 361-371.
    15. Satyajith Amaran & Nikolaos V. Sahinidis & Bikram Sharda & Scott J. Bury, 2016. "Simulation optimization: a review of algorithms and applications," Annals of Operations Research, Springer, vol. 240(1), pages 351-380, May.
    16. Voelkel, Michael A. & Sachs, Anna-Lena & Thonemann, Ulrich W., 2020. "An aggregation-based approximate dynamic programming approach for the periodic review model with random yield," European Journal of Operational Research, Elsevier, vol. 281(2), pages 286-298.
    17. Steven Nahmias, 1975. "Optimal Ordering Policies for Perishable Inventory—II," Operations Research, INFORMS, vol. 23(4), pages 735-749, August.
    18. Dillon, Mary & Oliveira, Fabricio & Abbasi, Babak, 2017. "A two-stage stochastic programming model for inventory management in the blood supply chain," International Journal of Production Economics, Elsevier, vol. 187(C), pages 27-41.
    19. Peri, Alessandro, 2020. "A hardware approach to value function iteration," Journal of Economic Dynamics and Control, Elsevier, vol. 114(C).
    20. Robert Kirkby, 2017. "A Toolkit for Value Function Iteration," Computational Economics, Springer;Society for Computational Economics, vol. 49(1), pages 1-15, January.
    21. Boschetti, Marco Antonio & Maniezzo, Vittorio & Strappaveccia, Francesco, 2017. "Route relaxations on GPU for vehicle routing problems," European Journal of Operational Research, Elsevier, vol. 258(2), pages 456-466.
    22. Liu, Baolong & Papier, Felix, 2022. "Remanufacturing of multi-component systems with product substitution," European Journal of Operational Research, Elsevier, vol. 301(3), pages 896-911.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gorria, Carlos & Lezaun, Mikel & López, F. Javier, 2022. "Performance measures of nonstationary inventory models for perishable products under the EWA policy," European Journal of Operational Research, Elsevier, vol. 303(3), pages 1137-1150.
    2. Jake Clarkson & Michael A. Voelkel & Anna‐Lena Sachs & Ulrich W. Thonemann, 2023. "The periodic review model with independent age‐dependent lifetimes," Production and Operations Management, Production and Operations Management Society, vol. 32(3), pages 813-828, March.
    3. Dehghani, Maryam & Abbasi, Babak & Oliveira, Fabricio, 2021. "Proactive transshipment in the blood supply chain: A stochastic programming approach," Omega, Elsevier, vol. 98(C).
    4. Gulecyuz, Suheyl & O’Sullivan, Barry & Armagan Tarim, S., 2025. "A heuristic method for perishable inventory management under non-stationary demand," Omega, Elsevier, vol. 133(C).
    5. Janssen, Larissa & Diabat, Ali & Sauer, Jürgen & Herrmann, Frank, 2018. "A stochastic micro-periodic age-based inventory replenishment policy for perishable goods," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 118(C), pages 445-465.
    6. De Moor, Bram J. & Gijsbrechts, Joren & Boute, Robert N., 2022. "Reward shaping to improve the performance of deep reinforcement learning in perishable inventory management," European Journal of Operational Research, Elsevier, vol. 301(2), pages 535-545.
    7. van Donselaar, Karel & Broekmeulen, Rob, 2025. "Easy-to-use estimators for waste, on shelf availability and number of orders in a periodic review inventory system with perishable items," International Journal of Production Economics, Elsevier, vol. 284(C).
    8. Gioia, Daniele Giovanni & Minner, Stefan, 2023. "On the value of multi-echelon inventory management strategies for perishable items with on-/off-line channels," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 180(C).
    9. Chen, Jing & Dong, Ming & Xu, Lei, 2018. "A perishable product shipment consolidation model considering freshness-keeping effort," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 115(C), pages 56-86.
    10. Ketzenberg, Michael & Oliva, Rogelio & Wang, Yimin & Webster, Scott, 2023. "Retailer inventory data sharing in a fresh product supply chain," European Journal of Operational Research, Elsevier, vol. 307(2), pages 680-693.
    11. Li‐Ming Chen & Amar Sapra, 2013. "Joint inventory and pricing decisions for perishable products with two‐period lifetime," Naval Research Logistics (NRL), John Wiley & Sons, vol. 60(5), pages 343-366, August.
    12. Pahr, Alexander & Grunow, Martin & Amorim, Pedro, 2025. "Learning from the aggregated optimum: Managing port wine inventory in the face of climate risks," European Journal of Operational Research, Elsevier, vol. 323(2), pages 671-685.
    13. Haijema, René & Minner, Stefan, 2019. "Improved ordering of perishables: The value of stock-age information," International Journal of Production Economics, Elsevier, vol. 209(C), pages 316-324.
    14. K. Preethi & B. Sivakumar, 2025. "System Point Level Crossing Approach for Lost Sales Deteriorating Inventory Systems with Positive Lead Time," Methodology and Computing in Applied Probability, Springer, vol. 27(3), pages 1-19, September.
    15. Li‐Ming Chen & Amar Sapra, 2021. "Inventory renewal for a perishable product: Economies of scale and age‐dependent demand," Naval Research Logistics (NRL), John Wiley & Sons, vol. 68(3), pages 359-377, April.
    16. Duan, Qinglin & Liao, T. Warren, 2014. "Optimization of blood supply chain with shortened shelf lives and ABO compatibility," International Journal of Production Economics, Elsevier, vol. 153(C), pages 113-129.
    17. Alexandra Birkmaier & Adhurim Imeri & Gerald Reiner, 2024. "Improving supply chain planning for perishable food: data-driven implications for waste prevention," Journal of Business Economics, Springer, vol. 94(6), pages 1-36, August.
    18. Hailun Zhang & Jiheng Zhang & Rachel Q. Zhang, 2020. "Simple Policies with Provable Bounds for Managing Perishable Inventory," Production and Operations Management, Production and Operations Management Society, vol. 29(11), pages 2637-2650, November.
    19. Lowalekar, Harshal & Ravi, R. Raghavendra, 2017. "Revolutionizing blood bank inventory management using the TOC thinking process: An Indian case study," International Journal of Production Economics, Elsevier, vol. 186(C), pages 89-122.
    20. Xiong‐zhi Wang & Guo‐qing Wang, 2019. "Integrating dynamic pricing and inventory control for fresh‐agri product under consumer choice," Australian Economic Papers, Wiley Blackwell, vol. 58(1), pages 96-111, March.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:annopr:v:349:y:2025:i:3:d:10.1007_s10479-025-06551-6. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.