Next Article in Journal
Major Issues in High-Frequency Financial Data Analysis: A Survey of Solutions
Previous Article in Journal
Three-Dimensional Stratigraphic Structure and Property Collaborative Modeling in Urban Engineering Construction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Tool for Analyzing Finite Buffer Queueing Systems

by
Attahiru Sule Alfa
1 and
Haitham Abu Ghazaleh
2,*
1
Department of Electrical and Computer Engineering, University of Manitoba, Winnipeg, MB R3T 5V6, Canada
2
Department of Engineering and Computer Science, Tarleton State University, Stephenville, TX 76402, USA
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(3), 346; https://doi.org/10.3390/math13030346
Submission received: 24 December 2024 / Revised: 17 January 2025 / Accepted: 19 January 2025 / Published: 22 January 2025

Abstract

:
Queueing delays are one very important performance measure for most engineering network systems. Providing low-delay systems is a major goal of service providers, as it is a leading concern for users/customers. These network systems and their performance measures are typically analyzed using queueing-based models. Even though there are several available strong and precise mathematical models for analyzing queueing systems, their applications are limited to simple and small-scale systems due to their lack of scalability in real-life systems. Researchers have spent a good portion of their efforts toward perfecting the analysis of such systems. Precise and accurate results are available for single-node systems with standard operations. However, for analyzing multi-node systems with complex operations, one has to resort to approximations or simulations. Some of these approximations usually give an oversimplified view of such systems; these approximations remain quite limited. In this paper, we present a machine learning tool that can potentially be used to analyze most finite buffer queues to obtain reasonable approximations for the mean number of items in such systems. The machine learning tool we develop is based on supervised learning using the Michaelis–Menten non-linear model used in biochemistry and the results are simple to obtain. It is fast and very scalable; these characteristics represent the main features of this approach compared to existing systems. The coefficient of determination R 2 for all the examples presented are all higher than 90 % , with some as high as 99.6 % .

1. Introduction

Many of our day-to-day activities depend considerably on communication systems, specifically on communications and computer networks that carry and deliver messages between humans, devices, etc. One of the most important performance measures for these systems as perceived by users and service providers is latency, along with reliability and other types of measures. Therefore, it is extremely relevant that service providers are able to reasonably assess and measure such delays. Even though delay is the intended measure that is required for analysis, the number of items waiting in the queue is often used as a pseudo for estimating delay. Service providers need to develop tools for estimating delays and/or the number of items in a system for communication networks that are in use today. Similar to communications systems, transportation systems and manufacturing systems also need the same type of performance measures, making them extremely important in nearly all types of networks. The key methods for estimating delays in network systems are analytical queueing models and simulation tools, with the former being accepted as more precise and reliable when they can be used/developed.
Queueing theory [1] continues to be widely applied for modeling and analyzing the performance of systems with limited resources that offer services to entities with the possibility of queueing service requests. System evaluation is often conducted using either an analytical model or a simulation, with each of the two methods having their merits and limitations. In this paper, our goal is to offer a different, modest, and practical alternative to using analytical modeling or simulations in relation to queueing systems. The aim is to obtain very good estimates of the mean number in such systems, or the mean queue length, by using supervised machine learning. We present a machine learning tool that can be used to analyze most single-node and finite-buffer queues to obtain reasonable approximations for their mean queue lengths. The proposed tool will not have any restrictions on buffer size, except its being finite, and no restrictions on the traffic intensity. The results are further extended to multi-node systems, specifically to tandem queues, and later to tandem queueing systems with feedback.
One may ask why there is need to consider a machine learning tool for analyzing queueing systems, given the extensive literature on the subject. Even though there has been extensive and excellent work already carried out on queueing theory spanning over several years, there has been a nagging issue regarding scalability for real-life, large-size problems. Efforts have been carried out on different levels and directions to deal with handling practical queueing problems; however, scalability has been a persistent problem with the tools developed. In order to bring this matter to the forefront of this work, we discuss relevant background and related works pertaining to queueing theory in Section 2. This will assist in highlighting the excellent work that has been carried out in this field and how the issue of scalability is still of concern. This is why we consider machine learning a tool for handling scalability issues associated with queueing theory. The current paper is an initial attempt to show that machine learning has potential for being used for analyzing queueing theory, and to discuss future work pertaining to applications to large problems, hence pointing out how promising the tool is.
For the machine learning component, we assume the use of non-linear regression models in supervised learning tools and apply the non-linear Michaelis–Menten equation [2] for analyzing the behavior of M/M/c/K systems for any c and K, which is a well-studied model in the literature—further, exact results for its mean queue length are well known. We further show that the application of the proposed supervised learning tool can be extended to other and complex systems such as PH/PH/1/K systems and tandem systems with feedback. Our results are strictly focused on both proposing and demonstrating the merits of employing the non-linear regression model in supervise learning for estimating mean queue lengths in such systems. Issues in performance due to data size, integrity, and overfitting are not examined in this work. Such issues are common when using machine learning tools and are strongly related to the nature of the data and their application. Selecting a dataset for demonstrating the proposed solution’s performance under such issues can lead to certain biases that we intend to avoid; instead, we thus focus on the feasibility and simplicity of the proposed technique.
In this work, we limit our analysis to cases of systems with Markovian behaviors and stationary traffic intensities. While our selection of different types of queueing systems and networks is not exhaustive, we believe it is sufficient to demonstrate our proposed solution’s potential to deal with a significant number of different systems in both a simple and scalable manner. Other and more complex systems will be examined in our future work. The proposed solution, if deemed effective, can be applied to estimate in a timely and efficient manner mean queue lengths that are necessary in a variety of applications such as lane traffic scheduling [3], queue length estimations in signalized intersections [4], scheduling departures in busy airports [5], scheduling and prioritizing patient service in emergency care hospitals [6], scheduling network resources for delay sensitive applications [7], fair resource allocation in wireless networks [8], and many more other applications.
After covering the essential background on the topic, we present an overview of M/M/c/K systems with well-known closed form solutions for the queue lengths and waiting times, and develop a machine learning (ML) tool based on the supervised learning approach for analyzing the mean number in the queue. For the ML tool, we propose applying the Michaelis–Menten equation [2] for kinetics in biochemistry to represent the mean number in the system and an approach for finding the relevant parameters. We observe that the pattern of this system is the same for PH/PH/1/K systems and conjecture that the pattern observed follows for the GI/G/1/K systems. Even though the single-node results would go a long way to estimate the performance measure of interest very quickly for single-node systems, we believe that for the results to be fully appreciated, the idea should be extended to tandem queues, converging queues, and diverging queues. We explore the case of two queues in tandem as well as a network of four queues with feedback in this paper and defer the cases of converging and diverging systems to future works.

2. Background and Related Works

2.1. Overview of Queueing Analysis

