Next Article in Journal
Probing Chirality of the Quantum Hall Effect via the Landauer–Büttiker Formalism with Two Current Sources
Previous Article in Journal
Comparative Analysis of Numerical Methods for Solving 3D Continuation Problem for Wave Equation
Previous Article in Special Issue
An Approach to Obtain Upper Ergodicity Bounds for Some QBDs with Countable State Space
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Performance Analysis and Cost Optimization of the M/M/1/N Queueing System with Working Vacation and Working Breakdown

1
School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
2
Department of Electrical and Electronic Engineering, Auckland University of Technology, Auckland 1010, New Zealand
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(18), 2980; https://doi.org/10.3390/math13182980
Submission received: 14 August 2025 / Revised: 7 September 2025 / Accepted: 11 September 2025 / Published: 15 September 2025
(This article belongs to the Special Issue Advances in Queueing Theory and Applications)

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.

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 μ B . 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 μ V ( μ V < μ B ). 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 μ F ( μ F < μ B ). After being repaired, the service rate returns to μ B . 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 L ( t ) be the number of customers in the buffer at time t, 0 L ( t ) N . Let J ( t ) be the working state of the server at time t, and
J ( t ) = 1 , System is on setup or shutdown period 2 , System is on working vacation 3 , System is on a regular busy period 4 , System is on working breakdown
Then L ( t ) , J ( t ) is a continuous-time Markov process with state space
Ω = ( k , j ) : 0 k N ; j = 1 , 2 ( k , j ) : 1 k N ; j = 3 , 4 ,
where (0, 1) indicates that the system is in the shutdown states; ( k , 1 ) , k 1 indicate that the system is in the setup state and k customers are waiting; ( k , 2 ) , k 0 indicate that the system is in the working vacation state; ( k , 3 ) , k 1 indicate that the system is in the regular busy state; ( k , 4 ) , k 1 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.
Let P ( k , j ) = lim t L ( t ) = k , J ( t ) = j , k = 0 , 1 , , N ; j = 1 , 2 , 3 , 4 . 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:
λ P ( 0 , 1 ) + θ P ( 0 , 2 ) = 0 ,
( λ + θ ) P ( 0 , 2 ) + μ V P ( 1 , 2 ) + μ B P ( 1 , 3 ) = 0 ,
( λ + s ) P ( 1 , 1 ) + λ P ( 0 , 1 ) = 0 ,
( λ + θ + μ V ) P ( 1 , 2 ) + λ P ( 0 , 2 ) + μ V P ( 2 , 2 ) = 0 ,
( λ + α + μ B ) P ( 1 , 3 ) + θ P ( 1 , 2 ) + μ B P ( 2 , 3 ) + β P ( 1 , 4 ) + s P ( 1 , 1 ) = 0 ,
( λ + β + μ F ) P ( 1 , 4 ) + α P ( 1 , 3 ) + μ F P ( 2 , 4 ) = 0 ,
( λ + s ) P ( i , 1 ) + λ P ( i 1 , 1 ) = 0 , 2 i N 1 ,
( λ + θ + μ V ) P ( i , 2 ) + λ P ( i 1 , 2 ) + μ V P ( i + 1 , 2 ) = 0 , 2 i N 1 ,
( λ + α + μ B ) P ( i , 3 ) + λ P ( i 1 , 3 ) + θ P ( i , 2 ) + μ B P ( i + 1 , 3 ) + β P ( i , 4 ) + s P ( i , 1 ) = 0 , 2 i N 1
( λ + β + μ F ) P ( i , 4 ) + λ P ( i 1 , 4 ) + μ F P ( i + 1 , 4 ) + α P ( i , 3 ) = 0 , 2 i N 1 ,
s P ( N , 1 ) + λ P ( N 1 , 1 ) = 0 ,
( θ + μ V ) P ( N , 2 ) + λ P ( N 1 , 2 ) = 0 ,
( α + μ B ) P ( N , 3 ) + λ P ( N 1 , 3 ) + θ P ( N , 2 ) + β P ( N , 4 ) + s P ( N , 1 ) = 0 ,
( β + μ F ) P ( N , 4 ) + λ P ( N 1 , 4 ) + α P ( N , 3 ) = 0 .
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:
k Q = 0 1 2 N 1 N A 0 B 0 C 0 A 1 B C A B C A B C A N ,
where
A 0 = λ 0 θ ( λ + θ ) , B 0 = λ 0 0 0 0 λ 0 0 , C 0 = 0 0 0 μ V 0 μ B 0 0 , B = λ 0 0 0 0 λ 0 0 0 0 λ 0 0 0 0 λ ,
C = 0 0 0 0 0 μ V 0 0 0 0 μ B 0 0 0 0 μ F , A 1 = ( λ + s ) 0 s 0 0 ( λ + θ + μ V ) θ 0 0 0 ( λ + α + μ B ) α 0 0 β ( λ + β ) ,
A = ( λ + s ) 0 s 0 0 ( λ + θ + μ V ) θ 0 0 0 ( λ + α + μ B ) α 0 0 β ( λ + β + μ F ) ,
A N = s 0 s 0 0 ( θ + μ V ) θ 0 0 0 ( α + μ B ) α 0 0 β ( β + μ F ) .
It can be shown that Q is a block tridiagonal matrix, and L ( t ) , J ( t ) ; t 0 is a finite state QBD according to [50,51]. For the convenience of subsequent calculations, let Q = ( q i j ) , i , j = 1 , 2 , 3 , , 4 N + 2 .

