#### Abstract

This paper presents the analysis of a discrete-time renewal input multiple vacations queue with state dependent service and changeover times under policy. The service times, vacation times, and changeover times are geometrically distributed. The server begins service if there are at least units in the queue and the services are performed in batches of minimum size and maximum size . At service completion instant, if the queue size is less than but not less than a secondary limit , the server continues to serve and takes vacation if the queue size is less than . The server is in changeover period whenever the queue size is at service completion instant and at vacation completion instant. Employing the supplementary variable and recursive techniques, we have derived the steady state queue length distributions at prearrival and arbitrary epochs. Based on the queue length distributions, some performance measures of the system have been discussed. A cost model has been formulated and optimum values of the service and vacation rates have been evaluated using genetic algorithm. Numerical results showing the effect of model parameters on the key performance measures are presented.

#### 1. Introduction

The interest in discrete-time queues in which time is slotted (divided into fixed-length of contiguous intervals) has got a spectacular growth with the arrival of the digital technologies. A fundamental motive to study discrete-time queues is that they are more appropriate than their continuous-time counterparts for analyzing computer and telecommunication systems, since nowadays these systems are more digital (such as a machine cycle time, bits, and packets) than analogical. In view of this they have become increasingly important due to their applications in the study of many computer and communication systems such as asynchronous transfer mode (ATM) multiplexers, broadband integrated services digital network (B-ISDN), circuit-switched time-division multiple access (TDMA) systems, slotted carrier-sense multiple access (CSMA) protocols, and traffic concentrators in which the time axis is divided into slots. Further, the advantage of analyzing a discrete-time queue is that one can obtain the continuous-time results from it as a limiting case but the converse is not true. However, from an applied and a theoretical point of view both discrete and continuous-time queueing models have importance. One can see Bruneel and Kim [1], Takagi [2], Tran-Gia et al. [3], and Robertazzi [4] for extensive treatments of various types of discrete-time queues and their applications.

Batch service queues have potential applications in telecommunication systems, service mechanisms of a web server, and computer operating systems. In addition to these they also have applications in production, manufacturing, and traffic signal systems where the processor processes packets in batches without overloading the system. In such batch service systems, jobs arriving one at a time must wait in the queue until a sufficient number of jobs get accumulated. Studies on the queueing systems with batches have been reported in Medhi [5] and Chaudhry and Templeton [6]. Gupta and Goswami [7] discussed analytic and computational aspects of queue. Chaudhry and Chang [8] considered a discrete-time bulk service queue. They discussed both the analytic and computational aspects of the distributions of the number of customers in the queue at postdeparture, random, and prearrival epochs. Goswami et al. [9] analyzed discrete-time single server infinite (finite) buffer bulk service queues. The interarrival time of successive arrivals and service times of batches are assumed to be independent and geometrically distributed.

Batch service queues with server vacations have become more effective in modeling and analyzing communication networks and other engineering systems. Such models are useful for the systems in which the server wants to utilize the idle time for different purposes. The discrete-time queue with multiple vacations under late arrival system with delayed access (LAS-DA) has been studied by Tian and Zhang [10]. By using matrix-geometric method, they obtained explicit expressions for the stationary distributions of queue length and waiting time. Goswami and Vijaya Laxmi [11] analyzed a discrete-time finite buffer single server accessible and nonaccessible batch service queue with multiple vacations. The interarrival times of customers are assumed to be arbitrarily distributed. The service times and vacation times are assumed to be geometrically distributed.

In many real-life queueing situations, jobs are served with a control limit policy. For example, in some manufacturing systems it is possible to process jobs only when the number of units to be processed exceeds a specified level and when service starts it is profitable to continue it even when the queue size is less than the specified level but not less than a secondary limit. Tadj and Abid [12] discussed optimal management policy for a single server and single or bulk service characterized by the bilevel service discipline. Baburaj [13] presented a discrete time bulk service queue under the policy. The interarrival and service times are assumed to be geometrically distributed.

Queues with single server whose service and vacation rates depend on the queue size are realistic models for systems whose server’s speed needs to be adjusted according to the number of customers waiting in line. Chao and Rahman [14] analyzed a finite buffer renewal input queue with state dependent services and vacations. They have computed the queue length distributions using supplementary variable and recursive techniques. Parthasarathy and Sudhesh [15] considered a time-dependent single server retrial queue with state dependent rates. They have obtained the time-dependent system size probabilities by employing continued fractions analytically in closed form in terms of convolutions.