Extensive research has been carried out over the years in queueing theory and for more than a century since Erlang, the Danish engineer/mathematician who made the field popular for telephony traffic in 1909. For more detailed information on Erlang’s work, see Brockmeyer and Halstrøm [9]. Since then, there have been continuous efforts by engineers, computer scientists, mathematicians, and operations research analysts to advance the theory and its applications. Even though significant progress has been made in this field, surprisingly, its applications, up to the early 1970s, were limited to very simple systems due to lack of scalability in real-life applications. In very seminal papers by Saaty [10] and Bhat [11], the authors pointed out the continuous growth of research papers in queueing and discussed how practitioners felt they could not use most of them, even though mathematicians felt the field had been well studied and there were several results available at the time. The problem was that what practitioners and theoretical researchers saw as usable results were divergent. There were at least two issues that needed to be addressed by researchers in the field of queueing theory at that time for results to be very useful to practitioners. One of them was that more realistic systems needed to be modeled, and the other was that the mathematical models should lend themselves to be computationally feasible for practitioners to compute measures for design purposes, rather than being left in the form of transforms, especially Laplace transforms.
In 1978, Jack Byrd [12] questioned why there were so few implementations of queueing theory, and went further to present some short case studies based on every day real-life systems for which effective solutions could not be obtained at the time. Several queueing theorists challenged this observation, including Narayan Bhat [13], pointing out that the problems considered were not true representations of queueing systems. Several researchers in the field took note. One of the key issues that queueing theory was facing at that time was that most results were in the form of Laplace transforms, and inverting those transforms was a numerical challenge. Efforts were devoted to developing transform inversions for some classes of queueing models or developing non-transform-based queueing algorithms.
As a result, Marcel Neuts along with a team of researchers decided to focus on developing queueing results that could be reasonably computed by practitioners. A series of papers on those methods include ([14,15,16,17,18]). These papers encouraged other mathematical researchers in the field to pursue computationally feasible tools for queueing analysis. Neuts [19] later advanced the theory of matrix geometric methods for practically analyzing a particular class of queues (the GI/M/1 types), which was later followed by Neuts [20] dealing with another important class of queues (the M/G/1 types). These were great advances in the field, later named Matrix-Analytic Methods (MAMs). However, there was still a major gap between theory and applications. Even though MAMs showed major promise in this area of obtaining numerical results for queueing models, there were still some challenges.
In the MAMs field, obtaining numerical results required computing some of the key matrices, such as the R and G matrices. Both matrices require significant effort to compute. Several other papers followed 30 years after Neuts’ work, with very deep theories emerging, but with limited advancement in real applications. Most of them are based on trying to model very complicated arrival and service processes, improving the computational efficiencies of existing exact methods such as those for computing R and G. The models developed, and often used, are limited not by the existing results but instead by scalability issues. For example, most of the queueing systems encountered in real life are finite buffer types, usually with very large buffer sizes, and traffic intensities larger than one. Even though finite buffer queues should be reasonably feasible to study and analyze, the Markov chains representing such systems have huge dimensions, making them practically inconvenient to analyze. Researchers often resort to approximating such queueing systems as infinite buffer queues and explore the use of mathematical tools that make such infinite buffer systems easier to analyze, thereby limiting their application to real life cases.
In an attempt to provide results based on transforms, considerable efforts were expended by other researchers in trying to develop efficient and effective tools for inverting transforms for practitioners. These efforts focused on developing numerical approaches for inverting the Laplace transforms and probability generating functions associated with queueing model results developed by mathematicians. Obtaining efficient and effective techniques for the inversions was thought to be key for exploring the transform-based results. Ward Whitt and several colleagues made significant progress in this area. A few examples of their work include ([21,22,23]), among a series of their works. They made some major progress in this area, but applications of the results still had scalability issues.
Another approach that received good attention was the fluid modeling approach based on a popular paper by Anick et al. [24]. Later, Ramaswami [25] worked on connecting fluid models with MAMs for studying queueing systems. The approach was well developed, but was also limited in terms of scalability.
From a scalability perspective, Whitt [26] made significant progress in making queueing theory accessible to practitioners dealing with network of queues. Specifically, Whitt developed the Queueing Network Analyzer (QNA), which succeeded in dealing with a class of queueing networks encountered in communications and industrial engineering. The QNA was well utilized, but was still limited in terms of scalability by modern-day network systems and requirements.

2.2. The Issue of Scalability

Engineers and mathematicians have spent a significant amount of research effort perfecting the analysis of such systems. Most of the advancements have been in dealing with more complicated real-life systems and developing computationally efficient methods for their analysis. Nevertheless, despite the major progress and success, the issue of scalability still persists, considering that most queueing models are usually only a component of a given large-scale model of interest for the practitioner. The practitioner usually wants to optimize some components of the queueing system; hence, performance measures of the queueing system are usually an input to a major complex analysis. Therefore, scalability issues need to be tackled.
Precise and accurate results are available for single-node systems with standard operations, with an infinite buffer as an example. So, most systems are approximated by such models. The problem with such approximations or representations is that the results are limited to systems that are stable, i.e., with traffic intensity less than one. Such infinite buffer queues with traffic intensities less than one are few and far between in real-life situations. Most service systems deal with traffic intensities greater than one—otherwise, the service providers would not find them economically feasible—and given the nature of the systems, the buffer sizes are finite and huge. In addition, most real-life systems, especially in communication networks, involve a series and networks of queues. Once we have to analyze these types of multi-node systems with complex operations, one has to resort to approximations or simulations. Some of these approximations usually give an oversimplified view of the system.
Our observation is that there are significant, exceptional, general, and well-refined mathematical and computationally based results that are currently available for queueing systems based on the excellent works of researchers in the field. However, the problem of their limited scalability remains. If the existing results discussed in the last few paragraphs can be harnessed with machine learning, then scalable results can potentially be developed, which is the main focus of this work.

2.3. The Case for Machine Learning

