Research Article | Open Access

Ruiling Tian, Linmin Hu, Xijun Wu, "Equilibrium and Optimal Strategies in M/M/1 Queues with Working Vacations and Vacation Interruptions", *Mathematical Problems in Engineering*, vol. 2016, Article ID 9746962, 10 pages, 2016. https://doi.org/10.1155/2016/9746962

# Equilibrium and Optimal Strategies in M/M/1 Queues with Working Vacations and Vacation Interruptions

**Academic Editor:**Kishin Sadarangani

#### Abstract

We consider the customers equilibrium and socially optimal joining-balking behavior in single-server Markovian queues with multiple working vacations and vacation interruptions. Arriving customers decide whether to join the system or balk, based on a linear reward-cost structure that incorporates their desire for service, as well as their unwillingness for waiting. We consider that the system states are observable, partially observable, and unobservable, respectively. For these cases, we first analyze the stationary behavior of the system and get the equilibrium strategies of the customers and compare them to socially optimal balking strategies numerically.

#### 1. Introduction

In the past decades, there has been an emerging tendency in the literature to study queueing systems which are concerned with customers decentralized behavior and socially optimal control of arrivals. Such an economic analysis of queueing systems was pioneered by Naor [1] who studied the observable M/M/1 model with a simple linear reward-cost structure. It was assumed that an arriving customer observed the number of customers and then made his/her decision whether to join or balk. His study was complemented by Edelson and Hildebrand [2] who considered the same queueing system as that in [1] but assumed that the customers made their decisions without being informed about the state of the system. Moreover, several authors have investigated the same problem for various queueing systems incorporating diverse characteristics such as priorities, reneging, jockeying, schedules, and retrials. The fundamental results about various models can be found in the comprehensive monograph written by Hassin and Haviv [3] with extensive bibliographical references.

There are some papers in the literature that considered the strategic behavior of customers in classical vacation queueing models. Burnetas and Economou [4] studied a Markovian single-server queueing system with setup times. They derived equilibrium strategies for the customers under various levels of information and analyzed the stationary behavior of the system under these strategies. Sun and Tian [5] considered a queueing model with classical multiple vacations. They derived the equilibrium and socially optimal joining strategies in vacation and busy period of a partially observable queue, respectively. The conclusion was summarized that individual optimization led to excessive congestion without regulation. Economou and Kanta [6] considered the Markovian single-server queue that alternates between on and off periods. They derived equilibrium threshold strategies in fully observable and almost observable queues. Guo and Hassin [7] studied a vacation queue with N-policy and exhaustive service. They presented the equilibrium and socially optimal strategies for unobservable and observable queues. This work was extended by Guo and Hassin [8] to heterogenous customers and by Tian et al. [9] to M/G/1 queues. Recently, Guo and Li [10] studied strategic behavior and social optimization in partially observable Markovian vacation queues. Li et al. [11] considered equilibrium strategies in M/M/1 queues with partial breakdowns. Zhang et al. [12] studied a single-server retrial queue with two types of customers in which the server was subject to vacations along with breakdowns and repairs. They discussed and compared the optimal and equilibrium retrial rates regarding the situations in which the customers were cooperative or noncooperative, respectively.

Recently, queueing systems with working vacations have been studied extensively where the server takes vacations once the system becomes empty (i.e., exhaustive service policy) and can still serve customers at a lower rate than regular one during the vacations. Research results of the stationary system performance on various working vacation queues can be consulted in the survey given by Tian et al. [13]. As for the work studying customers behavior in queueing systems with working vacations, Zhang et al. [14] and Sun and Li [15] obtained equilibrium balking strategies in M/M/1 queues with working vacations for four cases with respect to different levels of information. Sun et al. [16] also considered the customers equilibrium balking behavior in some single-server Markovian queues with two-stage working vacations.

However, we often encounter the situation that the server can stop the vacation once some indices of the system, such as the number of customers, achieve a certain value during a vacation. In many real life congestion situations, urgent events occur during a vacation and the server must come back to work rather than continuing to take the residual vacation. For example, if the number of customers exceeds the special value during a vacation and the server continues to take the vacation, it leads to large cost of waiting customers. Therefore, vacation interruption is more reasonable to the server vacation queues. Vacation interruption was introduced by Li and Tian [17] and Li et al. [18].