The above literature survey reveals that much work has not been focused on discrete-time renewal input multiple vacation queues with changeover times and state dependent services. In most of the literature presented before, it is assumed that the time taken by the server to change the state (from regular working state to vacation state and vice versa) is negligible. However, in many real life situations, the server takes some time to switch from regular working period to vacation period and vice versa. IEEE 802.16-2009 is one such protocol which has three types of power saving classes (types I, II, and III) based on sleep mode operations. Type III sleep mode operations justify our model, wherein the sleep mode and sleep delay mode correspond to vacations and changeover times, respectively. Therefore, the study of queues with vacations and changeover times is important for the design and implementation of communication networks. We aim to introduce state dependent services and changeover times to discrete-time renewal input queue with multiple vacations. One may note that the general uncorrelated arrival process appears to be more appropriate and reasonable than the geometric (Geo) distribution and also it can include the special cases of geometric, deterministic (Det), and arbitrary (Arb) distributions. Further, we also carry out cost analysis as cost is an important aspect that leads to the economic interpretation of the queueing system. Optimization techniques are widely used to effectively assess the performance of the systems. One can construct a suitable cost model and determine the optimum values of the parameters using various optimization techniques. We have employed genetic algorithm (GA) for this purpose. Genetic algorithm works by mimicking the evolutionary principles and chromosomal processing in natural genetics. GA’s intelligent search procedure finds the best and fittest design solutions, which are otherwise difficult to find using other optimization techniques. The method was developed by Holland [16]. For the advantages of GA one may refer to R. L. Haupt and S. E. Haupt [17] and Rao [18].

This paper focuses on an infinite buffer discrete-time state dependent bulk service queue with multiple vacations and changeover times under policy. The interarrival times are assumed to be arbitrarily distributed. The service time of batches, vacation, and changeover times are assumed to be geometrically distributed. We provide a recursive method using the supplementary variable technique to develop the steady state queue length distributions at various epochs for LAS-DA system.

The rest of the paper is organized as follows. Section 2 presents the description of the model and some notations used in this paper. Section 3 deals with the steady state distributions at prearrival and arbitrary epochs including some results that can be deduced from our model by taking specific values of some of the parameters. Performance measures of the system and cost model are presented in Section 4. Using some numerical results, we demonstrate the parameter effect on the performance measures of the system in Section 5. Finally, Section 6 concludes the paper.

#### 2. The Model Description

Let us consider a discrete-time infinite buffer bulk service queue with multiple vacations (MV) and changeover times under LAS-DA. The interarrival and service times of customers are assumed to be arbitrarily and geometrically distributed, respectively. The interarrival times of two successive arrivals are independent and identically distributed (i.i.d.) random variables (r.v.s) with common probability mass function (p.m.f.) , , corresponding probability generating function (p.g.f.) , and mean interarrival time , where is the first derivative of with respect to at . The service times of batches are independent and geometrically distributed with common (p.m.f.) , , , and mean service time , where for any real number , we denote . The service begins only if there are at least units in the queue. The customers are served in batches of minimum size and maximum size with service rate depending on the queue size as follows: if the queue size is less than , the batch under consideration is served with rate and if the queue size is greater than , the batch is served with rate . Further, we assume that the service rate depends only on the queue size but on the batch size because the batches considered for service are of variable sizes with minimum and maximum .

At a service completion epoch (i) if the queue size is less than but not less than then the server continues to serve, (ii) if there are customers in the queue then the server will go for MV, and (iii) if the queue size is then instead of going for vacation immediately the server waits for some time in the system called changeover time which is geometrically distributed with rate . It starts service on finding an arrival during this changeover time; otherwise, it will go for vacation. The vacation times are assumed to be independent and geometrically distributed with rate .

On returning from a vacation (i) if the server finds customers in the queue, it takes another vacation and so on until at least customers are available in the queue, (ii) if there are customers in the queue, the server is in changeover time, which is again geometrically distributed with rate . It starts service on finding an arrival during this changeover time; otherwise, another vacation follows, and (iii) if the server finds customers in the queue, customers are taken for service according to FCFS discipline. The traffic intensity is given by .

Let the time axis be slotted into intervals of equal length with the length of a slot being unity. Further, let the time axis be marked as and assume that a potential arrival occurs in the interval and a potential departure occurs in the interval as shown in Figure 1.

The state of the system prior to a potential arrival (at ) is described by the following (r.v.s):(i) = number of customers present in the queue (excluding the batch in service);(ii) = the remaining interarrival time for the next arrival;(iii)

Let us define the following joint probabilities:

At steady state, let

#### 3. Steady State Distributions