The idea of using machine learning to analyze queueing systems was suggested by Khoshnevis and Parisy [27] way back in 1993, when they showed that machine learning algorithms have a potential application, specifically in simulation stages of modeling. They demonstrated a sample application in simulations of queueing, and this showed some promise. Recently, the concept of applying machine learning to queueing systems has been gaining some traction due to the needs of more practical uses of queueing models. Chen and Yen [28] considered using machine learning to analyze multi-queue message scheduling in a specific controller and for a specific case of a controller area network. They used what they call a Type I and Type II machine learning approach for managing the variations in the queue load. Their method involved a hybrid learning approach for constructing the queueing model without the need for specifying the details of the model. However, their approach was limited to the scope covered in their application and the queueing model information was developed from simulations. Wartelle et al. [29] proposed a technique that utilizes queueing analysis and machine learning for forecasting and optimizing the performance of a system. Their result was developed for a specific application, namely, an emergency department. However, their method still required developing the specific details of the queueing model, which can become mathematically intractable when considering a larger scale of the system. Ojeda et al. [30] developed a data-driven approach called Deep Generative Service Times for learning the service and response time model in a queueing system. Their proposed method avoids the restriction of imposing explicit distribution forms in their analysis, but is limited to employing machine learning algorithms to certain parts of the queueing analysis.
Vishnevsky and Gorbunova [31] mentioned in their work that machine learning is highly effective based on their initial studies and suggested that it is an area that shows promise for further research. They further suggested that this area could lead to a new approach in the field of solving complex problems in the theory of queues, which is a very encouraging opinion. These viewpoints are further supported by Chocron et al. [32], who investigated under what regimes machine learning prediction is better than analytical queueing models. They observed that machine learning may outperform queueing models with high priority. The word “better” is subjective in this case as theoretical queueing models provide some form of precise results, with lots of computational effort, while machine learning provides much less precise results (good approximations) with much lower computational effort. Their work was based on a specific case study.
In another work, Sherzer et al. [33] examined how well machine learning can solve problems in queueing theory. They applied deep learning for evaluating the queue length in the M/G/1 system, which was later reduced to the M/PH/1 system. They used n moments of service to represent the PH (Phase–Type distribution). Their overall approach is as involved as standard queueing theory analytical models. However, they were able to demonstrate the ability for machine learning to analyze queueing problems. They later followed their study with another work reported in [34]. Kyritsis and Deriaz [35] explored how industries that use queueing tools can benefit from using machine learning to predict waiting times. They considered bank queues, and used a fully connected neural network model. They showed that the use of machine learning is promising as an alternative to analytical queueing models. Given how the use of machine learning for analyzing queue systems has been gaining traction lately, we further explore it with a different approach and focus on more generic cases rather than specific application-oriented cases.

3. The Michaelis–Menten Model

We first present the details of the Michaelis–Menten model [2]. The Michaelis-Menten (M-M) graph is a model used for enzyme kinetics in biochemistry. The M-M equation is of the form
v = V m a x [ S ] K m a x + [ S ] ,
where the aim is to find, through a non-linear regression model, the parameter V m a x , the maximum initial velocity, and the constant K m a x , i.e., the parameters of the M-M equation which correspond to the observed substrate concentration [ S ] (independent variable), and the velocity of reaction v, which is the dependent variable. The graphs in Figure 1 provide some numerical examples that illustrate the general behavior of the M-M model. Note that Equation (1) in a graphical form has a pattern which suggests that
d v d [ S ] 0 , and d 2 v d [ S ] 2 0 .
We will exploit this property in applying it to queueing systems.

4. Analysis of M/M/c/K Queueing System

The M/M/c/K queue is a queueing system with a finite number of servers c, and a finite buffer space of size K, including the item in service. The arrival process follows a Poisson process with parameter λ and exponential service with parameter μ for each server. Since the system has a finite buffer, we can allow ρ = λ c μ to assume any value between 0 and .
Let the random variable X represent the number of items in the system, including the one receiving service, if there is one. We further define L = E [ X ] . It is well known in the queueing literature—see Shortle, Thompson, Gross, and Harris [36]—that the mean number in the system, which we will loosely call the mean queue length and write as L, can be written as
L = L q + c p 0 n = 0 c 1 ( c n ) ( ρ c ) n n ! ,
where
L q = p 0 ( c ρ ) c ρ c ! ( 1 ρ ) 2 [ 1 ρ K c + 1 ( 1 ρ ) ( K c + 1 ) ρ K c ] ,
and
p 0 = [ n = 0 c 1 1 n ! λ μ n + ( λ / μ ) c c ! 1 ( λ / c μ ) K c + 1 1 λ / ( c μ ) ] 1
when ρ = ( λ / ( c μ ) 1 , or the following when ρ = λ / ( c μ ) = 1 ,
p 0 = [ n = 0 c 1 1 n ! λ μ n + λ / μ ) c c ! ( K c + 1 ) ] 1 .
Given this equation for L, our interest is to find a way to use machine learning to reproduce the results with reasonable accuracy, specifically using non-linear regression tools.

Mean Number in System Behavior

The graphs in Figure 2 show the results of the mean number of items in the M/M/1/K system for varying traffic intensity ρ (with 1 λ 24 and μ = 8 ), and for a system capacity of K = 2 , 4 , 6 , 8 . Furthermore, the graphs in Figure 3 show the results of the mean number in the system for an M/M/c/K system for varying ρ (with μ = 8 ) and with varying number of servers c = 1 , 2 , 4 , 8 . For this M/M/c/K system, the graph of L for a large K + c shows the same pattern as that for the M/M/1/K for a large K.
From Equation (3), it is clear that L = 0 , when ρ = 0 , which should be intuitive. Also, for a fixed K, it can be shown that the limit
lim ρ L = K .
Secondly,
d L d ρ 0 ,
and we observe that
d 2 L d ρ 2 0 , when ρ > 1 .
Generally, L seems to be a concave function of ρ when ρ > 1 for specific values of K.
Based on these, one can potentially approximate L by an equation of the form
L V K ρ K K + ρ .
By plotting the values of L versus ρ for a fixed K, we find that the plot satisfies Equation (5) for a large K, as shown later.

5. Machine Learning Tools for Studying L

In this work, we propose analyzing L as a regression problem and present the case for adopting the M-M model as a machine learning algorithm to forecast L in a queueing system for a given parameter such as ρ (or λ for a fixed μ ). There are various and other regression models that may also be adopted for the supervised learning model [37]. However, our aim is not to assess and find the best-fit model, but rather to demonstrate the effectiveness of applying machine learning for analyzing queueing systems as an alternative to mathematical analysis. For simplicity, we opted to utilize the M-M model and show how it may be a reasonable fit. We intend to explore other and better-fit models in our future work. Figure 4 shows an overview of the solution we are proposing for forecasting a queueing system’s performance, specifically in terms of L. We stress again that this solution is not intended as a replacement to the mathematical models and the exceptional efforts spent in deriving the analytical solutions to queueing models. It is instead offered as an alternative method, especially for large and complex systems with solutions that are mathematically intractable. This machine learning approach is easier and faster to implement, though it is an approximation.

5.1. Observations Regarding Behavior of L

One of the key observations to note from the results shown in Figure 2 and Figure 3 is that the plots of L increase in a common pattern with increasing K. The graphs in Figure 2 show the results of the mean number of items in the M/M/1/K system for varying traffic intensity ρ (with 1 λ 24 and μ = 8 ), and for a system capacity of K = 2 , 4 , 6 , 8 . Based on the results shown in Figure 2 and Figure 3, as K increases, the shape of the curve tends more to one that looks like the M-M curve, specifically after ρ > 1 . Thus, for a large K, which is the region we are focusing on, one can conjecture that the curve is of that pattern. This experiment suggests that one can estimate the L for M/M/c/K systems with large K using the M-M equation in supervised machine learning. The following are a set of other important observations regarding the fitting of the M/M/c/K system behavior to the M-M model:
  • V m a x K in all cases;
  • Letting the n t h order estimate of V m a x be written as V m a x n , we notice that V m a x 1 V m a x 2 .