In this paper, we consider an M/M/1 queueing model with working vacations and vacation interruptions. We distinguish three cases: the observable queues, the partially observable queues, and the unobservable queues, according to the information levels regarding system states. As to the observable case, a customer can observe both the state of the server and the number of present customers before making decision. In the unobservable case, a customer cannot observe the state of the system. However, for the partially observable case, a customer only can observe the state of the server at their arrival instant and does not observe the number of customers present. The customers dilemma is whether to join the system or balk. We study the balking behavior of customers in these cases and derive Nash equilibrium strategies and socially optimal strategies.

This paper is organized as follows. Descriptions of the model are given in Section 2. In Sections 3, 4, and 5, we determine the equilibrium and socially optimal strategies in observable queues, the partially observable queues, and the unobservable queues, respectively. Conclusions are given in Section 6.

#### 2. Model Description

Consider a classical M/M/1 queue with an arrival rate and a service rate . Upon the completion of service, if there is no customer in the system, the server begins a vacation and the vacation time is assumed to be exponentially distributed with the parameter . During a vacation period, arriving customers can be served at a mean rate of . Upon the completion of a service in the vacation, if there are also customers in the queue, the server ends the vacation and comes back to the normal working level. Otherwise, he/she continues the vacation until there are customers after a service or a vacation ends. Meanwhile, when a vacation ends, if there are no customers, another vacation is taken. Otherwise, the server also switches the rate to and a regular busy period starts. In this service discipline, the server may come back from the vacation without completing the vacation. And the server can only go on vacations if there is no customer left in the system upon the completion of a service. Meanwhile, the vacation service rate can be only applied to the first customer that arrived during a vacation period.

We assume that the interarrival times, the service times, and the working vacation times are mutually independent. In addition, the service discipline is first in, first out (FIFO).

Denote by the number of customers in the system at time . Let be the state that the server is on working vacation period at time and let be the state that the server is busy at time .

Arriving customers are assumed to be identical. Our interest is in the customers’ strategic response as they can decide whether to join or balk upon arrival. Assume that a customer’s utility consists of a reward for receiving service minus a waiting cost. Specifically, every customer receives a reward of units for completing service. There is a waiting cost of units per time unit that the customer remains in the system. Customers are risk neutral and maximize their expected net benefit. Finally, we assume that there are no retrials of balking customers nor reneging of waiting customers.

#### 3. The Observable Queues

We begin with the fully observable case in which the arriving customers know not only the number of present customers but also the state of the server at arrival time .

There exists a balk threshold such that an arriving customer enters the system at state if the number of the customers present upon arrival does not exceed the specified threshold. So a pure threshold strategy is specified by a pair and the balking strategy has the following form: “while arriving at time , observe ; enter if and balk otherwise.”

And we have the following result.

Theorem 1. *In the observable M/M/1 queue with working vacations and vacation interruptions, there exist thresholds which are given by such that a customer who observes the system at state upon his arrival enters if and balks otherwise.*

*Proof. *Based on the reward-cost structure which is imposed on the system, we conclude that, for an arriving customer that decides to enter, his/her expected net benefit is where denotes his/her expected mean sojourn time given that he/she finds the system at state upon his/her arrival. Then, we have the following equations: By iterating (4) and taking into account (5), we obtain We can easily check that is strictly increasing for . A customer strictly prefers to enter if the reward for service exceeds the expected cost for waiting (i.e., ) and is indifferent between entering and balking if the reward is equal to the cost (i.e., ).

We assume throughout the paper that which ensures that the reward for service exceeds the expected cost for a customer who finds the system empty. By solving for , using (5) and (6), we obtain that the customer arriving at time decides to enter if and only if , where are given by (1).

From Figure 1, we observe that is larger than , and and are all increasing with .

For the stationary analysis, the system follows a Markov chain and the state space is And the transition diagram is illustrated in Figure 2.

Let with ; then is the stationary distribution of the process .