To obtain the queue length distributions, we develop the difference equations using the remaining interarrival time as the supplementary variable. It may be noted that changes in the state of the system occur due to the following events: (i) an arrival, (ii) a service completion, (iii) a vacation completion, (iv) an arrival during changeover times, and (iv) completion of changeover times. Based on these events, observing the state of the system at two consecutive time epochs and , using probabilistic arguments and the concept of stochastic balance at steady state, for we have the following difference equations under the steady state condition : Let us define , and , so that are the steady state probabilities that customers present in the queue and the server is in state at an arbitrary epoch. Multiplying (4) to (14) by and summing over from 1 to , we obtain One important result is stated below in the form of a lemma using (15) to (25).

Lemma 1. *The mean number of entrances into the system per unit time equals the mean arrival rate that is
*

*Proof. *Adding (15) to (25), we get
Taking limit as and using the normalization condition, we get the result of the lemma.

##### 3.1. Steady State Distribution at Prearrival Epochs

Let be the probability that customers are in the queue at prearrival epoch and the server is on vacation, denotes the probability of customers in the queue at prearrival epoch and the server is in busy period, and () denotes the probability of () customers in the queue at prearrival epoch and the server is in changeover time. Using Baye’s theorem and (26), we express the prearrival epoch probabilities as below: To obtain , , , and we need to evaluate , , , and which is discussed below.

From (20), setting and taking , we get Again from (20), we have From (18), setting we have We define the displacement operator as (see [19, pp. 172]) and rewrite (23) as Setting , we get where is an arbitrary constant and is a real root inside the unit circle of the equation (from Rouche’s theorem).

From (32) and (33), it follows that Setting in (22), we have where Using (29), (30), (33), (34), and (35) in (22), we get where Setting in (24) and using (33), (35), and (37), one can obtain as where Now inserting in (21), we get where Equation (24) together with (33), (35), (37), and (39) yields where Setting in (21), we have where Setting in (15), we get Setting in (16), we obtain where Inserting in (17) and using (39), (43), and (48), we get where From this equation and (31) it follows that Using the normalization condition, we have where Setting in (19) and (25) and after simplification, we get where Combining (53) and (55), we can obtain the unknown constants and as

Theorem 2. *The prearrival epoch queue length distributions that an arrival sees customers in the queue and the server is in state are given by
*

*Proof. *Using (28) in (47)–(52), (29), (35), (33), (39), and (41), we obtain the result of the theorem.

##### 3.2. Steady State Distribution at Arbitrary Epochs

To obtain the queue length distributions at arbitrary epochs (), we use and the rate probabilities . This is discussed in the following theorems.

Theorem 3. *The arbitrary epoch probabilities are given by
*

* Proof. *Setting in (30), (37), (34), and (43), we get (59)–(63), respectively.

One may note here that from Theorem 3 we cannot get , , and . We have already obtained in (45) and the remaining can be obtained using the following theorem.

Theorem 4. *The arbitrary epoch probabilities and are given by
**
where
**
and represents the partial derivative of with respect to .*

*Proof. *Differentiating (30) and (34) and setting* z* = 1 yields
Differentiating (15) and (21) and (16) to (18), setting , and using (71), we get (64) to (67), respectively.

Adding and differentiating (19) and (25) and setting , we get
Setting in (25) yields
On combining (72) and (73) one can obtain (68) and (69).

This completes the evaluation of the arbitrary epoch probabilities.

The following results can be deduced from our model by taking specific values of the parameters,, and .

*Remark 5. *Let , , and , that is, the batch size is one and no changeover time. The model reduces to queue with multiple vacations and our results match numerically with Tian and Zhang [10].

*Remark 6. *Taking , , and , the present model reduces to queue.

*Remark 7. *, , and , that is, the batch size is one, no vacation, and no changeover time. In this case, the system reduces to queue and our results match with the results available in the literature.

#### 4. Performance Measures and Cost Model

Among the different features of queueing system, performance measures are very important since they reflect the effectiveness of the queueing system. Once the state probabilities at various epochs are known, we can evaluate some performance measures. The average queue length and the average waiting time in the queue of a customer using Little’s rule are, respectively, given by The probability that the server is in vacation (), the probability that the server is busy (), and the probability that the server is in changeover times () are, respectively, given by

##### 4.1. Cost Model

We develop the total expected cost function per unit time with an objective to determine the optimum values of and so that the expected cost function is minimized. Let us define= the unit time cost of every waiting customer in the queue; = service cost per unit time when the server is busy with customers in the queue; = service cost per unit time when the server is busy with customers in the queue; = fixed cost per unit time when the server is on vacation; = fixed cost per unit time when the server is in changeover time (after service completion epoch); = fixed cost per unit time when the server is in changeover time (after vacation completion epoch).

Let be the total expected cost per unit time. Using the definitions of each cost element and its corresponding system characteristics, we have

We have considered the following optimization problems.(i)Minimize subject to the constraint .(ii)Minimize subject to the constraint .

