• 沒有找到結果。

A HEURISTIC ALGORITHM FOR THE OPTIMIZATION OF M/M/s QUEUE WITH MULTIPLE WORKING VACATIONS

N/A
N/A
Protected

Academic year: 2022

Share "A HEURISTIC ALGORITHM FOR THE OPTIMIZATION OF M/M/s QUEUE WITH MULTIPLE WORKING VACATIONS"

Copied!
17
0
0

加載中.... (立即查看全文)

全文

(1)

MANAGEMENT OPTIMIZATION

Volume 8, Number 1, February 2012 pp. 1–17

A HEURISTIC ALGORITHM FOR THE OPTIMIZATION OF M/M/s QUEUE WITH MULTIPLE WORKING VACATIONS

Chia-Huang Wu

Department of Industrial Engineering and Management National Chiao Tung University

Hsingchu 30010, Taiwan

Kuo-Hsiung Wang

Department of Business Administration Asia University

Wufeng, Taichung 41354, Taiwan

Jau-Chuan Ke

Department of Applied Statistics

National Taichung University of Science and Technology Taichung 404, Taiwan

Jyh-Bin Ke

Department of Applied Mathematics National Chung-Hsing University

Taichung 402, Taiwan

(Communicated by Wuyi Yue)

Abstract. This paper focuses on an M/M/s queue with multiple working va- cations such that the server works with different service rates rather than no service during the vacation period. We show that this is a generalization of an M/M/1 queue with working vacations in the literature. Service times during vacation period, or during service period and vacation times are all exponen- tially distributed. We obtain the useful formula for the rate matrix R through matrix-geometric method. A cost function is formulated to determine the opti- mal number of servers subject to the stability conditions. We apply the direct search algorithm and Newton-Quasi algorithm to heuristically find an approx- imate solution to the constrained optimization problem. Numerical results are provided to illustrate the effectiveness of the computational algorithm.

1. Introduction. We analyze an M/M/s queue with multiple working vacations such that the server works with variable service rates rather than completely termi- nates service during a vacation period. Such a vacation is called a working vacation (WV) [14]. The server starts a working vacation when the system is empty. When a working vacation ends and there are no customers in the system, the server be- gins another working vacation. If the server returns from a working vacation and find the not-empty system, he switches to another service rate. The time interval between two successive vacations is called a service period [14, p. 107].

2000 Mathematics Subject Classification. Primary: 60K10, 60K25; Secondary: 90B22, 90B25.

Key words and phrases. Newton-Quasi algorithm; optimization; rate matrix; sensitivity anal- ysis; working vacations.

1

(2)

It is assumed that customers arrive according to a Poisson process with rate λ. The service times during a service period follow exponential distribution with mean 1/µB. The service times during a vacation period follow another exponential distribution with mean 1/µv. When there are no waiting customers in the system, the server begins a working vacation of mean duration 1/η, where vacation times are also exponentially distributed. We assume that arriving customers form a single waiting line based on the order of their arrivals; that is, the first-come, first-served discipline is followed. Suppose that one server can serve only one customer at a time. Customers entering into the service facility and finding that the server is busy have to wait in the queue until the server is available. We also assume that the customer is always assigned or shifted to the server with higher service rate if it is available.

Servi and Finn [14] introduced an Internet Protocol (IP) access network example where each gateway router which connected to the optical network could be formu- lated as an M/M/1/WV queue. The example illustrated that the use of wavelength division multiplexing (WDM) access network can improve performance in recon- figuration of the wavelengths. A reconfigurable WDM optical access network as Figure 1 is considered. Each access routers with multiple ports are connected to the global IP network through a gateway router. Each port can transfer data over a single wavelength. The wavelength reconfiguration problem is to determine which access router ports should be connected to the gateway router ports according to its wavelengths. A strategy is to reconfigure the additional roving wavelengths to the next router when one access router has empty queue. It is assumed that there are s roving wavelengths (s servers) with the capacity of mean service rate u. For keep- ing the connection, each access router serves permanently at a nominal average rate sµv and all additional roving wavelength are initially configured to access router 1 with a total average service rate of sµv+ su = sµB. At a service completion, one additional roving wavelength would be assigned to the next router if no more requirement (customer) waiting in the queue. This cycle continually repeats itself.

Figure 1. An optical access Network

(3)

For example, there are s = 5 roving wavelengths which is tunable in the access network. Initially, access router 1 and 2 serve with service rates 5µB and 5µv, respectively. When the number of customers in router 1 changes from 5 to 4 (one idle sever), one roving wavelength would be assigned to router 2. This results in access router 1 instantaneously dropping its average service rate from 5µB to 5µv+ 4u = µv+ 4µB and access router 2 is operating at an average service rate of 5µv+ u= 4µv+ µB. We consider an optical network with s WDM to configure different roving wavelengths (s servers) which can be allocated to several access routers. From the viewpoint of access router i, it follows an M/M/s queue with working vacation policy. Next, the investigation of queueing systems with server vacations or working vacations are reviewed.