In steady state, we have the following system equations: Define By iterating (10) and (15), taking into account (11) and (16), we obtain From (13), it is easy to obtain that is a solution of the nonhomogeneous linear difference equation So its corresponding characteristic equation is which has two roots at 1 and . Assume that ; then the homogeneous solution of (19) is . The general solution of the nonhomogeneous equation is given as , where is a specific solution. We find a specific solution . Substituting it into (19), we derive Therefore, Substituting (22) into (9) and (12), it follows after some rather tedious algebra that Then, we obtain Thus, from (22), we obtain Thus, we have all the stationary probabilities in terms of . The remaining probability, , can be found from the normalization condition. After some algebraic simplifications, we can summarize the results in the following.

Theorem 2. *In the observable M/M/1 queues with working vacations and vacation interruptions, the stationary distribution is given as follows: where can be solved by the normalization equation.**Because the probability of balking is equal to , the social benefit per time unit when all customers follow the threshold policy equals **Let be the socially optimal threshold strategy. From Figure 3, we obtain , while the equilibrium threshold strategy . We observe that and , which indicates that the individual optimization is inconsistent with the social optimization.*

#### 4. Partially Observable Queues

In this section, we turn our attention to the partially observable case, where arriving customers only can observe the state of the server at their arrival instant and do not observe the number of customers present.

A mixed strategy for a customer is specified by a vector , where is the probability of joining when the server is in state . If all customers follow the same mixed strategy , then the system follows a Markov chain where the arrival rate equals when the server is in state . The state space is and the transition diagram is illustrated in Figure 4.

Denote the stationary distribution as

Using the lexicographical sequence for the states, the transition rate matrix (generator) can be written as the tridiagonal block matrix: where

To analyze this QBD process, it is necessary to solve for the minimal nonnegative solution of the matrix quadratic equation and this solution is called the rate matrix and denoted by .

Lemma 3. *If , the minimal nonnegative solution of (31) is given by where *

*Proof. *Because the coefficients of (31) are all upper triangular matrices, we can assume that has the same structure as Substituting and into (31) yields the following set of equations: To obtain the minimal nonnegative solution of (31), we take (the other roots are ) in the second equation of (34). From the first equation of (34), we obtain . Substituting and into the last equation of (34), we get . This is the proof of Lemma 3.

Theorem 4. *Assuming that , the stationary probabilities of the partially observable queues are as follows: where *

*Proof. *With the matrix-geometric solution method [19], we have In addition, satisfies the set of equations where Then, from (38), we derive Taking as a known constant, we obtain Note that By , , , and (37), we get (35). Finally, can be determined by the normalization condition. This is the proof of Theorem 4.

Let be the steady-state probability when the server is at state ; we have So the effective arrival rate is given by

We now consider a customer who finds the server at state upon arrival. The conditional mean sojourn time of such a customer that decides to enter given that the others follow the same mixed strategy is given by By substituting (5)-(6) and (35) into (44), we obtain

Based on the reward-cost structure, the expected net benefit of an arriving customer if he/she finds the server at state and decides to enter is given by

We now can proceed to determine mixed equilibrium strategies of a customer in the partially observable case and have the following.

Theorem 5. *For the partially observable case, there exists a unique mixed equilibrium strategy , where the vector is given as follows:*(1)*:*(2)*: **where *

*Proof. *To prove Theorem 5, we first focus on . Condition (1) assures that is positive. Therefore, we have two cases.*Case 1 (** and **)*. That is, ). In this case, if all customers who find the system empty enter the system with probability , then the tagged customer suffers a negative expected benefit if he/she decides to enter. Hence, does not lead to an equilibrium. Similarly, if all customers use , then the tagged customer receives a positive benefit from entering; thus, also cannot be part of an equilibrium mixed strategy. Therefore, there exists unique satisfying for which customers are indifferent between entering and balking. This is given by In this situation, the expected benefit is given by Using the standard methodology of equilibrium analysis in unobservable queueing models, we derive from (55) the following equilibria:(1)If , then the equilibrium strategy is .(2)If and , there exists unique , satisfying then the equilibrium strategy is .(3)If , then the equilibrium strategy is .*Case 2 (**)*. That is, ). In this case, for every strategy of the other customers, the tagged customer has a positive expected net benefit if he/she decides to enter. Hence, .