It may be noted that the choice of bounds for the variables and is arbitrary. However, the upper bound for is chosen to be small (<0.24) in order to emphasize the effect of vacation rate on the total expected cost numerically, as the larger values of indicates smaller vacation durations. The numerical searching approach is implemented using genetic algorithm on the computer software Mathematica with and as the decision variables.

#### 5. Numerical Results and Discussion

To demonstrate the applicability of the theoretical investigation made in the previous sections, we present some numerical results in the form of tables and graphs. We have considered the following cost parameters: , , , , , . In addition to these cost parameters we have taken the parameters (i) , , , , , for Tables 1 and 2 and Figures 1–7, (ii) for Tables 1 and 2 and Figures 2–5, and (iii) , , for Figures 6 and 7, unless they are considered as variables or their values are mentioned in the respective figures and tables. It may be noted from Theorems 2–4 that the evaluation of the stationary probabilities has the computational speed which is of linear order.

Using genetic algorithm, the best values of and the corresponding minimum expected cost for different values of are shown in Table 1 for geometric interarrival times. One can see that as the mean arrival rate increases both the optimal mean service rate and the minimum cost increase. Table 2 presents the best values of and reached by GA for different interarrival time distributions and various values of . The results shown in Table 2 indicate that there is a certain optimal value of (around 0.15) at which is minimum.

Table 3 presents the sensitivity analysis of average queue length for the models with (i) multiple vacations and changeover times (MV, Chov), (ii) multiple vacations without changeover times (MV, No Chov), and (iii) no vacation and no changeover times (No vac, No Chov) with constant and varying service rate. We observe that increases with the increase of and and decreases as increases for all the cases. As the values of and increase, it results in greater accumulation of customers in the queue thereby increasing . The expected queue length is larger for constant service rate than that of state dependent service rate for each of the cases considered. This indicates that the model in which the service rate of the server depends on the queue size performs better. Further, for both constant and varying service rate, for case (iii) is smallest due to the absence of vacation but with the presence of vacation the one with changeover time (case (i)) showed better performance. This is because in case (ii) the server directly goes to vacation if the conditions on () are not met after service completion (vacation termination) epoch. Thus, the introduction of changeover policy forces the server to wait for some time in the system which results in decreasing the queue length.

Figure 2 depicts the minimum and average cost for number of generations considered in the GA, when is a decision variable and the interarrival time distribution is geometric. We observe that the method stabilizes for larger generation values. This is to say that even though the average cost varies widely from generation to generation the minimum cost becomes stable after some generations.

Figure 3 provides the expected number in the queue with the change of for different interarrival distributions. From the figure we observe that increases with for any interarrival time distribution. This shows that keeping the service rate lower whenever the queue size is less than some specified value ( in this model) contributes for better performance.

Figure 4 shows the effect of on for different interarrival distributions. As expected, the average number of customers in the queue monotonically decreases as the maximum batch size increases. It can also be observed that in the case of geometric interarrival time distribution is lowest.

The effect of on for different interarrival time distributions is presented in Figure 5. We can see that decreases as increases. As increases the mean vacation time decreases which indicates that the server is available in the system more frequently, clearing the accumulated customers and as a result decreases. Figure 6 illustrates the effect of on for geometric interarrival time distribution for different values of . It is observed that increases as increases. Since is the minimum batch size, increasing will result in greater accumulation of customers in the queue which in turn results in increasing . Further, we can see that increases as increases for fixed . This is due to the fact that as gets larger the mean duration of changeover times becomes smaller so that the server will go for vacation without waiting for an arrival for some reasonable duration of time. This contributes for to increase.

Figure 7 depicts the effect of on for different interarrival time distributions. It is observed that increases as increases. Since is the minimum threshold to start service, increasing will result in greater accumulation of customers in the queue thereby increasing . Further, it is observed that there is no significant difference among the interarrival distributions considered.

#### 6. Conclusions

In this paper, we have analyzed a discrete-time renewal input infinite buffer bulk service queue with multiple vacations and changeover times, where the service rate of the server depends on the queue size. We have obtained the queue length distributions at arbitrary and prearrival epochs. Utilizing these distributions, we have derived some important performance measures and a cost model is developed to determine the best values of service and vacation rates reached by genetic algorithm. Numerical illustrations in the form of tables and graphs are reported to demonstrate how various parameters of the model influence the behavior of the system. This study reveals that not only the interarrival times and vacation duration play an important role in queueing processes but also changeover times and state dependent services have a major role. The analytical approach used in this paper would be interesting to study discrete-time queue with single (multiple) working vacation(s) and other vacation policies, which are left for future research work.

#### Conflict of Interests

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