JOHANNES KEPLER UNIVERSITÄT LINZ BERICHTE DER MATHEMATISCHEN INSTITUTE

Size: px
Start display at page:

Download "JOHANNES KEPLER UNIVERSITÄT LINZ BERICHTE DER MATHEMATISCHEN INSTITUTE"

Transcription

1 JOHANNES KEPLER UNIVERSITÄT LINZ BERICHTE DER MATHEMATISCHEN INSTITUTE JOHANNES KEPLER UNIVERSITY LINZ REPORTS OF THE MATHEMATICAL INSTITUTES (PREPRINT SERIES) THE WAITING TIME ANALYSIS OF MULTI-SERVER QUEUE WITH CONSTANT RETRIAL RATE AND DIFFERENT CONTROL POLICIES by Dmtry Efrosnn and Janos Sztrk Number 564 November 007 INSTITUT FÜR STOCHASTIK A 4040 LINZ/AUSTRIA

2 THE WAITING TIME ANALYSIS OF MULTI-SERVER QUEUE WITH CONSTANT RETRIAL RATE AND DIFFERENT CONTROL POLICIES Efrosnn, Dmtry Johannes Kepler Unversty of Lnz, Altenberger Str, 69,4040 Lnz, Austra Sztrk, Janos Unversty of Debrecen, PO Box, 400 Debrecen, Hungary Abstract A controlled retral queueng system wth two heterogeneous servers, frst-come frst-served dscplne for the customers on the orbt, possble drect access for the prmary customers, Posson arrvals and fnte retral group s consdered Accordng to the optmal polcy the faster server must be actve whenever the customer enters the servce area whle the slower one can be actve only when the number of customers n the orbt exceeds a prescrbed threshold level The problem of dervng the equlbrum watng tme and soourn tme dstrbutons s formulated We ntroduce the recursve method for the calculaton of the correspondng Laplace-Stltes transforms and the nverson methods are used to get the dstrbuton functons Also the recursve method for the obtanng z-transforms s used to get some dscrete dstrbutons for the number of drectly served prmary customers and the number of retrals made by a customer untl the servce starts The methods are appled also for other heurstc control polces, namely for the Schedulng threshold polcy (STP), Fastest Free Server (FFS) or Random Server Selecton (RSS) Keywords: Retral queue, Controlled queueng system, Steady-state probabltes, Threshold control polcy, Watng tme dstrbuton, Soourn tme dstrbuton Introducton We consder controllable retral queueng system wth several exponental servers, functonng at dfferent rates The arrvng customers form a Posson process and can have a drect access to the servce area In our prevous paper 8 we mnmzed the expected soourn tme over all customers and found that there s a threshold polcy whch uses a slow server only f the orbt sze exceeds a certan threshold level Wth respect to ths polcy we have appled the matrx-geometrc method for the calculaton of steady-states probabltes and dfferent mean performance characterstcs In ths paper we formulate the problem of determnng the statonary watng and soourn tme dstrbutons For the uncontrolled classcal queueng systems wthout retrals for the dervng of the watng tme dstrbuton t s enough to consder the system state at the arrval tme of a tagged customer, eg as s presented by Klenrock In controlled case 0 t was shown that the watng and soourn tme dstrbutons correspond to the lnear combnaton of Erlang dstrbutons The watng tme n uncontrolled retral queues s more dffcult Some methods are descrbed n the monograph by Faln and Tempelton 9 For retral systems (uncontrolled or controlled) wth drect access of prmary customers to the servce area the watng tme analyss becomes more complcated because the watng tme of a customer n ths case depends also on future arrvals In systems wth classcal retral polcy, where the retral rate depends on the number of orbtng customers, t s necessary to take nto account that some later arrved customer can The nvestgaton s supported by the Austro-Hungaran Cooperaton Grant No 66o:u, 006