These observations provide some strong confidence in pursuing further the idea of adopting the M-M model in the ML tool for estimating the performance of a queueing system.
Machine learning tools are of several types and one of the most popular and easy to use is supervised learning. We selected the non-linear regression tools of machine learning for this class of problems because they appeared an appropriate choice. There is a very good similarity in terms of shape between the graph of L versus ρ and the graph of kinetics in biochemistry. Thus, we capitalize on this similarity in developing our ML model.

5.2. Relation of L to Michaelis–Menten Equation

After reviewing the values of L versus ρ for any K, we notice that the results have a similar shape and behavior to the M-M model. By virtue of the fact that the plot of v versus [ S ] in the M-M model has the same pattern as the plot of L versus ρ for a fixed K in the M/M/c/K model, it becomes clear the non-linear regression models developed for the M-M model would be a good supervised machine learning model to use for estimating the mean queue length for the M/M/c/K model, where the V m a x and the K m in the M-M model would be equivalent parameters that capture the K and ρ for the M/M/c/K, and [ S ] in the M-M would specifically be equivalent to the ρ in the M/M/c/K model.
We conjecture that in Equation (8) for L, ρ is the traffic intensity, and both V k and K k depend on the value of K, and may also depend on ρ . Equation (8) is a simplified model and can be refined further after detailed studies. One expected behavior of the parameter V K is that for any M/M/c/K, V K should tend to K with increasing ρ ; hence, ρ K K + ρ should tend to one for large ρ .

5.3. Using M-M Fitting Method for L Equation

Touilas and Kitsos (2016) [38] showed non-linear regression methods for the M-M equation. However, other methods are available in the literature for the same purpose, such as by Atkins and Nimmo (1975) [39]. Software tools, such as MATLAB (version 2022a), can also be used for evaluating the best-fit M-M model. We sought a simple approach that is practical to use and adopt in this work.

6. M-M Fitting for Mean Number L of M/M/c/K Systems

In this section, we present the results of the parameters V m a x and K m a x of the M-M model from Equation (1) that best model the mean number L in the M/M/c/K system and for the numerical examples shown in the previous section. The built-in function nlinfit in MATLAB was used to determine the values of the parameters for the best-fit M-M model.
Table 1 shows the values of the coefficients V m a x and K m a x that were computed for the M-M model that best fit the results that were evaluated for the mean number L in the M/M/1/K systems shown in Figure 2. For determining the best-fit model, we included additional results from the analytical solutions for up to ρ = 5 to determine the coefficients of the M-M model. The table also includes the value for the coefficient of determination R 2 , which provides a measure for the goodness-of-fit.
The graphs in Figure 5 and Figure 6 illustrate how well the best-fit M-M model compares with analytical results for the mean number in the M/M/1/4 and M/M/1/8 systems, respectively.
These results demonstrate how well the M-M model can characterize the behavior for the mean number in M/M/1/K systems, when ρ > 1 . The goodness-of-fit R 2 is high for these examples, but decreases with increasing buffer capacity K. The results could be improved if a second-order M-M model was used instead for the fitting process, with the form of the second-order model shown as follows:
v = V m a x [ S ] 2 K m a x + [ S ] 2 .
Table 2 shows the values of the coefficients for the second-order M-M model that provided the best fit for the mean number L in the same M/M/1/K systems shown in Figure 2. These results show an overall higher goodness-of-fit R 2 . These improvements are further demonstrated by the results shown in Figure 7 and Figure 8 that compare the best-fit second-order M-M model with the analytical results for the mean number in the M/M/1/4 and M/M/1/8 systems, respectively. Note how these results show that the second-order M-M model yielded a better fit compared to the ones shown in Figure 5 and Figure 6.
After establishing that the machine learning tool works reasonably well for the M/M/1/K system, the analysis was repeated to determine the best fit model for the mean number in an M/M/c/K system and for the numerical examples shown in Figure 3. For determining the best-fit model, we included additional results from the analytical solutions for up to ρ = 5 to determine the coefficients of the M-M model. Table 3 and Table 4 include the coefficients of the best-fit M-M model and the second-order M-M model, respectively. Furthermore, Figure 9 and Figure 10 show the difference in the best-fit first-order and second-order M-M model for the mean number in M/M/2/8 and M/M/4/8 systems, respectively. These results also highlight how well the M-M model fits analytical results for evaluating the mean number in M/M/c/K systems.

7. Extension of ML Results to PH/PH/1/K and GI/G/1/K Models

To further assess our proposed solution, we ran several experiments for other related single-server queueing systems, including the PH/PH/1/K system. The graphs in Figure 11 show the results of the mean queue lengths for a PH/PH/1/K system that is modeled as a discrete-time Markov chain. The arrival process is modeled as a phase-type distribution with parameters α , T and the service process is modeled as a phase-type distribution with parameters β , S . The following phase type distributions were considered in this numerical example.
α = 0.2 , 0.8 , T = 0.3 τ 0.4 0.2 τ 0.5 , β = 0.7 , 0.3 , S = 0.5 0.3 0.3 0.55 .
Using these values, the mean service time in this example is 5.67 , whereas the mean arrival time varies between 1.96 and 20.5 as τ is varied between 0 and 2. Hence, this example considers the cases for the arrival rate 0.05 λ 0.51 with 2 τ 0 , and with a constant service rate of μ = 0.18 , along with ρ = λ / μ .
We observe that the mean number in the system has the same pattern when L is plotted against ρ ; see Figure 11. Hence, the ML tool we developed is robust and can be used to study PH/PH/1/K systems and also GI/G/1/K systems in discrete time. The limitations of our model are that it is for the mean number in the system and cannot be used for studying the probability distributions of the number in the system.
A best-fit M-M model was also evaluated for the PH/PH/1/K numerical examples shown in Figure 11. Table 5 and Table 6 include the coefficients of the best-fit M-M model and the second-order M-M model, respectively, and for different PH/PH/1/K systems. Furthermore, Figure 12 and Figure 13 show the differences in the best-fit first-order and second-order M-M model for the mean number in PH/PH/1/4 and PH/PH/1/10 systems, respectively. These results also demonstrate that the mean number in PH/PH/1/K systems could also be described numerically by an M-M model.

Conjecture About Family of GI/G/c/K System

From the basic knowledge we have considered of how queueing systems behave, it is clear that the maximum mean number in the system is K c for the GI/G/c/K system. Secondly, it is known from the literature that GI/G/c/K systems can be approximated by PH/PH/c/K, especially discrete-time cases. Hence, one can conjecture that the same ML model can be used for studying such systems, since the mean number in such a system increases as ρ increases for a fixed set of c and K. This will be pursued at a later next stage of our research; meanwhile, we focus on the M/M/c/K system, which will guide us into the GI/G/c/K machine learning model at a later stage of our research.

8. Extension of ML Tool to Tandem Queues

