Abstract
This research advances steady state analysis and cost optimization of the M/M/1/N single vacation queueing system with setup time, working vacation, and working breakdown. The server works at a lower service rate instead of stopping work completely during both the vacation period and breakdown period—a key distinction from traditional vacation and breakdown strategies, where the server typically halts operations entirely. The setup time exists between the idle period and the regular busy period. The finite quasi birth-and-death process of this queueing system model is established. The stationary probability vector of the system is calculated using the matrix geometric method. Performance measures, such as output variance, availability, throughput rate, and stationary probabilities, are obtained using the theory of the fundamental matrix and covariance matrix. A cost optimization model based on system performance measures is established. The sparrow search algorithm is adopted to solve the cost optimization model. Through numerical experiments, the influences of system parameters on system performance measures and cost optimization function are analyzed, and the efficiency of the sparrow search algorithm for solving the cost optimization model is verified. The experimental results affirm the effectiveness and practicability of the proposed method, which provides a better theoretical basis for the practical application of the queueing system in communication engineering and production systems.
Keywords:
working vacation; working breakdown; quasi birth-and-death; performance analysis; cost optimization; sparrow search algorithm MSC:
90B22; 60K25; 68T20
1. Introduction
Queueing systems with vacations are characterized by the server not providing service for a random duration when the system is empty, such as during the hysteresis time in communication systems [1,2]. However, the server may continue to work at a lower rate if a task comes to the system during this duration. For example, in a bank system, the bank clerk can sort out business documents and check accounts in the background in a situation where no customer arrives, but is prepared to respond when there is a customer. This form of vacation, called “working vacation”, was proposed by Servi and Finn [3]. They proposed an M/M/1 and cyclic service queue model with working vacation, which was applied to the Internet Protocol access network. Also, correspondingly, in practice, it is also common to be confronted with a situation in which the server can continue working during breakdown periods. For example, in a manufacturing system, the production equipment may carry out maintenance without shutting down or use standby equipment which may work at a slower rate. This form of breakdown, called “working breakdown”, was proposed by Kalidass and Kasturi [4]. They considered the M/M/1 queueing system with working breakdown and derived the necessary and sufficient conditions for the stability and waiting time distribution of the system. Given the potential of “working vacation” or “working breakdown” to be applied in analyzing the behaviors of computer and communication systems, manufacturing and production systems, and also other queueing systems having industrial importance, queueing system models with either working vacation or working breakdown strategies have been extensively studied in both discrete-time and continuous-time queueing theories.
In discrete-time queueing systems with working vacation strategy research, Jain et al. [5] investigated the M/EK/1 working vacation queueing system with interruptible service and multiple optional repairs, applying the generating function technique to obtain system performance measures such as the stationary queue length and various stationary probabilities, and optimized the system by minimizing the cost incurred per unit time. Furthermore, Li et al. [6] used a quasi birth-and-death process and matrix method to describe a Geo/Geo/1 retrial queue with working vacations and vacation interruption, obtaining the stationary probability distribution and performance measures. Hu and Zhu [7] applied the discrete supplementary variable method and the quasi birth-and-death process to study the Geo/Geo/1 multiple working vacation queueing model with negative customers and Bernoulli feedback, solving the stochastic decomposition of the average and stationary queue length and obtaining some properties of the system through numerical analysis. Also, Liu and Song [8] considered a Geo/Geo/1 retrial queue with non-persistent customers and working vacations using the matrix geometric method. Yu and Alfa [9] considered a discrete-time working vacation queue with a utility function for the reward of receiving the service and the cost of waiting in the system. Yang et al. [10] dealt with the customers’ equilibrium strategies in a Geo/Geo/1 queueing system with multiple working vacations. Barbhuiya and Gupta [11] studied a discrete-time batch arrival GIX/Geo/1 queue and used the supplementary variable technique to develop performance measures. Wu and Lan [12] contributed to analyze two unreliable discrete-time Geo/G/1 queueing models with Bernoulli working vacation interruptions and balking customers. In this research field, these existing studies have explored retrial strategy (for more details on this, refer to the works of [13]), vacation interruption, unreliable servers, and negative customers. Recent work by [14] further extends this line by investigating the impact of service disciplines (Last-Come-First-Served (LCFS) vs. First-Come-First-Served (FCFS)) on discrete-time retrial queues. Their stochastic analysis shows that LCFS discipline can reduce orbit congestion in high-retrial-rate scenarios, while FCFS performs better in low-retrial-rate environments, which provides a reference for the selection of service rules in this paper. Additionally, their method for analyzing discrete-time retrial systems with state-dependent arrival rates offers a reference for our future extension to discrete-time WV and WB models. However, all these studies focused on infinite buffers without considering setup time or finite buffers, and most of them also did not take into account the server breakdown.
In continuous-time queueing systems with working vacation strategy research, Rajadurai et al. [15] studied the feedback retrial queueing system with multiple working vacations and interruptible vacations, using the supplementary variable to obtain the probability generating function of the stationary queue length and the system’s stationary performance measures. Sun et al. [16] compared the performance of exhaustive and non-exhaustive M/M/1/N queueing systems with working vacation and threshold policies, deriving the expected value of the queue length distribution and busy period, and providing a decision-making basis through sensitivity analysis. Li et al. [17] considered the M/M/1/N working vacation queueing model with setup time, finite buffer, and machine breakdowns, using the quasi birth-and-death process and matrix geometric method to solve for the output variance, throughput rate, and various stationary performance measures. Jain et al. [18] expanded the performance measures of a working vacation queueing system with retrial and impatient customers using a probability generating function and solved the system cost optimization model using quasi-Newton and genetic algorithms. Majid [19] considered the M/M/1 working vacation queueing model with interruptible and Bernoulli-distributed vacations and impatient customers, solving for the stationary probabilities and performance measures of the system under single and multiple working vacation strategies using probability generating functions. Ammar [20] studied an M/M/1 fluid queue with various vacations in the context of a multi-phase random environment and utilized the generating function approach and the Laplace–Stieltjes transform to achieve stationary probability. Sindhu et al. [21] considered a single-server working vacation queueing system with interdependent arrival and service processes, and also extended this to consider independent arrival and service processes following phase-type distributions. Lai et al. [22] performed a dynamic analysis of a new standby system that combines a retrial strategy with multiple working vacations. Vijaya Laxmi et al. [23] analyzed a multi-server Marlovian queueing system with optional services, multiple working vacations, and reservation of suspended customers, using the matrix geometric method to obtain the stationary probability vector of the system. Liu et al. [24] utilized the matrix geometric technique to investigate a two-way communication retrial queue with synchronous working vacation and a constant retrial policy. Sundarapandiyan and Nandhini [25] investigated the stationary characteristics of a non-Markovian feedback retrial queue with reneging, delayed repair, and working vacation. The supplementary variable technique calculates the stationary probability generating function and orbit sizes. Lv et al. [26] considered an M/M/1 queueing inventory system with (s, S) policy and working vacations. A three-dimensional Markov chain was constructed to analyze the stationary process of the system. And recently, Fiems [27] presented an extensive literature review on queueing systems with working vacations. However, these studies mainly evaluated queueing performance without considering cost optimization, except aside from [18], but setup time, finite buffer, and server breakdown have not been considered in it.
Meanwhile, in research on continuous-time queueing systems with working breakdown, Ma et al. [28] investigated the M/M/1 queueing system with variable arrival rates, multiple vacations, and working breakdown. The quasi birth-and-death process and matrix geometric method are applied to solve the system performance, conducting numerical experiments to examine the effects of parameters on system performance measures. Chen et al. [29] analyzed the M/M/1 queueing system with N-policy and working breakdown, solving for the stationary probability of the system’s queue length and other performance measures. They addressed the problem of minimizing the cost per unit time using a two-stage method combining direct search and the proposed Newton Method and provided the optimal service rate in the system environment. Jiang and Xin [30] considered a single server queueing system with Bernoulli’s delayed maintenance and working breakdown, applying matrix analysis and spectral expansion to compute the Laplace Transforms of the system’s performance measures and sojourn times. Yang et al. [31] examined the M/M/1/N queueing system with setup time and working breakdown. The quasi birth-and-death process and matrix geometric method are applied to solve the system performance measures, conducting numerical analysis of sensitivities of each parameter through numerical experiments. Li and Li [32] studied the MX/G/1 queueing system with setup time and negative customers, applying matrix analysis to obtain the generating function of the stationary queue length and system performance measures, and established a cost optimization model to determine the optimal service rate during the working breakdown period. Zhang and Gao [33] considered the M/M/1 queueing system with a standby server and impatient customers, calculating system performance measures and the average stay time of customers. Yen et al. [34] investigated the M/G/1 queueing system with N-policy and working breakdown, using the Supplementary Variable Method and generating function to compute the stationary probability vector, and employed a two-stage optimization method to determine system parameters. Yang et al. [35] presented a steady state analysis of an M/M/2 queueing system with heterogeneous servers and formulated the queueing model as a quasi birth-and-death process. Also, Yang and Wu [36] examined a repairable system incorporating standby switching failure, multiple vacations, and working breakdown simultaneously, applying the Runge–Kutta method to solve for the reliability function and mean time to failure. The above studies mainly focus on the working breakdown strategy without discussing working vacation.
For the discrete-time systems with working breakdown, Li and Zhang [37] analyzed the Geo/Geo/1 queueing system with negative customers and working breakdown and obtained the generation and destruction process of the system through model analysis, comparing it with the continuous-time queueing system to identify compatibility between the two types. Sensitivity analysis and optimization of the service rate during the working breakdown period were also conducted. Lan and Tang [38] also analyzed the Geo/Geo/1 queueing system with variable arrival rates and working breakdown, solving for the generating function of the system’s stationary queue length and other performance measures, and optimizing the service rate during the working breakdown period. Also, in other fields, Lv et al. [39] analyzed the M/M/c queueing system with server working breakdown and impatient customers under the classical truncated retry strategy. The matrix geometric method is used to obtain the steady state equilibrium conditions of the system. Wu et al. [40] proposed a general mathematical model to investigate the machine repair problem with an unreliable repairman, working breakdowns, and multiple vacations. However, the above studies mainly analyze the performance of queueing without considering setup time, finite buffer, and cost optimization.
Through a careful literature review, we found that only a few addressed both working vacation and working breakdown strategies. Jain et al. [41] established a finite buffer M/M/1/L queueing system with working vacation and working breakdown for fault-tolerant machining systems. They used the matrix method to solve for the transient queue length distribution and various system performance measures and established a cost optimization model. Numerical experiments were conducted to show the influence of parameters on system performance and the optimization function. Rajadurai [42] used the supplementary variable to solve the retrial queueing system M/G/1 with working vacation and working breakdown and established a cost optimization model. They analyzed the influence of parameters on system performance and optimization model through numerical experiments. Yang et al. [43] discussed the M/M/1 queueing system with delayed working vacation and working breakdown, solving the Laplace Transform of the system’s stationary probability and customer sojourn time. Yang et al. [44] studied the M/M/1/N queueing system with setup time, working vacation, and working breakdown. They applied the quasi birth-and-death process and the matrix geometric method to obtain output variance, throughput rate, and other system performance measures. Jain and Raychaudhuri [45] considered a single server queueing model with working vacation and multiple working breakdowns, balking and reneging behaviors of customers, and optimized the cost function using the genetic algorithm. Manoharan and Subathra [46] investigated non-Markovian queueing systems with stopping strategies, working vacation, and working breakdown, using the supplementary variable method to obtain the probability generating functions of the system and the length of the waiting queue, as well as various stationary performance measures. Thakur et al. [47] investigated the MAP/PH/1 model with working vacation and working breakdown and obtained stationary probability vectors using the matrix geometric method. Nisha et al. [48] explored a queueing system with general service bulk arrival retrial G-queue, including working vacation, state-dependent arrival, priority users, working breakdown, and the maximum entropy approach is used to give a comparative analysis between the system’s exact and estimated waiting time. Liu et al. [49] analyzed a multi-server retrial queueing system with working vacation and working breakdown. The explicit expression for the stationary distribution is derived using quasi birth-and-death process and the matrix geometric method.
In recent years, researchers have also begun to explore the optimization problems of queueing systems with working vacation or working breakdown. Some of the literature listed above has considered cost optimization models of the systems (see e.g., [5,29,34,37,38,41,42,45]). These studies have solved optimization problems using numerical experiments or optimization algorithms. However, only very few studies (see e.g., [41,42,45]) have simultaneously considered both working vacation and working breakdown, and none have addressed setup time and finite buffer capacity. And finite buffer capacity is a very important constraint. On the one hand, because buffer size limitations exist in many real-world scenarios, such as the finite workpiece buffer due to spatial restrictions in manufacturing production lines, edge computing nodes have limited local data storage, preventing unlimited task accumulation. On the other hand, because an infinite buffer capacity incurs higher costs and the buffer capacity in the system does not always improve system performance with increasing size, as shown in previous studies [17,31,44]. And also, on the whole, there are relatively fewer studies on finite buffers compared to those on infinite buffers in the research on queueing theory. Inspired by these studies and as a supplement to existing research, this paper extends the mathematical model presented in [44]. The model proposed in this paper differs from that of [44], as we not only further consider the characteristics of the server that may break down during the regular busy period, but also establish a cost optimization model with the server service rate at each stage as a decision variable. The sparrow search algorithm is utilized to optimize the cost model to fill this research gap. In the manufacturing industry, business managers may reduce costs by minimizing the frequency of setup and shutdown. Instead of being shutdown, the machine takes a vacation when there is no processable part to produce. During vacation, if a production request arrives and needs processing, the machine can operate at a lower service rate until vacation ends, after which the machine returns to regular service. Ordinarily, the operating machine is unreliable and may break down. When a machine breaks down, the machine can be maintained without stopping working, or use a warm standby to reduce productivity loss. This situation does not guarantee that the machine’s service rate will be the same as the original, resulting in a lower processing rate during the breakdown period than during regular busy periods. The simultaneous introduction of setup time, finite buffer, working vacation, working breakdown, and cost optimization increases the problem’s complexity. It requires queueing theory for system modeling and analysis, and optimization algorithms to solve the cost optimization function.
The problem is analyzed using theory and requires an optimization algorithm to solve the cost optimization function. This paper focuses on three key issues:
- The two-dimensional continuous-time Markov chain for the M/M/1/N queueing system, which incorporates setup time, working vacation, and working breakdown strategies, is developed. Additionally, a finite quasi birth-and-death (QBD) representation is established. The stationary probability vector and various performance measures are calculated using the matrix geometric method.
- The total cost optimization function for unit time is constructed. Under the cost minimization scenario, the sparrow search algorithm (SSA) optimizes the machine’s service rates during regular busy periods, working vacation, and working breakdown.
- To further demonstrate the search capabilities and effectiveness of the SSA, its optimization results are compared with those of the cuckoo search (CS) and particle swarm optimization (PSO).
The rest of the paper is organized as follows: Section 2 describes the system model and underlying assumptions. Section 3 constructs the two-dimensional continuous-time Markov chain of the system. Subsequently, the steady-state equations are analyzed, and the finite-state representation of the system is derived through the proposed quasi birth-and-death (QBD) process. Finally, the stationary probability vector of the system is solved by applying the matrix geometric method. Section 4 computes the system output variance, availability, throughput rate, and the other stationary performance measures. Section 5 formulates the cost optimization function of the system per unit time and employs the SSA to conduct cost minimization optimization. Section 6 analyzes the sensitivity of the system performance measures and the cost optimization function, and optimization analysis is carried out through numerical experiments. Section 7 presents the conclusion.
2. Problem Description and Assumptions
We consider an M/M/1/N queueing system with setup time, working vacation, and working breakdown strategies. The server has a buffer with a capacity of N (not excluding the customer being served). Customers arrive at the system according to a Poisson process with rate and are served by the server following a first-come, first-served (FCFS) principle. Once the buffer is full, arriving customers cannot enter the system, and the server can serve only one customer at a time. When the server is in a regular busy period, the service rate for customers follows an exponential distribution with parameter . When the buffer is empty, the server takes a vacation for a random period of vacation time. During the vacation, if a customer arrives, the server continues to serve at a lower service rate, which follows an exponential distribution with parameter (). But if no customer comes at the end of the vacation, the server will enter a shutdown period. If a customer arrives during the shutdown period, the server ends the period and enters a setup period with a random amount of setup time. It is assumed that vacation time and setup time are exponentially distributed with parameters and s, respectively. Either when the vacation ends and the buffer is not empty, or after the setup, the server returns to the regular busy period. The server is subject to breakdown during the regular busy period. When a server breakdown occurs, the server will be repaired immediately. We assume that the server’s life time and the repair time are exponentially distributed with rates of and , respectively. During the breakdown period, the server continues to serve at a lower service rate, following an exponential distribution with (). After being repaired, the service rate returns to . Furthermore, we assume that all arrival, service, vacation, setup, breakdown, and repair times are mutually independent.
The above-described M/M/1/N queueing system maintains service rates during vacation and breakdown periods, which are called working vacation and working breakdown, respectively. The model is a repairable queueing system with variable service rates in different service periods. For ease of description, throughout this paper, we refer to the proposed model as the “M/M/1/N WV and WB queueing system”, where WV stands for “working vacation” and WB stands for “working breakdown”.
3. Finite QBD Process and Solution
In this section, we first define the QBD process of the M/M/1/N WV and WB queueing system by giving steady-state equations and an infinitesimal generator. Then, using the matrix geometric method, we obtain the stationary probability vector.
3.1. Steady-State Equations and Infinitesimal Generator
Let be the number of customers in the buffer at time t, . Let be the working state of the server at time t, and
Then is a continuous-time Markov process with state space
where (0, 1) indicates that the system is in the shutdown states; indicate that the system is in the setup state and k customers are waiting; indicate that the system is in the working vacation state; indicate that the system is in the regular busy state; indicate that the system is in the working breakdown state. Accordingly, k indicates that k customers are in the buffer. Figure 1 shows the state transition diagram of the proposed system model.
Figure 1.
State transition diagram of the M/M/1/N WV and WB queueing system with setup time.
Let . According to the balance of the transfer rate into and out of each state in Figure 1, the steady-state equations of the system are given as follows:
Based on the steady-state equations, by ordering the states in lexicographical sequence, the infinitesimal generator Q of the Markov process can be derived as follows:
where
It can be shown that Q is a block tridiagonal matrix, and is a finite state QBD according to [50,51]. For the convenience of subsequent calculations, let .
3.2. Stationary Probability Vector
Given that the block matrix (where I is a 4th-order identity matrix) is diagonal, we can solve for the stationary probability vector of the QBD using the matrix geometry method described in [52].
Let the stationary probability vector of Q be , where the sub-vectors and for is a four-dimensional row vector. By solving the equilibrium equation in conjunction with Equation (1), the following system equations in matrix form can be derived.
Given the rate matrix , it follows that . Since in Equation (5) is invertible, we derive
where . By leveraging Equations (4) and (6), we obtain:
with the recurrence relation .
In Equation (2), since , and is invertible, this leads to the following:
where .
We can then perform the final determination of . Substituting , , and into Equation (3) yields the following:
Equation (9) represents a homogeneous system of linear equations, whose solution is determined up to a constant scaling factor. Combining this with the normalization condition, we obtain the following:
we uniquely solve for . This process yields the stationary probability vector .
4. Performance Measures
In this section, we derive various performance measures for the M/M/1/N WV and WB queueing system. These measures serve to evaluate the system’s behavioral characteristics. The performance measures can subsequently be computed using the stationary probabilities.
- System availability and output varianceLet denote the covariance between the number of visits to state i and state j over n service cycles starting from an initial state. These covariances () are critical for analyzing system availability and output variance in finite-capacity queueing networks. The stationary probability vector was derived in Section 3.2. Let P be the system’s probability transition matrix. According to [53,54], the fundamental matrix of this QBD process is expressed aswhere I is the identity matrix and e is the ()-dimensional column vector with all elements equal to 1. For , then , whereThe covariance matrix of the system is determined by the following equation.Let U denote the set of effective of the server states, comprising the working vacation, working breakdown, and normal busy states, i.e., ; the availability of the system and output variance are then given by
- System throughput rate
- The expected number of customers in the system
- Probability that the system is in the idle period
- Probability that the server is in the regular busy states
- Probability that the server is in the setup states
- Probability that the system is in working vacation states
- Probability that the system is in the working breakdown states
5. Cost Optimization Model
In this section, we formulate an optimization function for the total cost per unit time of the M/M/1/N/WV and WB queueing system based on system performance measures and primarily involve three variables: , , and . The optimal values (, , ) are computed to minimize the unit time cost, with the required cost coefficients per unit time defined in Table 1.
Table 1.
The required unit time cost coefficients for system.
Based on the defined cost coefficients and corresponding performance measures, the following unit time cost optimization function is formulated.
where L, , , , , are given by Equations (12)–(17). Since these performance measures are affected by the system parameters , , , Equation (18) is a function determined exclusively by these parameters. Therefore, the minimization problem is expressed as follows.
The complexity of the cost optimization function increases due to the complexity of L, , , , and , . Consequently, the explicit expression of the optimal solution , , cannot be obtained directly. In this paper, SSA is adopted to solve the cost optimization problem. Proposed by Xue and Shen [55], SSA is a swarm intelligent optimization algorithm based on the foraging and anti-predator behaviors of sparrows, rendering it suitable for solving complex optimization problems. The SSA divides the entire sparrow flock into two groups: producers and scroungers, and incorporates a detection and warning mechanism. Producers, which possess higher energy reserves, are tasked with searching for food and providing information about the location and direction of food to scroungers. Specifically, if the safety value exceeds the warning value, they can conduct searches over a wide area. Otherwise, they will relocate to a safe area with high adaptability. The highly adaptable scroungers, on the other hand, either compete with producers for the prime food locations or follow the producers to forage. When danger is detected, the entire sparrow population will counterattack. For further studies on the SSA algorithm, refer to the works of [56,57]. The application of the SSA algorithm to optimize the system cost is detailed as follows.
Input: Initial solution X, number of iterations , population size , upper limit of the proportion of the producers in the entire population , and safety value ;
Output: Approximate optimal solution and the corresponding minimum cost .
Step 1: Initialize parameters of SSA
Step 1.1: Set the initial position of each sparrow according to the upper and lower bounds of the value as follows:
At the same time, calculate the cost function value of each sparrow, according to (19):
Step 1.2: Calculate the minimum cost of the current entire sparrow population and the corresponding sparrow location .
Step 2: Sort the current entire sparrow population by cost to obtain the maximum cost and the corresponding sparrow location ;
Step 3: Randomly generate the warning value and determine the number of producers and sparrows that perceive danger, denoted as and , respectively.
Step 4: Adjust the positions of producers, scroungers, and sparrows that perceive danger, according to (20)–(22):
where , , denoting the ith individual sparrow and jth dimension parameter, respectively. t denotes the current iteration number. denotes the value of the ith sparrow in the jth dimension in the tth iteration. is a random number. represents the alarm value. T is a randomly distributed number. Z denotes a 1 × 4 matrix with all having values of 1. is the current global worst position. denotes the optimal position occupied by the producer. D denotes a 1 × 4 matrix with each element randomly assigned a value of 1 or −1, and . denotes the current global optimal position. denotes the step length control parameter, which follows a normal distribution with a mean of 0 and a variance of 1. , , and represent the cost value of the present sparrow, the current global best cost, and the worst cost, respectively. is a random number and is the smallest constant.
Step 5: Obtain the best value of this iteration and update the current best solution and .
Step 6: Repeat steps 2–5 until .
Step 7: Output: and .
6. Numerical Analysis
In this section, we conduct numerical experiments to demonstrate the impacts of various system parameters on performance measures and the cost optimization function. We individually vary each parameter to analyze its effects on these measures and the cost optimization function. Note that such trends may differ across experimental environments.
6.1. Sensitivity Analysis of System Performance Measures
Under steady state conditions, numerical experiments were conducted to quantify the influence of system parameters on performance measures. Figure 2 illustrates the effects of buffer capacity N in various measures, with other parameters fixed as , , , , , , , and . Notably, performance measures such as , L, V, , , and increase with N, while , , and exhibit the opposite trend. For , all performance measures except L and V stabilize. Larger N allows more customers to accumulate, reducing the likelihood of empty buffer and server idleness, thereby decreasing , , and while increasing , L, V, , , and . This suggests that buffer expansion enhances performance up to a threshold, beyond which marginal benefits diminish. Excessive N merely wastes resources, justifying the focus on finite buffer queueing models. Consequently, subsequent numerical experiments in this subsection adopt .
Figure 2.
Influence of N on system performance measures.
Figure 3, Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8 illustrate the influence of , , s, , , , , and on system performance measures, with the parameter settings as , , , , , , , and , . Figure 3 reveals that the variations in system performance measures are rather significant as changes. Specifically, , L, , , and increase with , while decreases with . Moreover, V, , and first increase and then decrease with . The primary reason for the trends observed in , L, , , , and is that as the parameter increases, more customers enter the system per unit time. Consequently, the total probability that the system is in an idle period will decline. When is relatively small, due to the service rate of the system, it may frequently enter the idle or vacation state, which leads to an increase in and . However, as further increases, the service rate can no longer meet the incoming customer demand, causing and to decrease. Furthermore, with the increase in , the uncertainty and volatility faced by the system also rise accordingly, increasing V. As continues to increase further, the entire system will gradually reach a relatively saturated state, and V will then decrease.
Figure 3.
Influence of on system performance measures.
Figure 4.
Influence of on system performance measures.
Figure 5.
Influence of s on system performance measures.
Figure 6.
Influence of on system performance measures.
Figure 7.
Influence of on system performance measures.
Figure 8.
Influence of parameters of the service rates in different states on system performance measures. (a) . (b) . (c) .
Figure 4 illustrates that V, , and as well as decrease, while L, , , , and increase as increases. Among those, the impact of on is the most pronounced, whereas its effect on is the least significant. It should be emphasized that, based on no assumption in Section 2, we can derive that the length of the average vacation time is . The average vacation time decreases as increases, and it will become extremely short when is relatively large. The reduction in the average vacation time can mitigate certain uncertain factors resulting from the server’s frequent vacations, thus causing V and to decline. Moreover, given the same and service rate, especially during the working vacation period, L, , , and will generally increase, while or will tend to decrease. However, since the server can still work during the working vacation, the impact of on and is not particularly significant.
Figure 5 illustrates that as s increases, , V, , , and increase, while L and decrease. By comparison, and initially increase with the growth of s and tend to decrease gradually. Similar to the situation with , the average setup time, which is 1/s, decreases as s increases, and it will become extremely short when s is relatively large. With the reduction in the average setup time, the server can obtain more effective service time and can largely reduce the uncertainties arising from fluctuations in setup time. This gives rise to the observed trends in , V, , , , L, and . It also leads to an increase in and when s is relatively small at the outset, but they will decrease slightly as the system adapts to the changes. Considering Figure 4 and Figure 5 comprehensively, when or s is small, that is to say, 1/ or 1/s is large, the changing trends of various performance measures are relatively conspicuous. And as or s increases, the changing trends become more gradual. We can observe that if the average vacation time and average setup time are short, the impact on the performance measures will be much less significant.
Figure 6 and Figure 7 illustrate the impact of the server breakdown rate and the repair time parameter on system performance measures. Figure 6 reveals that , , L, V, and all increase as increases, while , , , and decrease. With increases, the mean time between failures, which is 1/, will decrease. However, since the server can still work during the breakdown period, , , and will increase with the growth of . Meanwhile, breakdowns introduce instability into the system, and the service rate during the breakdown period is slower than in the busy period. This leads to an increase in L and V. Moreover, with the increase in the state of working breakdown and the rise in the probability of working breakdown , the probabilities of other states, such as , , , and , will decline.
Figure 7 illustrates that , , , and increase as increases, while , , L, V, and all decrease. As increases, the average repair time, which is 1/, will decrease. The changing trends of the performance measures are precisely the opposite of those of . Since the server continues to work at the service rate after a breakdown occurs, the influence on system performance measures tends to level off when reaches a certain value. Compared to , has a smaller impact on the system performance measures.
Figure 8 demonstrates that variations in exert the most pronounced influence on system performance measures, whereas changes in have the least effect. Specifically, Figure 8a–c illustrate that , , and decrease as , , and increase. Conversely, , , and increase with rising , , and . V decreases with increasing and but increases with increasing . L decreases with increasing and but increases with increasing . increases with increasing and but decreases with increasing . Notably, the most effective approach to boosting system throughput rate and reducing output variance V is to enhance the service rate during working vacation and the service rate during working breakdown . Although improving the service rate during the regular busy period can improve the system throughput rate , it concurrently elevates output variance V. The result further confirms the necessity to study the strategies of working vacations and working breakdowns in queueing system.
6.2. Sensitivity Analysis of the Cost Optimization Function
This section delves into the impact of decision variables and cost coefficients on the cost optimization function . In this study, the parameters are set as , , , , , , , , , , , , , , , , , , Subsequently, the cost optimization function is analyzed by varying the decision variables.
Figure 9, Figure 10 and Figure 11 illustrate the influence of buffer capacity N, , , , , s, , , and on the cost optimization function F, respectively. As shown in Figure 9, F increases as N increases, and it has a more significant impact when N is small. Once N reaches a certain value, the change curve of F levels off, and the impact of N on F becomes negligible. Figure 10 indicates that F increases with , , and , while F decreases while increases. Meanwhile, when s is relatively small, that is to say when the mean setup time 1/s is large, F increases as s increases. However, it soon tends to decrease as s increases. F is greatly influenced by , s, and . This means that higher customer arrival rates, longer setup time, and vacation time will all result in higher costs. As a whole, the change trend of F tends to level off when , s, , , and increase to a certain value.
Figure 9.
Influence of buffer capacity N on F(4,2,3).
Figure 10.
Influence of , s, , , on F(4,2,3).
Figure 11.
Influence of parameters of the service rates in different states on . (a) . (b) . (c) .
Correspondingly, Figure 11a–c demonstrate that F first decreases and then increases as , , and increase. In other words, F has an inflection point in the change process of , , and , indicating that there are optimal solutions for the service rates.
Figure 12 depicts the influence of the cost coefficients , , , , , , , , and on the cost optimization function. As observed from the figure, the cost optimization function shows a generally linear increasing trend with the increase in each cost coefficient. Specifically, , , , and have a more significant impact on the cost optimization function F(, , ) under the parameter settings , , and . This is because the values of L, , , and are considerably higher than those of , , , and .
Figure 12.
Influence of cost coefficients on F(4,2,3).
6.3. Optimization Analysis of Cost Optimization Function
To evaluate the suitability and efficiency of SSA for solving the nonlinear cost optimization in the M/M/1/N WV and WB queueing system, we address the problems listed in Table 2 by conducting a comparative study against PSO and CS. All of the algorithms are run on PC equipped with 3.2 GHz, 16 GB, and a Intel single-core processor. For each test case, the special parameter settings are as follows: the buffer capacity is set to , and the cost coefficients are defined as , , , , , , , , and . Regarding the system parameters , , and , their lower and upper bounds are = 0.5 and = 20, respectively. Table 1 presents the experimental results obtained from 200 independent experiments carried out using these three algorithms. To compare the effectiveness of the algorithms, the mean and maximum values of the ratio / are adopted as evaluation criteria. Here, denotes the cost of the optimal solution obtained by the algorithms, while is the maximum value among the 200 experiments. Figure 13 depicts the convergence of the three algorithms for the third test case shown in Table 2. Table 3 presents the CPU time during the 200 experiments.
Table 2.
The search results of PSO, CS and SSA.
Figure 13.
Optimizing convergence rates of SSA, CS, and PSO.
Table 3.
The CPU time for PSO, CS, and SSA.
Based on the data presented in Figure 13 and Table 2 and Table 3, the following conclusions are derived:
- The average and maximum values of / computed by the SSA are close to 1.00000, which implies that the SSA exhibits strong robustness and effective optimization capabilities throughout all test cases.
- The average and maximum values of / calculated by the CS are also close to 1.00000; however, the SSA converges at a notably faster pace and is less likely to fall into local optima. The CPU calculation time for the SSA varies from 587.5432 s to 660.4522 s. In contrast, for the CS, it ranges from 834.2787 to 3012.6651 s. Not only is the CPU time of the SSA less variable, but it is also significantly shorter than that of the CS.
- The CPU calculation time for the PSO spans from 373.6041 to 406.3137 s, demonstrating a higher calculation speed compared to the SSA. However, the mean and maximum values of / obtained by the PSO range from 1.10572 to 1.31742 and from 1.13416 to 1.38687, respectively, which indicates poor robustness. Moreover, the convergence speed of the PSO is significantly slower than that of the SSA.
As summarized above, considering comprehensively from convergence speed, solution accuracy, robustness, and calculation speed, SSA has demonstrated its advantages in solving cost optimization problem proposed in the paper.
7. Conclusions
This paper conducts the performance analysis and cost optimization of an M/M/1/N queueing system with setup time, working vacation, and working breakdown strategies. In this kind of system, during the vacation and breakdown, the server is capable of continuing to serve customers at a lower speed. Working vacation and working breakdown strategies are highly effective in terms of energy conservation and enhancing operational efficiency, which have led to their widespread application in manufacturing, maintenance, and communication systems. By constructing a two-dimensional continuous-time Markov chain and applying a block matrix representation of the minimum generating element, a finite QBD process of the system is derived. Subsequently, the stationary probability vector is solved through the matrix geometric method, thereby enabling the determination of the system’s output variance, availability, throughput rate, and queue length, as well as various stationary probabilities. Furthermore, a cost optimization model is established to minimize total cost per unit time, taking the service rates at each stage of the server as parameters. The sensitivities of both the system performance and cost optimization functions are analyzed, and the SSA is employed to solve the optimization model. The QBD process, matrix geometric method, and SSA utilized in this paper provide a solid theoretical foundation for the study of complex queueing systems and their optimization. In future research, we plan to address diverse problems in real complex environments, aiming to expand the application scope of the queueing system. And we can also try to put forward algorithmic enhancements tailored specifically to these complex queuing model frameworks. For instance, it can be used to analyze and optimize patient flow by predicting and managing waiting times in a hospital setting, or to analyze and optimize the flow of energy in a smart grid, among other potential applications.
Author Contributions
Methodology, X.Y. and X.J.L.; writing—original draft preparation, X.Y.; writing—review and editing, Y.Z. and B.W.; supervision, X.J.L. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by Humanities and Social Sciences Research Planning Fund of the Ministry of Education of China (No. 24YJAZH242).
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- Guo, X.; Niu, Z.; Zhou, S.; Kumar, P. Delay-constrained energy-optimal base station sleeping control. IEEE J. Sel. Areas Commun. 2016, 34, 1073–1085. [Google Scholar] [CrossRef]
- Xu, J.; Wu, X.; Huang, Q.; Sun, P. How Should the Server Sleep?—Age-Energy Tradeoff in Sleep-Wake Server Systems. IEEE Trans. Green Commun. Netw. 2023, 7, 1620–1634. [Google Scholar] [CrossRef]
- Servi, L.D.; Finn, S.G. M/M/1 queues with working vacations (M/M/1/WV). Perform. Eval. 2002, 50, 41–52. [Google Scholar] [CrossRef]
- Kalidass, K.; Kasturi, R. A queue with working breakdowns. Comput. Ind. Eng. 2012, 63, 779–783. [Google Scholar] [CrossRef]
- Jain, M.; Sharma, G.C.; Sharma, R. Working vacation queue with service interruption and multi optional repair. Int. J. Inf. Manag. Sci. 2011, 22, 157–175. [Google Scholar]
- Li, T.; Wang, Z.; Liu, Z. Geo/Geo/1 retrial queue with working vacations and vacation interruption. J. Appl. Math. Comput. 2012, 39, 131–143. [Google Scholar] [CrossRef]
- Hu, C.; Zhu, Y. Equilibrium distributions of the queue length in Geo/Geo/1 queue system with negative customer, feedback and multiple working vacations. Syst. Eng.-Theory Pract. 2012, 2, 1494–1500. [Google Scholar] [CrossRef]
- Liu, Z.; Song, Y. Geo/Geo/1 retrial queue with non-persistent customers and working vacations. J. Appl. Math. Comput. 2013, 42, 103–115. [Google Scholar] [CrossRef]
- Yu, M.; Alfa, A. Strategic queueing behavior for individual and social optimization in managing discrete time working vacation queue with Bernoulli interruption schedule. Comput. Oper. Res. 2016, 73, 43–55. [Google Scholar] [CrossRef]
- Yang, B.; Hou, Z.; Wu, J. Analysis of the equilibrium strategies in the Geo/Geo/1 queue with multiple working vacations. Qual. Technol. Quant. Manag. 2017, 15, 663–685. [Google Scholar] [CrossRef]
- Barbhuiya, F.; Gupta, U. A Discrete-Time GIX/Geo/1 Queue with Multiple Working Vacations Under Late and Early Arrival System. Methodol. Comput. Appl. Probab. 2020, 22, 599–624. [Google Scholar] [CrossRef]
- Wu, S.; Lan, S. Analysis of repairable discrete-time queueing systems with negative customers, disasters, balking customers and interruptible working vacations under Bernoulli schedule. Math. Comput. Simul. 2025, 232, 102–122. [Google Scholar] [CrossRef]
- Artalejo, J.; Gómez-Corral, A. Retrial Queueing Systems: A Computational Approach; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
- Atencia-Mckillop, I.; Sánchez-Merino, S.; Fortes-Ruiz, I.; Galán-García, J.L. Discrete-Time Retrial Queuing Systems with Last Come-First-Served (LCFS) and First-Come-First-Served (FCFS) Disciplines: Negative Customer Impact and Stochastic Analysis. Mathematics 2025, 13, 107. [Google Scholar] [CrossRef]
- Rajadurai, P.; Saravanarajan, M.C.; Chandrasekaran, V.M. A study on M/G/1 feedback retrial queue with subject to server breakdown and repair under multiple working vacation policy. Alex. Eng. J. 2018, 57, 947–962. [Google Scholar] [CrossRef]
- Sun, W.; Li, S.; Wang, Y.; Tian, N. Comparisons of exhaustive and non-exhaustive M/M/l/N queues with working vacation and threshold policy. J. Syst. Sci. Syst. Eng. 2019, 28, 154–167. [Google Scholar] [CrossRef]
- Li, S.; Yang, X.; Peng, D.; Chen, J. Analysis of M/M/1/N working vacation queueing system with setup times and repairable service station. Control Decis. 2020, 35, 319–328. [Google Scholar]
- Jain, M.; Dhibar, S.; Sanga, S.S. Markovian working vacation queue with imperfect service, balking and retrial. J. Ambient Intell. Humaniz. Comput. 2022, 13, 1907–1923. [Google Scholar] [CrossRef]
- Majid, S. Analysis of customer’s impatience in queues with Bernoulli schedule server working vacations and vacation interruption. Afr. Mat. 2022, 33, 1–13. [Google Scholar] [CrossRef]
- Ammar, S.; Alharbi, Y.; Zhao, Y. Analysis of Vacation Fluid M/M/1 Queue in Multi-Phase Random Environment. Mathematics 2023, 11, 4444. [Google Scholar] [CrossRef]
- Sindhu, S.; Krishnamoorthy, A.; Kozyrev, D. On Queues with Working Vacation and Interdependence in Arrival and Service Processes. Mathematics 2023, 11, 2280. [Google Scholar] [CrossRef]
- Lai, C.; Kasim, E.; Muhammadhaji, A. Dynamic Analysis of a Standby System with Retrial Strategies and Multiple Working Vacations. Mathematics 2024, 12, 3999. [Google Scholar] [CrossRef]
- Vijaya Laxmi, P.; Girija Bhavani, E.; George, A.A. Retention of impatient customers in a multi-server Markovian queueing system with optional service and working vacations. Commun. Stat.-Theory Methods 2023, 52, 5195–5212. [Google Scholar] [CrossRef]
- Liu, T.H.; Chiou, K.C.; Chen, C.M.; Chang, F.M. Multiserver Retrial Queue with Two-Way Communication and Synchronous Working Vacation. Mathematics 2024, 12, 1163. [Google Scholar] [CrossRef]
- Sundarapandiyan, S.; Nandhini, S. Sensitivity analysis of a non-Markovian feedback retrial queue, reneging, delayed repair with working vacation subject to server breakdown. Int. J. Math. Eng. Manag. Sci. 2024, 9, 21025–21052. [Google Scholar] [CrossRef]
- Lv, S.; Yin, S.; Zan, Y. The queueing inventory system with working vacations and breakdowns. IAENG Int. J. Appl. Math. 2024, 54, 2198–2208. [Google Scholar]
- Fiems, D. Queues with Working Vacations: A Survey. Mathematics 2025, 13, 1894. [Google Scholar] [CrossRef]
- Ma, Z.; Cui, G.; Wang, P. M/M/1 vacation queueing system with working breakdowns and variable arrival rate. J. Comput. Inf. Syst. 2015, 11, 1–8. [Google Scholar]
- Chen, J.; Yen, T.; Wang, K. Cost optimization of a single-server queue with working breakdowns under the N policy. J. Test. Eval. 2016, 44, 2059–2067. [Google Scholar] [CrossRef]
- Jiang, T.; Xin, B. Computational analysis of the queue with working breakdowns and delaying repair under a Bernoulli-schedule-controlled policy. Commun. Stat.-Theory Methods 2019, 48, 926–941. [Google Scholar] [CrossRef]
- Yang, X.; Li, Z.; Li, S.; Wu, F. Performance analysis of M/M/1/N queue with setup time and working breakdown. Control Theory Appl. 2019, 36, 561–569. [Google Scholar]
- Li, J.; Li, T. An MX/G/1 G-queue with single vacation, setup time and working breakdown. Eng. Lett. 2020, 28, 1100–1107. [Google Scholar]
- Zhang, M.; Gao, S. The disasters queue with working breakdowns and impatient customers. RAIRO-Oper. Res. 2020, 54, 815–825. [Google Scholar] [CrossRef]
- Yen, T.C.; Wang, K.; Chen, J. Optimization analysis of the N policy M/G/1 queue with working breakdowns. Symmetry 2020, 12, 583. [Google Scholar] [CrossRef]
- Yang, D.; Chen, Y.; Wu, C. Modelling and optimisation of a two-server queue with multiple vacations and working breakdownsn. Int. J. Prod. Res. 2020, 58, 3036–3048. [Google Scholar] [CrossRef]
- Yang, D.; Wu, C. Evaluation of the availability and reliability of a standby repairable system incorporating imperfect switchovers and working breakdowns. Reliab. Eng. Syst. Saf. 2021, 207, 1–16. [Google Scholar] [CrossRef]
- Li, T.; Zhang, L. Discrete-time Geo/Geo/1 queue with negative customers and working breakdowns. IAENG Int. J. Appl. Math. 2017, 47, 442–448. [Google Scholar]
- Lan, S.; Tang, Y. Performance analysis of a discrete-time queue with working breakdowns and searching for the optimum service rate in working breakdown period. J. Syst. Sci. Inf. 2017, 5, 176–192. [Google Scholar] [CrossRef]
- Lv, S.; Li, F.; Li, J. The M/M/c retrial queueing system with impatient customers and server working breakdown. IAENG Int. J. Appl. Math. 2024, 54, 1499–1506. [Google Scholar]
- Wu, C.; Yang, D.; He, T. Matrix-augmentation approach for machine repair problem with generally distributed repair times during working breakdown periods. Math. Comput. Simul. 2024, 225, 1019–1038. [Google Scholar] [CrossRef]
- Jain, M.; Sharma, R.; Meena, R.K. Performance modeling of fault-tolerant machining system with working vacation and working breakdown. Arab. J. Sci. Eng. 2018, 44, 2825–2836. [Google Scholar] [CrossRef]
- Rajadurai, P. Sensitivity analysis of an M/G/1 retrial queueing system with disaster under working vacations and working breakdowns. RAIRO-Oper. Res. 2018, 35, 913–930. [Google Scholar] [CrossRef]
- Yang, D.; Chung, C.; Wu, C. Sojourn times in a Markovian queue with working breakdowns and delayed working vacations. Comput. Ind. Eng. 2021, 156, 1–13. [Google Scholar] [CrossRef]
- Yang, X.; Li, Z.; Wang, H.; Wu, F. Performance analysis of M/M/1/N queueing system with working vacation and working breakdown. Control Theory Appl. 2021, 38, 2031–2044. [Google Scholar]
- Jain, A.; Raychaudhuri, C. Cost optimization using Genetic Algorithm in customers intolerance Markovian model with working vacation and multiple working breakdowns. Int. J. Math. Eng. Manag. Sci. 2022, 7, 656–669. [Google Scholar] [CrossRef]
- Manoharan, P.; Subathra, S. Non Markovian retrial queue, balking, disaster under working breakdown and working vacation. J. Comput. Anal. Appl. 2023, 31, 244–255. [Google Scholar]
- Thakur, S.; Jain, A.; Ahuja, A. Analysis of MAP/PH/1 model with working vacation, working breakdown and two-phase repair. Arab. J. Sci. Eng. 2024, 49, 7431–7451. [Google Scholar] [CrossRef]
- Nisha; Upadhyaya, S.; Shekhar, C. Maximum entropy solution for MX/G/1 priority reiterate G-queue under working breakdown and working vacation. Int. J. Math. Eng. Manag. Sci. 2024, 9, 163–187. [Google Scholar] [CrossRef]
- Liu, T.H.; Hsu, H.Y.; Chang, F.M. Multi-server two-way communication retrial queue subject to disaster and synchronous working vacation. Algorithms 2025, 18, 24. [Google Scholar] [CrossRef]
- Neuts, M. Matrix-Geometric Solution in Stochastic Models; The Johns Hopkins University Press: Baltimore, MD, USA, 1981. [Google Scholar]
- Tian, N.; Yue, D. Quasi Birth and Death Process and Matrix Geometric Solution; Science Press: Beijing, China, 2002. [Google Scholar]
- Elhafs, E.H.; Molle, M. On the solution to QBD processes with finite state space. Stoch. Anal. Appl. 2007, 25, 763–779. [Google Scholar] [CrossRef]
- Kemeny, J.G.; Snell, J.L. Finite MARKOV Chains; Springer: New York, NY, USA, 1976. [Google Scholar]
- Kemeny, J.G. Generalization of a fundamental matrix. Linear Algebra Its Appl. 1981, 38, 193–206. [Google Scholar] [CrossRef][Green Version]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
- Xue, J. Research and Application of a Novel Swarm Intelligence Optimization Technique: Sparrow Search Algorithm. Ph.D. Thesis, Donghua University, Shanghai, China, 2020. [Google Scholar]
- Fu, H.; Liu, H. Improved sparrow search algorithm with multi-strategy integration and its application. Control Decis. 2022, 37, 87–96. [Google Scholar]
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).