IDEAS home Printed from https://ideas.repec.org/a/eee/ejores/v322y2025i3p889-907.html
   My bibliography  Save this article

Approximating G(t)/GI/1 queues with deep learning

Author

Listed:
  • Sherzer, Eliran
  • Baron, Opher
  • Krass, Dmitry
  • Resheff, Yehezkel

Abstract

Many real-world queueing systems exhibit a time-dependent arrival process and can be modeled as a G(t)/GI/1 queue. Despite its wide applicability, little can be derived analytically about this system, particularly its transient behavior. Yet, many services operate on a schedule where the system is empty at the beginning and end of each day; thus, such systems are unlikely to enter a steady state. In this paper, we apply a supervised machine learning approach to solve a fundamental problem in queueing theory: estimating the transient distribution of the number in the system for a G(t)/GI/1. We develop a neural network mechanism that provides a fast and accurate predictor of these distributions for moderate horizon lengths and practical settings. It is based on using a Recurrent Neural Network (RNN) architecture based on the first several moments of the time-dependent inter-arrival and the stationary service time distributions; we call it the Moment-Based Recurrent Neural Network (RNN) method (MBRNN). Our empirical study suggests MBRNN requires only the first four inter-arrival and service time moments. We use simulation to generate a substantial training dataset and present a thorough performance evaluation to examine the accuracy of our method using two different test sets. We perform sensitivity analysis over different ranges of Squared Coefficient of Variation (SCV) of the inter-arrival and service time distribution and average utilization level. We show that even under the configuration with the worst performance errors, the mean number of customers over the entire timeline has an error of less than 3%. We further show that our method outperforms fluid and diffusion approximations. While simulation modeling can achieve high accuracy (in fact, we use it as the ground truth), the advantage of the MBRNN over simulation is runtime. While the runtime of an accurate simulation of a G(t)/GI/1 queue can be measured in hours, the MBRNN analyzes hundreds of systems within a fraction of a second. We demonstrate the benefit of this runtime speed when our model is used as a building block in optimizing the service capacity for a given time-dependent arrival process. This paper focuses on a G(t)/GI/1, however the MBRNN approach demonstrated here can be extended to other queueing systems, as the training data labeling is based on simulations (which can be applied to more complex systems) and the training is based on deep learning, which can capture very complex time sequence tasks. In summary, the MBRNN has the potential to revolutionize our ability for transient analysis of queueing systems.

