Published August 21, 2025 | Journal article | Version v1 | https://doi.org/10.21105/joss.08508

idinn: A Python Package for Inventory-Dynamics Control with Neural Networks

  • 1. Department of Computational Science and Philosophy, Frankfurt School of Finance and Management
  • 2. Game Theory, University of Zurich
  • 3. Department of Technology and Operations Management, Rotterdam School of Management, Erasmus University Rotterdam
  • 4. Laboratory for Systems Medicine, Department of Medicine, University of Florida

Files

idinn-v0.2.0.zip

Files (4.3 MB)

Name Size Download all
md5:e419b18da129c88a03be15e94e8916f1
4.0 MB Preview Download
md5:813d13e8e926c564185f4aa18dba9159
263.8 kB Preview Download

Additional details

Dates

Issued
August 21, 2025

References

  1. Li, J., Asikis, T., Fragkos, I., & Böttcher, L. (2025). idinn: A Python Package for Inventory-Dynamics Control with Neural Networks (Version v0.2.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.16784771
  2. Böttcher, L., Asikis, T., & Fragkos, I. (2023). Control of Dual-Sourcing Inventory Systems Using Recurrent Neural Networks. INFORMS Journal on Computing, 35(6), 1308–1328. https://doi.org/10.1287/ijoc.2022.0136
  3. Sun, J., & Van Mieghem, J. A. (2019). Robust Dual Sourcing Inventory Management: Optimality of Capped Dual Index Policies and Smoothing. Manufacturing & Service Operations Management, 21(4), 912–931. https://doi.org/10.1287/msom.2018.0731
  4. Barankin, E. W. (1961). A delivery‐lag inventory model with an emergency provision (the single‐period case). Naval Research Logistics Quarterly, 8(3), 285–311. https://doi.org/10.1002/nav.3800080310
  5. Fukuda, Y. (1964). Optimal Policies for the Inventory Problem with Negotiable Leadtime. Management Science, 10(4), 690–708. https://doi.org/10.1287/mnsc.10.4.690
  6. Yang, Z., Lee, J., & Park, C. (2022). Injecting logical constraints into neural networks via straight-through estimators. In K. Chaudhuri, S. Jegelka, L. Song, C. Szepesvári, G. Niu, & S. Sabato (Eds.), International Conference on Machine Learning, ICML 2022, 17-23 July 2022, Baltimore, Maryland, USA (Vol. 162, pp. 25096–25122). PMLR. https://proceedings.mlr.press/v162/yang22h.html
  7. Asikis, T. (2023). Towards recommendations for value sensitive sustainable consumption. NeurIPS 2023 Workshop on Tackling Climate Change with Machine Learning: Blending New and Existing Knowledge Systems. https://nips.cc/virtual/2023/76939
  8. Böttcher, L., Fonseca, L. L., & Laubenbacher, R. C. (2025). Control of medical digital twins with artificial neural networks. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 383(2292). https://doi.org/10.1098/rsta.2024.0228
  9. Böttcher, L. (2023). Gradient-free training of neural ODEs for system identification and control using ensemble Kalman inversion. ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems, Honolulu, HI, USA, 2023.
  10. Mowlavi, S., & Nabi, S. (2023). Optimal control of PDEs using physics-informed neural networks. Journal of Computational Physics, 473, Article 111731. https://doi.org/10.1016/j.jcp.2022.111731
  11. Böttcher, L., & Asikis, T. (2022). Near-optimal control of dynamical systems with neural ordinary differential equations. Machine Learning: Science and Technology, 3(4), 045004. https://doi.org/10.1088/2632-2153/ac92c3
  12. Böttcher, L., Antulov-Fantulin, N., & Asikis, T. (2022). AI Pontryagin or how artificial neural networks learn to control dynamical systems. Nature Communications, 13(1). https://doi.org/10.1038/s41467-021-27590-0
  13. Asikis, T., Böttcher, L., & Antulov-Fantulin, N. (2022). Neural ordinary differential equation control of dynamics on graphs. Physical Review Research, 4(1). https://doi.org/10.1103/physrevresearch.4.013221
  14. Yi-Jen Wang, & Chin-Teng Lin. (1998). Runge-Kutta neural network for identification of dynamical systems in high accuracy. IEEE Transactions on Neural Networks, 9(2), 294–307. https://doi.org/10.1109/72.661124
  15. Chen, T. Q., Rubanova, Y., Bettencourt, J., & Duvenaud, D. (2018). Neural ordinary differential equations. In S. Bengio, H. M. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada (pp. 6572–6583). https://proceedings.neurips.cc/paper/2018/hash/69386f6bb1dfed68692a24c8686939b9-Abstract.html
  16. Fronk, C., & Petzold, L. (2023). Interpretable polynomial neural ordinary differential equations. Chaos: An Interdisciplinary Journal of Nonlinear Science, 33(4). https://doi.org/10.1063/5.0130803
  17. Paszke, A., Gross, S., Chintala, S., Chanan, G., Yang, E., DeVito, Z., Lin, Z., Desmaison, A., Antiga, L., & Lerer, A. (2017). Automatic differentiation in PyTorch. NIPS 2017 Autodiff Workshop.
  18. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E. Z., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., … Chintala, S. (2019). PyTorch: An imperative style, high-performance deep learning library. In H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. B. Fox, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada (pp. 8024–8035). https://proceedings.neurips.cc/paper/2019/hash/bdbca288fee7f92f2bfa9f7012727740-Abstract.html
  19. Song, J.-S., van Houtum, G.-J., & Van Mieghem, J. A. (2020). Capacity and Inventory Management: Review, Trends, and Projections. Manufacturing & Service Operations Management, 22(1), 36–46. https://doi.org/10.1287/msom.2019.0798
  20. Xin, L., & Van Mieghem, J. A. (2023). Dual-sourcing, dual-mode dynamic stochastic inventory models. In Research Handbook on Inventory ManagemenT (pp. 165–190). Edward Elgar Publishing. https://doi.org/10.4337/9781800377103.00015
  21. Dyer, J., Quera-Bofarull, A., Chopra, A., Farmer, J. D., Calinescu, A., & Wooldridge, M. (2023). Gradient-Assisted Calibration for Financial Agent-Based Models. 4th ACM International Conference on AI in Finance, 288–296. https://doi.org/10.1145/3604237.3626857
  22. Scarf, H., & Karlin, S. (1958). Inventory models of the Arrow-Harris-Marschak type with time lag. In K. J. Arrow, S. Karlin, & H. E. Scarf (Eds.), Studies in the mathematical theory of inventory and production. Stanford University Press.
  23. Arrow, K. J., Harris, T., & Marschak, J. (1951). Optimal Inventory Policy. Econometrica, 19(3), 250. https://doi.org/10.2307/1906813
  24. Raffin, A., Hill, A., Gleave, A., Kanervisto, A., Ernestus, M., & Dormann, N. (2021). Stable-Baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 22(268), 1–8. https://jmlr.org/papers/v22/20-1364.html
  25. Philippi, A., Buttler, S., & Stein, N. (2021). ddop: A python package for data-driven operations management. Journal of Open Source Software, 6(66), 3429. https://doi.org/10.21105/joss.03429

1–25 of 26