Given that the idea looks reasonable for the single-node queue, we extend the result to tandem queues with finite buffers. Most communication networks consist of several tandem queues all with finite buffers. Consider two finite queues in tandem where the first queue is an M/M/1/K1 system and the output from that queue is fed into a ./M/1/K2 system.
Mathematics 13 00346 i001
In this system, we assume that a job departing from the first queue after service completion moving into the second queue that is full will not be dropped from the system and will instead wait until one departs from the second queue. During that time, no jobs are being served from the first queue. The analysis of such a system was conducted for evaluating the mean number in the first and second queue, as well as overall, under varying arrival rates. In our numerical analysis, we assume the service rates in the first and second queue are μ 1 = 6 and μ 2 = 5 , respectively.
Figure 14 shows the behavior of the mean number in the tandem queue system with varying traffic intensity, which is defined as ρ = λ / μ ˘ , where μ ˘ = min μ 1 , μ 2 . Note that the number in the tandem queue system corresponds to the total number of items waiting in both queues, along with the items undergoing service in both servers. The results are shown for varying arrival rates 1 λ 25 ( μ 1 = 6 and μ 2 = 5 ) and for different capacities K 1 in the first queue with a fixed capacity of K 2 = 5 in the second queue. Figure 15 shows a similar set of results but instead for a fixed capacity of K 1 = 5 in the first queue and for different capacities K 2 in the second queue. Once again, we notice that the plots of the mean number in the tandem queue system follow the same pattern as that of the single node queues. Hence, it is a candidate for the application of supervised machine learning using non-linear regression tools based on the M-M model.

M-M Fitting for Mean Number L in System of Tandem Queues

We adopt the same process used in Section 6 for determining the coefficients of the best-fit M-M model and for the case of the tandem queue system example. For evaluating the results, we will focus on the case of finding the best-fit M-M model for the overall mean number in the system with two tandem queues and buffer capacities K 1 = 4 , 6 , 8 and K 2 = 5 , i.e., the case that corresponds to the results shown in Figure 14. Table 7 and Table 8 show the coefficients of the best-fit M-M model and the second-order M-M model, respectively, and for the three different tandem queue systems. Furthermore, Figure 16 and Figure 17 show the difference in the best-fit first-order and second-order M-M model for the mean number in the tandem queue systems with K 1 = 4 and K 1 = 8 , respectively. These results provide some confidence in the ability of the M-M model in characterizing the behavior of the overall mean number in a system of two tandem queues.
The results so far has provided reasonable confidence in the ability of the M-M model to be used for characterizing the mean number in the system for single-node and tandem queues. Thus, we can proceed with applying the model to a complex system.

9. Network of Queues with Feedback

The application of the proposed ML tool was further examined on a complex system comprising a network of queues with feedback. Such systems are generally quite challenging to model analytically, especially in cases that involve a large number of queues. We recall that one of our goals is to develop a tool that is simple and scalable for analyzing large and complex queueing systems. To demonstrate the performance of the proposed ML tool, we considered the example shown in Figure 18.
For the analysis in this example, we assumed the service time in each of the four single-server queues to be exponentially distributed with the fixed set of rates μ 1 = 9 , μ 2 = 8 , μ 3 = 7 , and μ 4 = 6 , with the queue capacities K 1 = K 2 = K 3 = 10 and K 4 = 8 . Note that queue capacities K i , i = 1 , 2 , 3 , 4 , include the waiting space capacity plus the one in service. The routing probabilities p i j in Figure 18 were assigned as follows: p 21 = 0.2 , p 23 = 0.8 , p 31 = 0.5 , p 34 = 0.5 , p 40 = 0.75 , and p 44 = 0.25 . The external inter-arrival times into the first two queues were also assumed to be exponentially distributed and the arrival rate into the second queue was assigned as λ 2 = 1 . Unlike the case in Section 8, we assumed that entities arriving into a full queue are dropped and discarded from the system, regardless of whether these arrivals are from external entities or are fed back in from other queues. This assumption was necessary since the contrary could lead to the case where the queues are all full and then the system is in a locked state that prevents them from routing packets to other queues that are in the same locked state.
Deriving the mathematical model for this complex system is usually laborious, especially when it includes a larger number of queues. Even if it is successfully carried out, the computational task is a challenge. A simulation of the system was instead developed for evaluating the overall mean number in the system. The analysis was conducted for a varying external arrival rate λ 1 (between 1 and 20), with all other system parameters remaining unchanged. The graph in Figure 19 shows how the mean number in the network varies with the external arrival rate λ 1 . The same figure also includes the best-fit M-M model for the overall mean number in the system for both the first-order and second-order models. Due to the complexity in evaluating ρ for this system, we opted to use λ 1 instead of ρ for determining the best-fit M-M model since ρ is a function in terms of λ 1 . The use of λ 1 in place of ρ also allows us to examine the robustness of the proposed technique. The coefficients for the best-fit M-M model are shown in Table 9.
The analysis was repeated for the same system but for instead the case where the external arrival rate λ 2 is varied between 1 and 20, with λ 1 = 2 being fixed in the system and all other parameters remaining the same as those assigned in the previous analysis. The graphs in Figure 20 show the overall mean number in the system for this analysis along with its best-fit M-M models, whose coefficients are given in Table 10. In general, these results highlight the suitability and potential for applying the M-M model in learning algorithms for analyzing the overall mean number in a complex system composed of a network of queues, such as the one examined in this section of the analyses. The one interesting find from these results is the R 2 measure in Table 10, which suggests that a first-order M-M model would provide a better fit for the particular case of the complex system than the second-order model, which is the opposite of what had been discovered in the analyses of the less complex systems covered in the previous sections. This finding merits further investigation in our future work.

10. The Practical Advantage of This Machine Learning Tool

For most real-life systems, even if we know that a system in question is a finite buffer system with multiple servers, we usually do not know the arrival or service processes. These processes have to be determined first. Fitting a specific probability distribution to either the arrival process or the service process is an arduous task. For example, consider the inter-arrival times: are they exponential, phase type (PH), or associated with other types of distributions? If we think they are PH, we then have to find the best statistically fitting PH. This opens up a new set of problems. What structure of the PH distribution can we assume and what is the dimension of the PH? These are few of the questions that need to be asked and a considerable amount of research has been carried out on this subject—the available results are good but still require considerable amount of effort to implement, thereby steering some applied researchers away from this topic.
After all these have been resolved, one then has to analyze a Markov chain with a transition probability matrix of at least size K n m × K n m for the PH/PH/1/K system, with PH arrival and service matrices of dimensions n × n and m × m , respectively, just for a simple single-server queueing case! For most real-life systems, the size of K is usually large. In the end, simple assumptions about the arrival processes are made for expediency. This issue is also the same with the service process. With this machine learning tool, all we need are the average arrival and service rates ( λ , and μ ) and the observed sets of queue lengths ( L ) . We can then apply the supervised learning ML tool, which will determine the appropriate M-M parameters that best match the observed data.
Given a set of n observations of λ i , μ i , and L i , i = 1 , 2 , , n , we then apply the M-M regression model to find the best parameters V m a x and K m a x that best fit the data, so we can have
L = V m a x ρ K m a x + ρ .