Suggested Citation

  • Sherzer, Eliran & Baron, Opher & Krass, Dmitry & Resheff, Yehezkel, 2025. "Approximating G(t)/GI/1 queues with deep learning," European Journal of Operational Research, Elsevier, vol. 322(3), pages 889-907.
  • Handle: RePEc:eee:ejores:v:322:y:2025:i:3:p:889-907
    DOI: 10.1016/j.ejor.2024.12.030
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S037722172400972X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ejor.2024.12.030?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. Marc Hallin & Gilles Mordant & Johan Segers, 2020. "Multivariate Goodness-of-Fit Tests Based on Wasserstein Distance," Working Papers ECARES 2020-06, ULB -- Universite Libre de Bruxelles.
    2. Bernard O. Koopman, 1972. "Air-Terminal Queues under Time-Dependent Conditions," Operations Research, INFORMS, vol. 20(6), pages 1089-1114, December.
    3. Schwarz, Justus Arne & Selinka, Gregor & Stolletz, Raik, 2016. "Performance analysis of time-dependent queueing systems: Survey and classification," Omega, Elsevier, vol. 63(C), pages 170-189.
    4. Galit B. Yom-Tov & Avishai Mandelbaum, 2014. "Erlang-R: A Time-Varying Queue with Reentrant Customers, in Support of Healthcare Staffing," Manufacturing & Service Operations Management, INFORMS, vol. 16(2), pages 283-299, May.
    5. Ingolfsson, Armann & Amanul Haque, Md. & Umnikov, Alex, 2002. "Accounting for time-varying queueing effects in workforce scheduling," European Journal of Operational Research, Elsevier, vol. 139(3), pages 585-597, June.
    6. Ardavan Nozari, 1985. "Control of entry to a nonstationary queuing system," Naval Research Logistics Quarterly, John Wiley & Sons, vol. 32(2), pages 275-286, May.
    7. Opher Baron & Dmitry Krass & Arik Senderovich & Eliran Sherzer, 2024. "Supervised ML for Solving the GI / GI /1 Queue," INFORMS Journal on Computing, INFORMS, vol. 36(3), pages 766-786, May.
    8. Armann Ingolfsson & Elvira Akhmetshina & Susan Budge & Yongyue Li & Xudong Wu, 2007. "A Survey and Experimental Comparison of Service-Level-Approximation Methods for Nonstationary M(t)/M/s(t) Queueing Systems with Exhaustive Discipline," INFORMS Journal on Computing, INFORMS, vol. 19(2), pages 201-214, May.
    9. Peter J. Kolesar & Kenneth L. Rider & Thomas B. Crabill & Warren E. Walker, 1975. "A Queuing-Linear Programming Approach to Scheduling Police Patrol Cars," Operations Research, INFORMS, vol. 23(6), pages 1045-1062, December.
    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. Ran Liu & Xiaolan Xie, 2018. "Physician Staffing for Emergency Departments with Time-Varying Demand," INFORMS Journal on Computing, INFORMS, vol. 30(3), pages 588-607, August.
    2. Defraeye, Mieke & Van Nieuwenhuyse, Inneke, 2016. "Staffing and scheduling under nonstationary demand for service: A literature review," Omega, Elsevier, vol. 58(C), pages 4-25.
    3. Schwarz, Justus Arne & Selinka, Gregor & Stolletz, Raik, 2016. "Performance analysis of time-dependent queueing systems: Survey and classification," Omega, Elsevier, vol. 63(C), pages 170-189.
    4. Alexander Zeifman & Yacov Satin & Ivan Kovalev & Rostislav Razumchik & Victor Korolev, 2020. "Facilitating Numerical Solutions of Inhomogeneous Continuous Time Markov Chains Using Ergodicity Bounds Obtained with Logarithmic Norm Method," Mathematics, MDPI, vol. 9(1), pages 1-20, December.
    5. Woong-Gi Kim & Namhyuk Ham & Jae-Jun Kim, 2021. "Enhanced Subcontractors Allocation for Apartment Construction Project Applying Conceptual 4D Digital Twin Framework," Sustainability, MDPI, vol. 13(21), pages 1-21, October.
    6. Ali Yousefi & Reza Pourtaheri, 2024. "The Mt/M/1 queueing system with impatient customers and multiple vacation," OPSEARCH, Springer;Operational Research Society of India, vol. 61(4), pages 2002-2022, December.
    7. Linda V. Green & Peter J. Kolesar, 1998. "A Note on Approximating Peak Congestion in Mt/G/\infty Queues with Sinusoidal Arrivals," Management Science, INFORMS, vol. 44(11-Part-2), pages 137-144, November.
    8. Ad Ridder, 2022. "Rare-event analysis and simulation of queues with time-varying rates," Queueing Systems: Theory and Applications, Springer, vol. 100(3), pages 545-547, April.
    9. Yue Zhang & Martin L. Puterman & Matthew Nelson & Derek Atkins, 2012. "A Simulation Optimization Approach to Long-Term Care Capacity Planning," Operations Research, INFORMS, vol. 60(2), pages 249-261, April.
    10. Ingolfsson, Armann & Campello, Fernanda & Wu, Xudong & Cabral, Edgar, 2010. "Combining integer programming and the randomization method to schedule employees," European Journal of Operational Research, Elsevier, vol. 202(1), pages 153-163, April.
    11. J. G. Dai & Pengyi Shi, 2017. "A Two-Time-Scale Approach to Time-Varying Queues in Hospital Inpatient Flow Management," Operations Research, INFORMS, vol. 65(2), pages 514-536, April.
    12. Ward Whitt & Wei You, 2019. "Time-Varying Robust Queueing," Operations Research, INFORMS, vol. 67(6), pages 1766-1782, November.
    13. Ali Yousefi & Reza Pourtaheri & Mohammad Reza Salehi Rad, 2024. "Analysis of the Mt/M/1 Queueing System with Impatient Customers and Single Vacation," Sankhya B: The Indian Journal of Statistics, Springer;Indian Statistical Institute, vol. 86(2), pages 690-712, November.
    14. Narayanan C. Viswanath, 2022. "Transient study of Markov models with time-dependent transition rates," Operational Research, Springer, vol. 22(3), pages 2209-2243, July.
    15. Stolletz, Raik, 2008. "Approximation of the non-stationary M(t)/M(t)/c(t)-queue using stationary queueing models: The stationary backlog-carryover approach," European Journal of Operational Research, Elsevier, vol. 190(2), pages 478-493, October.
    16. William A. Massey & Jamol Pender, 2018. "Dynamic rate Erlang-A queues," Queueing Systems: Theory and Applications, Springer, vol. 89(1), pages 127-164, June.
    17. Pei, Zhi & Dai, Xu & Yuan, Yilun & Du, Rui & Liu, Changchun, 2021. "Managing price and fleet size for courier service with shared drones," Omega, Elsevier, vol. 104(C).
    18. Júlíus Atlason & Marina A. Epelman & Shane G. Henderson, 2008. "Optimizing Call Center Staffing Using Simulation and Analytic Center Cutting-Plane Methods," Management Science, INFORMS, vol. 54(2), pages 295-309, February.
    19. Michael R. Taaffe & Gordon M. Clark, 1988. "Approximating nonstationary two‐priority non‐preemptive queueing systems," Naval Research Logistics (NRL), John Wiley & Sons, vol. 35(1), pages 125-145, February.
    20. Shone, Rob & Glazebrook, Kevin & Zografos, Konstantinos G., 2019. "Resource allocation in congested queueing systems with time-varying demand: An application to airport operations," European Journal of Operational Research, Elsevier, vol. 276(2), pages 566-581.

    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:eee:ejores:v:322:y:2025:i:3:p:889-907. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/eor .

    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.