In this situation, the expected benefit is given by To find in equilibrium, we also consider the following subcases:(1)If , then the equilibrium strategy is .(2)If and , there exists unique , satisfying then the equilibrium strategy is .(3)If , then the equilibrium strategy is .By rearranging Cases 1 and 2, we can obtain the results of Theorem 5. This completes the proof.

From Theorem 5, we can compare with . Figure 5 shows that is not always less than . Namely, sometimes the information that the server takes a working vacation does not make the customers less willing to enter the system, because in the vacation the server provides a lower service to customers. But when the vacation time and waiting time become longer, customers do not want to enter the system in vacation.

Then, from Theorem 4, the mean queue length is given byAnd the social benefit when all customers follow a mixed policy can now be easily computed as follows:

The goal of a social planner is to maximize overall social welfare. Let be the socially optimal mixed strategy. Figure 6 compares customers equilibrium mixed strategy and their socially optimal mixed strategy . We also observe that and . This ordering is typical when customers make individual decisions maximizing their own profit. Then, they ignore those negative externalities that they impose on later arrivals, and they tend to overuse the system. It is clear that these externalities should be taken into account when we aim to maximize the total revenue.

#### 5. The Unobservable Queues

In this section, we consider the fully unobservable case, where arriving customers cannot observe the system state.

There are two pure strategies available for a customer, that is, to join the queue or not to join the queue. A pure or mixed strategy can be described by a fraction , which is the probability of joining, and the effective arrival rate, or joining rate, is . The transition diagram is illustrated in Figure 7.

To identify the equilibrium strategies of the customers, we should first investigate the stationary distribution of the system when all customers follow a given strategy , which can be obtained by Theorem 4 by taking . So we have where , , and Then, the mean number of the customers in the system is Hence, the mean sojourn time of a customer who decides to enter upon his/her arrival can be obtained by using Little’s law: And if , is strictly increasing for .

We consider a tagged customer. If he/she decides to enter the system, his/her expected net benefit is We note that is strictly decreasing in , and it has a unique root . So there exists a unique mixed equilibrium strategy and .

We now turn our attention to social optimization. The social benefit per time unit can now be easily computed as

As for the equilibrium social welfare per time unit , Figure 8 shows that first increases and then decreases with , and the social benefit achieves a maximum for intermediate values of this parameter. The reason for this behavior is that when the arrival rate is small, the system is rarely crowded; therefore, as more customers arrive, they are served and the social benefit improves. However, with any small increase of the arrival rate , the expected waiting time increases, which has a detrimental effect on the social benefit.

Let be the root of the equation , and let be the optimal joining probability. Then, we have the following conclusions: if and , then ; if and or , then .

From Figure 9, we observe that . As a result, individual optimization leads to queues that are longer than socially desired. Therefore, it is clear that the social planner wants a toll to discourage arrivals.

#### 6. Conclusion

In this paper, we analyzed the customer strategic behavior in the M/M/1 queueing system with working vacations and vacation interruptions where arriving customers have option to decide whether to join the system or balk. Three different cases with respect to the levels of information provided to arriving customers have been investigated extensively and the equilibrium strategies for each case were derived. And we found that the equilibrium joining probability of the busy period may be smaller than that in vacation time. We also compared the equilibrium strategy with the socially optimal strategy numerically, and we observed that customers make individual decisions maximizing their own profit and tend to overuse the system. For the social planner, a toll will be adopted to discourage customers from joining.

Furthermore, an interesting extension would be to incorporate the present model in a profit maximizing framework, where the owner or manager of the system imposes an entrance fee. The problem is to find the optimal fee that maximizes the owners total profit subject to the constraint that customers independently decide whether to enter or not and take into account the fee, in addition to the service reward and waiting cost. Another direction for future work is to concern the non-Markovian queues with various vacation policies.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work is partially supported by the Natural Foundation of Hebei Province (nos. A2014203096 and C2014203212), China, and the Young Faculty Autonomous Research Project of Yanshan University (nos. 13LGB032, 13LGA017, and 13LGB013), China.

#### References