11. Conclusions

In this paper, we have demonstrated that single- and tandem-node finite buffer queues can be analyzed using machine learning, and showed that the idea can be extended to tandem complex finite buffer queues with feedback. When an analyst is tasked with studying such queues, they must first gather data on the arrival process, service process, and queue lengths. This data can then be utilized in the machine learning model to estimate the mean number of items in the queueing system. The machine learning model provides the necessary parameters of the M-M function, which can then be used to analyze the system. It is important to note that the information on buffer sizes is not always necessary, especially in some communication networks, where such parameters may not be clearly defined. Additionally, analysts do not need to specify the probability distributions associated with the arrival and service processes, as the focus is solely on the mean number of items in the system. We have demonstrated that this concept can be extended to tandem queues with and without feedback. The coefficient of determination R 2 for all the examples presented are all higher than 90 % , with some as high as 99.6 % . This is very encouraging and suggests that this approach be pursued further.
Our proposed solution is based on non-linear regression of two parameters and utilizes standard techniques for evaluating the best-fit parameters for the Michaelis–Menten model. In general, such computations are significantly less complex and require very short computational run times when compared with simulations. For example, the simulation of the system in Figure 18 had an average runtime of 167 s for each variation in the traffic intensity, whereas the parameter fitting computations were completed in under 1 s. Furthermore, our proposed solution is independent of the system’s complexity and avoids the need to develop complex simulations. In addition, once the best-fit parameters are evaluated using the data from the system, the result can be used to immediately predict the mean number in the system L for any traffic intensity ρ (or arrival rate λ ). Meanwhile, a simulation would typically require more computational time and resources, and would need to be repeated for different values of ρ (or λ ). Thus, the computation time and computational complexity of the proposed solution are negligible when compared with the method of evaluating the system’s performance using simulations.
In our future work, we intend to explore the application of our proposed method on other and more complex network of queues, along with systems that exhibit complex inter-arrival and service time behaviors. We further intend to examine the performance of the proposed solution on non-Markovian queueing systems and for cases with dynamic traffic intensities. If the prospect of studying these types of queues using supervised learning based on the Michaelis–Menten method can be validated, then we may be able to develop effective machine learning methods for studying queueing networks with finite buffers, and for possibly considering other regression models.

Author Contributions