3 be earler served accordng to the random order polcy for the orbtng customers The recursve scheme for the computaton of the Laplace-Stltes transforms of the watng tme of a tagged customer s ntroduced by Artaleo et al 4 Ths paper motvate us to perform the watng tme analyss for the controlled queue wth constant retral polcy, where the retral rate s ndependent of the number of orbtng customers In systems wth constant retral rate wth FCFS servce dscplne for the orbtng customers for a threshold polcy future arrvals can nfluence the watng tme of the tagged customer by nfluencng the servers that can be actve n the future Therefore t s also necessary to consder the arrval process after the arrval of the tagged customer up to the tme where servce of ths customer starts For the system under consderaton the calculaton of the watng tme dstrbuton s acheved by analysng the transent Markov process wth absorpton at the tme the tagged customer starts servce Ths requres an extenson of the state representaton snce we have to know at each tme the poston of the tagged customer n the lst of orbtng customers In ths paper we express the Laplace transforms of the watng and soourn tme dstrbutons Representng the Laplace-Stltes transforms of the watng or soourn tme denstes of the tagged customer as vector we get that for threshold system t satsfes the threshold depended block-threedagonal system For uncontrolled queue wth classcal retral rate such a structure was shown n 4 But n case of FIFO dscplne for the orbtng customers ths system s recurrent wth respect to the poston of the tagged customer n the orbt The organzaton of the paper s as follows In sectons and 3, the steady-state dstrbutons are derved for a general threshold system and heurstc control polces In sectons 4 and 5, we develop recursve equatons for the calculaton of the statonary watng and soourn tme dstrbutons for a system under threshold and heurstc control polces as well as the correspondng moments of the arbtrary orders In sectons 6 and 7, we obtan, respectvely, dscrete dstrbuton functons for the number of drectly served customers and number of retrals made by a customer In secton 8 we gve the results of numercal nverson of Laplace- and z-transforms and compare them for threshold and heurstc control polces In further sectons we wll use the notatons e(n), e (n) and I n for the column-vector of dmenson n consstng of s, column vector of dmenson n wth n the -th (begnnng from 0-th) poston and 0 elsewhere, and an dentty matrx of dmenson n n The notatons wthout specfyng the dmensons wll be used for the sutably dmensoned vectors and matrces Descrpton of the mathematcal model Consder the queueng model M/M/c n whch prmary customers arrve accordng to a Posson stream wth rate λ, two heterogeneous exponental servers c = wth rates µ > µ, constant retral rate γ > 0 and the number of places n the retral orbt K Accordng to the control polcy an arrvng customer can on the orbt or have drect access to the accessble dle servers The arrval process, servce tmes and retral tmes are assumed to be mutually ndependent Let Q(t) s the number of customers n the retral orbt at tme t, D (t), D (t) descrbe the states of the servers at ths tme, { 0, f the -th server s dle at tme t and D (t) =, f the -th server s busy The observed process s a contnuous-tme Markov process wth state space defned as {X(t)} t 0 = {Q(t), D (t), D (t)} t 0 E = {x = (q, d, d ); 0 q K, d = {0, }, =, } N {0, }, where q and d, =, denote, respectvely, the number of customers on the orbt and states of the servers

4 Theorem The optmal polcy for the retral queueng system M/M/ wth heterogeneous servers and constant retral rate s of threshold and monotone type, e the fastest dle server must be swtched on whenever a prmary or retral customer arrves and another one must be swtched on f and only f the fastest server s busy and the orbt length reaches the threshold level q q The analytcal representaton of the threshold level s qute complcated, but by means of the value teraton algorthm t can be done numercally If future arrvals are not taken nto account (schedulng problem), e when the obectve s to mnmze the soourn tme for an ndvdual customer, the explct soluton for the threshold level exsts Theorem If λ = 0 then there exsts a threshold level ( ) q γ µ = µ + γ µ +, () such that f q q n state x = (q,, 0) then upon retral arrval t s optmal to dspatch a customer to the slower server, f q q then the slower server must be dle 3 Steady-state dstrbuton of the system under optmal polcy In ths secton we derve the equlbrum state dstrbuton under the optmal threshold polcy (OTP) The dervaton works va a standard matrx-geometrc approach 3, takng nto account the specal structure of the boundary states where not all servers are actve To dstngush the system under OTP from other control polces whch wll be dscussed later we wll use the upper ndex for the concerned values Let q be the threshold level for actvaton of the second server As t was mentoned above they can be found numercally (eg usng the value teraton algorthm 0) Consder a Markov process {X(t)} t 0 defned by () wth a state space E Ths process s a QBD process wth block - three-dagonal nfntesmal matrx Note that the blocks have dfferent szes dependng on the queue length 3 Fnte retral group Frst consder the system wth fnte retral group, e K < In ths case the states are parttoned as follows: block 0 ncludes the sngle state: (0, 0, 0); block ncludes the states: (0, 0, ), (0,, 0), (, 0, 0); block ncludes the states: (0,, ), (, 0, ), (,, 0), (, 0, 0); blocks, 3 K nclude the states: (,, ), (, 0, ), (,, 0), (,0, 0); block K + ncludes the states: (K,, ), (K, 0, ), (K,, 0); block K + ncludes the sngle state: (K,, ); 3

5 Λ = Denote by Λ the nfntesmal matrx of dmenson 4(K + ) for the system under OTP, λ A D 0 (C B ) A D (C B ) A D (C B ) A D (C 3 B 3 ) A D 3 (C 3 B 3 ) A D 3 (C 4 B 4 ) A D 4 M where λ + A e = D 0 e (C D e (C D 3 e (C B 4 B 4 B )e + A e = D e (C )e + A 3 e = (D (C 3 B )e + A 6 e = D 4 e M = 0, B 3 ) + A 4 )e + A 3 e = )e = D 3 e (C 3 B 3 (3), )e + A 5 e = M = µ + µ Matrces A and B represent prmary and retral arrvals, respectvely, dependng on whether the queue length are above or below threshold level: A = ( 0 λ 0 ), A A 6 = λ λ λ = λ λ λ 0, A 3 = λ λ λ λ 0, A 4 = λ λ λ λ 0, A 5 = λ 0 0 λ 0 0 λ λ, and B = γ 0, B = γ γ 0, B 3 = γ γ γ 0, B 4 = γ 0 0 γ 0 0 Matrces C C = represent cases when the system stays at certan states: C 3 = Matrces D D 0 = µ µ 0 λ + µ λ + µ λ + γ, C = λ + M λ + µ + γ λ + µ + γ λ + γ λ + M λ + µ + γ λ + µ λ + γ, C 4 = represent departures wth elements dependng on actve servers:, D = µ µ µ 0 0 µ 0 0 0, D = 0 µ µ µ µ , λ + M λ + µ + γ λ + µ + γ, D 3 = 0 µ µ µ µ, D 4 = ( 0 µ µ ) 4

6 Denote by π = (π 0, π, ) the row-vector of the steady-state probabltes, π = {π x = π (q,d,d ) : x E} = lm P{X(t) = x}, t by {π k : k 0} the subvectors that specfy the states wth k obs n the system Obvously the row-vector π of the steady-state probabltes of the system under optmal polcy satsfes the equatons π Λ = 0, π e = (4) The probabltes for the system states can be represented n the form of recursve relaton wth some matrces M k, π k = π k+ M k, k = 0,,,K +, namely π 0 = π D 0 λ = π M 0 ; π = π D (C B D 0 λ A ) = π M ; π = π 3 D (C B M A ) = π 3 M ; π 3 = π 4 D (C B M A 3 ) = π 4 M 3 ; π = π + D (C B M A 3 ) = π + M, 4 q; π = π + D (C 3 B 3 M A 4 ) = π + M, q + K ; π K = π K+ D 3 (C 3 B 3 M K A 4 ) = π K+ M N ; π K+ = π K+ D 4 (C 4 B 4 M N A 5 ) = π K+ M K+ (5) To calculate the values π k Step Evaluate the matrces M k t s necessary: Step Evaluate the value π K+ = π (K,,) = K+ k=0 Step 3 Substtute π K+ nto π K+ k e = π K+ + π K+ π = π, k = 0,,K + accordng to relaton (5) from the normalzaton condton K+ =0 =K+ K+ K+ =K+ M e = π K+ + K+ M, = 0,,K + K+ =0 =K+ M e (6) Note that ths method works effcently as long as K < s not too large But for large K the matrx geometrc soluton correspondng to K = s a good approxmaton 3 Infnte retral group In case of nfnte retral group K = the nfntesmal matrx Λ has nfnte sze and s obtaned from the matrx (3) by removng the last three rows We consder frst the matrx-geometrc part of the equatons, above the threshold level q : π q +A 4 + π q ++D = π q ++(C 3 B 3 ), 0 5

7 Conecturng the matrx-geometrc form π q + = π q (R ) we substtute ths guess nto the last equaton, then we get the followng equaton for matrx R (R ) D R (C 3 B 3 ) + A 4 = 0 (7) Ths s a quadratc equaton n the matrx R, whch s typcally solved numercally usng the followng teraton procedure: R (0) = 0, R (n + ) = A 4 (C 3 B 3 ) + (R ) (n)d (C 3 B 3 ), where the teraton halts when entres n R (n+) and R (n) dffer n absolute value by less that a gven small constant The general theory 3 states that the necessary and suffcent condton for stablty s p D e > p A 4 e, where p = (p 0, p, p, p 3 ) s a statonary probablty vector gven by p (A 4 (C 3 B 3 ) + D ) = 0, p e = Theorem 3 For the system under optmal polcy, the statonary vector p of A 4 (C 3 B 3 ) + D s gven by p 0 = p = (λ + γ) (λ + µ + γ) (λ + µ + γ)((λ + γ)(λ + µ + γ) + µ M), µ λ + µ + γ p 0, p = µ (λ + M + γ) (λ + γ)(λ + µ + γ) p 0, p 3 = µ µ ((λ + γ) + M) (λ + γ) (λ + µ + γ) p 0 The system s stable f and only f the load factor ρ satsfes ρ = λ(λ + γ) (λ + µ + γ) Mγ(λ + γ) + γµ µ (3(λ + γ) + µ ) + µ γ(λ + µ < (9) + γ) Proof: By elementary calculatons Equatons for the boundary states below the threshold level are stll to be solved, namely: π 0 = π D 0 λ = π M 0 ; π = π D (C B D 0 λ A ) = π M ; π = π 3 D (C B M A ) = π 3 M ; π 3 = π 4 D (C B M A 3 ) = π 4 M 3 ; π = π + D (C B M A 3 ) = π + M, 4 q ; π q = π q (M q A 3 + R D )(C B ) (0) 6 (8)

8 The followng algorthm s used to n the calculatons: Step Solve (7) for matrx R, usng teratons (8) Step Evaluate the Matrces M for = 0,,q Step 3 Evaluate the value π q by solvng the normalsaton condton = k=0 q = π q q π k e = π q =0 q =0 M =q q M e + π q =q e + (I R ) e (R ) e () =0 wth the equaton Step 4 Substtute π q n π q (M q A 3 (C B ) + R D ) = 0 for the values = 0,,q and calculate for > 0 π = π q q π q + = π q =q M () (R ) (3) 4 Steady-state dstrbutons of the system under heurstc polces To measure the advantages of optmal threshold polcy (OTP) three more servers selecton dscplnes wll be consdered, namely Schedulng threshold polcy (STP) Fastest free server selecton (FFS) Random server selecton (RSS) The polces STP, FFS and RSS wll be denoted by ndces m = {, 3, 4}, respectvely The formulas for the calculaton of the steady-state dstrbuton of the system under the STP are exactly the same as for the optmal polcy wth only one excepton that the threshold level may dffer from the optmal one In the next subsectons calculaton procedures are treated for systems under the FFS and RSS polces 4 Fnte retral group In STP case the fastest server must be busy whenever the arrval occurs whereas the slower server can be swtched on only f upon arrval of a prmary or retral customer the orbt has length defned by () The polcy FSS means that the fastest free server must be occuped upon an arrval of a prmary or retral customer Under the polcy RSS arrvals choose any free server wth equal probablty Snce the system under FFS and RSS control polces s descrbed by the same Markov process {X(t)} t 0 wth the state space E as under the optmal control polcy, we have a smlar states parttonng 7

9 Analogously as n prevous sectons we can wrte down the three-dagonal nfntesmal block matrces Λ, m = {, 3, 4} of dmenson 4(K + ) It s obvous that for STP matrx has the same form as for the optmal polcy For polces FFS and RSS polces n case K < the nfntesmal matrces are of the form, Λ = λ A D 0 (C B ) A D (C 3 B 3 ) A D (C 3 B 3 ) A D 3 (C 3 B 3 ) A D 3 (C 4 B 4 ) A D 4 M where A (3) = A, A(3) C (3) = C (4) = C, C(3) A (4) = ( λ A (4) 6 = A 6, B(4) = λ λ λ 0 = C, A (3) = A, = 4, 5,6, B (3) = B, B(3) 3 = B 3, B(3) 4 = B (4) 4 = B 4, = C (4), = 3,4, D (3) = D (4) = D, 0 4, λ λ 0 ) λ 0 0 0, A (4) = λ 0 0 0, A (4) 4 = λ λ λ λ λ λ = 0 0 0, B (4) γ γ 3 = γ γ γ γ 0 0, A(4) 5 = 0 The steady-state probablty vector, m = {, 3, 4} satsfes the system Λ = 0, e = To solve the system for FFS and RSS polces we represent the equatons n the form 0 = D 0 λ = π M 0 ; = D (C B D 0 λ A ) = M ; = 3 D (C 3 B 3 M A ) = 3 M ; K λ 0 0 λ 0 0 λ 0 0 = + D (C 3 B 3 M A 4 ) = + M, 3 K ; = K+ D 3 (C 3 B 3 M K A 4 ) = K+ M K ; K+ = K+ D 4 (C 4 B 4 M K A 5 ) = To calculate the values k, m = {3, 4} t s necessary: Step Evaluate matrces M k, k = 0,,K + by relaton (4) Step Evaluate the value K+ from the normalzaton condton = K+ k=0 k e = K+ K+ + π K+ K+ =0 =K+ M e = K+ K+ M K+ + K+ λ λ,, m = {3, 4} (4) K+ =0 =K+ M e (5) Step 3 Substtute K+ nto for = 0,,K + = K+ K+ =K+ M 8

10 4 Infnte retral group In case of nfnte retral group, K =, the nfntesmal matrces Λ, m = {, 3, 4} are obtaned from the above matrces by removng the last three rows In ths case we conecture the matrx-geometrc form + = π (R ), 0 where the matrx R s to be found by solvng the followng quadratc equaton (R ) D R (C 3 B 3 ) + A 4 = 0 (6) As before the necessary and suffcent condton for stablty s p D e > p A 4 e, where p s a statonary probablty vector gven by p (A 4 (C 3 B 3 ) + D ) = 0, p e = Theorem 4 For the system under STP and FFS control polces, the statonary probablty vector p of A 4 (C 3 B 3 ) + D, m = {, 3} s gven by formulas 3 The system s stable f and only f the load factor ρ, defned by (9) satsfes ρ <, m = {, 3} Theorem 5 For the system under RSS control polcy, the statonary probablty vector p (4) of A (4) 4 (C(4) 3 B (4) 3 ) + D(4) s gven by p (4) 0 = (λ + γ) (λ + γ)(λ + M + γ) + µ µ, p (4) = µ λ + γ p(4) 0, p (4) = µ λ + γ p(4) 0, p (4) 3 = µ µ (λ + γ) p(4) 0 The system s stable f and only f the load factor ρ (4) satsfes ρ (4) = Proof: By elementary calculatons Probabltes 0 and satsfy relatons 0 = D 0 λ(λ + γ) Mγ(λ + γ) + γµ µ < (7) λ = π M = D (C B D 0 0, (8) λ A ) = M In case m = {3, 4} the followng algorthm s used for the calculatons: Step Solve equatons (6) for matrx R, usng teratons startng from R (0) = 0 Step Evaluate matrces M 0 and M Step 3 Evaluate value by solvng the normalsaton condton = k=0 = k e = M M 0 e + M e + M M 0 e + M e + (I R ) e (R ) e (9) =0 9

11 wth the equaton Step 4 Substtute nto and calculate (M A (C 3 B 3 ) + R D ) = 0 0 = M M 0, = M (0) 5 Statonary dstrbuton of the watng tme + = π (R ), > 0 () In ths secton we fnd the dstrbuton of the watng tme For the controllable queue wth heterogeneous servers the watng tme of some customer can depend on the future arrval because n ths case the number of actve servers can be changed Therefore, the watng tme of the tagged customer n the system under OTP strongly depends not only on ts poston n the queue, but also on the queue length durng ts watng tme In the alternatve models we have also consder not only the system state at the arrval tme of the tagged customer, but also the possblty that the customer who comes later wll be serverd by free server Thus, to calculate the watng tme dstrbuton we wll consder the process ust after the arrval of the tagged customer wth absorpton at the tme when he starts the servce Let us ntroduce the transent Markov process X(t) = (Q(t), D (t), D (t), J(t)) () wth the same genenerators as the models of the prevous secton The state spaces E = {x = (q, d, d, ); 0 q K, d = {0, }, =,, 0 q}, where the last component J(t) denotes the poston of the fxed ob n the lst of watng obs at tme t Ths component can take the values {0,,, }, and decreases for the system under threshold polcy at tme of a retral arrval when the frst server s dle, at tme of a retral arrval when at least one of the servers s dle and the queue length s greater than q, and for other systems - at tme of a retral arrval when at least one server s dle The process s absorbed when the component J(t) become equal to zero Note that Q(t) J(t) at any tme t when the targed customer has to wat n the orbt We denote the state of the process X(t) by x = (q, d, d, ) At the pont of tme of a new arrval t + (the ntal tme for the transent Markov process) t s obvous that J(t + ) = Q(t + ) f tagged customer has to wat n the orbt and J(t + ) = 0 f upon arrval the customer can be served mmedately Defne W rv of the watng tme n the system under polcy m, W x rv of the resdual watng tme of the tagged customer gven that the system state s x, w x w x (t) the dencty functon of the resdual watng tme, (s) = Ee sw x = 0 e st w x (t)dt, Res 0 correspondng Laplace-Steltes transform 0

12 Because of the markovty of the process X(t), the resdual watng tme n state x conssts of the tme the system spend n state x untl the next transton wth densty λ x e λxt plus the resdual tme n a new state y after possble transton from the state x, whch take place wth probablty λxy λ x Thus from the low of total probablty for the densty w x (t) we get w x (t) = λ xy λ x e λxt w y (t), x E (3) λ x y x where * denotes convoluton Applyng the Laplace-Steltes transforms to the relaton (3) we get w x (s) = λ xy w y (s), x E (4) s + λ x y x We partton the above Laplace-Steltes transforms accordng to the partton of the system states: defne the column-vectors w, (s) n whch denotes the number of customers n the system and the poston of the tagged customer: w, (s) = w (,0,0,)(s), K (5) w +, (s) = ( w (,0,,)(s), w (,,0,)(s), w (+,0,0,) (s))t, K, w, (s) = ( w (,,,)(s), w (,0,,)(s), w (,,0,)(s), w (,0,0,) (s))t, K, w K+, (s) = ( w (K,,,)(s), w (K,0,,)(s), w (K,,0,) (s))t, K, w K+,K (s) = ( w (K,0,,K)(s), w (K,,0,K) (s))t, w K+, (s) = w (K,,,)(s), K, w (s) = ( w, (s), w +, (s),, w K+, (s))t, K, w (s) = ( w (s), w (s),, w K (s))t The followng theorem gves recurrent relaton for the vectors w (s), K of the Laplace- Steltes transforms w x, x E of the condtonal watng tme denctes w x (t) Theorem 6 The vectors of the Laplace-Steltes transforms w (s), K of the condtonal watng tme denctes under the control polcy m = {,, 3, 4} are related by the followng recurrent block threedagonal system Λ W, (s) w (s) = Γ e, (6) Λ W, The matrces Λ W, (s) = (Φ (s) w (s) = Γ w (s), K si 4(K +) ) and Γ, are of the dmenson 4(K + ) All

13 matrces have K + 3 block-columns and K + 3 block-rows The matrces Φ for are of the form: (λ + γ) A D 0 Ĉ A D C A D C A Φ = D C 3 A D 3 C 3 A D 3 C 4 A D 4 M (λ + γ) A Φ = (λ + γ) Φ = D 0 Ĉ Â D C 3 A D C 3 A D 3 C 3 A D 3 C 4 A D 4 M D 0 Ĉ 3 (λ + γ) Φ K = where A Â D C 3 A D C 3 A D 3 C 3 A D 3 C 4 A D 4 M D 0 Ĉ 3 Â = ( 0 λ ), Â 5 = A 0 0 Â ˆD C 4 A D 4 M Â = A, m = {3, 4}, Â(4) 5 = Ĉ = λ 0 0 λ λ λ + µ + γ λ + µ λ + γ ( Ĉ λ + µ + γ 0 4 = 0 λ + µ + γ λ 0 0 λ 0 0 λ λ 0 (λ + γ), Φ K =, m = {,, 3}, Â (4) = ( λ q, q, m = {, } K q K, = q, m = {, } K, Â 0 ˆD 0 Ĉ 4 Â 6 0 ˆD 4 M λ, Â 6 = ( λ λ ),m = {,,3, 4},m = {, }, Ĉ 3 = ), ˆD 0 = ( ) µ, µ ˆD = ), Â =, λ + µ + γ λ + µ + γ λ + γ µ µ µ 0 0 µ λ λ λ 0, q K, m = {, } K, m = {3, 4}, m = {, },, ˆD 4 = ( µ µ ),m = {,, 3,4}

14 The matrces Γ are of the form Γ = B ˆB B B B q, q, m = {, } K q Γ = Γ = B ˆB B B B ˆB B B K, = q, m = {, } K, q K, m = {, } K, m = {3, 4} Γ K = where B ˆB B B 0 = ( 0 γ 0 ), ˆB 3 = γ {, }, ˆB(4) 3 = γ γ γ 0 0, Γ K = γ γ γ 0, ˆB 4 = B ˆB , Γ (4), m = {,,3}, B (4) 0 = ( γ ( γ 0 0 γ 0 0 ), m = {,,3, 4} ( (4) K+ = B ), γ 0 ), ˆB = γ γ 0, m = Proof: Consder the model under optmal polcy m = Note that f J(t) = 0 then the fxed ob should be mmedately served, so the watng tme s 0, e w x (s) =, x = (q, d, d, 0) E For other states and postons of the tagged customer accordng to the equaton (4) the problem reduces to the above case by backward nducton Ths s always possble snce the poston J(t + ) s a decreasng 3

15 nteger w (q,,0,) (s) = s + λ + µ + γ for q q K, w (q,0,,) (s) = s + λ + µ + γ for q K, w (q,0,0,) (s) = s + λ + γ λ w (q,,,) (s) + µ w (q,0,0,) (s) + γ λ w (q,,,) (s) + µ w (q,0,0,) (s) + γ λ w (q,,0,) (s) + γ for q K, w (q,,0,) (s) = λ w s + λ + µ (q+,,0,) (s) + µ w (q,0,0,) (s) for q, q q, w (q,,0,) (s) = λ w s + λ + µ (q,,,) (s) + µ w (q,0,0,) (s) for q, q = q, w (q,,0,) (s) = s + λ + µ + γ for q K, q K, w (q,0,,) (s) = s + λ + µ + γ w (q,0,0,) (s) = s + λ + γ for K, q K, λ w (q,,,) (s) + µ w (q,0,0,)(s) + γ w (q,,, ) (s) λ w (q,,,) (s) + µ w (q,0,0,)(s) + γ w (q,,, ) (s) λ w (q,,0,)(s) + γ w (q,,0, ) (s) for K, q K, w (q,,,) (s) = λ w s + λ + µ + µ (q+,,,) (s) + µ w (q,0,,) (s) + µ w (q,,0,) (s) for K, q K, w (K,,,) (s) = µ w s + µ + µ (K,0,,) (s) + µ w (K,,0,) (s) for K (7) Now, after routne block dentfcaton, we may express the system for m = n (7) as gven n (6) For the STP the recurrent expressons are the same wth correspondng threshold level q For the polcy FFS t s enough to set q = To get the expressons for RSS polcy we take the system for FSS polcy and the equaton for the state q, 0, 0, rewrte as follows w (4) (q,0,0,) (s) = λ s + λ + γ ( w(4) (q,,0,)(s) + w(4) (q,0,,) (s)) + γ ( w(4) (q,,0, )(s) + w(4) (q,0,, ) (s)) for K, q K The tagged customer must wat n orbt f upon arrval he fnds the system n some state of the subset E W = {(q,, 0); 0 q q } {(q,, ); 0 q K }, m = {, } E W = {(q,, ); 0 q K }, m = {3, 4} 4

16 Denote by W, m = {,, 3, 4} the row-vectors of the dmenson K(K+) whch nclude the subvectors of steady-state probabltes n set E W : W W = (π e (3)e t (4K) + e 0 (4)e t 4(4K), e (4)e t (4(K )) + e 0 (4)e t 4(4(K )),, q +e 0(4)e t 4(4(K q + )),, K+ e 0(3)e t 3(4)), m = {, }, = (π e 0 (4)e t 4(4K), 3 e 0 (4)e t 4(4(K )),, K+ e 0(3)e t 3(4)), m = {3, 4} Accordng to the PASTA property the condtonal probablty of the state x upon arrval consdes wth the uncondtonal one Hence for the Laplace transform of the uncondtonal watng tme dstrbuton wth respect to all possble ntal states x of the process X(t) and the correspondng states x before an arrval we have The formula (8) ncludes two contrbutons: q W e = K W e = W (s) = ( π W s e + π W w (s)) (8) K (q,,0) + q=0 q=0 q=0 (q,,) = K (q,,) = (q,0,) + π q=0 (q,0,) + π (q,,0) + π (q,0,0) q=0 (q,0,0) +, m = {3, 4} K (q,,0) q=q, m = {, } s a steady-state probablty that the tagged customer does not have to wat for the servce; the transform q W w (s) = q=0 (q,,0) w K (q+,,0,q+) (s) + q=0 K W w (s) = (q,,) w (q+,,,q+)(s), m = {3, 4} q=0 (q,,) w (q+,,,q+)(s), m = {, } of the contrbuton of the watng tme wth dencty functon w c (t) gven W > 0 Note that 0 w c (u)du = W e The lmt property of the Laplace-Stltes transform allows us to get the value of the functon w c (t) at pont t = 0: γ, f q q K, d =, d = 0, = lm s s w (q,d,d,) (s) = γ, f q K, d = 0, d =, =, m = {, } γ, f q K, d = 0, d = 0, = lm s s w (q,d,d,) (s) = 0, { otherwse γ, f q K, 0 d + d, 0, otherwse, m = {3, 4} Therefore we have lm t 0 w c (t) = lm s s W w (s) = 0 5

17 The nverson of the Laplace transform s π W w (s) of the functon W c (t) = t get the dstrbuton functon of the watng tme W (t) = PW t = W e + W c (t), t 0 W x 0 w c (u)du s used to Now we obtan the n-th moments of W x whch we denote by Accordng to the ndroduced parttonng of the condtonal Laplace transforms we denote by W (n) the vector of the correspondng n-th moments: (n) = E(W x ) n, m = {,, 3, 4} W, (n) = ( W (q,d,d,) (n) d = {0, }, q + d + d = ) t, K +, mn{, K}, W (n) = ( W, (n), W +, (n),, W K+, (n))t, K, W (n) = ( W (n), W (n),, W K (n))t By dfferentaton the expressons (6) over the parameter s we get Snce Λ dn W, (s) ds nw (s) n dn ds n w (s) = 0, Λ dn W, (s) ds nw W (n) = ( ) n dn ds w n (s) n dn ds n w (s) we get s=0 (s) = Γ d n ds nw (s), K Φ Φ W (n) = n W (n) = n W (n ), n, W (n ) Γ W (0) = e(4(k + )), K Therefore for the uncondtonal moments of the watng tme we have W (n), K, n, E(W ) n = W W (n), n 0, m = {,, 3, 4} 6 Statonary dstrbuton of the soourn tme To carry out the calculaton of a soourn tme dstrbuton we apply the same Markov process () wth only excepton that the absorpton takes place at the tme when the tagged customer completes the servce that wll correspond to the case when J(t) = At the pont of tme of a new arrval t + to some of the state from the set E W the customer has to wat for the servce and The arrval to the state from the set E\E W J(t + ) = Q(t + ) mples J(t + ) = 0 that means that the customer must be served mmedately on the frst or second server accordng to the control polcy Let the process s absorbed when the component J(t) become equal to It occurs when the tagged customer leaves the system Defne T rv of the soourn tme n the system, 6

18 T t x x rv of the resdual soourn tme of the tagged customer gven that the system state s x, (τ) the condtonal densty functon of the resdual soourn tme, t x (s) = Ee st x, Res 0 correspondng Laplace-Stltes transform As above we partton the condtonal Laplace-Stltes transforms of the soourn tme denstes n the followng way: t, (s) = t (,0,0,)(s), K, (9) t,0 (s) = ( t,0,,0 (s), t,,0,0 (s)), K +, t +, (s) = ( t (,0,,) (s), t (,,0,) (s), t (+,0,0,)(s)), K, t, (s) = ( t (,,,) (s), t (,0,,) (s), t (,,0,) (s), t (,0,0,)(s)), K, t K+, (s) = ( t (K,,,) (s), t (K,0,,) (s), t (K,,0,)(s)), K, t K+,K (s) = ( t (K,0,,K) (s), t (K,,0,K) (s)), t K+, (s) = t (K,,,)(s), K, t 0 (s) = ( t,0 (s), t,0 (s),, t K+,0 (s)), t (s) = ( t, (s), t +, (s),, t K+, (s)), K, t (s) = ( t 0 (s), t (s), t (s),, t K (s)) Theorem 7 The vectors of the Laplace-Stltes transforms t (s), 0 K of the condtonal soourn tme denctes under the control polcy m = {,, 3, 4} are related by the followng recurrent block threedagonal system Λ T,0 (s) t 0 (s) = Γ 0 e, (30) Λ T, (s) t (s) = ˆΓ t 0 (s), Λ T, (s) t (s) = Γ t (s), K where Λ T,0 (s) = Φ 0 si (K+) and Γ 0 are the block dagonal matrces of the dmenson (K + ) These matrces have K + block-rows and block-columns The matrces Λ T, (s) = Λ W, (s) for ˆΓ are dagonal block matrces of the dmenson (K + ) 4K These matrces have K + block-rows and K + block-columns The matrces Φ 0 have the blocks and the matrces Γ 0 have ( ) µ 0 0 µ 7

19 the blocks ˆD 0 The matrces ˆΓ are of the form: ˆΓ = ˆΓ = G G G G G G G G G where G 0 = ( 0 γ ), m = {,, 3}, G (4) 0 = ( γ 0 γ γ 0 γ γ m = {,,3, 4}, G = γ γ, m = {, }, G 3 = γ, m = {3, 4} ), G = γ γ 0 0 γ 0 γ γ q, m = {, } N q, m = {,, 3}, G(4) 3 =, m = {, }, G (3) = γ γ 0 γ γ 0 γ γ 0 0 γ, G 4 =, G (4) = γ γ 0 Proof: Consder agan the system under OTP m = {} If J(t) = then the served tagged customer leaves the system and the soourn tme s 0, e t x (s) =, x = (q, d, d, ) E For the states where the tagged customer s n servce area the servce tme does not depend on the future arrvals or servce tme on the other server f t s busy Thus we have t (q,,0,0) (s) = µ s + µ, 0 q K t (q,0,,0) (s) = µ s + µ, 0 q K For the states where the tagged customer stayes ust before the servers J(t) = then we have the followng recursve expressons: t (q,,0,) (s) = λ t s + λ + µ + γ (q,,,) (s) + µ t (q,0,0,)(s) + γ t (q,0,,0) (s) for q q K, t (q,0,,) (s) = s + λ + µ + γ for q K, t (q,0,0,) (s) = s + λ + γ λ t (q,,,) (s) + µ t (q,0,0,)(s) + γ t (q,,0,0) (s) λ t (q,,0,)(s) + γ t (q,,0,0) (s) for q K, (3) In all other states the transforms t x (s) satsfy the equatons (3) By expressong these equatons n matrx form we obtan the expressons (30) for optmal polcy Analogously we obtan the expressons for the systems under other control polces, 8

20 The tagged customer ons the system f upon arrval he fnds the system n one of the state n the set E T = {(q, d, d ); d + d = {0, }, 0 q K} {(q, d, d ); d + d =, 0 q K }, m = {,, 3, 4} Denote by T the row-vectors of the dmenson (N + ) whch nclude the steady-state probabltes of the states n the set E ( K T = + =q T : e (4) + K+ e (3) 0 + (e 0 (3) + e (3)) + π (3) T = ( π (3) e (3) + = e t 0((K + )) m = {, } = π (3) e (4) + π (3) K+ e (3) e t 0((K + )) + π (3) 0 + π (3) (e 0(3) + e (3)) + π (4) T = ( π (4) e (3) + = + π (4) 0 + π (4) e 0(3) + + π (4) e (3) + = π (4) e (4) + π (4) K+ e (3) e t 0((K + )) = = π (4) e 3 (4) ) (e (4) + e 3 (4)) + K+ e (3) e t ((K + )), W, ) π (3) (e (4) + e 3 (4)) + π (3) K+ e (3) e t ((K + )), π (3) W, π (4) e (4) + π (4) K+ e (3) e t ((N + )) (e t 0((K + )) + e t ((K + ))), π (4) W Then for the uncondtonal Laplace transform of the soourn tme dstrbuton wth respect to all possble ntal states x of the Process X (t) and correspondng states before an arrval x we get and componentwse T t (s) = π (3) T t (3) (s) = π (4) T t (4) (s) = (q,0,) + π q=0 q + π (q,,0) t q=0 π (3) (q,0,) + π(3) q=0 π (4) (q,0,) q=0 K + q=0 T (s) = s π T t (s), (3) (q,0,0) µ + s + µ K (q+,,0,q+) (s) + µ (q,,0) q=q q=0 (q,0,0) µ + s + µ s + µ + π (4) (q,,0) q=0 π (4) (q,,) t (4) (q+,,,q+) (s) µ s + µ ) π (q,,) t (q+,,,q+)(s), m = {, } π (3) (q,,0) q=0 µ s + µ + µ s + µ + q=0 K q=0 π (3) (q,,) t (3) (q+,,,q+) (s), ( π (4) µ (q,0,0) + µ ) s + µ s + µ 9

21 Let t (τ), m = {,, 3, 4} denotes the uncondtonal densty assocated wth the Laplace-Stltes transform t (s) Its value at pont τ = 0 satsfes µ, f 0 q K, d = 0, d =, = 0 lm s t s (q,d,d,) (s) = µ, f 0 q K, d =, d = 0, = 0 0, otherwse Therefore, lm τ 0 t (τ) = lm s s T t (s) = µ K + µ 0 + (e 0 (3) + e (3)) + = =q lm τ 0 t(3) (τ) = lm sπ (3) t s T (3) (s) = µ π (3) e (3) + + µ π (3) 0 + π (3) (e 0(3) + e (3)) + = lm τ 0 t(4) (τ) = lm sπ (4) t s T (4) (s) = µ π (4) e (3) + + µ π (4) 0 + π (4) e 0(3) + = e (4) + K+ e (3) (e (4) + e 3 (4)) + K+ e (3), m = {, } = π (3) e (4) + π (3) K+ e (3) π (3) (e (4) + e 3 (4)) + π (3) K+ e (3), = π (4) e (4) + π (4) K+ e (3) π (4) e (4) + π (4) K+ e (3) + M π (4) e (3) + = π (4) e 3 (4) Now t suffces to nvert the Laplace transform T (s) to get the dstrbuton functon of the soourn tme T (τ) = PT τ = τ 0 t (u)du, τ 0 We now fnd the n-th moment of T x, m = {,, 3, 4} whch s denoted by n 0 Let T (n) denote the vector contanng the moments parttoned as a correspondng Laplace transforms: T x (n) = E(T x ) n for T,0 (n) = ( T (,0,,0)(n), T (,,0,0)(n)), N +, T, (n) = ( T (q,d,d,) (n) d = {0, }, q + d + d = ) t, K +, mn{, K}, T 0 (n) = ( T,0 T (n) = ( T, (n), T (n) = ( T 0 (n), (n), T,0 (n),, T T +, (n),, T T (n),, K+,0 (n)), K+, (n))t, K, T K (n))t By dfferentaton the Laplace transforms (30) over the parameter s snce T (n) = ( ) n dn ds t (s) n we get ( T n! 0 (n) =, n!,, n!, n! ) t, n, µ µ µ µ Φ T (n) = n T (n ) T (0) = e(4(k + )), K T (n), K, n s=0 0

22 For the uncondtonal moments of the soourn tme we have E(T ) n = T T (n), n 0 7 The number of customers served by drect access In ths secton we calculate the dstrbuton for the dscrete random value Θ of the number of customers that have been served by drect access to some dle server untl the targed customer on the orbt reaches the servce area Denote by Θ rv of the number of prmary customers served by drect access to the dle server, rv of the number of prmary customers that wll be served untl the tagged customer reaches the servce area, gven that the system s n state x, θ x (k) = PΘ x = k the condtonal dencty functon of the rv Θ x, (z) = Ez Θ x = (k)z k, z correspondng z transform Θ x θ x k=0 θ x By the low of total probablty for the Markov process X(t) the condtonal dencty functon θ x (k) has the form θ x (k) = a xy θ a y (k ) + θ y (k) (33) x a x y x,y a xy where the frst term represents the arrval of a prmary customer that can be mmedately served and the second one corresponds to all other possble transtons that do not change the event under consderaton Applyng z transforms to the relaton (33) we get θ x (z) = za xy a x θ y (z) + a xy y x,y a θ y x We partton the above z transforms accordng to the partton of the system states: defne the columnvectors θ, (z) n whch denotes the number of customers n the system and the poston of the tagged customer: θ, (z) = θ (,0,0,)(z), K (34) θ +, (z) = ( θ (,0,,)(z), θ (,,0,)(z), θ (+,0,0,) (z))t, K, θ, (z) = ( θ (,,,)(z), θ (,0,,)(z), θ (,,0,)(z), θ (,0,0,) (z))t, K, θ K+, (z) = ( w (K,,,)(z), θ (K,0,,)(z), θ (K,,0,) (z))t, K, θ K+,K (z) = ( θ (K,0,,K)(z), θ (K,,0,K) (z))t, θ K+, (z) = θ (K,,,)(z), K, θ (z) = ( θ (z), θ, +, (z),, θ K+, (z))t, K, θ (z) = ( θ (z), θ (z),, θ K (z)) t Theorem 8 The vectors of z-transforms θ (z), K of the condtonal denctes under polcy m = {,, 3, 4} are related by the followng recurrent block three-dagonal system (z) Λ Θ, (z) θ (z) = Γ e, (35) Λ Θ, (z) θ (z) = Γ θ (z), K

23 The matrces Λ Θ, (z) = (Φ + ( z)q ) and Γ, are of the dmenson 4(K + ) All are of the form: matrces have K + 3 block-columns and K + 3 block-rows The matrces Q Q Q = = Q K = where H = A, H H 6 = 0 H H H H H H H Ĥ H H H H Ĥ H λ λ λ λ Proof: λ λ 0 = λ λ 0, Q K =, H 3 = q, q, m = {, } K q K, q K, m = {, } 0 Ĥ Ĥ λ λ 0,, H 4 = K, m = {3, 4} λ λ λ 0, H 5 = λ 0 0 λ λ, m = {, }, H (3) = H, H(3) = A (3), H(3) = H, = 4,5, 6, H (4) = A (4), H(4) = A (4), H(4) 4 =, H(4) 5 = λ 0 0 λ 0 0 λ λ, Ĥ = Â, =,, 5, 6, m = {,, 3} θ (q,,0,) (z) = λ θ λ + µ (q+,,0,) (z) + µ θ (q,0,0,) (z) for q, q q, (36) θ (q,,0,) (z) = zλ θ λ + µ (q,,,) (z) + µ θ (q,0,0,) (z) θ (q,,0,) (z) = λ + µ + γ for q, q = q for q q N, θ (q,0,,) (z) = λ + µ + γ for q K, zλ θ (q,,,) (z) + µ θ (q,0,0,) (z) + γ zλ θ (q,,,) (z) + µ θ (q,0,0,) (z) + γ,

24 θ (q,0,0,) (z) = λ + γ zλ θ (q,,0,) (z) + γ for q K, θ (q,,0,) (z) = λ + µ + γ θ (q,0,,) (z) = λ + µ + γ θ (q,0,0,) (z) = λ + γ zλ θ (q,,,) (z) + µ θ (q,0,0,)(z) + γ θ (q,,, ) (z) for q K, q K, zλ θ (q,,,) (z) + µ θ (q,0,0,)(z) + γ θ (q,,, ) (z) for K, q K, zλ θ (q,,0,)(z) + γ θ (q,,0, ) (z) for K, q K, θ (q,,,) (z) = λ θ λ + µ + µ (q+,,,) (z) + µ θ (q,0,,) (z) + µ θ (q,,0,) (z) for K, q K, θ (K,,,) (z) = µ µ + µ θ (K,0,,) (z) + µ θ (K,,0,) (z) for K For the uncondtonal z-transform of the number of drectly served customers we get θ (z) = W e + π W θ (z), (37) where W e as before means the probablty that the customer upon an arrval goes mmedately to the servce area The nverson of the contrbuton θ W (z) leads to the densty functon θ c (k), that together wth Θ c (n) = n c (k) mples the relaton for the dstrbuton functon k=0 θ Θ (n) = W e + Θ c (n), n 0 The probablty that no prmary customers wll be drectly served whle another are watng on the orbt can be expressed as follows Θ (0) = W e + π θ W (0) Θ x The n-th factoral moment of the random value Θ x denote by (n) = EΘ x x n + ), n We partton the condtonal factoral moments n the same way as before: (Θ Θ, (n) = ( Θ (q,d,d,) (n) q + d + d = ) t, K +, mn{, K}, Θ (n) = ( Θ, (n), Θ +, (n),, Θ K+, (n))t, K, Θ (n) = ( Θ (n), Θ (n),, By dfferentatng the relaton (35) we get Λ Θ, Λ Θ, dn (z) θ dzn (z) dn dz (z) nq dz θ n (z) nq dz d n θ n d n θ n Θ K (n))t (z) = 0, d n (z) = Γ dz (z), K n θ )(Θ x 3

25 Snce Θ (n) = dn dz Φ Φ n θ (z) we get z= Θ (n) = nq Θ Θ (n) = nq (n ), n, Θ (n ) Γ Θ (0) = e(4(k + )), K The moments for the uncondtonal random values have the form Θ (n), K, n, EΘ (Θ )(Θ n + ) = W Θ (n), n 0 8 The number of retrals made by a customer Denote by Ψ rv of the number of retrals made by a tagged customer untl the servce starts, Ψ x rv of the number of retrals made by a tagged customer gven that the system s n state x, ψ x ψ x (k) = PΨ = k the condtonal dencty functon of the rv Ψ x (z) = Ez Ψ x = k=0 ψ x (k)z k, z correspondng z transform By the low of total probablty for the Markov process X(t) the condtonal dencty functon ψ x (k) has the form ψ x (k) = a xy ξ a y (k ) + ψ y (k) (38) x a x where the frst term represents the retrla of a tagged customer Applyng z transforms to the relaton (38) we get ψ x (z) = za xy a x y x,y a xy ψ y (z) + a xy y x,y x, a ψ y x (z) ψ, (z) = ψ (,0,0,)(z), K (39) ψ +, (z) = ( ψ (,0,,)(z), ψ (,,0,)(z), ψ (+,0,0,) (z))t, K, ψ, (z) = ( ψ (,,,)(z), ψ (,0,,)(z), ψ (,,0,)(z), ψ (,0,0,) (z))t, K, ψ K+, (z) = ( ψ (K,,,)(z), ψ (K,0,,)(z), ψ (K,,0,) (z))t, K, ψ K+,K (z) = ( ψ (K,0,,K)(z), ψ (K,,0,K) (z))t, ψ K+, (z) = ψ (K,,,)(z), K, ψ (z) = ( ψ, (z), ψ +, (z),, ψ K+, (z))t, K, ψ (z) = ( ψ (z), ψ (z),, ψ K (z)) t Theorem 9 The vectors of z-transforms ψ (z), K of the condtonal denctes under the control polcy m = {,, 3, 4} are related by the followng recurrent block three-dagonal system Λ Ψ, (z) ψ (z) = Γ (z)e, (40) Λ Ψ, ψ (z) = Γ ψ (z), K 4

26 (z) = (Φ + ( z)v ), Λ Ψ, = Φ are of the dmenson 4(N + ) All matrces have N + 3 block-columns and N + 3 block-rows The matrx V s of the form The matrces Λ Ψ,, and Γ (z) = zγ, Γ, (e 0 + e )(e 0 + e ) t (e 0 + e )(e 0 + e ) t V = γ e 0 e t e 0 e t q, m = {, } N q V = γ Proof: e 0 e t e 0 e t e 0 e t ψ (q,,0,) (z) = λ + µ + γ, m = {3, 4} λ ψ (q+,,0,) (z) + µ ψ (q,0,0,)(z) + zγ ψ (q,,0,) (z) for q q, (4) ψ (q,,0,) (z) = λ ψ λ + µ + γ (q,,,) (z) + µ ψ (q,0,0,)(z) + zγ ψ (q,,0,) (z) for q = q ψ (q,,0,) (z) = λ + µ + γ for q q K, ψ (q,0,,) (z) = λ + µ + γ ψ (q,0,0,) (z) = λ + γ for q K, λ ψ (q,,,) (z) + µ ψ (q,0,0,) (z) + zγ λ ψ (q,,,) (z) + µ ψ (q,0,0,) (z) + zγ λ ψ (q,,0,) (z) + zγ for q K, ψ (q,,,) (z) = λ + µ + µ + γ for q K, ψ (K,,,) (z) = µ + µ + γ λ ψ (q+,,,) (z) + µ ψ (q,0,,) (z) + µ ψ (q,,0,)(z) + zγψ (q,,,) (z) µ ψ (K,0,,) (z) + µ ψ (K,,0,)(z) + zγψ (K,,,) (z) ψ (q,,0,) (z) = λ ψ λ + µ (q+,,0,) (z) + µ ψ (q,0,0,) (z) for q, q q, ψ (q,,0,) (z) = λ ψ λ + µ (q,,,) (z) + µ ψ (q,0,0,) (z) ψ (q,,0,) (z) = λ + µ + γ for q, q = q λ ψ (q,,,) (z) + µ ψ (q,0,0,)(z) + γ ψ (q,,, ) (z) for q K, q K, 5

27 ψ (q,0,,) (z) = λ + µ + γ ψ (q,0,0,) (z) = λ + γ λ ψ (q,,,) (z) + µ ψ (q,0,0,)(z) + γ ψ (q,,, ) (z) for K, q K, λ ψ (q,,0,)(z) + γ ψ (q,,0, ) (z) for K, q K, ψ (q,,,) (z) = λ ψ λ + µ + µ (q+,,,) (z) + µ ψ (q,0,,) (z) + µ ψ (q,,0,) (z) for K, q K, ψ (K,,,) (z) = µ µ + µ ψ (K,0,,) (z) + µ ψ (K,,0,) (z) for K For the uncondtonal z transform we get where W area By nverson of the contrbuton W relaton Ψ c (n) = n ψ (z) = W e + π W ψ (z), (4) e denotes the probablty that the customer upon an arrval goes mmedately to the servce ψ (z) we get the densty functon ψ c (k) and and by the k=0 ψ c (k) we derve the dstrbuton functon Ψ (n) = W e + Ψ c (n), n 0 The probablty that the customer makes no retrals concdes wth the probablty that t wll be drectly served, e Ψ (0) = W e Ψ x (n) = EΨ The n-th factoral moment of the random value Ψ x denote by x x n + ), n We partton the condtonal factoral moments n the same way as before: (Ψ Ψ, (n) = ( Ψ (q,d,d,) (n) q + d + d = ) t, K +, mn{, K}, Ψ (n) = ( Ψ, (n), Ψ +, (n),, Ψ K+, (n))t, K, Ψ (n) = ( Ψ (n), Ψ (n),, By dfferentatng the relaton (35) we get Ψ K (n))t )(Ψ x Snce Ψ (n) = dn dz ψ n Λ Ψ, Λ Ψ, dn (z) dz d n n ψ (z) nv (z) = Γ dz dz (z) we get z= n ψ dn ψ n d n dz n ψ (z) = 0, (z), K Φ Φ Ψ (n) = nv Ψ (n) = Γ Ψ (n ), n, Ψ (n), K, n, Ψ (0) = e(4(k + )), K The moments for the uncondtonal random values have the form EΨ (Ψ )(Ψ n + ) = W Ψ (n), n 0 6

28 9 Numercal results and comparson analyss Consder the system M/M/ wth prmary arrval rate λ, retral rate γ and servce rates µ and µ By nverson of the derved Laplace transforms (8) and (3) t s possble to evaluate the watng and soourn tme dstrbutons There are two practcal algorthms for the nverson of Laplace transform: The conventonal algorthm and the Fourer-seres algorthm Mathematcal packages such as Mathematca, Mathlab, Mathcad, etc nclude the standard functons that apply the conventonal one It s based on the partal functon expanson method and works effcently only n case of small order ratonal functons So we can obtan on the bass of ths method an accurate representaton of the functons W (t) and T (t) only for small t but n symbolc form The algorthms based on Furer-seres represent the numercal nverson methods, eg Euler and Post-Wdder, that can be used for large t as well The mentoned mathematcal software allow also to nvert z-transforms (37) and (4) to get the dstrbuton functons Θ(n) and Ψ(n) However there are problems by nverson of the functons of hgher order Therefore we mplement the numercal nverson of z-transforms usng the Lattce-Posson algorthm By means of Mathemaca package we have created the procedures: for the calculaton of steady-state probabltes under optmal and heurstc servce dscplnes, formulas (0 3) and (8) (), for the numercal nverson of the Laplace transforms W(s) and T(s) usng the Euler and Post-Wdder algorthms, for the numercal nverson of the z-transforms Θ(z) and Ψ(z) usng the Lattce-Posson algorthm In Fgures 4 we have ndcated the watng tme (the fgures labelled by letter "a") and the soourn tme (the fgures labelled by letter "b") for dfferent values of the prmary customer arrval rate λ and retral customer rate γ In our examples we fx the servce rates µ =, µ = 03 The followng observaton can be notced from these fgures: The curves of the watng tme dstrbutons W (t) for the system under threshold control polces (OTP, STP) le below the other curves (FFS, RSS) that specfes that the watng tme of a customer n the orbt s larger for the threshold systems Ths does not contradct the optmalty of the threshold polcy snce t mnmzes the soourn tme On the fgures wth soourn tme dstrbutons T (t) one can notce that for some small values of argument t the curves for the OTP can le below other graphs but startng from some pont of tme t they are above the others Nevertheless the mean soourn tme for the optmal polcy turns out to be the least The curves of the watng tme dstrbuton for the system under FFS control polcy le above the other curves that llustrates that ths polcy mnmzes the watng tme of a customer n the orbt At the same tme the largest soourn tme belongs to the system under RSS polcy It can be explaned by the fact that ths polcy wth equal probablty assgns a customer to the faster or slower server that n turn makes a sgnfcant contrbuton to the soourn tme ncreasng In Fgures and the prmary customer arrval rate λ s vared and the correspondng load factors are ρ = 096, m = {,, 3}, ρ (4) = 004 and ρ = 040, m = {,, 3}, ρ (4) = 044 In Fgure 3 and 4 the retral customer rate γ s vared and the load factors are, respectvely, ρ = 099, m = {,, 3}, ρ (4) = 000 and ρ = 0375, m = {,, 3}, ρ (4) = 0377 As λ or γ ncreases then the load factor ρ also ncreases that leads to the dstrbutons wth heaver tals Whle n Fgure and 3 the curves for the threshold systems (OTP, STP) look very smlar, n Fgure and 4 the suffcent dfference can be notced Thus we can assume that f the load factor s suffcently small, e the system has a so-called "lght traffc", 7

29 then the schedulng threshold polcy may be a good approxmaton for the optmal one (a) (b) W m t OTP STP FFS RSS T m t OTP STP FFS RSS t t Fgure : Dstrbuton functons (a) W (t) (b) T (t) for λ=05, µ =, µ =03, γ=5 (a) (b) W m t OTP STP FFS RSS T m t OTP STP FFS RSS t t Fgure : Dstrbuton functons (a) W (t) (b) T (t) for λ=09, µ =, µ =03, γ=5 (a) (b) W m t OTP STP FFS RSS t T m t OTP STP FFS RSS t Fgure 3: Dstrbuton functons (a) W (t) (b) T (t) for λ=05, µ =, µ =03, γ=85 8

30 (a) (b) W m t OTP STP FFS RSS T m t OTP STP FFS RSS t t Fgure 4: Dstrbuton functons (a) W (t) (b) T (t) for λ=09, µ =, µ =03, γ=85 The followng Fgures 5 (λ = 05 and λ = 09 n fgures labelled, respectvely, by letter "a" and "b") and 6 (γ = 5 and γ = 85 n fgures labelled, respectvely, by letter "a" and "b") represent the dscrete dstrbuton functons Θ(n) as a stepped curves for the number of prmary arrvals that wll be drectly served before an orbtng customer reaches the servce area The presented dagrams reveals the followng observatons At pont t = 0 the presented functons equal to the probablty that there are no customers that wll be served drectly As t was mentoned above, ths probablty equals to the probablty W (0) plus some probablty that the orbtng customer wll be served earler then a prmary arrval reaches some server As t to be expected n the system under FFS polcy the orbtng customer passes fewer prmary customers It concdes wth the observaton that the watng tme dstrbuton of an orbtng customer under ths polcy le above other graphs The polces (OTP, STP) turn out to be the worst wth respect to the value of nterest that can be also explaned by the suffcently larger watng tme of a customer under threshold polces n comparson wth others 3 For small load factor ρ (the concrete values are gven n prevous example) the number of drectly served prmary arrvals s qute small, the concrete examples show that almost surely not more then, e Θ (3) > 099 (Fgure 5(a)) and not more then, Θ () > 099 (Fgure 6(a)) prmary arrvals wll be served drectly whle the orbtng customer s watng for the servce As the load factor ncreases, more customers are served drectly, that can be confrmed by the fgures observaton, namely, Θ (7) > 099 (Fgure 5(b)) and Θ (3) > 099 (Fgure 6(b)) 9

31 (a) (b) m n OTP STP FFS RSS n m n OTP STP FFS RSS n Fgure 5: The dstrbuton functon Θ(n) (a) λ = 05 (b) λ = 09 for µ =, µ =03, γ = 5 (a) (b) m n m n OTP STP FFS RSS n 09 OTP STP FFS RSS n Fgure 6: The dstrbuton functon Θ(n) (a) λ = 05 (b) λ = 09 for µ =, µ =03, γ = 85 The next Fgures 7 (λ = 05 and λ = 09 n fgures labelled, respectvely, by letter "a" and "b") and 8 (γ = 5 and γ = 85 n fgures labelled, respectvely, by letter "a" and "b") llustrate the dscrete dstrbuton functons Ψ(n) for the number of retrals made by an orbtng customer untl t reaches the servce area The followng conclusons cam be done by observng the graphs At pont t = 0 the ump of the functons corresponds to the case when no retrals wll be made by a customer and equals to the probablty that the customer wll be served drectly, e Ψ (0) = W (0) As λ and γ ncrease the dstrbutons reveal the heaver tals Under the FFS and RSS control polces the customer makes less retrals as under threshold polces (OTP, STP) because frst two dscplnes mply the shorter watng tme 3 The number of retrals strongly depends on the retral rate In case when γ s small, Fgure 7(a,b), then the number of retrals wth large probablty wll be not very large, eg n ths example Ψ (6) > 099 and Ψ (7) > 099 Otherwse, when γ s large, Fgure 8(a,b), then the number of retral sgnfcantly ncreases, eg Ψ (0) > 096 and Ψ (0) >

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information

Analysis of Discrete Time Queues (Section 4.6)

Analysis of Discrete Time Queues (Section 4.6) Analyss of Dscrete Tme Queues (Secton 4.6) Copyrght 2002, Sanjay K. Bose Tme axs dvded nto slots slot slot boundares Arrvals can only occur at slot boundares Servce to a job can only start at a slot boundary

More information

Equilibrium Analysis of the M/G/1 Queue

Equilibrium Analysis of the M/G/1 Queue Eulbrum nalyss of the M/G/ Queue Copyrght, Sanay K. ose. Mean nalyss usng Resdual Lfe rguments Secton 3.. nalyss usng an Imbedded Marov Chan pproach Secton 3. 3. Method of Supplementary Varables done later!

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS Avalable onlne at http://sck.org J. Math. Comput. Sc. 3 (3), No., 6-3 ISSN: 97-537 COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

More information

Applied Stochastic Processes

Applied Stochastic Processes STAT455/855 Fall 23 Appled Stochastc Processes Fnal Exam, Bref Solutons 1. (15 marks) (a) (7 marks) The dstrbuton of Y s gven by ( ) ( ) y 2 1 5 P (Y y) for y 2, 3,... The above follows because each of

More information

Queueing Networks II Network Performance

Queueing Networks II Network Performance Queueng Networks II Network Performance Davd Tpper Assocate Professor Graduate Telecommuncatons and Networkng Program Unversty of Pttsburgh Sldes 6 Networks of Queues Many communcaton systems must be modeled

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

Introduction to Continuous-Time Markov Chains and Queueing Theory

Introduction to Continuous-Time Markov Chains and Queueing Theory Introducton to Contnuous-Tme Markov Chans and Queueng Theory From DTMC to CTMC p p 1 p 12 1 2 k-1 k p k-1,k p k-1,k k+1 p 1 p 21 p k,k-1 p k,k-1 DTMC 1. Transtons at dscrete tme steps n=,1,2, 2. Past doesn

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

TCOM 501: Networking Theory & Fundamentals. Lecture 7 February 25, 2003 Prof. Yannis A. Korilis

TCOM 501: Networking Theory & Fundamentals. Lecture 7 February 25, 2003 Prof. Yannis A. Korilis TCOM 501: Networkng Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yanns A. Korls 1 7-2 Topcs Open Jackson Networks Network Flows State-Dependent Servce Rates Networks of Transmsson Lnes Klenrock

More information

6. Stochastic processes (2)

6. Stochastic processes (2) Contents Markov processes Brth-death processes Lect6.ppt S-38.45 - Introducton to Teletraffc Theory Sprng 5 Markov process Consder a contnuous-tme and dscrete-state stochastc process X(t) wth state space

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

6. Stochastic processes (2)

6. Stochastic processes (2) 6. Stochastc processes () Lect6.ppt S-38.45 - Introducton to Teletraffc Theory Sprng 5 6. Stochastc processes () Contents Markov processes Brth-death processes 6. Stochastc processes () Markov process

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

Modelli Clamfim Equazione del Calore Lezione ottobre 2014

Modelli Clamfim Equazione del Calore Lezione ottobre 2014 CLAMFIM Bologna Modell 1 @ Clamfm Equazone del Calore Lezone 17 15 ottobre 2014 professor Danele Rtell danele.rtell@unbo.t 1/24? Convoluton The convoluton of two functons g(t) and f(t) s the functon (g

More information

The Feynman path integral

The Feynman path integral The Feynman path ntegral Aprl 3, 205 Hesenberg and Schrödnger pctures The Schrödnger wave functon places the tme dependence of a physcal system n the state, ψ, t, where the state s a vector n Hlbert space

More information

Suggested solutions for the exam in SF2863 Systems Engineering. June 12,

Suggested solutions for the exam in SF2863 Systems Engineering. June 12, Suggested solutons for the exam n SF2863 Systems Engneerng. June 12, 2012 14.00 19.00 Examner: Per Enqvst, phone: 790 62 98 1. We can thnk of the farm as a Jackson network. The strawberry feld s modelled

More information

Markov chains. Definition of a CTMC: [2, page 381] is a continuous time, discrete value random process such that for an infinitesimal

Markov chains. Definition of a CTMC: [2, page 381] is a continuous time, discrete value random process such that for an infinitesimal Markov chans M. Veeraraghavan; March 17, 2004 [Tp: Study the MC, QT, and Lttle s law lectures together: CTMC (MC lecture), M/M/1 queue (QT lecture), Lttle s law lecture (when dervng the mean response tme

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Numerical Heat and Mass Transfer

Numerical Heat and Mass Transfer Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and

More information

Random Walks on Digraphs

Random Walks on Digraphs Random Walks on Dgraphs J. J. P. Veerman October 23, 27 Introducton Let V = {, n} be a vertex set and S a non-negatve row-stochastc matrx (.e. rows sum to ). V and S defne a dgraph G = G(V, S) and a drected

More information

MATH 829: Introduction to Data Mining and Analysis The EM algorithm (part 2)

MATH 829: Introduction to Data Mining and Analysis The EM algorithm (part 2) 1/16 MATH 829: Introducton to Data Mnng and Analyss The EM algorthm (part 2) Domnque Gullot Departments of Mathematcal Scences Unversty of Delaware Aprl 20, 2016 Recall 2/16 We are gven ndependent observatons

More information

Chapter - 2. Distribution System Power Flow Analysis

Chapter - 2. Distribution System Power Flow Analysis Chapter - 2 Dstrbuton System Power Flow Analyss CHAPTER - 2 Radal Dstrbuton System Load Flow 2.1 Introducton Load flow s an mportant tool [66] for analyzng electrcal power system network performance. Load

More information

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems Chapter. Ordnar Dfferental Equaton Boundar Value (BV) Problems In ths chapter we wll learn how to solve ODE boundar value problem. BV ODE s usuall gven wth x beng the ndependent space varable. p( x) q(

More information

Lecture 21: Numerical methods for pricing American type derivatives

Lecture 21: Numerical methods for pricing American type derivatives Lecture 21: Numercal methods for prcng Amercan type dervatves Xaoguang Wang STAT 598W Aprl 10th, 2014 (STAT 598W) Lecture 21 1 / 26 Outlne 1 Fnte Dfference Method Explct Method Penalty Method (STAT 598W)

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011 Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected

More information

CHAPTER III Neural Networks as Associative Memory

CHAPTER III Neural Networks as Associative Memory CHAPTER III Neural Networs as Assocatve Memory Introducton One of the prmary functons of the bran s assocatve memory. We assocate the faces wth names, letters wth sounds, or we can recognze the people

More information

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law: CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

Application of Queuing Theory to Waiting Time of Out-Patients in Hospitals.

Application of Queuing Theory to Waiting Time of Out-Patients in Hospitals. Applcaton of Queung Theory to Watng Tme of Out-Patents n Hosptals. R.A. Adeleke *, O.D. Ogunwale, and O.Y. Hald. Department of Mathematcal Scences, Unversty of Ado-Ekt, Ado-Ekt, Ekt State, Ngera. E-mal:

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

Lectures on Stochastic Stability. Sergey FOSS. Heriot-Watt University. Lecture 5. Monotonicity and Saturation Rule

Lectures on Stochastic Stability. Sergey FOSS. Heriot-Watt University. Lecture 5. Monotonicity and Saturation Rule Lectures on Stochastc Stablty Sergey FOSS Herot-Watt Unversty Lecture 5 Monotoncty and Saturaton Rule Introducton The paper of Loynes [8] was the frst to consder a system (sngle server queue, and, later,

More information

An efficient algorithm for multivariate Maclaurin Newton transformation

An efficient algorithm for multivariate Maclaurin Newton transformation Annales UMCS Informatca AI VIII, 2 2008) 5 14 DOI: 10.2478/v10065-008-0020-6 An effcent algorthm for multvarate Maclaurn Newton transformaton Joanna Kapusta Insttute of Mathematcs and Computer Scence,

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

More information

Hidden Markov Models & The Multivariate Gaussian (10/26/04)

Hidden Markov Models & The Multivariate Gaussian (10/26/04) CS281A/Stat241A: Statstcal Learnng Theory Hdden Markov Models & The Multvarate Gaussan (10/26/04) Lecturer: Mchael I. Jordan Scrbes: Jonathan W. Hu 1 Hdden Markov Models As a bref revew, hdden Markov models

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

9 Characteristic classes

9 Characteristic classes THEODORE VORONOV DIFFERENTIAL GEOMETRY. Sprng 2009 [under constructon] 9 Characterstc classes 9.1 The frst Chern class of a lne bundle Consder a complex vector bundle E B of rank p. We shall construct

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

More information

Beyond Zudilin s Conjectured q-analog of Schmidt s problem

Beyond Zudilin s Conjectured q-analog of Schmidt s problem Beyond Zudln s Conectured q-analog of Schmdt s problem Thotsaporn Ae Thanatpanonda thotsaporn@gmalcom Mathematcs Subect Classfcaton: 11B65 33B99 Abstract Usng the methodology of (rgorous expermental mathematcs

More information

Finite Element Modelling of truss/cable structures

Finite Element Modelling of truss/cable structures Pet Schreurs Endhoven Unversty of echnology Department of Mechancal Engneerng Materals echnology November 3, 214 Fnte Element Modellng of truss/cable structures 1 Fnte Element Analyss of prestressed structures

More information

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl RECURSIVE SPLINE INTERPOLATION METHOD FOR REAL TIME ENGINE CONTROL APPLICATIONS A. Stotsky Volvo Car Corporaton Engne Desgn and Development Dept. 97542, HA1N, SE- 405 31 Gothenburg Sweden. Emal: astotsky@volvocars.com

More information

Maximizing the number of nonnegative subsets

Maximizing the number of nonnegative subsets Maxmzng the number of nonnegatve subsets Noga Alon Hao Huang December 1, 213 Abstract Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what s the maxmum

More information

Convexity preserving interpolation by splines of arbitrary degree

Convexity preserving interpolation by splines of arbitrary degree Computer Scence Journal of Moldova, vol.18, no.1(52), 2010 Convexty preservng nterpolaton by splnes of arbtrary degree Igor Verlan Abstract In the present paper an algorthm of C 2 nterpolaton of dscrete

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Numerical Solution of Ordinary Differential Equations

Numerical Solution of Ordinary Differential Equations Numercal Methods (CENG 00) CHAPTER-VI Numercal Soluton of Ordnar Dfferental Equatons 6 Introducton Dfferental equatons are equatons composed of an unknown functon and ts dervatves The followng are examples

More information

A new Approach for Solving Linear Ordinary Differential Equations

A new Approach for Solving Linear Ordinary Differential Equations , ISSN 974-57X (Onlne), ISSN 974-5718 (Prnt), Vol. ; Issue No. 1; Year 14, Copyrght 13-14 by CESER PUBLICATIONS A new Approach for Solvng Lnear Ordnary Dfferental Equatons Fawz Abdelwahd Department of

More information

VQ widely used in coding speech, image, and video

VQ widely used in coding speech, image, and video at Scalar quantzers are specal cases of vector quantzers (VQ): they are constraned to look at one sample at a tme (memoryless) VQ does not have such constrant better RD perfomance expected Source codng

More information

Lecture 3: Probability Distributions

Lecture 3: Probability Distributions Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the

More information

Lecture 4: November 17, Part 1 Single Buffer Management

Lecture 4: November 17, Part 1 Single Buffer Management Lecturer: Ad Rosén Algorthms for the anagement of Networs Fall 2003-2004 Lecture 4: November 7, 2003 Scrbe: Guy Grebla Part Sngle Buffer anagement In the prevous lecture we taled about the Combned Input

More information

First day August 1, Problems and Solutions

First day August 1, Problems and Solutions FOURTH INTERNATIONAL COMPETITION FOR UNIVERSITY STUDENTS IN MATHEMATICS July 30 August 4, 997, Plovdv, BULGARIA Frst day August, 997 Problems and Solutons Problem. Let {ε n } n= be a sequence of postve

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

The optimal delay of the second test is therefore approximately 210 hours earlier than =2. THE IEC 61508 FORMULAS 223 The optmal delay of the second test s therefore approxmately 210 hours earler than =2. 8.4 The IEC 61508 Formulas IEC 61508-6 provdes approxmaton formulas for the PF for smple

More information

Formal solvers of the RT equation

Formal solvers of the RT equation Formal solvers of the RT equaton Formal RT solvers Runge- Kutta (reference solver) Pskunov N.: 979, Master Thess Long characterstcs (Feautrer scheme) Cannon C.J.: 970, ApJ 6, 55 Short characterstcs (Hermtan

More information

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso Supplement: Proofs and Techncal Detals for The Soluton Path of the Generalzed Lasso Ryan J. Tbshran Jonathan Taylor In ths document we gve supplementary detals to the paper The Soluton Path of the Generalzed

More information

Problem Set 9 - Solutions Due: April 27, 2005

Problem Set 9 - Solutions Due: April 27, 2005 Problem Set - Solutons Due: Aprl 27, 2005. (a) Frst note that spam messages, nvtatons and other e-mal are all ndependent Posson processes, at rates pλ, qλ, and ( p q)λ. The event of the tme T at whch you

More information

A Hybrid Variational Iteration Method for Blasius Equation

A Hybrid Variational Iteration Method for Blasius Equation Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 1 (June 2015), pp. 223-229 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) A Hybrd Varatonal Iteraton Method

More information

Distributions /06. G.Serazzi 05/06 Dimensionamento degli Impianti Informatici distrib - 1

Distributions /06. G.Serazzi 05/06 Dimensionamento degli Impianti Informatici distrib - 1 Dstrbutons 8/03/06 /06 G.Serazz 05/06 Dmensonamento degl Impant Informatc dstrb - outlne densty, dstrbuton, moments unform dstrbuton Posson process, eponental dstrbuton Pareto functon densty and dstrbuton

More information

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS BOUNDEDNESS OF THE IESZ TANSFOM WITH MATIX A WEIGHTS Introducton Let L = L ( n, be the functon space wth norm (ˆ f L = f(x C dx d < For a d d matrx valued functon W : wth W (x postve sem-defnte for all

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

SL n (F ) Equals its Own Derived Group

SL n (F ) Equals its Own Derived Group Internatonal Journal of Algebra, Vol. 2, 2008, no. 12, 585-594 SL n (F ) Equals ts Own Derved Group Jorge Macel BMCC-The Cty Unversty of New York, CUNY 199 Chambers street, New York, NY 10007, USA macel@cms.nyu.edu

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals Smultaneous Optmzaton of Berth Allocaton, Quay Crane Assgnment and Quay Crane Schedulng Problems n Contaner Termnals Necat Aras, Yavuz Türkoğulları, Z. Caner Taşkın, Kuban Altınel Abstract In ths work,

More information

SELECTED PROOFS. DeMorgan s formulas: The first one is clear from Venn diagram, or the following truth table:

SELECTED PROOFS. DeMorgan s formulas: The first one is clear from Venn diagram, or the following truth table: SELECTED PROOFS DeMorgan s formulas: The frst one s clear from Venn dagram, or the followng truth table: A B A B A B Ā B Ā B T T T F F F F T F T F F T F F T T F T F F F F F T T T T The second one can be

More information

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16 STAT 39: MATHEMATICAL COMPUTATIONS I FALL 218 LECTURE 16 1 why teratve methods f we have a lnear system Ax = b where A s very, very large but s ether sparse or structured (eg, banded, Toepltz, banded plus

More information

On a direct solver for linear least squares problems

On a direct solver for linear least squares problems ISSN 2066-6594 Ann. Acad. Rom. Sc. Ser. Math. Appl. Vol. 8, No. 2/2016 On a drect solver for lnear least squares problems Constantn Popa Abstract The Null Space (NS) algorthm s a drect solver for lnear

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

Appendix B. The Finite Difference Scheme

Appendix B. The Finite Difference Scheme 140 APPENDIXES Appendx B. The Fnte Dfference Scheme In ths appendx we present numercal technques whch are used to approxmate solutons of system 3.1 3.3. A comprehensve treatment of theoretcal and mplementaton

More information

ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EQUATION

ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EQUATION Advanced Mathematcal Models & Applcatons Vol.3, No.3, 2018, pp.215-222 ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EUATION

More information

763622S ADVANCED QUANTUM MECHANICS Solution Set 1 Spring c n a n. c n 2 = 1.

763622S ADVANCED QUANTUM MECHANICS Solution Set 1 Spring c n a n. c n 2 = 1. 7636S ADVANCED QUANTUM MECHANICS Soluton Set 1 Sprng 013 1 Warm-up Show that the egenvalues of a Hermtan operator  are real and that the egenkets correspondng to dfferent egenvalues are orthogonal (b)

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Time-Varying Systems and Computations Lecture 6

Time-Varying Systems and Computations Lecture 6 Tme-Varyng Systems and Computatons Lecture 6 Klaus Depold 14. Januar 2014 The Kalman Flter The Kalman estmaton flter attempts to estmate the actual state of an unknown dscrete dynamcal system, gven nosy

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

COS 521: Advanced Algorithms Game Theory and Linear Programming

COS 521: Advanced Algorithms Game Theory and Linear Programming COS 521: Advanced Algorthms Game Theory and Lnear Programmng Moses Charkar February 27, 2013 In these notes, we ntroduce some basc concepts n game theory and lnear programmng (LP). We show a connecton

More information

Continuous Time Markov Chain

Continuous Time Markov Chain Contnuous Tme Markov Chan Hu Jn Department of Electroncs and Communcaton Engneerng Hanyang Unversty ERICA Campus Contents Contnuous tme Markov Chan (CTMC) Propertes of sojourn tme Relatons Transton probablty

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS IJRRAS 8 (3 September 011 www.arpapress.com/volumes/vol8issue3/ijrras_8_3_08.pdf NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS H.O. Bakodah Dept. of Mathematc

More information

Continuous Time Markov Chains

Continuous Time Markov Chains Contnuous Tme Markov Chans Brth and Death Processes,Transton Probablty Functon, Kolmogorov Equatons, Lmtng Probabltes, Unformzaton Chapter 6 1 Markovan Processes State Space Parameter Space (Tme) Dscrete

More information

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models Computaton of Hgher Order Moments from Two Multnomal Overdsperson Lkelhood Models BY J. T. NEWCOMER, N. K. NEERCHAL Department of Mathematcs and Statstcs, Unversty of Maryland, Baltmore County, Baltmore,

More information

Hidden Markov Models

Hidden Markov Models Hdden Markov Models Namrata Vaswan, Iowa State Unversty Aprl 24, 204 Hdden Markov Model Defntons and Examples Defntons:. A hdden Markov model (HMM) refers to a set of hdden states X 0, X,..., X t,...,

More information

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS HCMC Unversty of Pedagogy Thong Nguyen Huu et al. A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS Thong Nguyen Huu and Hao Tran Van Department of mathematcs-nformaton,

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information