- P. Naor, “The regulation of queue size by levying tolls,”
*Econometrica*, vol. 37, no. 1, pp. 15–24, 1969. View at: Publisher Site | Google Scholar - N. M. Edelson and D. K. Hildebrand, “Congestion tolls for Poisson queuing processes,”
*Econometrica*, vol. 43, no. 1, pp. 81–92, 1975. View at: Publisher Site | Google Scholar | MathSciNet - R. Hassin and M. Haviv,
*Equilibrium Behavior in Queueing Systems: To Queue or Not to Queue*, Kluwer Academic Publishers, Dordrecht, The Netherlands, 2003. - A. Burnetas and A. Economou, “Equilibrium customer strategies in a single server Markovian queue with setup times,”
*Queueing Systems*, vol. 56, no. 3-4, pp. 213–228, 2007. View at: Publisher Site | Google Scholar | MathSciNet - W. Sun and N. Tian, “Contrast of the equilibrium and socially optimal strategies in a queue with vacations,”
*Journal of Computational Information Systems*, vol. 4, no. 5, pp. 2167–2172, 2008. View at: Google Scholar - A. Economou and S. Kanta, “Equilibrium balking strategies in the observable single-server queue with breakdowns and repairs,”
*Operations Research Letters*, vol. 36, no. 6, pp. 696–699, 2008. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - P. Guo and R. Hassin, “Strategic behavior and social optimization in Markovian vacation queues,”
*Operations Research*, vol. 59, no. 4, pp. 986–997, 2011. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - P. Guo and R. Hassin, “Strategic behavior and social optimization in Markovian vacation queues: the case of heterogeneous customers,”
*European Journal of Operational Research*, vol. 222, no. 2, pp. 278–286, 2012. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - R. Tian, D. Yue, and W. Yue, “Optimal balking strategies in an M/G/1 queueing system with a removable server under N-policy,”
*Journal of Industrial and Management Optimization*, vol. 11, no. 3, pp. 715–731, 2015. View at: Publisher Site | Google Scholar | MathSciNet - P. Guo and Q. Li, “Strategic behavior and social optimization in partially-observable Markovian vacation queues,”
*Operations Research Letters*, vol. 41, no. 3, pp. 277–284, 2013. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - L. Li, J. Wang, and F. Zhang, “Equilibrium customer strategies in Markovian queues with partial breakdowns,”
*Computers & Industrial Engineering*, vol. 66, no. 4, pp. 751–757, 2013. View at: Publisher Site | Google Scholar - F. Zhang, J. Wang, and B. Liu, “On the optimal and equilibrium retrial rates in an unreliable retrial queue with vacations,”
*Journal of Industrial and Management Optimization*, vol. 8, no. 4, pp. 861–875, 2012. View at: Publisher Site | Google Scholar | MathSciNet - N. Tian, J. Li, and Z. G. Zhang, “Matrix analysis method and working vacation queuesa survey,”
*International Journal of Information and Management Sciences*, vol. 20, pp. 603–633, 2009. View at: Google Scholar - F. Zhang, J. Wang, and B. Liu, “Equilibrium balking strategies in Markovian queues with working vacations,”
*Applied Mathematical Modelling*, vol. 37, no. 16-17, pp. 8264–8282, 2013. View at: Publisher Site | Google Scholar | MathSciNet - W. Sun and S. Li, “Equilibrium and optimal behavior of customers in Markovian queues with multiple working vacations,”
*TOP*, vol. 22, no. 2, pp. 694–715, 2014. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - W. Sun, S. Li, and Q.-L. Li, “Equilibrium balking strategies of customers in Markovian queues with two-stage working vacations,”
*Applied Mathematics and Computation*, vol. 248, pp. 195–214, 2014. View at: Publisher Site | Google Scholar - J. Li and N. Tian, “The M/M/1 queue with working vacations and vacation interruptions,”
*Journal of Systems Science and Systems Engineering*, vol. 16, no. 1, pp. 121–127, 2007. View at: Publisher Site | Google Scholar - J.-H. Li, N.-S. Tian, and Z.-Y. Ma, “Performance analysis of GI/M/1 queue with working vacations and vacation interruption,”
*Applied Mathematical Modelling*, vol. 32, no. 12, pp. 2715–2730, 2008. View at: Publisher Site | Google Scholar | MathSciNet - M. Neuts,
*Matrix-Geometric Solution in Stochastic Models*, Johns Hopkins University Press, Baltimore, Md, USA, 1981.

#### Copyright

Copyright © 2016 Ruiling Tian et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.