Conceptualization, A.S.A.; Methodology, A.S.A.; Formal analysis, H.A.G.; Investigation, A.S.A. and H.A.G.; Writing—original draft, A.S.A. and H.A.G.; Writing—review & editing, A.S.A. and H.A.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Sztrik, J. Queueing Theory and its Applications, A Personal View. In Proceedings of the 8th International Conference on Applied Informatics, Eger, Hungary, 27–30 January 2010. [Google Scholar]
  2. Michaelis, L.; Menten, M.L. The kinetics of invertase action. Biochem. Ztg. 1913, 49, 333–369. [Google Scholar]
  3. Wang, P.; Zhao, J.; Gao, Y.; Sotelo, M.A.; Li, Z. Lane Work-Schedule of Toll Station Based on Queuing Theory and PSO-LSTM Model. IEEE Access 2020, 8, 84434–84443. [Google Scholar] [CrossRef]
  4. Tan, C.; Yao, J.; Tang, K.; Sun, J. Cycle-Based Queue Length Estimation for Signalized Intersections Using Sparse Vehicle Trajectory Data. IEEE Trans. Intell. Transp. Syst. 2021, 22, 91–106. [Google Scholar] [CrossRef]
  5. Yamini, S.S.M.S.; Rath, K.; K, S.K.; Palaniammal, S. Artificial Neural Network simulation for Markovian Queuing Models in a Busy airport. In Proceedings of the 2020 International Conference on Computer Science, Engineering and Applications (ICCSEA), Gunupur, India, 13–14 March 2020. [Google Scholar]
  6. Pattnayak, P.; Mohanty, A.; Das, T.; Patnaik, S. Deep Learning Based Patient Queue Time Forecasting in the Emergency Room. In Proceedings of the 2023 International Conference on Self Sustainable Artificial Intelligence Systems (ICSSAS), Erode, India, 18–20 October 2023. [Google Scholar]
  7. Zhang, Y.; Du, P.; Wang, J.; Ba, T.; Ding, R.; Xin, N. Resource Scheduling for Delay Minimization in Multi-Server Cellular Edge Computing Systems. IEEE Access 2019, 7, 86265–86273. [Google Scholar] [CrossRef]
  8. Eryilmaz, A.; Srikant, R. Fair Resource Allocation in Wireless Networks Using Queue-Length-Based Scheduling and Congestion Control. IEEE/Acm. Trans. Netw. 2007, 15, 1333–1344. [Google Scholar] [CrossRef]
  9. Brockmeyer, E.; Halstrøm, H.L. The Life of A.K. Erlang. In The Life and Works of A.K. Erlang, Transactions of the Danish Academy of Technical Sciences; Akademiet for de Tekniske Videnskaber: Kongens Lyngby, Denmark, 1948; Volume 2, pp. 9–22. [Google Scholar]
  10. Saaty, T.L. Seven more years of queues: A lament and a bibliography. Nav. Res. Logist. Q. 1966, 13, 447–476. [Google Scholar] [CrossRef]
  11. Bhat, U.N. Sixty more years of queueing theory. Manag. Sci. 1969, 15, B280–B292. [Google Scholar] [CrossRef]
  12. Byrd, J. The value of queueing theory. Interfaces 1966, 8, 22–26. [Google Scholar] [CrossRef]
  13. Bhat, U.N. The value of queueing theory—A rejoinder. Interfaces 1978, 8, 27–28. [Google Scholar] [CrossRef]
  14. Dafermos, S.C.; Neuts, M.F. A single server queue in discrete time. Cah. Cent. Etudes Rech. Oper. 1971, 13, 23–40. [Google Scholar]
  15. Neuts, M.F. The single server queue in discrete time—Numerical analysis, I. Nav. Res. Log. Quart. 1973, 20, 297–304. [Google Scholar] [CrossRef]
  16. Klimko, E.; Neuts, M.F. The single server queue in discrete time—Numerical analysis, II. Nav. Res. Log. Quart. 1973, 20, 304–319. [Google Scholar] [CrossRef]
  17. Neuts, M.F.; Klimko, E. The single server queue in discrete time—Numerical analysis, III. Nav. Res. Log. Quart. 1973, 20, 557–567. [Google Scholar] [CrossRef]
  18. Heimman, D.; Neuts, M.F. The single server queue in discrete time—Numerical analysis, IV. Nav. Res. Log. Quart. 1973, 20, 753–766. [Google Scholar] [CrossRef]
  19. Neuts, M.F. Matrix-Geometric Solutions in Stochastic Models; Johns Hopkins University Press: Baltimore, MD, USA, 1981. [Google Scholar]
  20. Neuts, M.F. Structured Stochastic Matrices of M/G/1 Type and Their Applications; Marcel Dekker, Inc.: New York, NY, USA; Besel, Switzerland, 1989. [Google Scholar]
  21. Abate, J.A.; Whitt, W. The Fourier-series method for inverting transforms of probability distributions. Queueing Syst. 1992, 10, 5–87. [Google Scholar] [CrossRef]
  22. Abate, J.A.; Whitt, W. Numerical inversion of probability generating functions. Oper. Res. Lett. 1992, 12, 245–251. [Google Scholar] [CrossRef]
  23. Abate, J.A.; Whitt, W. A unified framework for numerically inverting Laplace transforms. Informs J. Comput. 2006, 18, 408–421. [Google Scholar] [CrossRef]
  24. Anick, D.; Mitra, D.; Sondhi, M. Stochastic theory of data-handling system with multiple sources. Bell Lab. Tech. J. 1982, 61, 1871–1894. [Google Scholar] [CrossRef]
  25. Ramaswami, V. Matrix analytic method for stochastic fluid flows. In Proceedings of the 16th International Teletraffic Congress, Edinburgh, UK, 7–11 June 1999; pp. 1019–1030. [Google Scholar]
  26. Whitt, W. The queueing network analyzer. Bell Lab. Tech. J. 1983, 62, 2817–2843. [Google Scholar] [CrossRef]
  27. Khoshnevis, B.; Parisay, S. Machine learning and simulation: Application in queueing systems. Simulation 1993, 61, 294–302. [Google Scholar] [CrossRef]
  28. Chen, M.-S.; Yen, H.-W. Applications of machine learning approach on multi-queue message scheduling. Expert Syst. Appl. 2011, 38, 3323–3335. [Google Scholar] [CrossRef]
  29. Wartelle, A.; Mourad-Chehade, F.; Yalaoui, F.; Laplanche, D.; Sanchez, S. Analysis of Saturation in the Emergency Department: A Data-Driven Queuing Model Using Machine Learning. Stud. Health Technol. Inform. 2022, 294, 88–92. [Google Scholar] [PubMed]
  30. Ojeda, C.; Cvejosky, K.; Georgiev, B.; Bauckhage, C.; Schuecker, J.; Sánchez, R.J. Learning Deep Generative Models for Queuing Systems. In Proceedings of the Thirty-Fifth AAAI Conference on Artificial Intelligence (AAAI-21), Virtual, 2–9 February 2021. [Google Scholar]
  31. Vishnevsky, V.; Gorbunova, A.V. Application of Machine Learning Methods to Solving Problems of Queuing Theory. In Information Technologies and Mathematical Modelling. Queueing Theory and Applications; Springer International Publishing: Berlin/Heidelberg, Germany, 2022; pp. 304–316. [Google Scholar]
  32. Chocron, E.; Cohen, I.; Feigin, P. Delay Prediction for Managing Multiclass Service Systems: An Investigation of Queueing Theory and Machine Learning Approaches. IEEE Trans. Eng. Manag. 2022, 71, 4469–4479. [Google Scholar] [CrossRef]
  33. Sherzer, E.; Senderovich, A.; Baron, O.; Krass, D. Can machines solve general queueing systems? In Proceedings of the ACM SIGMETRICS/IFIP PERFORMANCE 2022 (ACM SIGMETRICS 22’), Mumbai, India, 6–10 June 2022. [Google Scholar]
  34. Baron, O.; Krass, D.; Sherzer, E.; Senderovich, A. Can machines solve general queueing problems? In Proceedings of the 2022 Winter Simulation Conference (WSC), Singapore, 11–14 December 2022; pp. 2830–2841. [Google Scholar]
  35. Kyritsis, A.I.; Deriaz, M. A Machine Learning Approach to Waiting Time Prediction in Queueing Scenarios. In Proceedings of the Second International Conference on Artificial Intelligence for Industries (AI4I), Laguna Hills, CA, USA, 25–27 September 2019. [Google Scholar]
  36. Shortle, J.F.; Thompson, J.M.; Gross, D.; Harris, C.M. Fundamentals of Queueing Theory; John Wiley & Sons: Hoboken, NJ, USA, 2018. [Google Scholar] [CrossRef]
  37. Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2006. [Google Scholar]
  38. Touilas, T.L.; Kitsos, C.P. Fitting the Michealis-Menten model. J. Comput. Appl. Math. 2016, 296, 303–319. [Google Scholar] [CrossRef]
  39. Atkins, G.L.; Nimmo, I.A. A comparison of seven methods for fitting the Michaelis-Menten equation. Biochem. J. 1975, 149, 775–777, Erratum in Biochem. J. 1975, 151, 469.b1. [Google Scholar] [CrossRef]