During the last two decades, the queueing systems with server vacations or mul- tiple working vacations have been investigated by many researchers. Past work may be divided into two categories: (i) the category of server vacations, and (ii) the category of multiple working vacations. In the first category the readers may refer to the survey paper by Doshi [6]. The GI/M/1 queue with server vacations have been studied by several authors such as Karaesmen and Gupta [8], Chatterjee and Mukherjee [4], Tian et al. [16], etc. They considered that the vacation time fol- lows exponential distribution in [8], [16] and general distribution in [4], respectively.

Karaesmen and Gupta [8] analyzed a finite capacity GI/M/1 queue with server va- cations. They developed the queue length distribution at arrival and random epochs for the multiple vacations case. The model was previously investigated by Chatter- jee and Mukherjee [4] for infinite capacity queue considering server vacations. They applied the embedded Markov chain technique to obtain the steady-state proba- bility distributions of system size at pre-arrival and at random epochs, separately.

Fuhrmann [7] studied a single server queue of M/G/1 type with server vacations.

The finite capacity M/G/1 queue with server vacations was investigated by Lee [9].

In the second category Servi and Finn [14] first examined an M/M/1 queue with working vacations, where inter-arrival times, service times during service period, service times during vacation period, and vacation times are all exponentially dis- tributed. The queueing model is denoted by M/M/1/WV. Recently, Liu et al. [12]

used stochastic decomposition method to analyze M/M/1/WV queue which is dif- ferent from Servi and Finn’s method. Discrete time GI/Geo/1 queue with multiple working vacations was first studied by Li et al. [10]. Later Wu and Takagi [18]

extended Servi and Finn’s M/M/1/WV queue to an M/G/1/WV queue. They as- sumed that service times during service period, service times during vacation period as well as vacation times are all generally distributed. Baba [1] extended Servi and Finn’s M/M/1/WV queue to a GI/M/1/WV queue and derived the steady-state system length distributions at arrival and arbitrary epochs. Banik et al. [2] studied a finite capacity GI/M/1 queue with multiple working vacations. They developed some important system performance measures such as, the probability of blocking and the expected waiting time in the system, etc. Recently, Lin and Ke [11] stud- ied a Markovian queueing system with a single working vacation. They provided a closed-form method for obtaining the rate matrix. In the study of working va- cations, existing literature focuses mainly on a single server queue with multiple vacations. This would motivate us to investigate the M/M/s/WV queue.

In Section 2, the steady-state equations are solved via matrix-geometric method.

The computation for rate matrix R follows in Section 3. This queueing model is a generalization of an M/M/1 queue with working vacations shown in Section 4.

(4)

In Section 5, the explicit formulae for system performance measures are developed.

Cost analysis and sensitivity investigation are presented in Section 6. Finally, Sec- tion 7 summarizes the paper with some concluding remarks.

2. Steady-state results. The states of the system are described by the pair (k, n), k = 0, 1, 2, . . . , s − 1, s and n = k, k + 1, k + 2, . . ., where k represents the number of working servers and n represents the number of customers in the system. In steady-state, we introduce the following notations:

P0(n) ≡ probability that there are n customers in the system when all servers are on a working vacation, where n = 0, 1, 2, . . .;

P1(n) ≡ probability that there are n customers in the system when there are (s − 1) servers on a working vacation, where n = 1, 2, . . .;

Pk(n) ≡ probability that there are n customers in the system when there are (s−k) servers on a working vacation, where n = k, k + 1, k + 2, . . ., k = 2, 3, 4, . . . , s.

The steady-state equations for Pk(n)(k = 0, 1, 2, . . . , s) relating to Figure 2 are given by:

(i) k = 0

λP0(0) = µBP1(1) + µvP0(1), (1) (λ + nµv+ sη)P0(n) = λP0(n − 1) + (n + 1)µvP0(n + 1), 1 ≤ n ≤ s − 1(2) (λ + sµv+ sη)P0(n) = λP0(n − 1) + sµvP0(n + 1), n ≥ s (3) (ii) 1 ≤ k ≤ s − 1

(λ + kµB)Pk(k) = (k + 1)µBPk+1(k + 1) + (kµB+ µv)Pk(k + 1) + (s − k + 1)ηPk−1(k), (4) [λ + kµB+ (n − k)µv+ (s − k)η]Pk(n) = [kµB+ (n − k + 1)µv]Pk(n + 1)

+λPk(n − 1) + (s − k + 1)ηPk−1(n), k + 1 ≤ n ≤ s − 1 (5)

[λ + kµB+ (s − k)µv+ (s − k)η]Pk(n) = [kµB+ (s − k)µv]Pk(n + 1)

+λPk(n − 1) + (s − k + 1)ηPk−1(n), n ≥ s (6) (iii) k = s

(λ + sµB)Ps(s) = sµBPs(s + 1) + ηPs−1(s), (7) (λ + sµB)Ps(n) = λPs(n − 1) + sµBPs(n + 1) + ηPs−1(n), n ≥ s + 1. (8) In the next section, we apply the matrix-geometric method to solve (1) to (8) for Pk(n), where k = 0, 1, 2, . . . , s and n = k, k + 1, k + 2, . . .. A matrix geometric method was introduced by Neuts [13] for analyzing many complex queueing systems.

Using this method, we derive the steady-state probabilities Pk(n)(k = 0, 1, 2, . . . , s).

(5)

Figure 2. State-transition-rate diagram for an M/M/s/WV queue

The infinitesimal generator for the quasi birth and death process has the block- tridiagonal form (see Neuts [13]):

Q =

B0 C A1 B1 C

A2 B2 C

. .. . .. . .. As−1 Bs−1 C

As Bs C As Bs C

As Bs C . .. . .. . ..

. (9)

Each entry of the matrix Q is a square matrix of order s + 1 listed as follows:

C = −λI, (10)

B0=

 λ

−µB λ + µB

−2µB λ + 2µB

. .. . ..

−(s − 1)µB λ + (s − 1)µB

−sµB λ + sµB

 ,

(11)

(6)

Bi=

 bi,0

bi,1 bi,2

. ..

bi,s−1

bi,s

, i = 1, 2, . . . , s (12)

Ai=

ai,0 −sη

ai,1 −(s − 1)η

ai,2 −(s − 2)η . .. . ..

ai,s−1 −η ai,s

, i = 1, 2, . . . , s (13)

where I is the identity matrix of order s + 1, and ai,j=

 −iµv+ jµB, 1 ≤ i + j ≤ s

−[(s − j)µv+ jµB], i + j > s (14) bi,j =

 λ + iµv+ jµB+ (s − j)η, 1 ≤ i + j ≤ s

λ + (s − j)µv+ jµB+ (s − j)η, i + j > s. (15) Let P denote the corresponding steady-state probability vector of Q. By parti- tioning the vector P as P = [P0, P1, P2, . . . , Ps−1, Ps, Ps+1, . . .], where Pn = [P0(n), P1(n + 1), P2(n + 2), . . . , Ps(n + s)] is a row vector with dimension (s + 1), we can write the steady-state equations PQ = 0 and normalization condition as

P0B0+ P1A1 = 0 (16)

Pn−1C + PnBn+ Pn+1An+1 = 0, n = 1, 2, . . . , s − 1 (17) Pn−1C + PnBs+ Pn+1As = 0, n = s, s + 1, s + 2, . . . (18)

s−1

X

n=1

Pne + Ps(I − R)−1e = 1 (19)

where R is the minimal non-negative solution to the matrix quadratic equation (20) and e is a column vector with dimension (s + 1) whose transpose is [1, 1, . . . , 1].

R2As+ RBs+ C = 0. (20)

Using (16)-(17) and (19), the steady-state vectors [P0, P1, P2, . . . , Ps] can be solved by the block Gauss-Seidel iteration method. The rest steady-state vec- tor [Ps+1, Ps+2, Ps+3, . . .] can be determined recursively by Pn = PsRn−s, for n ≥ s. Once the rate matrix R is determined, the steady-state solutions [P0, P1, P2, . . . , Ps−1, Ps, Ps+1, . . .] are obtained.

3. Computation for rate matrix R. To obtain [P0, P1, P2, . . . , Ps−1, Ps, Ps+1, . . .], it is necessary to solve the minimal solution of (20). Based on the upper triangular structures of matrices As, Bs, and C, the rate matrix solution R is also upper triangular. For the multiple-server queue, we assume that there exists a matrix R satisfying the following equation:

R2As+ RBs+ C = 0,

where As, Bs, and C are given in (13), (12), (10), respectively.

(7)

Using the Maple computer program and matrix algorithm, we develop the explicit formula for rate matrix R as follows:

R =

t1,1 t1,2 t1,3 · · · t1,s+1

0 t2,2 t2,3 · · · t2,s+1

. .. ... ... . .. ... ...

ts,s ts,s+1 0 ts+1,s+1

, (21)

where

ti,i = λ + θi+ (s − i + 1)η −p[λ + θi+ (s − i + 1)η]2− 4λθii

, for 1 ≤ i ≤ s + 1

ti,j =

Pj−1

m=i+1ti,mtm,jθj+ (s − j + 2)ηPj−1

m=iti,mtm,j−1

λ + θj+ (s − j + 1)η − (ti,i+ tj,jj , for 1 ≤ i ≤ j ≤ s + 1 ti,j = 0, for i > j, and

θj = (s − j + 1)µv+ (j − 1)µB.

Note that ti,jis the corresponding eigenvalue of the rate matrix R. Once the rate matrix R is determined, the steady-state solutions can be evaluated.

4. Generalization of Servi and Finn’s result. The queueing model considered in this paper is more general than the work of Servi and Finn [14] who first intro- duced an M/M/1/WV queue. In this section, we will show that our queueing model generalizes the M/M/1/WV queue. For a singer server queue (that is, s = 1), we obtain from (20) that

R2A1+ RB1+ C = 0, (22)

It yields from (10), (12)-(13) that A1=

 −µv −η 0 −µB

 , B1=

 λ + µv+ η 0

0 λ + µB

 , C =

 −λ 0

0 −λ

 .

Since A1, B1, C are 2×2 upper triangle matrices. Therefore we set R =

 a b 0 d

 . From (22), we get

 a b 0 d

  a b 0 d

  −µv −η 0 −µB

 +

 a b 0 d

  λ + µv+ η 0

0 λ + µB



+

 −λ 0

0 −λ



= 0. (23) Solving (23) yields

a =λ + µv+ η −p(λ + µv+ η)2− 4λµvv

, b = ηa2

µB(1 − a), d = λ µB

.

Thus, a rate matrix R is obtained. Let P = [P0, P1] and P0= [P0(0), P1(1)]. Since PQ = 0 and P1= P0R, it implies from (16) that

P0B0+ P1A1= P0B0+ P0RA1= P0(B0+ RA1) = 0. (24) We can get P0= [P0(0), P1(1)] using (24) and the normalization condition of

P0(I − R)−1e = 1, (25)

(8)

where I is the identity matrix of order 2, and e is a column vector whose transpose is [1, 1]. We find that

B0=

 λ 0

−µB λ + µB



, (I − R)−1= 1 (1 − a)(1 − d)

 1 − d −b 0 1 − a

 .

Solving (24) and (25), we obtain

(λ − µva)P0(0) − µBP1(1) = 0, (26) (−ηa − bµB)P0(0) + µBP1(1) = 0, (27) (1 + b − d)P0(0) + (1 − a)P1(1) = (1 − a)(1 − d). (28) Solving (26)-(28) again, after the algebraic manipulation, we get

P0(0) = (1 − a)(µB− λ) µB− aµv

. (29)

where a = λ+µv+η−

(λ+µv+η)2−4λµv

v =λzµ

v . Note that zis the smaller root of the equation

A(z) = λz2− (λ + η + µv)z + µv = λ(z − z)(z − ˆz) = 0, for |ˆz| ≥ 1 (30) which is (A.4) of [14, p. 49]. Following Servi and Finn’s result, we have λzz = µˆ v. It implies that a = λzv= 1/ˆz. Substituting a = 1/ˆz into (29) yields

P0(0) = (µB− λ)(1 − 1/ˆz)

µB− µv/ˆz = (µB− λ)(ˆz − 1)

µBz − µˆ v . (31) Thus from Servi and Finn’s equation (1.2) (see [14, p. 42]), we obtain

P r(N = 0) = r(1 − λ/µB) + (1 − r)(1 − ˆz−1)

= z − 1ˆ ˆ

z −(λˆz − µB)(ˆz − 1)(λˆz − µvB

µBz(µˆ Bz − µˆ v)(λˆz − µB)

= z − 1ˆ ˆ z



1 − λˆz − µv

µBˆz − µv



= (ˆz − 1)(µB− λ) µBz − µˆ v

which is in agreement with expression (31).

5. System performance measures and some numerical examples. The sys- tem performance measures, such as the average number of customers in the system (Ls), the average number of servers during service period (E[N W ]), and the av- erage number of servers during vacation period (E[W V ]), can be obtained from the steady-state probabilities Pn = [P0(n), P1(n + 1), P2(n + 2), . . . , Ps(n + s)] as

(9)

follows:

Ls =

X

n=0

Pn

 n n + 1 n + 2

... n + s

=

X

n=0

Pn(v + ne)

= P0v + P1(v + e) + · · · + Ps−1[v + (s − 1)e] + Ps(v + se) +PsR[v + (s + 1)e] + · · ·

=

s−1

X

n=0

Pn(v + ne) + Ps(v + se) + PsR[v + (s + 1)e]

+PsR2[v + (s + 2)e] + · · ·

=

s−1

X

n=0

Pn(v + ne) + Ps(I + R + R2+ · · · )(v + se) +Ps(R + 2R2+ 3R3+ · · · )e

=

s−1

X

n=0

Pn(v + ne) + Ps(I − R)−1(v + se) + PsR(I − R)−2e, (32)

E[N W ] =

X

n=0

Pn

 0 1 2 ... s

=

X

n=0

Pnv =

s−1

X

n=0

Pnv + Ps(I + R + R2+ · · · )v

=

s−1

X

n=0

Pnv + Ps(I − R)−1v, (33)

E[W V ] = s − E[N W ] (34)

where v and e are column vectors with dimension (s + 1) whose transposes are denoted by [0, 1, 2, . . . , s] and [1, 1, . . . , 1], respectively. Moreover, the expected customers served by normal working servers (E[LsN W ]), the expected customers served by working vacation servers (E[LsW V ]), and the expected idle working va- cation servers that do not serve customers currently (E[IDW V ]) are also obtained as follows:

E[LsN W ] =

X

n=0

Pn

 0 1 2 ... s

=

s−1

X

n=0

Pnv + Ps(I − R)−1v = E[N W ], (35)

(10)

E[LsW V ]

= P1

 1 1 ... 1 1 0

 + P2

 2 2 ... 2 1 0

+ · · · + Ps

 s s − 1

... 2 1 0

+ Ps+1

 s s − 1

... 2 1 0

 + · · ·

=

s−1

X

n=1

Pn

max{min{n, s}, 0}

max{min{n, s − 1}, 0}

...

max{min{n, s − (s − 2)}, 0}

max{min{n, s − (s − 1)}, 0}

max{min{n, s − s}, 0}

+ Ps(I − R)−1

 s s − 1

... 2 1 0

 , (36)

E[IDW V ] = P0

 s s − 1

... 2 1 0

 + P2

 s − 1 s − 2

... 1 0 0

+ · · · + Ps−1

 1 0 ... 0 0 0

=

s−1

X

n=0

Pn

max{0, s − n}

max{0, s − n − 1}

...

max{0, s − n − (s − 2)}

max{0, s − n − (s − 1)}

max{0, s − n − s}

. (37)

It could be verify that E[LsN W ] + E[LsW V ] + E[IDW V ] = s. (Therefore, E[LsW V ] + E[IDW V ] = E[W V ]).

Consider an Internet Protocol (IP) access network with s roving wavelengths, some numerical results about the number of customers in the access router (Ls) are presented graphically on the basis of the following three cases:

Case 1. µB= 3.5, µv = 2.0, η = 0.05, vary the values of λ from 1.0 to 3.0.

Case 2. λ = 1.5, µB= 3.5, η = 0.05, vary the values of µv from 0.5 to 3.0.

Case 3. λ = 1.5, µv= 2.0, η = 0.05, vary the values of µB from 2.5 to 4.5.

Results of Lsare depicted in Figures 3-5 for cases 1-3, respectively. Figure 3 shows that Lsdrastically increases as λ increases for s = 1, while Lsslightly increases as λ increases for s ≥ 2. Figure 4 illustrates that Lsdrastically decreases as µv increases for s = 1, while Ls slightly decreases as µv increases for s ≥ 2. From Figure 5, we find that Lsslightly decreases as µB increases for any s. It is noted that the more roving wavelengths, the more flexible the optical access network is. Also, diving and transferring the additional wavelength partly would be more elastic than shifting all the additional wavelength at a time.

6. Cost analysis and sensitivity investigation. A steady-state expected cost function per unit time is developed. Suppose the average arrival rate is λ, Our

(11)

Figure 3. The mean number of customers in the system versus λ

object is to determine the value of the number of tunable wavelengths s, nominal average service rate µv, and fully average service rate µB under stability condition ρ = λ/sµB< 1 and a natural (rational) constraint µB = µv+ u≥ µv. The discrete variable s is required to be a positive integer, and the continuous variables µv and µB are positive numbers. The following cost parameters are considered:

Ch ≡ holding cost per unit time per customer present in the system;

CB ≡ cost per unit time when one server is normal working;

CV ≡ cost per unit time per customer served by one working vacation server;

CI ≡ cost per unit when one server is idle on working vacation state;

Cs ≡ cost per unit time of providing a specific server rate.

The cost minimization problem can be written as

s,µminvBF (s, µv, µB) (38) subject to

B> λ and µB≥ µv, (39)

where

F (s, µv, µB) = ChLs+ CBE[LsN W ] + CVE[LsW V ] + CIE[IDW V ] + CsB+ µv).

(40)

(12)

Figure 4. The mean number of customers in the system versus µv

(see White et al. [17], p. 218). It is extremely difficult to prove the convex property and then develop the analytical results for the optimum values (s, µv, µB) because the cost function is highly complex.

Due to the fact s is a discrete quantity, µv and µB are continuous quanti- ties, we attempt to obtain an approximate (local) minimum solution (ˆs, ˆµv, ˆµB) of (s, µv, µB) by Newton-Quasi method for various values of s. Newton’s method is one of the most powerful and well-known numerical methods for solving the root- finding problems. Consequently, Newton’s method is employed to solve the root of G(x) = ∇F (s, µv, µB) = 0 which is the first order necessary condition of local minimum solution of function G. From Burden and Douglas [3], the sequence

xn+1= xn− ∇G(xn)−1G(xn) = xn− [H(xn)]−1∇F (x) = 0 (41) could help us to obtain an approximate minimum solution where H(xn) denotes the Hessian matrix of function F . Therefore, equation (41) could be regard as the Newton’s method that aims at the root-finding problem of the first derivation equation. Based on Chong and Zak [5], the steps of Newton-Quasi algorithm can be described as follows for any iteration

Step 1. For each value of s, let µn= [µv, µB]T. Step 2. Set the initial trial solution for µn with n = 0.

(13)

Figure 5. The mean number of customers in the system versus µB

Step 3. Compute F (s, µn), the cost gradient ∇F (s, µn) = [∂F/∂µv, ∂F/∂µB]Tn and the cost Hessian matrix

H(s, µn) =

 ∂2F/∂µ2v2F/∂µv∂µB

2F/∂µB∂µv2F/∂µ2B

 µn

.

Step 4. Find the new trial solution µn+1= µn− [H(s, µn)]−1· ∇F (s, µn).

Step 5. Set n = n + 1 and repeat Steps 3-4 if |∂F/∂µv| > ε1 or |∂F/∂µB| > ε2 or kµn+1− µnk > ε3, where ε1, ε2, and ε3 are the tolerances; otherwise, go to Step 6.

Step 6. Find the local minimum value F (s, µn) = F (s, µv, µB).

Because the cost function is complex, the gradient ∇F and the Hessian matrix H may be derived (approximated) numerically while their expressions could not be explicitly obtained. The gradient vector could be computed directly as

∇F (s, µv, µB) ≈

 F (s, µv+ ∆, µB) − F (s, µv, µB)

∆ ,F (s, µv, µB+ ∆) − F (s, µv, µB)

T

(42)

(14)

with ∆ is small (For example, 10−6). The elements of Hessian matrix are approxi- mated as

2F (s, µv, µB)

∂µ2v ≈∂F (s, µv+ ε, µB)/∂µv− ∂F (s, µv, µB)/∂µv

ε

F (s,µv+ε+∆,µB)−F (s,µv+ε,µB)

F (s,µv+∆,µB)−F (s,µvB)

ε (43)

2F (s, µv, µB)

∂µv∂µB

≈ ∂F (s, µv+ ε, µB)/∂µB− ∂F (s, µv, µB)/∂µB ε

F (s,µv+ε,µB+∆)−F (s,µv+ε,µB)

F (s,µvB+∆)−F (s,µ vB)

ε (44)

with ε is small. For simplification, the equations (43) and (44) become

2F (s, µv, µB)

∂µ2v ≈ F (s, µv+ 2∆, µB) − 2F (s, µv+ ∆, µB) + F (s, µv, µB)

2 (45)

2F (s, µv, µB)

∂µv∂µB

≈ F (s, µv+ ∆, µB+ ∆) − F (s, µv+ ∆, µB)

2

−F (s, µv, µB+ ∆) − F (s, µv, µB)

2 (46)

while we set ε = ∆. Similarly, ∂2F/∂µB∂µv and ∂2F/∂µ2B could be derived easily by the exchange of symbols µB and µv.

Note that Newton-Quasi method aims at unconstrained optimization problem while our problem has nonnegative constraint and two functional constraints. First, the constraint sµB > λ > 0 often holds because the queueing system would boil up and cause the rapid increase of Ls (F ) if the stability condition is violated. Some adjustments steps are provided to handle the following three situations:

Case 1. µB> 0, µv< 0, set µv= 0, re-apply Newton’s method to find µB. Case 2. µB≥ µv≥ 0, the optimization solution is feasible.

Case 3. µv> µB> λ/s, set µv= µB= t, re-apply Newton’s method to find t. For Cases 1 and 3, we simplify the original problem to the approximate optimization problem with single variable, (i.e., discuss the optimal solution at binding equation).

As the example of IP access network mentioned in Section 1, for an access router with mean arrival rate λ = 5 customers/minute, mean working vacation time 1/η = 2 minutes, and the following cost parameters (per minute):

Ch= $30/customer, CB= $180/customer, CV = $45/customer, CI = $15/server, Cs= $30/unit.

The Newton-Quasi method is employed to deal with this wavelength reconfigu- ration problem and some numerical illustrations are provided. Table 1 presents the approximated optimal solutions and the corresponding system performance mea- sures under various numbers of roving wavelengths (servers). From Table 1, it is observed that the minimum cost is 566.347 if the IP access network implements exhaustive schedule (assigns all tunable wavelengths to the next router when the queue becomes empty). The minimum expected cost and the optimal solution are 416.863 and (ˆs, ˆµv, ˆµB) = (3, 3.70716, 3.70716) respectively. That is, for this access router, providing three tunable wavelengths is appropriate for cost saving.

(15)

Table 1. The approximate value (ˆµv, ˆµB) under various values of servers (λ = 5.0, η = 0.5)

ˆ

s 1 2 3 4 5 6

ˆ

µv 6.30991 4.39560 3.70716 3.36074 2.95602 2.61867 ˆ

µB 7.27773 4.39560 3.70716 3.68261 3.96625 4.23769 F 566.347 427.706 416.863 433.770 454.700 474.614 Ls 2.75094 1.68139 1.50040 1.47136 1.49100 1.50565 E[LsN W ] 0.28704 0.36595 0.47377 0.55777 0.61370 0.65668 E[W V ] 0.71296 1.63405 2.52623 3.44223 4.38630 5.34332 E[LsW V ] 0.46136 0.77155 0.87497 0.87658 0.86803 0.84668 E[IDW V ] 0.25160 0.86250 1.65126 2.56565 3.51827 4.49664

The result of Newton-Quasi algorithm in searching the optimal solution is shown in Table 2. In Table 2 (I) (the first stage), the optimal solution found by using Newton-Quasi method is Case 3 (µv > µB > λ/s). Therefore, some adjustment procedures (set µv = µB = t) are executed as shown in Table 2 (II). It appears from Table 2 that the Newton-Quasi method is working well and converges very fast.

Table 2. Newton-Quasi algorithm in searching the optimal solu- tion (s = 3, λ = 5.0, η = 0.5, µ = [5.0/3 + 1.0, 5.0/3 + 2.0]T)

(I) Newton-Quasi algorithm Stage I

Iteration 1 2 3 4 5 6

ˆ

µv 2.66666 3.55229 3.88561 3.92150 3.92185 3.92185 ˆ

µB 3.66666 3.61194 3.55529 3.54783 3.54776 3.54776 F 427.458 417.317 416.598 416.591 416.591 416.591

∂F/∂ ˆµv -20.5784 -4.36434 -0.38011 -0.00367 −3 × 10−7 −8 × 10−14

∂F/∂ ˆµB -9.85432 -1.71118 -0.12899 -0.00125 −1 × 10−7 −2 × 10−14 Ls 1.98542 1.57542 1.47034 1.46023 1.46013 1.46013 E[LsN W ] 0.61936 0.50486 0.47733 0.47479 0.47477 0.47477 E[W V ] 2.38064 2.49514 2.52267 2.52521 2.52523 2.52523 E[LsW V ] 1.02338 0.89421 0.85005 0.84547 0.84543 0.84543 E[IDW V ] 1.35726 1.60094 1.67262 1.67974 1.67981 1.67981

(II) Newton-Quasi algorithm Stage II

Iteration 1 2 3 4 5

ˆ

µv= ˆµB= t 3.6921146 3.7070019 3.7071552 3.7071552 3.7071552 F 417.49514 416.86883 416.86299 416.86299 416.86299

∂F/∂t -8.2040178 -0.7069619 -0.0063172 −5 × 10−7 3 × 10−13 Ls 1.5913926 1.5084666 1.5004011 1.5004011 1.5004011 E[LsN W ] 0.5156125 0.4774836 0.4738062 0.4737730 0.4737729 E[W V ] 2.4843875 2.5225164 2.5261938 2.5262271 2.5262271 E[LsW V ] 0.8937283 0.8767539 0.8749862 0.8749701 0.8749701 E[IDW V ] 1.5906592 1.6457625 1.6512076 1.6512569 1.6512569 Next, we investigate the effect of system parameters on the optimal solution and the system performance measures. For various values of λ and η, some numerical results of the optimal solution and the corresponding system performance measures

(16)

are shown in Table 3. From Table 3, it is observed that (i) F increases when λ or η become larger; because the raise of average arrival rate or average vacation rate would increase the queueing length and the number of customers in the system;

(ii) from the first three columns, sis insensitive to the parameter η; (iii) the opti- mal value s increases when the arrival rate becomes larger; that is, more tunable wavelengths are required when the traffic intensity grows up; and (iv) µv and µB becomes larger as λ increases which is a reasonable result.

7. Concluding remarks. The infinite capacity M/M/s queue with multiple work- ing vacations is studied (denoted by M/M/s/WV). The matrix geometric method works well for computing the steady-state probabilities in this paper. This paper generalizes the M/M/1/WV queue. Moreover, an efficient algorithm (Newton-Quasi algorithm) is developed for searching the approximate optimum values (ˆs, ˆµv, ˆµB) that minimize the cost function.

Table 3. System performance measures of an M/M/s queue with multiple working vacations under optimal operating conditions.

(λ, η) (5.0, 0.3) (5.0, 0.6) (5.0, 0.9) (2.5, 0.5) (5.0, 0.5) (7.5, 0.5) ˆ

s 3 3 3 2 3 3

ˆ

µv 3.57169 3.73321 3.12192 2.79076 3.70716 4.75075 ˆ

µB 3.57169 3.76697 4.30445 2.79076 3.70716 4.75075 F 399.313 423.440 436.139 300.583 416.863 503.624 Ls 1.57691 1.47988 1.53670 1.12063 1.50040 1.87384 E[LsN W ] 0.37561 0.51109 0.60014 0.31588 0.47377 0.51854 E[W V ] 2.62439 2.48891 2.39986 1.68412 2.52623 2.48146 E[LsW V ] 1.02429 0.82362 0.77411 0.57993 0.87497 1.06016 E[IDW V ] 1.60010 1.66529 1.62575 1.10419 1.65126 1.42130

Acknowledgments. The authors thank the referees for their remarks and com- ments, which helped us to improve the clarity of the article.

REFERENCES

[1] Y. Baba,Analysis of a GI/M/1 queue with multiple working vacations, Operations Research Letters, 33 (2005), 201–209.

[2] A. D. Banik, U. C. Gupta and S. S. Pathak,On the GI/M/1/N queue with multiple working vacations-analytic analysis and computation, Applied Mathematical Modelling, 31 (2006), 1701–1710.

[3] R. L. Burden and J. Douglas, “Numerical Analysis,” 7thEdition, Brooks/Cole, USA, 2001.

[4] U. Chatterjee and S. P. Mukherjee, GI/M/1 queue with server vacations, Journal of the Operational Research Society, 41 (1990), 83–87.

[5] E. K. P. Chong and S. H. Zak, “An Introduction to Optimization,” 2ndEdition, Wiley, New York, 2001.

[6] B. T. Doshi,Queueing systems with vacations–a survey, Queueing Systems Theory Appl., 1 (1986), 29–66.

[7] S. W. Fuhrmann and R. B. Cooper, Stochastic decompositions in the M/G/1 queue with generalized vacations, Operations Research, 33 (1985), 1117–1129.

[8] F. Karaesmen and S. M. Gupta, The finite capacity GI/M/1 queue with server vacations, Journal of the Operational Research Society, 47 (1996), 817–828.

[9] T. Lee, The M/G/1/N queue with vacation and exhaustive service discipline, Operations Research, 32 (1984), 774–784.

(17)

[10] J.-H. Li, W.-Y. Liu and N.-S. Tian, Discrete time GI/Geo/1 queue with multiple working vacations Queueing Systems, 56 (2007), 53–63.

[11] C.-H. Lin and J.-C. Ke,Multi-server system with single working vacation, Applied Mathe- matical Modelling, 33 (2009), 2967–2977.

[12] W.-Y. Liu, X.-L. Xu and N.-S. Tian, Stochastic decomposition in the M/M/1 queue with working vacations, Operations Research Letters, 35 (2007), 595–600.

[13] M. F. Neuts, “Matrix-Geometric Solutions in Stochastic Models. An Algorithmic Approach,”

Johns Hopkins Series in the Mathematical Sciences, 2, Johns Hopkins University Press, Bal- timore, Md., 1981.

[14] L. D. Servi and S. G. Finn,M/M/1 queues with working vacations (M/M/1/WV), Perfor- mance Evaluation, 50 (2002), 41–52.

[15] H. Takagi, “Queueing Analysis: A Foundation of Performance Evaluation,” Vol. 1, Vacation and Priority Systems, Part 1, North-Holland Publishing Co., Amsterdam, 1991.

[16] N. Tian, D. Zhang and C. Cao, The GI/M/1 queue with exponential vacations, Queueing Systems Theory Appl., 5 (1989), 331–344.

[17] J. A. White, J. W. Schmidt and G. K. Benett, “Analysis of Queueing System,” Operations Re- search and Industrial Engineering, Academic Press [Harcourt Brace Jovanovich, Publishers], New York-London, 1975.

[18] D. A. Wu and H. Takagi,M/G/1 queue with multiple working vacations, Performance Eval- uation, 63 (2006), 654–681.

Received December 2009; 1st revision July 2010; final revision June 2011.

E-mail address: [email protected] E-mail address: [email protected] E-mail address: [email protected] E-mail address: [email protected]

數據

Figure 1. An optical access Network
Figure 2. State-transition-rate diagram for an M/M/s/WV queue
Figure 3. The mean number of customers in the system versus λ
Figure 4. The mean number of customers in the system versus µ v
+4

參考文獻

相關文件

Working Group on Trade and Transfer of Technology - Fourth Session - Note on the Meeting of 28 November 2002, WT/WGTTT/M/4. Working Group on Trade and Transfer of Technology

An n×n square is called an m–binary latin square if each row and column of it filled with exactly m “1”s and (n–m) “0”s. We are going to study the following question: Find

More precisely, it is the problem of partitioning a positive integer m into n positive integers such that any of the numbers is less than the sum of the remaining n − 1

The purpose of this research is to study a tiling problem: Given an m × n chessboard, how many ways are there to tile the chessboard with 1 × 2 dominoes and also ”diagonal”

We propose two types of estimators of m(x) that improve the multivariate local linear regression estimator b m(x) in terms of reducing the asymptotic conditional variance while

To proceed, we construct a t-motive M S for this purpose, so that it has the GP property and its “periods”Ψ S (θ) from rigid analytic trivialization generate also the field K S ,

(a) The magnitude of the gravitational force exerted by the planet on an object of mass m at its surface is given by F = GmM / R 2 , where M is the mass of the planet and R is

We have proved that both M and m are finite real numbers.. We have proved that both M and m are finite