3.2. Stationary Probability Vector

Given that the block matrix B = λ I (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 π = ( π 0 , π 1 , , π N ) , where the sub-vectors π 0 = ( π 01 , π 02 ) and π k = ( π k 1 , π k 2 , π k 3 , π k 4 ) = ( P ( k , j ) ) for 1 k N , j = 1 , 2 , 3 , 4 is a four-dimensional row vector. By solving the equilibrium equation π Q = 0 in conjunction with Equation (1), the following system equations in matrix form can be derived.
π 0 A 0 + π 1 C 0 = 0 ,
π 0 B 0 + π 1 A 1 + π 2 C = 0 ,
π i B + π i + 1 A + π i + 2 C = 0 , 1 i N 2 ,
π N 1 B + π N A N = 0 .
Given the rate matrix R N = I , it follows that π N = π N R N . Since B = λ I in Equation (5) is invertible, we derive
π N 1 = π N A N B 1 = 1 λ π N A N = π N R N 1 ,
where R N 1 = 1 λ A N . By leveraging Equations (4) and (6), we obtain:
π i = ( π i + 1 A + π i + 2 C ) B 1 = π N R i , 1 i N 2 ,
with the recurrence relation R i = 1 λ ( R i + 1 A + R i + 2 C ) .
In Equation (2), since det ( A 0 ) = λ ( θ + λ ) 0 , and A 0 is invertible, this leads to the following:
π 0 = π 1 C 0 A 0 1 = π N R 1 C 0 A 0 1 = π N R 0 ,
where R 0 = R 1 C 0 A 0 1 .
We can then perform the final determination of π N . Substituting π 0 = π N R 0 , π 1 = π N R 1 , and π 2 = π N R 2 into Equation (3) yields the following:
π N ( R 0 B 0 + R 1 A 1 + R 2 C ) = 0 .
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:
π e = k = 1 N π k e = π N ( I + R N 1 + + R 1 + R 0 ) e = 1 ,
we uniquely solve for π N . 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 variance
    Let c i j 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 ( c i j ) are critical for analyzing system availability and output variance in finite-capacity queueing networks. The stationary probability vector π = ( π 0 , π 1 , π 2 , , π N ) = ( π 01 , π 02 , π 11 , π 12 , π 13 , π 14 , , π N 3 , π N 4 ) 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 as
    F T = ( I P + e π ) 1
    where I is the identity matrix and e is the ( 4 N + 2 )-dimensional column vector with all elements equal to 1. For P = I Y Q , then F T = ( Y Q + e π ) 1 , where
    Y = 1 / q 11 0 0 0 0 1 / q 22 0 0 0 0 1 / q 33 0 0 0 0 1 / q 4 N + 2 4 N + 2
    The covariance matrix C V = { c i j } of the system is determined by the following equation.
    c i j = π i F T i j + π j F T j i π i π j , i j π i ( 2 F T i j 1 π j ) , i = j
    Let U denote the set of effective of the server states, comprising the working vacation, working breakdown, and normal busy states, i.e., U = ( i , 2 ) ( i , 3 ) ( i , 4 ) , i = 1 , 2 , , N ; the availability of the system and output variance are then given by
    A v a i = r U π r , V = ξ , ψ U c ξ ψ
  • System throughput rate
    T P = i = 1 N P ( i , 2 ) · μ V + P ( i , 3 ) · μ B + P ( i , 4 ) · μ F = i = 1 N μ V π i 2 + μ B π i 3 + μ F π i 4
  • The expected number of customers in the system
    L = i = 1 N i P ( i , 1 ) + i P ( i , 2 ) + i P ( i , 3 ) + i P ( i , 4 ) = i = 1 N i j = 1 4 π i j
  • Probability that the system is in the idle period
    P I = P ( 0 , 1 ) = π 01
  • Probability that the server is in the regular busy states
    P B = i = 1 N P ( i , 3 ) = i = 1 N π i 3
  • Probability that the server is in the setup states
    P S = i = 1 N P ( i , 1 ) = i = 1 N π i 1
  • Probability that the system is in working vacation states
    P W V = i = 0 N P ( i , 2 ) = = i = 0 N π i 2
  • Probability that the system is in the working breakdown states
    P W B = i = 1 N P ( i , 4 ) = i = 1 N π i 4

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: ( μ B , μ V , and μ F ) . The optimal values ( μ B * , μ V * , μ F * ) are computed to minimize the unit time cost, with the required cost coefficients per unit time defined in Table 1.
Based on the defined cost coefficients and corresponding performance measures, the following unit time cost optimization function is formulated.
F ( μ B , μ V , μ F ) = c L L + c I P I + c B P B + c S P S + c W V P W V + c W B P W B + c μ B μ B + c μ v μ V + c μ F μ F ,
where L, P I , P B , P S , P W V , P W B are given by Equations (12)–(17). Since these performance measures are affected by the system parameters ( μ B , μ V , μ F ) , Equation (18) is a function determined exclusively by these parameters. Therefore, the minimization problem is expressed as follows.
F * ( μ B * , μ V * , μ F * ) = M i n i m i z e μ B , μ V , μ F { F ( μ B , μ V , μ F ) } S u b j e c t t o : μ B > μ V , μ B > μ F
The complexity of the cost optimization function increases due to the complexity of L, P I , P B , P S , and P W V , P W B . Consequently, the explicit expression of the optimal solution ( μ B * , μ V * , μ F * ) 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 M = 200 , population size n = 50 , upper limit of the proportion of the producers in the entire population P D p e r c e n t = 0.5 , and safety value S T = 0.8 ;
Output: Approximate optimal solution Φ ^ = [ μ B * , μ V * , μ F * ] = X b e s t and the corresponding minimum cost F * ( μ B * , μ V * , μ F * ) = f g .
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:
X = x 1 , 1 x 1 , 2 x 1 , 3 x 1 , 4 x 2 , 1 x 2 , 2 x 2 , 3 x 2 , 4 x n , 1 x n , 2 x n , 3 x n , 4 ,
At the same time, calculate the cost function value of each sparrow, according to (19):
F X = F ( x 1 , 1 , x 1 , 2 , x 1 , 3 , x 1 , 4 ) F ( x 2 , 1 , x 2 , 2 , x 2 , 3 , x 2 , 4 ) F ( x n , 1 , x n , 2 , x n , 3 , x n , 4 ) .
Step 1.2: Calculate the minimum cost f g of the current entire sparrow population and the corresponding sparrow location X b e s t .
Step 2: Sort the current entire sparrow population by cost to obtain the maximum cost f w and the corresponding sparrow location X w o r s t ;
Step 3: Randomly generate the warning value and determine the number of producers and sparrows that perceive danger, denoted as P D and S D , respectively.
Step 4: Adjust the positions of producers, scroungers, and sparrows that perceive danger, according to (20)–(22):
X i , j t + 1 = X i , j t · exp ( i σ · M ) as R 2 < S T X i , j t + T · Z as R 2 S T
X i , j t + 1 = T · exp X w o r s t t X i , j t i 2 as i > n 2 X p t + 1 + X i , j t X p t + 1 · D + · Z if not
X i , j t + 1 = X b e s t t + τ X i , j t X b e s t t if f i > f g X i , j t + H · x i , j t X w o r s t t ( f i f w ) + ε if f i = f g
where 1 i n , 1 j 4 , denoting the ith individual sparrow and jth dimension parameter, respectively. t denotes the current iteration number. X i , j t denotes the value of the ith sparrow in the jth dimension in the tth iteration. σ 0 , 1 is a random number. R 2 0 , 1 represents the alarm value. T is a randomly distributed number. Z denotes a 1 × 4 matrix with all having values of 1. X w o r s t t is the current global worst position. X p 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 D + = D T ( D D T ) 1 . X b e s t t 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. f i , f g , and f w represent the cost value of the present sparrow, the current global best cost, and the worst cost, respectively. H [ 1 , 1 ] is a random number and ε is the smallest constant.
Step 5: Obtain the best value of this iteration and update the current best solution f g and X b e s t .
Step 6: Repeat steps 2–5 until M > 200 .
Step 7: Output: Φ ^ = X b e s t and F * ( μ B * , μ V * , μ F * ) = f g .

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 λ = 2 , μ B = 4 , μ V = 3 , μ F = 2 , θ = 1 , s = 0.5 , α = 0.2 , and β = 4 . Notably, performance measures such as T P , L, V, A v a i , P B , and P W B increase with N, while P I , P W V , and P S exhibit the opposite trend. For N 10 , 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 P I , P W V , and P S while increasing T P , L, V, A v a i , P B , and P W B . 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 N = 10 .
Figure 3, Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8 illustrate the influence of λ , θ , s, α , β , μ B , μ V , and μ F on system performance measures, with the parameter settings as λ = 2 , μ B = 4 , μ V = 3 , μ F = 2 , θ = 1 , s = 0.5 , N = 10 , and α = 0.2 , β = 4 . Figure 3 reveals that the variations in system performance measures are rather significant as λ changes. Specifically, T P , L, A v a i , P B , and P W B increase with λ , while P I decreases with λ . Moreover, V, P S , and P W V first increase and then decrease with λ . The primary reason for the trends observed in T P , L, A v a i , P B , P W B , and P I 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 P S and P W V . However, as λ further increases, the service rate can no longer meet the incoming customer demand, causing P S and P W V 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 4 illustrates that V, T P , and A v a i as well as P W V decrease, while L, P I , P S , P B , and P W B increase as θ increases. Among those, the impact of θ on P W V is the most pronounced, whereas its effect on P W B 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 1 / θ . 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 P W V to decline. Moreover, given the same λ and service rate, especially during the working vacation period, L, P I , P S , P B and P W B will generally increase, while T P or A v a i will tend to decrease. However, since the server can still work during the working vacation, the impact of θ on T P and A v a i is not particularly significant.
Figure 5 illustrates that as s increases, T P , V, A v a i , P I , and P W V increase, while L and P S decrease. By comparison, P B and P W B 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 T P , V, A v a i , P I , P W V , L, and P S . It also leads to an increase in P B and P W B 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 T P , A v a i , L, V, and P W B all increase as α increases, while P I , P S , P B , and P W V decrease. With α increases, the mean time between failures, which is 1/ α , will decrease. However, since the server can still work during the breakdown period, T P , A v a i , and P W B 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 P W B , the probabilities of other states, such as P I , P S , P B , and P W V , will decline.
Figure 7 illustrates that P I , P S , P B , and P W V increase as β increases, while T P , A v a i , L, V, and P W B 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 μ F 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 μ B exert the most pronounced influence on system performance measures, whereas changes in μ V have the least effect. Specifically, Figure 8a–c illustrate that A v a i , P B , and P W B decrease as μ B , μ V , and μ F increase. Conversely, T P , P I , and P S increase with rising μ B , μ V , and μ F . V decreases with increasing μ V and μ F but increases with increasing μ B . L decreases with increasing μ B and μ F but increases with increasing μ V . P W V increases with increasing μ B and μ F but decreases with increasing μ V . Notably, the most effective approach to boosting system throughput rate T P and reducing output variance V is to enhance the service rate during working vacation μ V and the service rate during working breakdown μ F . Although improving the service rate during the regular busy period μ B can improve the system throughput rate T P , 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 F ( μ B , μ V , μ F ) . In this study, the parameters are set as N = 10 , λ = 2 , μ B = 4 , μ V = 2 , μ F = 3 , θ = 1 , s = 2 , α = 0.5 , β = 2 , c L = 5 , c I = 2 , c S = 3 , c B = 350 , c W V = 20 , c W B = 80 , c μ B = 10 , c μ V = 6 , c μ F = 6 , 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, μ B , μ V , μ F , λ , 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.
Correspondingly, Figure 11a–c demonstrate that F first decreases and then increases as μ B , μ V , and μ F increase. In other words, F has an inflection point in the change process of μ B , μ V , and μ F , indicating that there are optimal solutions for the service rates.
Figure 12 depicts the influence of the cost coefficients c L , c I , c S , c B , c W V , c W B , c μ B , c μ V , and c μ F 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, c L , c μ B , c μ V , and c μ F have a more significant impact on the cost optimization function F( μ B , μ V , μ F ) under the parameter settings μ B = 4 , μ V = 2 , and μ F = 3 . This is because the values of L, μ B , μ V , and μ F are considerably higher than those of P I , P S , P B , and P W B .

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 N = 15 , and the cost coefficients are defined as c L = 5 , c I = 2 , c S = 50 , c B = 75 , c W V = 30 , c W B = 45 , c μ B = 4 , c μ V = 2 , and c μ F = 5 . Regarding the system parameters μ B , μ V , and μ F , their lower and upper bounds are μ L = 0.5 and μ U = 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 F b e s t * / F b e s t are adopted as evaluation criteria. Here, F b e s t denotes the cost of the optimal solution obtained by the algorithms, while F b e s t * 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.
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 F b e s t * / F b e s t 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 F b e s t * / F b e s t 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 F b e s t * / F b e s t 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

  1. 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]
  2. 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]
  3. 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]
  4. Kalidass, K.; Kasturi, R. A queue with working breakdowns. Comput. Ind. Eng. 2012, 63, 779–783. [Google Scholar] [CrossRef]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. Artalejo, J.; Gómez-Corral, A. Retrial Queueing Systems: A Computational Approach; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. 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]
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]
  27. Fiems, D. Queues with Working Vacations: A Survey. Mathematics 2025, 13, 1894. [Google Scholar] [CrossRef]
  28. 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]
  29. 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]
  30. 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]
  31. 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]
  32. 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]
  33. Zhang, M.; Gao, S. The disasters queue with working breakdowns and impatient customers. RAIRO-Oper. Res. 2020, 54, 815–825. [Google Scholar] [CrossRef]
  34. 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]
  35. 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]
  36. 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]
  37. 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]
  38. 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]
  39. 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]
  40. 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]
  41. 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]
  42. 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]
  43. 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]
  44. 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]
  45. 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]
  46. 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]
  47. 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]
  48. 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]
  49. 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]
  50. Neuts, M. Matrix-Geometric Solution in Stochastic Models; The Johns Hopkins University Press: Baltimore, MD, USA, 1981. [Google Scholar]
  51. Tian, N.; Yue, D. Quasi Birth and Death Process and Matrix Geometric Solution; Science Press: Beijing, China, 2002. [Google Scholar]
  52. 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]
  53. Kemeny, J.G.; Snell, J.L. Finite MARKOV Chains; Springer: New York, NY, USA, 1976. [Google Scholar]
  54. Kemeny, J.G. Generalization of a fundamental matrix. Linear Algebra Its Appl. 1981, 38, 193–206. [Google Scholar] [CrossRef]
  55. Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
  56. 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]
  57. Fu, H.; Liu, H. Improved sparrow search algorithm with multi-strategy integration and its application. Control Decis. 2022, 37, 87–96. [Google Scholar]
Figure 1. State transition diagram of the M/M/1/N WV and WB queueing system with setup time.
Figure 1. State transition diagram of the M/M/1/N WV and WB queueing system with setup time.
Mathematics 13 02980 g001
Figure 2. Influence of N on system performance measures.
Figure 2. Influence of N on system performance measures.
Mathematics 13 02980 g002
Figure 3. Influence of λ on system performance measures.
Figure 3. Influence of λ on system performance measures.
Mathematics 13 02980 g003
Figure 4. Influence of θ on system performance measures.
Figure 4. Influence of θ on system performance measures.
Mathematics 13 02980 g004
Figure 5. Influence of s on system performance measures.
Figure 5. Influence of s on system performance measures.
Mathematics 13 02980 g005
Figure 6. Influence of α on system performance measures.
Figure 6. Influence of α on system performance measures.
Mathematics 13 02980 g006
Figure 7. Influence of β on system performance measures.
Figure 7. Influence of β on system performance measures.
Mathematics 13 02980 g007
Figure 8. Influence of parameters of the service rates in different states on system performance measures. (a) μ B . (b) μ V . (c) μ F .
Figure 8. Influence of parameters of the service rates in different states on system performance measures. (a) μ B . (b) μ V . (c) μ F .
Mathematics 13 02980 g008
Figure 9. Influence of buffer capacity N on F(4,2,3).
Figure 9. Influence of buffer capacity N on F(4,2,3).
Mathematics 13 02980 g009
Figure 10. Influence of λ , s, θ , α , β on F(4,2,3).
Figure 10. Influence of λ , s, θ , α , β on F(4,2,3).
Mathematics 13 02980 g010
Figure 11. Influence of parameters of the service rates in different states on F ( μ B , μ V , μ F ) . (a) μ B . (b) μ V . (c) μ F .
Figure 11. Influence of parameters of the service rates in different states on F ( μ B , μ V , μ F ) . (a) μ B . (b) μ V . (c) μ F .
Mathematics 13 02980 g011
Figure 12. Influence of cost coefficients on F(4,2,3).
Figure 12. Influence of cost coefficients on F(4,2,3).
Mathematics 13 02980 g012
Figure 13. Optimizing convergence rates of SSA, CS, and PSO.
Figure 13. Optimizing convergence rates of SSA, CS, and PSO.
Mathematics 13 02980 g013
Table 1. The required unit time cost coefficients for system.
Table 1. The required unit time cost coefficients for system.
SymbolDescription
c L cost per unit time for each customer in the system
c I cost per unit time for the server being idle
c B cost per unit time for the server being busy
c S setup cost per unit time for a customer entering the system
c W V cost per unit time for the server in working vacation states
c W F cost per unit time for the server in working breakdown states
c μ B cost per customer served during regular busy period
c μ V cost per customer served during working vacation period
c μ F cost per customer served during working breakdown period
Table 2. The search results of PSO, CS and SSA.
Table 2. The search results of PSO, CS and SSA.
( λ , θ , s , α , β ) PSO
F * μ B * μ V * μ F * MeanMax
(0.8, 0.2, 0.5, 2, 1)71.07133.39101.30080.84481.105721.13416
(1.8, 0.5, 0.5, 2, 1)96.66174.95541.27692.20221.268181.32063
(3, 0.5, 0.5, 2, 1)114.25874.46872.42164.28881.187761.21466
(1.8, 0.1, 0.5, 2, 1)91.16527.21372.83880.72491.302321.35421
(1.8, 0.5, 0.9, 2, 1)95.38134.12261.30733.8921.242351.26960
(1.8, 0.5, 0.9, 1, 1)92.20483.35151.94732.52671.264121.28532
(1.8, 0.5, 0.9, 2, 0.5)90.26502.89991.50202.89981.317241.38687
( λ , θ , s , α , β ) CS
F * μ B * μ V * μ F * MeanMax
(0.8, 0.2, 0.5, 2, 1)70.49892.37751.28841.26861.000001.00000
(1.8, 0.5, 0.5, 2, 1)94.37312.93571.36092.93561.000001.00000
(3, 0.5, 0.5, 2, 1)114.06404.23722.30504.23111.000001.00000
(1.8, 0.1, 0.5, 2, 1)86.08492.94852.78342.72951.000001.00000
(1.8, 0.5, 0.9, 2, 1)91.67023.05521.87652.95991.000001.00000
(1.8, 0.5, 0.9, 1, 1)89.96965.56022.23620.95331.000001.00000
(1.8, 0.5, 0.9, 2, 0.5)90.26442.89271.47882.89261.000001.00000
( λ , θ , s , α , β ) SSA
F * μ B * μ V * μ F * MeanMax
(0.8, 0.2, 0.5, 2, 1)70.49892.37591.28531.27181.000001.00000
(1.8, 0.5, 0.5, 2, 1)94.37312.93451.35702.93441.000001.00000
(3, 0.5, 0.5, 2, 1)114.0644.23882.30394.23871.000001.00000
(1.8, 0.1, 0.5, 2, 1)86.08492.94322.77782.73571.000001.00000
(1.8, 0.5, 0.9, 2, 1)91.67023.05841.87682.95911.000001.00000
(1.8, 0.5, 0.9, 1, 1)89.96965.57792.23180.93901.000001.00000
(1.8, 0.5, 0.9, 2, 0.5)90.26442.89831.47572.89821.000001.00000
Table 3. The CPU time for PSO, CS, and SSA.
Table 3. The CPU time for PSO, CS, and SSA.
( λ , θ , s , α , β ) PSOCSSSA
(0.8, 0.2, 0.5, 2, 1)373.6041877.4292592.4291
(1.8, 0.5, 0.5, 2, 1)380.16681113.5692613.4993
(3, 0.5, 0.5, 2, 1)397.87243012.6651587.5432
(1.8, 0.1, 0.5, 2, 1)393.5976877.0753606.6444
(1.8, 0.5, 0.9, 2, 1)395.3651834.2787656.0716
(1.8, 0.5, 0.9, 1, 1)406.7137945.1267660.4522
(1.8, 0.5, 0.9, 2, 0.5)402.13381553.0157651.2009
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

Yang, X.; Zhang, Y.; Wang, B.; Li, X.J. Performance Analysis and Cost Optimization of the M/M/1/N Queueing System with Working Vacation and Working Breakdown. Mathematics 2025, 13, 2980. https://doi.org/10.3390/math13182980

AMA Style

Yang X, Zhang Y, Wang B, Li XJ. Performance Analysis and Cost Optimization of the M/M/1/N Queueing System with Working Vacation and Working Breakdown. Mathematics. 2025; 13(18):2980. https://doi.org/10.3390/math13182980

Chicago/Turabian Style

Yang, Xijuan, Yaqing Zhang, Bo Wang, and Xue Jun Li. 2025. "Performance Analysis and Cost Optimization of the M/M/1/N Queueing System with Working Vacation and Working Breakdown" Mathematics 13, no. 18: 2980. https://doi.org/10.3390/math13182980

APA Style

Yang, X., Zhang, Y., Wang, B., & Li, X. J. (2025). Performance Analysis and Cost Optimization of the M/M/1/N Queueing System with Working Vacation and Working Breakdown. Mathematics, 13(18), 2980. https://doi.org/10.3390/math13182980

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