Figure 1. Numerical examples of the Michaelis–Menten model of enzyme kinetics.
Figure 1. Numerical examples of the Michaelis–Menten model of enzyme kinetics.
Mathematics 13 00346 g001
Figure 2. Mean number in M/M/1/K system with varying ρ .
Figure 2. Mean number in M/M/1/K system with varying ρ .
Mathematics 13 00346 g002
Figure 3. Mean number in M/M/c/K versus ρ with μ = 8 .
Figure 3. Mean number in M/M/c/K versus ρ with μ = 8 .
Mathematics 13 00346 g003
Figure 4. Overview of machine learning-based solution for forecasting L in queueing system.
Figure 4. Overview of machine learning-based solution for forecasting L in queueing system.
Mathematics 13 00346 g004
Figure 5. Comparison between analytical solution and best-fit M-M model for mean number in M/M/1/4 system.
Figure 5. Comparison between analytical solution and best-fit M-M model for mean number in M/M/1/4 system.
Mathematics 13 00346 g005
Figure 6. Comparison between analytical solution and best-fit M-M model for mean number in M/M/1/8 system.
Figure 6. Comparison between analytical solution and best-fit M-M model for mean number in M/M/1/8 system.
Mathematics 13 00346 g006
Figure 7. Comparison between analytical solution and best-fit second-order M-M model for mean number in M/M/1/4 system.
Figure 7. Comparison between analytical solution and best-fit second-order M-M model for mean number in M/M/1/4 system.
Mathematics 13 00346 g007
Figure 8. Comparison between analytical solution and best-fit second-order M-M model for mean number in M/M/1/8 system.
Figure 8. Comparison between analytical solution and best-fit second-order M-M model for mean number in M/M/1/8 system.
Mathematics 13 00346 g008
Figure 9. Comparison between analytical solution and best-fit M-M model for mean number in M/M/2/8 system.
Figure 9. Comparison between analytical solution and best-fit M-M model for mean number in M/M/2/8 system.
Mathematics 13 00346 g009
Figure 10. Comparison between analytical solution and best-fit M-M model for mean number in M/M/4/8 system.
Figure 10. Comparison between analytical solution and best-fit M-M model for mean number in M/M/4/8 system.
Mathematics 13 00346 g010
Figure 11. Mean number in PH/PH/1/K with μ = 0.18 .
Figure 11. Mean number in PH/PH/1/K with μ = 0.18 .
Mathematics 13 00346 g011
Figure 12. Comparison between analytical solution and best-fit M-M model for mean number in PH/PH/1/4 system.
Figure 12. Comparison between analytical solution and best-fit M-M model for mean number in PH/PH/1/4 system.
Mathematics 13 00346 g012
Figure 13. Comparison between analytical solution and best-fit M-M model for mean number in PH/PH/1/10 system.
Figure 13. Comparison between analytical solution and best-fit M-M model for mean number in PH/PH/1/10 system.
Mathematics 13 00346 g013
Figure 14. Mean number in tandem system of queues with K 2 = 5 .
Figure 14. Mean number in tandem system of queues with K 2 = 5 .
Mathematics 13 00346 g014
Figure 15. Mean number in tandem system of queues with K 1 = 5 .
Figure 15. Mean number in tandem system of queues with K 1 = 5 .
Mathematics 13 00346 g015
Figure 16. Comparison between analytical solution and best-fit M-M model for mean number in tandem queue system with K 1 = 4 and K 2 = 5 .
Figure 16. Comparison between analytical solution and best-fit M-M model for mean number in tandem queue system with K 1 = 4 and K 2 = 5 .
Mathematics 13 00346 g016
Figure 17. Comparison between analytical solution and best-fit M-M model for mean number in tandem queue system with K 1 = 8 and K 2 = 5 .
Figure 17. Comparison between analytical solution and best-fit M-M model for mean number in tandem queue system with K 1 = 8 and K 2 = 5 .
Mathematics 13 00346 g017
Figure 18. Network of queues with feedback example.
Figure 18. Network of queues with feedback example.
Mathematics 13 00346 g018
Figure 19. Comparison between simulation results and best-fit M-M model for mean number in network of queues with feedback and with varying λ 1 .
Figure 19. Comparison between simulation results and best-fit M-M model for mean number in network of queues with feedback and with varying λ 1 .
Mathematics 13 00346 g019
Figure 20. Comparison between simulation results and best-fit M-M model for mean number in network of queues with feedback and with varying λ 2 .
Figure 20. Comparison between simulation results and best-fit M-M model for mean number in network of queues with feedback and with varying λ 2 .
Mathematics 13 00346 g020
Table 1. Best-fit parameters of M-M model for M/M/1/K systems.
Table 1. Best-fit parameters of M-M model for M/M/1/K systems.
V max K max R 2
M/M/1/22.281.2899.4%
M/M/1/45.171.5296.5%
M/M/1/68.131.5893.5%
M/M/1/811.11.5990.9%
Table 2. Best-fit parameters of second-order M-M model for M/M/1/K systems.
Table 2. Best-fit parameters of second-order M-M model for M/M/1/K systems.
V max K max R 2
M/M/1/21.760.7498.2%
M/M/1/43.890.9399.9%
M/M/1/66.090.9899.4%
M/M/1/88.310.9998.2%
Table 3. Best-fit parameters of first-order M-M model for M/M/c/8 systems.
Table 3. Best-fit parameters of first-order M-M model for M/M/c/8 systems.
V max K max R 2
M/M/2/810.81.4392.2%
M/M/4/810.01.0894.8%
M/M/8/88.920.5496.8%
Table 4. Best-fit parameters of second-order M-M model for M/M/c/8 systems.
Table 4. Best-fit parameters of second-order M-M model for M/M/c/8 systems.
V max K max R 2
M/M/2/88.230.8998.9%
M/M/4/88.030.6499.6%
M/M/8/87.770.2599.4%
Table 5. Best-fit parameters of first-order M-M model for PH/PH/1/K systems.
Table 5. Best-fit parameters of first-order M-M model for PH/PH/1/K systems.
V max K max R 2
PH/PH/1/47.832.7996.5%
PH/PH/1/613.43.3093.3%
PH/PH/1/819.03.5490.5%
PH/PH/1/1024.73.6788.2%
Table 6. Best-fit parameters of second-order M-M model for PH/PH/1/K systems.
Table 6. Best-fit parameters of second-order M-M model for PH/PH/1/K systems.
V max K max R 2
PH/PH/1/44.241.0299.9%
PH/PH/1/66.791.1798.9%
PH/PH/1/89.371.2397.3%
PH/PH/1/1011.91.2795.8%
Table 7. Best-fit parameters of first-order M-M model for tandem queue systems.
Table 7. Best-fit parameters of first-order M-M model for tandem queue systems.
V max K max R 2
M/M/1/4 → ./M/1/59.611.1892.2%
M/M/1/6 → ./M/1/512.31.1689.3%
M/M/1/8 → ./M/1/515.01.1787.1%
Table 8. Best-fit parameters of second-order M-M model for tandem queue systems.
Table 8. Best-fit parameters of second-order M-M model for tandem queue systems.
V max K max R 2
M/M/1/4 → ./M/1/57.610.7199.2%
M/M/1/6 → ./M/1/59.790.7097.9%
M/M/1/8 → ./M/1/512.00.7196.7%
Table 9. Best-fit parameters of first-order and second-order M-M model for network of queues with feedback system and with varying λ 1 .
Table 9. Best-fit parameters of first-order and second-order M-M model for network of queues with feedback system and with varying λ 1 .
V max K max R 2
First-Order Model26.12.6996.1%
Second-Order Model22.25.3899.6%
Table 10. Best-fit parameters of first-order and second-order M-M model for network of queues with feedback system and with varying λ 2 .
Table 10. Best-fit parameters of first-order and second-order M-M model for network of queues with feedback system and with varying λ 2 .
V max K max R 2
First-Order Model18.80.8499.2%
Second-Order Model17.51.0194.6%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alfa, A.S.; Abu Ghazaleh, H. Machine Learning Tool for Analyzing Finite Buffer Queueing Systems. Mathematics 2025, 13, 346. https://doi.org/10.3390/math13030346

AMA Style

Alfa AS, Abu Ghazaleh H. Machine Learning Tool for Analyzing Finite Buffer Queueing Systems. Mathematics. 2025; 13(3):346. https://doi.org/10.3390/math13030346

Chicago/Turabian Style

Alfa, Attahiru Sule, and Haitham Abu Ghazaleh. 2025. "Machine Learning Tool for Analyzing Finite Buffer Queueing Systems" Mathematics 13, no. 3: 346. https://doi.org/10.3390/math13030346

APA Style

Alfa, A. S., & Abu Ghazaleh, H. (2025). Machine Learning Tool for Analyzing Finite Buffer Queueing Systems. Mathematics, 13(3), 346. https://doi.org/10.3390/math13030346

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop