Eindhoven University of Technology BACHELOR. Queueing models involving cross-selling. Kisters, Thijs. Award date: Link to publication

Size: px
Start display at page:

Download "Eindhoven University of Technology BACHELOR. Queueing models involving cross-selling. Kisters, Thijs. Award date: Link to publication"

Transcription

1 Eindhoven University of Technology BACHELOR Queueing models involving cross-selling Kisters, Thijs Award date: 2017 Link to publication Disclaimer This document contains a student thesis bachelor's or master's, as authored by a student at Eindhoven University of Technology. Student theses are made available in the TU/e repository upon obtaining the required degree. The grade received is not published on the document as presented in the repository. The required complexity or quality of research of student theses may vary by program, and the required minimum study period may vary in duration. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain

2 Bachelor Final Project 2WH40 Queueing Models Involving Cross-Selling Author: Thijs Kisters Supervisor: Onno Boxma July 11, 2017

3 Contents 1 Introduction 2 2 Literature study Paper of Armony et al. [1] Model description Probability generating functions Matrix geometric method Paper of Boxma et al. [2] Model with customer types involving cross-selling Model description Balance equations Finding the probability generating functions Results obtained from PGFs M/M/1 queue with service time depending on waiting time Approach Applying level crossing to the model Conclusion and recommendations 19 Department of Mathematics and Computer Science 1

4 1 Introduction Cross-selling is a phenomenon in marketing which involves companies trying to sell their customers additional things after they have already bought something. In this report, we will look at several models involving the concept of cross-selling. We will not look at companies as a whole here, but for example at cashiers in a store trying to sell extra things to the customers that they have just served. We will see that it might be beneficial to only apply cross-selling when the length of the queue is smaller than some fixed value. In section 2 we will study some papers in which models are analysed which involve cross-selling. Next, in section 3 we analyse a model ourselves which is based on one of the models from section 2 and therefore also involves cross-selling. After this, in section 4 we look at a model which has some elements of cross-selling in it, but differs from the models that were discussed before, since we now look at the waiting time instead of the queue length. Finally, in section 5 we draw some conclusions about what was discussed in this report and give some recommendations for further research. 2 Literature study In this section we analyse two papers, which discuss models that involve cross-selling in some way, to hopefully get a better mathematical understanding on the concept of cross-selling. 2.1 Paper of Armony et al. [1] Model description Armony et al. [1] introduce the following model. They consider a multiserver queueing system where N parallel servers are present and where at each server the arrival process is a Poisson process with parameter λ. Every customer can encounter two potential phases. First we have phase 1, which lasts an exponentially distributed time with mean 1 µ. After completing this phase, a customer will either become a cross-selling candidate with probability p or he will completely leave the system with probability q = 1 p. If the customer is picked to be offered a cross-selling deal, he enters phase 2. In this phase he then spends again an exponentially distributed time, but this time with mean 1. Next they denote the number of customers at time t in phase 1 by L 1 t and the number of customers at time t in phase 2, which is the cross-selling phase, by L 2 t. Furthermore, let L q t be the queue length at time t and Lt = L q t L 1 t L 2 t the total number of customers in the system at time t. They then prove that it is sufficient to describe the whole system with the two-dimensional state-space L 2, L. After this, they introduce a threshold T 1, which denotes whether a customer that completed phase 1 and is chosen to be a cross-selling candidate actually enters phase 2. Namely, if the total number of people is less than or equal to this threshold, meaning L T, then the cross-selling candidate will enter the cross-selling phase. If L > T, meaning the total number of customers exceeds the threshold T, then the cross-selling candidate will not enter phase 2 and will simply leave the system. This T may be greater than the number of servers, which means that cross-selling will be initiated if L q T N. In a similar fashion, if T is less than or equal to N then we initiate cross-selling if the number of idle servers is greater than N T. The continuous time Markov chain L 2 t, Lt using this threshold is then further analysed Probability generating functions Armony et al. [1] then proceed to derive the steady-state distribution of the two-dimensional process mentioned above. They define this steady-state distribution by P jm = lim PL 2 t = j, Lt = m. Also, they assume t λ < Nµ, since this is apparently the stability condition for this system. To derive the steady-state distribution, they first find the balance equations for the steady-state probabilities. They divide these equations in the cases j = 0, 1 j N 1 and j = N. We will omit these equations as they are quite lengthy, but we will give the equations which are the result of multiplying these balance equations for P jm by z m and then summing them over m. Before they do this they first introduce the conditional probability generating function PGF of the number of customers in the system. This PGF is given for each j = 0, 1, 2,... N by G j z = P jm z m. m=j By multiplying the equations with z m and then summing them over m we get for j = 0: Department of Mathematics and Computer Science 2

5 N mp 0m z m1 qµ N 1 µ λz Nµ1 zg 0 z G 1 z = N T T mp 0m z m Nqµ P 0m z m Nµ P 0m z m. m=1 m=n1 1 For j = 1,..., N 1 we get: λz N jµ1 z jzg j z j 1G j1 z = N 1 T N mp jm z m1 pµ m j 1P j 1,m z m1 N j 1pµ p j 1,m z m1 N 1 µ m=j N 1 qµ m=j m j 1P j,m1 z m1 N jqµ m=j T 1 m=n mn P j,m1 z m1 N jµ T P jm z m. m=j 2 Finally, for j = N we have: λ1 z NG N z = pµ T m=n P N 1,m z m. 3 Next, Armony et al. [1] try to solve this system of equations for each G j z by first writing it as Az Gz = bz, where Gz = G 0 z, G 1 z,..., G N z T, which are the PGF s that we want to find and α 0 z α 1 z 2 0. Az = 0 0 α 2 z , αn 1 z N α N z where α j z = λz N jµ1 z jz for j = 0, 1,..., N 1 and α N z = λ1 z N. For the elements of bz we have: N 1 b 0 z = µ N mp 0m z m1 qµ For j = 1,..., N 1 the elements are N mp 0m z m Nqµ m=1 T m=n1 P 0m z m Nµ T P 0m z m. 5 N 1 N 1 b j z = µ N mp jm z m1 pµ m j 1P j 1,m z m1 N j 1pµ m=j N 1 qµ m=j m j 1P j,m1 z m1 N jqµ m=j T 1 m=n T m=n P j,m1 z m1 N jµ p j 1,m z m1 T P jm z m, m=j 6 and finally T b N z = pµ P N 1,m z m. 7 This means that the elements of bz are precisely the right hand sides of 1, 2 and 3 respectively. m=n To now solve Az Gz = bz, where Az, Gz and bz are as above, Armony et al. [1] use Cramer s rule, which gives G j z = Ajz Az. Here A is the determinant of the matrix A and A jz is the matrix which can be found by replacing the j-th column of Az by bz. In bz there are many unknown probabilities P jm to be precise 1 2 N 12T 2 N of them, which are Department of Mathematics and Computer Science 3

6 thus also contained in A j z. To find all of these probabilities Armony et al. [1] build a system of equations to solve them. However, just using the balance equations that we omitted from this summary does not give enough equations as we also need 1 2 N 12T 2 N equations to solve that many unknowns, which is why they use a few methods to find the remaining equations. As these methods are not really relevant for us, we will not go into very many details of how to find these remaining equations. Since G j z is a PDF defined for all 0 z 1, they note that each root of Az is a root of A j z in that interval. Furthermore they note that Az = N α j z. They find that for j = 1,..., N 1 each α j z is a j=0 quadratic polynomial with only one of the roots in 0, 1, call this root z j,1, while α 0 z and α N z have no roots in 0, 1. By then writing A j z j,1 = 0 for j = 1, 2,..., N 1 they find N 1 more equations in terms of the unknown probabilities P jm. The last equation is found by applying so called diagonal cuts to seperate {0, m, 1, m 1,..., N, m N} from the states {0, m 1, 1, m 2,..., N, m N 1}. We will not elaborate on this method any further, but eventually this yields the last desired equation. After having found enough equations, Armony et al. [1] are able to solve the linear system, which gives us all the P jm that were needed to find bz as well as A j z. Now we found A j z, we can calculate G j z = Ajz Az. Next Armony et al. [1] find the marginal probability of having j customers in the cross-selling, namely P j. They do this by first substituting z = 1 in 1 which gives for j = 1 the expression P 1 = b01. Also, by substituting z = 1 in equation 2 we get for j = 2 the expression P 2 = b11 P1 2 = 1 2 b 01 b 1 1. Doing this for all 1 j N we achieve P j = 1 j 1 j b i 1. As the sum of the probabilities is 1 we furthermore get P 0 = 1 N P j. j=1 i=0 Apparently, by summing the equations 1, 2 and 3 over all j and then substituting z = 1, the left hand side becomes zero, which means that the right hand also has to be zero. This results in N b i 1 = 0. We use this to write the above expression for P j as follows: P j = 1 j N b i 1 for j = 1,..., N. After this, Armony et al. [1] also derive the PGFs G j z for j = 0, 1,... N. They do not use the formula which was achieved from Cramer s rule, but they instead use the system Az Gz = bz. Namely from 4 and this system we find i=j G N z = b Nz α N z, 8 G j z = 1 α j z b jz j 1G j1 z, j = 0, 1,..., N 1. 9 Using the recursion found in 9 with starting point 8 we then find the PGFs for j = 0, 1,... N: N j G N j z = 1 N i! N b N i z α i z N j! j i α k z. 10 Here they define N k=n1 = 1. i=n j i=0 k=n i1 Finally, Armony et al. [1] also compute the mean queue length of the system. For this, they first take the marginal probability P m of having m customers in the system, meaning P m = PL = m. We can calculate this P m for m = 0, 1,..., N 1 by the formula P m = m P jm and for m N we have P m = N P jm. Armony et al. [1] also note that the mean number of customers which are in cross-selling is given by E[L 2 ] = N N jp j, where P j = 1 j b i 1 for j = 1,..., N, as was seen above. j=1 Next they define E[L j ] = i=j m=j j=0 mp jm for j = 0, 1,..., N. They then state that E[L j ] = d dz G jz z=1, which is quite obvious. By then summing over all j we get E[L], the mean number of customers in the system: E[L] = N E[L j ] = N d dz G jz z=1 = mp m. Armony et al. [1] then calculates the derivatives of G j z j=0 j=0 i=0 j=0 Department of Mathematics and Computer Science 4

7 explicitly, but we will not do that here, as it does not add much to the idea on how to find E[L]. Finally, they also give a formula for the mean number of waiting customers in the system, which is given by E[L q ] = E[L] N N N mp m Matrix geometric method After using PGFs to find the steady-state distribution P jm, Armony et al. [1] also use a different approach to analyse the model given in section Namely, they first construct a quasi birth and death QBD process, after which they use the matrix geometric method to further solve this. The matrix geometric method is another way to analyse the M/M/1 queue or birth and death processes, using matrices. Since we will not use this method to solve any further problems in this report, we will only give a brief overview of this method without going into very much detail. First they find the infinitesimal generator of the earlier mentioned QBD, which is very large and will therefore be left out. Next they describe, like in the method with the PDFs, how the probabilities P jm can be found, which is by solving a system of linear equations. Using these probabilities the mean queue length can again be found. Department of Mathematics and Computer Science 5

8 2.2 Paper of Boxma et al. [2] The paper of Boxma et al. [2] is not on cross-selling, but the authors apply the main results of the paper to some special cases of which some lie close to the concept of cross-selling. Therefore, it is worthwhile to discuss the paper in this report. Boxma et al. [2] introduce the following model. Let {X n, n = 0, 1,... } be a one-dimensional Markov chain, where X 0 = 0, { maxx n 1 n, 0 if X n 1 > a, X n = maxx n 1 η n m, 0 if X n 1 = m, m = 0,..., a. 11 Here a is a nonnegative integer and { n } and {ηn m }, m = 0,..., a are independent sequences of independent integer-valued random variables, which are identically distributed within each sequence. Next, Boxma et al. [2] try to find the limiting distribution of this model given by p k = lim PX n = k, k = n 0, 1,.... Since they also assume that E[ 1 ] < 0 and that the Markov chain is irreducible and aperiodic, this limiting distribution exists. Next, they derive expressions for PX n = 0 and PX n = k, k = 1, 2,.... We will not give these equations here, but we will give the result of multiplying these equations by z k and then summing them over k. First we introduce an expression for the probability generating function for PX n = k, namely P n z = z k PX n = k, where z 1. By multiplying the equations with z k and summing them over k we get P n z = a m=a1 PX n 1 = mpη m n m < 0 12 z k PX n 1 = mp n m < 0 a k=0 z k k=0 m=a1 PX n 1 = mpη m n = k m PX n 1 = mp n = k m Next, they introduce the following notation for any D {..., 1, 0, 1,... } and for an arbitrary function of the form k= a k z k : Using 13 to rewrite 12 gives [ k= k=0 a k z k] D = a k z k 13 k D P n z = [P n 1 zfz] [0, 14 a PX n 1 = m z k {Pη n m = k m P n = k m} a k=0 PX n 1 = m{pη m n m < 0 P n m < 0} PX n 1 = mp n m < 0. Here fz is the probability generating function of the distribution of n. Department of Mathematics and Computer Science 6

9 Now we let n and we introduce P z = lim n P nz, z 1, 15 lz = [P zfz], 1], z 1, q m z = Pη m 1 m < 0 P 1 m < 0 z m [g m z fz] [ m,, m = 0, 1,..., a, z 1, where g m z is the probability generating function of the distribution of η m n. Applying 15 to 14 gives for z = 1 P z1 fz = a p m q m z l1 lz. 16 Boxma et al. [2] then find the standard Wiener-Hopf factorization of the factor 1 fz, so where 1 fz = R zr z, 17 R z = 1 E[z χ ν < ], z 1, 18 R z = 1 E[z χ ], z Here they define ν as the first weak ascending ladder index, so ν = min{n 1 : 1 n 0} and they define ν as the first descending ladder index, so ν = min{n 1 : 1 n < 0}. Also, χ = 1 ν, χ = 1 ν. Since apparently both sides of 16 vanish for z = 1 and since R 1 = 0, we define R z = R z 1 z and get from 16 that q mz P zr z = a l1 lz p m h m z 1 z R z, 20 where h m z = 1 z R. Boxma et al. [2] then give some arguments why P zr z z S0,, R z 1 S, 1 and R z S, 1, where Ss, t denotes the set of all convergent power series of the form t b k z k, z = 1, where s, t are arbitrary integers with s t. We will not go in further detail about these k=s arguments. They also state that ψz := l1 lz 1 z R S, 0, but we will not further elaborate on why this z is true. We then write c := ψ and apply Liouville s theorem to 20 to get which can be rewritten to get a P zr z = p m [h m z] [0, c, z 1, 21 a p m [h m z],1] l1 lz 1 z R c = 0, z z Boxma et al. [2] prove that 22 can be deduced from 21 and that summing up 21 and 22 gives 20, meaning that 20 and 21 are equivalent. However, we will not give this proof here, since it is not really relevant to this report. After this proof, they state that the main result of their paper is basically 21, namely for z 1 P z = a p m R 1 z[h m z] [0, cr 1 z. 23 Department of Mathematics and Computer Science 7

10 They also show how the values for p m, m = 0,..., a can be obtained, since these are still unknown, but we will again not include this in this report. Next, they dedicate a section of their paper to the asymptotics of the steady-state probabilities p k for k. Since this analysis is not relevant for our research, we will omit this section from the summary of this paper. However, what we are interested in is the next section, which is devoted to some applications of the results that were found earlier. We will mention two of these applications, since these somewhat resemble cross-selling models. The first application that is somewhat interesting to us is the case where a = 0, fz = B λ1 z z and g 0 z = B λ1 z. Here B λ1 z is the generating function of the number of Poisson V λ1 z V λ z1 V λ events with rate λ that take place during a length of time which is distributed according to B with mean E[B] and Laplace-Stieltjes Transform LST B. Namely, if we take these particular choices we get a model that apparently corresponds to an M/G/1 queue with multiple server vacations, where the vacation times have LST V. Server vacations can be interpreted as some extra service which is given to customers if the queue length is smaller than or equal to some value in this case this value is 0. We also see this phenomenon when looking at cross-selling, where people get an extra service if the queue length is smaller than some value, which is why this case is interesting to us. Boxma et al. [2] deduce a formula for P z by using the aforementioned chosen parameters which is given by P z = 1 ρ1 zb λ1 z B λ1 z z 1 V λ1 z. 24 λe[v ]1 z Next, we look at another application given in the paper, which also has similarities to cross-selling and therefore has our interest. In this application we take fz = B a λ1 z z, g 0 z = Bb λ1 z and g mz = B b λ1 z z, m = 1,..., a. This apparently corresponds to an M/G/1 queue with service time distribution B a with LST Ba if the last departing customer leaves more than a customers behind and service time distribution B b with LST Bb otherwise. P z will be the PDF of the queue length distribution, right after departures events. Boxma et al. [2] note that, like in the ordinary M/G/1 queue, the queue length distribution after a departure event is the same as before an arrival event and that it is also the same as the steady-state queue length distribution. This can be proven using an up- and downcrossing approach and PASTA Poisson Arrivals See Time Averages, but we will not go into any further detail about this. This result implies that this model basically represents the concept of cross-selling, since there we also change the service time distribution depending on the current queue length. This model is somewhat different to the model described by Armony et al. [1], since they take two exponentially distributed service times, whereas here we consider the more general case. Also, in their model they account for the number of customers that are in cross-selling, as well as the total number of customers in the system, which is not the case here. Boxma et al. [2] use the choices of the parameters mentioned above to derive an expression for P z for this particular model which is given by 1 z P z = p Baλ1 0 B z z aλ B aλ1 z zbb λ1 z 1 z a p m z m B aλ1 z Bb λ1 z c z m=1 They then again describe how the unknown constants p 0,..., p a and c can be determined in this case, but we will omit this from this report. Department of Mathematics and Computer Science 8

11 3 Model with customer types involving cross-selling In this section we will look at a different model with cross-selling, which has some similarities to the model that Armony et al. [1] used, but does not involve the number of people that are currently in the cross-selling phase. 3.1 Model description We will first describe the model we use. We consider a single server queuing system, where the arrival process is a Poisson process with parameter λ. At the arrival of a new customer, it is determined of which type the customer will be. With probability p the customer will be of type 1, which means that he will be a cross-selling customer. This results in him lasting an exponentially distributed time with mean 1 µ in the regular service phase, after which he enters the cross-selling phase, which also lasts an exponentially distributed time, but now with mean 1. After the cross-selling phase, the customer leaves the system. Once he enters this cross-selling phase, he will become a customer of type 2. With probability 1 p the customer will be of type 0, meaning that he is a regular customer. This means he will only enter the regular service phase, which lasts an exponentially distributed time with mean 1 µ, after which he leaves the system. We will describe this system with the two-dimensional state space X w, S. Here X w is the total number of customers in the system on an arbitrary moment and can thus take values in {0, 1, 2,... }. S is the type of the customer that is currently being served, meaning that S can take the values 0, 1 or 2 as seen above. 3.2 Balance equations We would like to find the steady-state distribution of this two-dimensional process X w, S. We will define this steady-state distribution as q n,j := PX w = n, S = j. Using this definition we can find several balance equations for the steady-state probabilities. For n = 0 we have: λq 0 = µq 1,0 q 1,2, 26 where q 0 = PX w = 0, as we cannot speak of a type of customer in service if there are no customers in the system. For n = 1 we have: j = 0 : λ µq 1,0 = 1 pλq 0 1 pµq 2,0 1 pq 2,2 27 j = 1 : λ µq 1,1 = pλq 0 pµq 2,0 pq 2,2 28 For n 2 we have j = 2 : λ q 1,2 = µq 1,1. 29 j = 0 : λ µq n,0 = λq n 1,0 1 pµq n1,0 1 pq n1,2 30 j = 1 : λ µq n,1 = λq n 1,1 pµq n1,0 pq n1,2 31 j = 2 : λ q n,2 = λq n 1,2 µq n, Finding the probability generating functions We will now do the same procedure as Armony et al. [1] did in their paper. Namely, we will multiply the equations 27, 28, 29, 30, 31 and 32 by z n on both sides and then sum them over n. However, before we do this, first define the probability generating function PGF of the q n,j, which is given by G j z = q n,j z n, for j = 0, 1, 2. Now we multiply the equation 30 by z n and then sum it over n, together with 27, to obtain the following Department of Mathematics and Computer Science 9

12 equation for j = 0: so hence λ µ q n,0 z n = λ1 pq 0 z λ q n 1,0 z n 1 pµ q n1,0 z n 1 p q n1,2 z n, 33 n=2 λ µg 0 z = λ1 pq 0 z λzg 0 z 1 pµ G 0 z q 1,0 z z 1 p G 2 z q 1,2 z, 34 z λz1 z µz 1 pµg 0 z 1 pg 2 z = λ1 pq 0 z 2 1 pq 1,0 zµ 1 pq 1,2 z. 35 To obtain 34 from 33, we shifted some of the indices and then used the formula G j z = q n,j z n. To then get 35, we collected all of the similar terms and also multiplied by z. We can further simplify equation 35 by using equation 26, which gives us: λz1 z µz 1 pµg 0 z 1 pg 2 z = λ1 pzz 1q Now we do the same thing for equation 31, together with 28, which gives the following equation for j = 1: so hence λ µ q n,1 z n = λpq 0 z λ q n 1,1 z n pµ q n1,0 z n p q n1,2 z n, 37 n=2 λ µg 1 z = λpq 0 z λzg 1 z pµ z G 0z q 1,0 z p z G 2z q 1,2 z, 38 λz1 z µzg 1 z pµg 0 z pg 2 z = λpq 0 z 2 pµq 1,0 z pq 1,2 z. 39 To obtain 38 from 37, we again shifted some of the indices and we again used the formula G j z = q n,j z n. To obtain 39, we collected all of the similar terms and also multiplied by z. We can again further simplify equation 39 by using equation 26, which gives us: λz1 z µzg 1 z pµg 0 z pg 2 z = λpzz 1q Lastly, to obtain the equation for j = 2, we multiply 32 by z n and together with 29 this gives: yielding and finally λ q n,2 z n = λ q n 1,2 z n µ q n,1 z n, 41 n=2 λ G 2 z = λzg 2 z µg 1 z, 42 λ1 z G 2 z µg 1 z = To obtain 41 from 42, we shifted some indices and used the formula G j z = q n,j z n. To then get 43, we collected all of the similar terms. Now we will solve the system of equations formed by the results of equations 36, 40 and 43 for G 0 z, G 1 z and G 2 z. We can rewrite equation 43 as: λ1 z G 1 z = G 2 z. 44 µ Department of Mathematics and Computer Science 10

13 Similarly, we can rewrite equation 36 as: G 0 z = 1 p λz1 z µz 1 pµ G λ1 pzz 1q 0 2z λz1 z µz 1 pµ. 45 Now we will substitute equations 45 and 44 into equation 40 to get: We can simplify 46 to get: λz1 z µzλ1 z p1 pµ G 2 z µ λz1 z µz 1 pµ G 2z pµλ1 pzz 1q 0 λz1 z µz 1 pµ pg 2z = λpzz 1q G 2 z = λµpzz 1q 0λz1 z µz 1 pµ λpµ 2 1 pzz 1q 0, 47 Az where Az = λz1 zµzλ1 zλz1 zµz 1 pµ p1 pµ 2 pµλz1 zµz 1 pµ. Equation 47 can again be simplified to obtain: G 2 z = λµpzq 0 µ λz λλz 1z µ1 z p. 48 Since we now have an expressions for G 2 z, we can use this together with equations 44 and 45 to find expression for G 1 z and G 0 z respectively. Substituting 48 in 44 gives: which can be simplified to G 1 z = λ1 z µ G 1 z = Similarly, we can substitute 48 in 45 to obtain: λµpzq 0 µ λz λλz 1z µ1 z p, 49 λpzq 0 λ1 z µ λz λλz 1z µ1 z p. 50 G 0 z = 1 p λz1 z µz 1 pµ λµpzq 0 µ λz λλz 1z µ1 z p λ1 pzz 1q 0 λz1 z µz 1 pµ, 51 which can be simplified to G 0 z = λ1 pzq 0 λ1 z µ λz λλz 1z µ1 z p. 52 We have now found expressions for G 0 z, G 1 z and G 2 z in equations 52, 50 and 48 respectively. However, there is still an unknown parameter in these equations, namely q 0. Since we know the sum of all q n,j should be equal to 1, we know that q 0 G 0 1 G 1 1 G 2 1 = 1. Using this we get which can be solved for q 0 to get λq 0 µp µ λ λµp = 1 q 0, 53 q 0 = 1 λ µ λp. 54 This probability q 0 can be interpreted as the fraction of the time that the server is not busy. This fraction is usually denoted as 1 ρ, where ρ is the fraction of the time that the server is occupied. Since q 0 = 1 λ µ λp = 1 ρ, we get that ρ = λ µ λp. Also, we know that the stability condition of an M/G/1 queue is given by ρ < 1, which in this case results in λ µ λp < 1. Armony et al. [1, p. 14] further support this result, where in this case N = 1. Department of Mathematics and Computer Science 11

14 Substituting 54 into 52, 50 and 48 gives G 0 z = G 1 z = G 2 z = λ1 pzλ1 z 1 λ µ λp µ λz λλz 1z µ1 z p, 55 λpzλ1 z 1 λ µ λp µ λz λλz 1z µ1 z p, 56 λµpz1 λ µ λp µ λz λλz 1z µ1 z p. 57 Since G 0 z, G 1 z and G 2 z are probability generating functions, their power series have to converge absolutely at least for z 1, i.e. be analytical on the domain z 1. To prove that this is indeed true, we prove that the poles of G 0 z G 1 z and G 2 z lie outside the unit circle. Let gz be the denominator of G 0 z, G 1 z and G 2 z they all have the same denominator. Rearranging the terms of gz gives gz = λ 2 z 2 λ λ 2 λµz µ λµ1 p. 58 Since gz is quadratic in z, we know that it will have 2 roots. We prove that these roots are real and are greater than 1. First we check what value gz has for z = 1. g1 = λ 2 λ λ 2 λµ µ λµ1 p = µ λ λµp 59 > λ λµp λ λµp = 0. To get the inequality in 59, we used the stability condition λ µ λp see that g1 > 0. In addition to this, we also see that lim z ± λµp < 1 and rewrote it to µ > λ. So we gz =, since if z goes to plus or minus infinity then gz will behave as λ 2 z 2, which goes to infinity if z goes to plus or minus infinity. Next, we check the value of gz in z = µ λ. µ g = λ 2 µ λ λ 2 λ λ 2 λµ µ µ λµ1 p λ = µ 2 µ λµ µ 2 µ λµ1 p 60 = λµp < 0. To get the inequality in 60, we use that λ,, µ and p are greater than 0. We see that µ λ > 1, since by the stability condition we have λ µ < 1 λp µ λ > 1 = 1 λp λp > = 1. Since g1 > 0 and g µ λ < 0, we know that g must have a real root in the interval 1, µ λ. Also, since we stated earlier that lim gz =, g must also have a real root in the interval µ z ± λ,. g will only have two roots since it is quadratic in z and we found that these both are real and lie outside the unit circle. This proves that G 0 z, G 1 z and G 2 z are indeed analytical on the domain z 1. Now that we proved that G 0 z, G 1 z and G 2 z are indeed probability generating functions, we can try to rewrite 55, 56 and 57 so that we can deduce specific expressions for the probabilities q n,j, for n = 1, 2,... and j = 0, 1, 2. Let z 1 and z 2 be the roots of gz given in 58. We proved that both of these roots lie outside the unit circle. Using the quadratic formula on gz we find that z 1 = λ µ λ µ 2 4µ λ1 p 2λ z 2 = λ µ λ µ 2 4µ λ1 p. 62 2λ 61 Department of Mathematics and Computer Science 12

15 This means that gz = λ 2 z z 1 z z 2. We can now use partial fraction decomposition on G 0 z, G 1 z and G 2 z to rewrite them as follows. For G 0 z we get that G 0 z = 1 p1 λ µ λp Bz 1 Az 2 1 λ 2 z z 1 z 1 z 2 Bz 2 Az 2 2 λ 2 z z 2 z 1 z 2, 63 where A = λ 2 1 p1 λ µ λp and B = λ1 pλ 1 λ µ λp. This can be rewritten to G 0 z = 1 p 1 λ µ λp 1 p 1 λ µ λp λz 1 1 λz 1 z 2 Since 1 1 x = n=0 1 p 1 λ µ λp λz 1 z 2 x n for x 1, we get that G 0 z = 1 p 1 λ µ λp 1 p 1 λ µ λp λz 1 z 2 λ1 z 2 1 p λ1 z z z 2. 1 λ µ λp λz 1 z 2 n z. n=0 z 2 λz z z 1 64 n z 65 This expression will only converge for z z 1, since z 1 z 2 by the way we defined z 1 and z 2. We see that the first term in 65 cancels the n = 0 terms of both sums together, meaning that 65 reduces to G 0 z = 1 p 1 p 1 λ µ λp λz 1 z 2 1 λ µ λp λz 1 z 2 λz 1 1 λ1 z 2 which according to the definition of G j z implies that for n = 1, 2,... q n,0 = 1 p 1 λ µ λp λz 1 z 2 λz 1 1 n 1 1 p z 1 n=0 z 1 n z 66 z 1 n z, 1 λ µ λp z 2 λz 1 z 2 λ1 z 2 n z 2 We can use a similar approach to rewrite G 1 z and G 2 z to get q n,1 and q n,2 respectively. For G 1 z we get that p 1 λ µ λp λz 1 1 n z G 1 z = 68 meaning that for n = 1, 2,... p 1 λ µ λp q n,1 = λz 1 z 2 p 1 λ µ λp λz 1 1 λz 1 z 2 λ1 z 2 λz 1 z 2 n 1 p z 1 z 1 n z, 1 λ µ λp z 2 λ1 z 2 λz 1 z 2 n z 2 For G 2 z we get that G 2 z = µp 1 λ µ λp z 1 µp λz z 1 z 1 z 2 z 2 1 λ µ λp λz z 2 z 1 z 2, 70 Department of Mathematics and Computer Science 13

16 which eventually yields and thus for n = 1, 2,... µp 1 λ µ λp n z n z G 2 z =, 71 λz 1 z 2 µp 1 λ µ λp q n,2 = λz 1 z 2 z 2 z 1 n n z 2 z Results obtained from PGFs Now, using the formulas for G 0 z, G 1 z and G 2 z found in 55, 56 and 57, we can calculate several properties of the system. For example, from Armony et al. [1, p. 9], we know that the mean total number of customers in the system E[L] can be found by using the formula E[L] = E[L 0 ] E[L 1 ] E[L 2 ], where E[L j ] = d dz G jz z=1. Using this formula on the expressions from 55, 56 and 57 we get E[L] = d dz G 0z z=1 d dz G 1z z=1 d dz G 2z z=1 = λ1 p2 λpλ λ µ λµp = λpλ µ λµp1 p 2. λ µ λµp λp2 λpλ λ µ λµp λpλ2 µ λµ1 p λ µ λµp 73 It might be nice to compare the formula of the mean queue length given in 73 to some of the results from Armony et al. [1], in particular their result for the mean queue length. To be able to compare these two results, we will choose N = 1 in the paper of Armony et al. [1]. In 8 and 9 formulas are given for G N z and G j z j = 0, 1,..., N 1 respectively. Plugging in N = 1 gives us the expressions for G 1 z and G 0 z. To find the complete expression for these PGFs, we need to derive the unknown probabilities P jm with j = 0, 1 and m = j, j 1,..., T. This gives us 2T 1 unknown variables. As described in section 2.1.2, we can find these unknowns by solving a system of linear equations of size 2T 1. We will again not include these equations and we will also omit how we solved these for the P jm, as the expressions become very large even for small values of T. We will only include the formula for E[L] for T = 1, since for T 2 the expressions for E[L] become quite large and the formula for T = 1 should still be sufficient to compare the mean queue lengths of both models. By using that E[L] = N d dz G jz z=1 we find for T = 1 that j=0 E[L] = λ 3 µ λ 2 pµµ λ pλλ 2 2λµ 2µ 2 2 pλ 2 µ 2 λµ1 2p µµ λ λpλ µ1 p λ pµ Before we compare the expressions in 73 and 74, we will give a global overview of some of the differences and similarities of the two models. In the model of Armony et al. [1] customers can only enter a cross-selling phase if the total number of customers in the system is less than or equal to T, whereas in the model described in section 3.1 the total number of customers in the system does not influence the fact if a customer can become a cross-selling candidate or not. Furthermore we see that the stability condition of both models differ a bit. Namely, for the model of Armony et al. [1] the stability condition is given by λ < µ, for N = 1, while the stability condition of the other model is given by λ µ λp < 1. We can see from these conditions that the model from section 3.1 is a lot more sensitive for a change in the values, then the other one, as the stability condition depends on. This will also reflect in the mean queue lengths, which we will see later on. Now we look at the expressions in 73 and 74 itself to see if we can predict the behaviour of both formulas. If tends to 0, then both of the mean queue lengths will go to infinity, because of the factor in the denominator. Also, if tends to infinity, then both formulas reduce to λ µ, which is the mean queue length of the standard 1 λ µ M/M/1 queue, which we will mention again a bit later on. Letting λ go to 0 will in both cases result in a mean queue length of 0, because of the factor λ in the numerator. However if λ and µ are very close together then the mean queue length in 74 grows very large, if λ < µ which as we know is the stability condition for N = 1, while for the expression in 73 this is not necessarily the case. Namely, for this model the stability condition is given by λ µ λp < 1 as mentioned before, meaning that λ and µ can not lie too close together, since this would make the system unstable. Department of Mathematics and Computer Science 14

17 To confirm some of these beliefs and to further investigate both expressions, we will analyse them numerically by filling in values for the parameters for which both systems are stable. For convenience we call the mean queue length for the model of Armony et al. [1] E[L a ] so the formula in 74 and the mean queue length of the other model we call E[L b ] so the formula in 73. First we take the parameters λ = 1, µ = 2, p = 0.5 and we let vary. This gives the following table: values of E[L a ] E[L b ] Table 1: λ = 1, p = 0.5, µ = 2, varying Interestingly, if we increase, we see that E[L a ] increases, but only by a little bit, while E[L b ] decreases quite a lot. This is most likely the result of the fact that the stability condition of the first model does not depend on, as mentioned before. Therefore changing will not have as much impact on the mean queue length as it does for the second model. Also, since we only consider T = 1, we know that the customer in service will only enter the cross-selling phase if the queue is empty when he finishes his regular service phase. This will not happen very often, resulting in also not affecting the mean queue length very much. Both mean queue lengths seem to converge to 1, which is indeed true if we further increase. It is not surprising that both mean queue lengths converge to the same value as increases, because this means both systems will turn into standard M/M/1 queues, with mean queue length equal to λ µ, like we predicted before. This would 1 λ µ give with our choices of the parameters indeed a mean queue length of 1. Next we choose the parameters λ = 1, = 2, p = 0.4 and let µ vary, which gives us the following table: values of µ E[L a ] E[L b ] Table 2: λ = 1, p = 0.4, = 2, varying µ In both cases we see that increasing µ results in a lower mean queue length. This is a logical result, because increasing µ means that the server will serve the customer faster, resulting in a shorter queue. Now we will vary λ and take µ = 3, p = 0.5 and = 3 to get the following table: values of λ E[L a ] E[L b ] Table 3: µ = 3, p = 0.5, = 3, varying λ Decreasing λ seems to lower the mean queue length in both cases. This is a reasonable result, as lowering λ means less customers will arrive at the server on average, resulting in a shorter queue. In conclusion we can say that both systems appear to act the same and also as expected, except when we change, because then the systems act differently. This may however be caused by us only considering the case T = 1 for the model of Armony et al. [1]. If we were to investigate higher values of T, we could get different results, but since the expressions for E[L] become a bit too large, we will not consider those. Department of Mathematics and Computer Science 15

18 4 M/M/1 queue with service time depending on waiting time In this section we will consider a standard M/M/1 queue, but with a slight change. For every arriving customer we will check what his waiting time will be. If his waiting time is smaller than some constant T, then this customer will have an exponentially distributed service time with mean 1 µ. However if his waiting time will be larger than or equal to T, then his service time will be exponentially distributed with mean 1 γ. Here, we assume that 1 γ > 1 µ. To approach this problem, we will use something called level crossing, which will be explained in the following section. 4.1 Approach Since we want to analyse the distribution of the waiting time of arriving customers, we will note the following. According to PASTA Poisson Arrivals See Time Averages we know that the waiting time is in distribution equal to that of the steady-state workload, i.e. the amount of work, V. We define fx as the density of this steady-state workload. We can find the distribution of this steady-state workload by using the level crossing method, which is explained thoroughly in [3] and therefore we will not go into very much detail about this. This method is based on the idea that the long run average number of downcrossings of some level x > 0 is fx and that this should be equal to the long run average number of upcrossings of level x. By a downcrossing we mean crossing level x from above and by an upcrossing we mean crossing it from below. We will not go into any more details about this concept. Using this results in the following integral equation for the ordinary M/G/1 queue, which can be found in [3]: fx = λ x 0 1 Gx wfwdw λpv = 01 Gx, x > Here Gx is the cumulative distribution function of the service time distribution. The left hand side of 75 represents the rate to cross level x > 0 from above and the right hand side of 75 represents the rate to cross level x from below. The first term of the right hand side represents the jumps from every w 0, x and the second term represents jumps from Applying level crossing to the model Now we will apply this method to the model described above. Since the service time distribution depends on the fact if the waiting time so also the amount of work is less than T or greater than T, we will consider two cases while using the level crossing method. First the case x < T. Since the amount of work will always be less than T in this case, we will not see any change in the service time distribution and can therefore use 75. We consider an M/M/1 queue, so the service times are exponentially distributed with mean 1 µ, since x < T, meaning Gx = 1 e µx. This gives fx = λ x 0 e µx w fwdw λpv = 0e µx. 76 We will now solve 76 for fx. Differentiating 76 on both sides with respect to x yields f x = λµ x 0 e µx w fwdw λfx λµpv = 0e µx. 77 From 76 we find that λ x 0 e µx w fwdw = fx λpv = 0e µx. Substituting this into 77 gives f x = µfx λpv = 0e µx λfx λµpv = 0e µx, 78 and so f x = λ µfx. 79 This first order differential equation can easily be solved to get the general solution fx = ce λ µx, 80 Department of Mathematics and Computer Science 16

19 where the constant c has to be determined. We can do this by calculating f0 in both 76 and 80 and then equating the results. This gives c = λpv = 0, so for x < T we get the final result fx = λpv = 0e λ µx. 81 Next, we look at the case where x T. Here the service time distribution can change depending on how much waiting time an arriving customer has and therefore we have to take this into account when finding an equation similar to 75. For x T we find the following equation: T fx = λ e µx w fwdw λ 0 x T e γx w fwdw λpv = 0e µx. 82 Here we can see that the first term of the right hand side represents the jumps from any level w 0, T, where the exponential service time distribution will have mean 1 µ ; the second term represents jumps from any level w T, x, where the exponential service time distribution will have mean 1 γ ; the last term represents jumps from level 0. We will again solve 82 for fx. Differentiating 82 with respect to x gives T f x = λµ e µx w fwdw λγ 0 x T e γx w fwdw λfx λµpv = 0e µx. 83 Writing 82 as λ T 0 e µx w fwdw = fx λ x T e γx w fwdw λpv = 0e µx and substituting this into 83 yields x f x = µ fx λ e γx w fwdw λpv = 0e µx and so λγ x Differentiating 85 with respect to x gives T T e γx w fwdw λfx λµpv = 0e µx, 84 f x = λ µfx µ γλ f x = λ µf x γµ γλ x T x T e γx w fwdw. 85 e γx w fwdw λµ γfx. 86 We can rewrite 85 to µ γλ x T e γx w fwdw = f x λ µfx and by substituting this into 86 we get yielding f x = λ µf x γf x λ µfx λµ γfx, 87 f x = λ µ γf x µλ γfx is a second order differential equation, which has characteristic polynomial r 2 λ µ γr µλ γ = 0. This polynomial has two unique solutions, namely r 1 = λ γ and r 2 = µ. This results in the general solution of 88 being given by fx = c 1 e λ γx c 2 e µx. 89 The only thing that is left now is to determine the constants c 1 and c 2. We know that it must hold that fxdx PV = 0 = 1. Since we know that fx is defined as in 81 for 0 x < T and for x T as in 89, we get T 0 λpv = 0e λ µx dx T c 1 e λ γx c 2 e µx dx PV = 0 = For the integrals in 90 to be finite we need that λ < γ and µ < 0. It is obvious that µ > 0. The stability condition of the system is λe[b] < 1, where B is the service time. This service time distribution has either mean 1 µ or 1 γ, but for the stability condition we will only have to use 1 γ, since the service time with mean 1 µ Department of Mathematics and Computer Science 17

20 only occurs for amounts of work that are lower than T. Thus we see that λ γ integrals in 90 will be finite. Solving these integrals gives λpv = 0 e λ µt 1 λ µ and so < 1, so λ < γ. Therefore, the c 1 λ γ eλ γt c 2 µ e µt PV = 0 = 1, 91 µ c 2 = c 1 λ γ eλµ γt µe µt µe µt PV = 0 1 λ e λ µt λ µ Next, we find a second expression involving c 1 and c 2. Evaluating 85 in x = T gives the relation f T = λ µft. 93 Differentiating 89 with respect to x, evaluating the result in x = T and substituting this in 93, along with 89 evaluated in x = T then gives We can rewrite 94 as c 1 λ γe λ γt c 2 µe µt = λ µc 1 e λ γt c 2 e µt. 94 c 1 µ γe λ γt c 2 λe µt = We can now substitute 92 into 95 and solve for c 1 to get λ γ c 1 = λµ γ 2 e λ γt 1 PV = 0 1 λ e λ µt γλ µ λ µ Then, substituting 96 into 92 yields an expression for c 2, namely γ 2 γλ µ λµ c 2 = µ γ 2 e µt 1 PV = 0 γλ µ 1 λ λ µ e λ µt Therefore, we find the complete solution of 82, which is given by 89 with c 1 and c 2 given by 96 and 97 respectively. We still need to determine what the value of PV = 0 is, so the probability that there is no work. To do this, we find two expressions for ft, equate them and then solve for PV = 0. First we substitute x = T into 81 to get ft = λpv = 0e λ µt. 98 The expression in 81 only holds for x < T, but we can still evaluate it in x = T, since we know fx has to be continuous in x = T so lim fx = ft. x T Next we substitute x = T into 89 along with the expressions for c 1 and c 2 in 96 and 97 respectively to get ft = 1 PV = 0 1 λ λ µ e λ µt 1 Combining 98 and 99 and solving for PV = 0 eventually gives PV = 0 = µ λµ γ. 99 µλ µγ λ. 100 µ 2 λ γ λ 2 γ µe λ µt An interesting case to look at is if we take T = 0. This would mean that one of the integrals in 82 vanishes and this equation reduces to fx = λ x 0 e γx w fwdw λpv = 0e µx. 101 This implies that every customer that arrives will get an exponential service time with mean 1 γ except if the system is empty, because in that case the customer would still get an exponential service time with mean 1 µ. This kind of models, where customers that encounter an empty system have a different service time, is studied extensively in [4] and therefore we will not go into any further detail about this here. We could also take the limit for T, meaning that every customer will have an exponential service time with mean 1 µ, turning the model into a standard M/M/1 queue. This would also mean that for all x 81 holds, where PV = 0 is given by 100, which for T reduces to PV = 0 = 1 λ µ. This is the known probability that the server is not busy in the standard M/M/1 queue, which is in this case equivalent to the amount of work being equal to 0. Department of Mathematics and Computer Science 18

21 5 Conclusion and recommendations In this report we analysed different kinds of models which all had some similarities to cross-selling. The main result from section 3 were the probability generating functions, which gave us the mean queue length and in section 4 we found the probability density function for the steady state workload for different values of x. However, due to time constraints we could not analyse everything that we wanted to. For example, we only compared the results from section 3 to one particular case of the model discussed in Armony et al. [1]. It would be interesting to see for higher values of T how much both models still differ from each other. Also, we could turn the M/M/1 queue of section 4 into an M/G/1 and see if we can still get nice closed-form expressions for fx. Department of Mathematics and Computer Science 19

22 References [1] M. Armony, E. Perel, N. Perel, and U. Yechiali, Exact Analysis for Multiserver Queueing Systems with Cross Selling, pp. 1 25, [2] O. Boxma and V. Lotov, On a Class of One-Dimensional Random Walks, [3] P. Brill, Level Crossing Methods in Stochastic Models, Springer, New York, [4] P. Welch, On a Generalized M/G/1 Queuing Process in Which the First Customer of Each Busy Period Receives Exceptional Service, Operations Research, vol. 12, no. 5, pp , Department of Mathematics and Computer Science 20

P (L d k = n). P (L(t) = n),

P (L d k = n). P (L(t) = n), 4 M/G/1 queue In the M/G/1 queue customers arrive according to a Poisson process with rate λ and they are treated in order of arrival The service times are independent and identically distributed with

More information

The M/G/1 FIFO queue with several customer classes

The M/G/1 FIFO queue with several customer classes The M/G/1 FIFO queue with several customer classes Boxma, O.J.; Takine, T. Published: 01/01/2003 Document Version Publisher s PDF, also known as Version of Record (includes final page, issue and volume

More information

Stationary Analysis of a Multiserver queue with multiple working vacation and impatient customers

Stationary Analysis of a Multiserver queue with multiple working vacation and impatient customers Available at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 932-9466 Vol. 2, Issue 2 (December 207), pp. 658 670 Applications and Applied Mathematics: An International Journal (AAM) Stationary Analysis of

More information

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES 295 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES 16 Queueing Systems with Two Types of Customers In this section, we discuss queueing systems with two types of customers.

More information

IEOR 6711, HMWK 5, Professor Sigman

IEOR 6711, HMWK 5, Professor Sigman IEOR 6711, HMWK 5, Professor Sigman 1. Semi-Markov processes: Consider an irreducible positive recurrent discrete-time Markov chain {X n } with transition matrix P (P i,j ), i, j S, and finite state space.

More information

reversed chain is ergodic and has the same equilibrium probabilities (check that π j =

reversed chain is ergodic and has the same equilibrium probabilities (check that π j = Lecture 10 Networks of queues In this lecture we shall finally get around to consider what happens when queues are part of networks (which, after all, is the topic of the course). Firstly we shall need

More information

Statistics 150: Spring 2007

Statistics 150: Spring 2007 Statistics 150: Spring 2007 April 23, 2008 0-1 1 Limiting Probabilities If the discrete-time Markov chain with transition probabilities p ij is irreducible and positive recurrent; then the limiting probabilities

More information

Structured Markov Chains

Structured Markov Chains Structured Markov Chains Ivo Adan and Johan van Leeuwaarden Where innovation starts Book on Analysis of structured Markov processes (arxiv:1709.09060) I Basic methods Basic Markov processes Advanced Markov

More information

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system. 8. Preliminaries L, L Q, W, W Q L = average number of customers in the system. L Q = average number of customers waiting in queue. W = average number of time a customer spends in the system. W Q = average

More information

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18. IEOR 6711: Stochastic Models I, Fall 23, Professor Whitt Solutions to Final Exam: Thursday, December 18. Below are six questions with several parts. Do as much as you can. Show your work. 1. Two-Pump Gas

More information

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6 MATH 56A: STOCHASTIC PROCESSES CHAPTER 6 6. Renewal Mathematically, renewal refers to a continuous time stochastic process with states,, 2,. N t {,, 2, 3, } so that you only have jumps from x to x + and

More information

Continuous-Time Markov Chain

Continuous-Time Markov Chain Continuous-Time Markov Chain Consider the process {X(t),t 0} with state space {0, 1, 2,...}. The process {X(t),t 0} is a continuous-time Markov chain if for all s, t 0 and nonnegative integers i, j, x(u),

More information

M/G/1 and M/G/1/K systems

M/G/1 and M/G/1/K systems M/G/1 and M/G/1/K systems Dmitri A. Moltchanov dmitri.moltchanov@tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Description of M/G/1 system; Methods of analysis; Residual life approach; Imbedded

More information

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Chapter 5. Continuous-Time Markov Chains Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Continuous-Time Markov Chains Consider a continuous-time stochastic process

More information

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Queueing Theory. VK Room: M Last updated: October 17, 2013. Queueing Theory VK Room: M1.30 knightva@cf.ac.uk www.vincent-knight.com Last updated: October 17, 2013. 1 / 63 Overview Description of Queueing Processes The Single Server Markovian Queue Multi Server

More information

Exact Simulation of the Stationary Distribution of M/G/c Queues

Exact Simulation of the Stationary Distribution of M/G/c Queues 1/36 Exact Simulation of the Stationary Distribution of M/G/c Queues Professor Karl Sigman Columbia University New York City USA Conference in Honor of Søren Asmussen Monday, August 1, 2011 Sandbjerg Estate

More information

GI/M/1 and GI/M/m queuing systems

GI/M/1 and GI/M/m queuing systems GI/M/1 and GI/M/m queuing systems Dmitri A. Moltchanov moltchan@cs.tut.fi http://www.cs.tut.fi/kurssit/tlt-2716/ OUTLINE: GI/M/1 queuing system; Methods of analysis; Imbedded Markov chain approach; Waiting

More information

Modelling Complex Queuing Situations with Markov Processes

Modelling Complex Queuing Situations with Markov Processes Modelling Complex Queuing Situations with Markov Processes Jason Randal Thorne, School of IT, Charles Sturt Uni, NSW 2795, Australia Abstract This article comments upon some new developments in the field

More information

Session-Based Queueing Systems

Session-Based Queueing Systems Session-Based Queueing Systems Modelling, Simulation, and Approximation Jeroen Horters Supervisor VU: Sandjai Bhulai Executive Summary Companies often offer services that require multiple steps on the

More information

THE ROYAL STATISTICAL SOCIETY 2009 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES

THE ROYAL STATISTICAL SOCIETY 2009 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES THE ROYAL STATISTICAL SOCIETY 9 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES The Society provides these solutions to assist candidates preparing

More information

The discrete-time Geom/G/1 queue with multiple adaptive vacations and. setup/closedown times

The discrete-time Geom/G/1 queue with multiple adaptive vacations and. setup/closedown times ISSN 1750-9653, England, UK International Journal of Management Science and Engineering Management Vol. 2 (2007) No. 4, pp. 289-296 The discrete-time Geom/G/1 queue with multiple adaptive vacations and

More information

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem Wade Trappe Lecture Overview Network of Queues Introduction Queues in Tandem roduct Form Solutions Burke s Theorem What

More information

Conditional ages and residual service times in the M/G/1 queue Adan, I.J.B.F.; Haviv, M.

Conditional ages and residual service times in the M/G/1 queue Adan, I.J.B.F.; Haviv, M. Conditional ages and residual service times in the M/G/1 queue Adan, I.J.B.F.; Haviv, M. Published: 01/01/2008 Document Version Publisher s PDF, also known as Version of Record (includes final page, issue

More information

M/M/3/3 AND M/M/4/4 RETRIAL QUEUES. Tuan Phung-Duc, Hiroyuki Masuyama, Shoji Kasahara and Yutaka Takahashi

M/M/3/3 AND M/M/4/4 RETRIAL QUEUES. Tuan Phung-Duc, Hiroyuki Masuyama, Shoji Kasahara and Yutaka Takahashi JOURNAL OF INDUSTRIAL AND doi:10.3934/imo.2009.5.431 MANAGEMENT OPTIMIZATION Volume 5, Number 3, August 2009 pp. 431 451 M/M/3/3 AND M/M/4/4 RETRIAL QUEUES Tuan Phung-Duc, Hiroyuki Masuyama, Shoi Kasahara

More information

1 IEOR 4701: Continuous-Time Markov Chains

1 IEOR 4701: Continuous-Time Markov Chains Copyright c 2006 by Karl Sigman 1 IEOR 4701: Continuous-Time Markov Chains A Markov chain in discrete time, {X n : n 0}, remains in any state for exactly one unit of time before making a transition (change

More information

Link Models for Circuit Switching

Link Models for Circuit Switching Link Models for Circuit Switching The basis of traffic engineering for telecommunication networks is the Erlang loss function. It basically allows us to determine the amount of telephone traffic that can

More information

Computer Networks More general queuing systems

Computer Networks More general queuing systems Computer Networks More general queuing systems Saad Mneimneh Computer Science Hunter College of CUNY New York M/G/ Introduction We now consider a queuing system where the customer service times have a

More information

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010 Exercises Stochastic Performance Modelling Hamilton Institute, Summer Instruction Exercise Let X be a non-negative random variable with E[X ]

More information

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains Chapter 3 Balance equations, birth-death processes, continuous Markov Chains Ioannis Glaropoulos November 4, 2012 1 Exercise 3.2 Consider a birth-death process with 3 states, where the transition rate

More information

Chapter 1. Introduction. 1.1 Stochastic process

Chapter 1. Introduction. 1.1 Stochastic process Chapter 1 Introduction Process is a phenomenon that takes place in time. In many practical situations, the result of a process at any time may not be certain. Such a process is called a stochastic process.

More information

15 Closed production networks

15 Closed production networks 5 Closed production networks In the previous chapter we developed and analyzed stochastic models for production networks with a free inflow of jobs. In this chapter we will study production networks for

More information

15 Closed production networks

15 Closed production networks 5 Closed production networks In the previous chapter we developed and analyzed stochastic models for production networks with a free inflow of jobs. In this chapter we will study production networks for

More information

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011 Exercise 6.5: Solutions to Homework 0 6.262 Discrete Stochastic Processes MIT, Spring 20 Consider the Markov process illustrated below. The transitions are labelled by the rate q ij at which those transitions

More information

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ),

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ), MS&E 321 Spring 12-13 Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10 Section 4: Steady-State Theory Contents 4.1 The Concept of Stochastic Equilibrium.......................... 1 4.2

More information

Data analysis and stochastic modeling

Data analysis and stochastic modeling Data analysis and stochastic modeling Lecture 7 An introduction to queueing theory Guillaume Gravier guillaume.gravier@irisa.fr with a lot of help from Paul Jensen s course http://www.me.utexas.edu/ jensen/ormm/instruction/powerpoint/or_models_09/14_queuing.ppt

More information

A Simple Solution for the M/D/c Waiting Time Distribution

A Simple Solution for the M/D/c Waiting Time Distribution A Simple Solution for the M/D/c Waiting Time Distribution G.J.Franx, Universiteit van Amsterdam November 6, 998 Abstract A surprisingly simple and explicit expression for the waiting time distribution

More information

Analysis of a Two-Phase Queueing System with Impatient Customers and Multiple Vacations

Analysis of a Two-Phase Queueing System with Impatient Customers and Multiple Vacations The Tenth International Symposium on Operations Research and Its Applications (ISORA 211) Dunhuang, China, August 28 31, 211 Copyright 211 ORSC & APORC, pp. 292 298 Analysis of a Two-Phase Queueing System

More information

Readings: Finish Section 5.2

Readings: Finish Section 5.2 LECTURE 19 Readings: Finish Section 5.2 Lecture outline Markov Processes I Checkout counter example. Markov process: definition. -step transition probabilities. Classification of states. Example: Checkout

More information

A Study on M x /G/1 Queuing System with Essential, Optional Service, Modified Vacation and Setup time

A Study on M x /G/1 Queuing System with Essential, Optional Service, Modified Vacation and Setup time A Study on M x /G/1 Queuing System with Essential, Optional Service, Modified Vacation and Setup time E. Ramesh Kumar 1, L. Poornima 2 1 Associate Professor, Department of Mathematics, CMS College of Science

More information

Link Models for Packet Switching

Link Models for Packet Switching Link Models for Packet Switching To begin our study of the performance of communications networks, we will study a model of a single link in a message switched network. The important feature of this model

More information

Performance Evaluation of Queuing Systems

Performance Evaluation of Queuing Systems Performance Evaluation of Queuing Systems Introduction to Queuing Systems System Performance Measures & Little s Law Equilibrium Solution of Birth-Death Processes Analysis of Single-Station Queuing Systems

More information

Continuous Time Markov Chains

Continuous Time Markov Chains Continuous Time Markov Chains Stochastic Processes - Lecture Notes Fatih Cavdur to accompany Introduction to Probability Models by Sheldon M. Ross Fall 2015 Outline Introduction Continuous-Time Markov

More information

Figure 10.1: Recording when the event E occurs

Figure 10.1: Recording when the event E occurs 10 Poisson Processes Let T R be an interval. A family of random variables {X(t) ; t T} is called a continuous time stochastic process. We often consider T = [0, 1] and T = [0, ). As X(t) is a random variable

More information

Multiserver Queueing Model subject to Single Exponential Vacation

Multiserver Queueing Model subject to Single Exponential Vacation Journal of Physics: Conference Series PAPER OPEN ACCESS Multiserver Queueing Model subject to Single Exponential Vacation To cite this article: K V Vijayashree B Janani 2018 J. Phys.: Conf. Ser. 1000 012129

More information

M/G/1 queues and Busy Cycle Analysis

M/G/1 queues and Busy Cycle Analysis queues and Busy Cycle Analysis John C.S. Lui Department of Computer Science & Engineering The Chinese University of Hong Kong www.cse.cuhk.edu.hk/ cslui John C.S. Lui (CUHK) Computer Systems Performance

More information

An M/M/1 Queue in Random Environment with Disasters

An M/M/1 Queue in Random Environment with Disasters An M/M/1 Queue in Random Environment with Disasters Noam Paz 1 and Uri Yechiali 1,2 1 Department of Statistics and Operations Research School of Mathematical Sciences Tel Aviv University, Tel Aviv 69978,

More information

A FAST MATRIX-ANALYTIC APPROXIMATION FOR THE TWO CLASS GI/G/1 NON-PREEMPTIVE PRIORITY QUEUE

A FAST MATRIX-ANALYTIC APPROXIMATION FOR THE TWO CLASS GI/G/1 NON-PREEMPTIVE PRIORITY QUEUE A FAST MATRIX-ANAYTIC APPROXIMATION FOR TE TWO CASS GI/G/ NON-PREEMPTIVE PRIORITY QUEUE Gábor orváth Department of Telecommunication Budapest University of Technology and Economics. Budapest Pf. 9., ungary

More information

LECTURE #6 BIRTH-DEATH PROCESS

LECTURE #6 BIRTH-DEATH PROCESS LECTURE #6 BIRTH-DEATH PROCESS 204528 Queueing Theory and Applications in Networks Assoc. Prof., Ph.D. (รศ.ดร. อน นต ผลเพ ม) Computer Engineering Department, Kasetsart University Outline 2 Birth-Death

More information

Introduction to queuing theory

Introduction to queuing theory Introduction to queuing theory Queu(e)ing theory Queu(e)ing theory is the branch of mathematics devoted to how objects (packets in a network, people in a bank, processes in a CPU etc etc) join and leave

More information

1 Basic concepts from probability theory

1 Basic concepts from probability theory Basic concepts from probability theory This chapter is devoted to some basic concepts from probability theory.. Random variable Random variables are denoted by capitals, X, Y, etc. The expected value or

More information

A Two Phase Service M/G/1 Vacation Queue With General Retrial Times and Non-persistent Customers

A Two Phase Service M/G/1 Vacation Queue With General Retrial Times and Non-persistent Customers Int. J. Open Problems Compt. Math., Vol. 3, No. 2, June 21 ISSN 1998-6262; Copyright c ICSRS Publication, 21 www.i-csrs.org A Two Phase Service M/G/1 Vacation Queue With General Retrial Times and Non-persistent

More information

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS Andrea Bobbio Anno Accademico 999-2000 Queueing Systems 2 Notation for Queueing Systems /λ mean time between arrivals S = /µ ρ = λ/µ N mean service time traffic

More information

Queuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Queuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall Queuing Analysis Chapter 13 13-1 Chapter Topics Elements of Waiting Line Analysis The Single-Server Waiting Line System Undefined and Constant Service Times Finite Queue Length Finite Calling Problem The

More information

Slides 9: Queuing Models

Slides 9: Queuing Models Slides 9: Queuing Models Purpose Simulation is often used in the analysis of queuing models. A simple but typical queuing model is: Queuing models provide the analyst with a powerful tool for designing

More information

QUEUING MODELS AND MARKOV PROCESSES

QUEUING MODELS AND MARKOV PROCESSES QUEUING MODELS AND MARKOV ROCESSES Queues form when customer demand for a service cannot be met immediately. They occur because of fluctuations in demand levels so that models of queuing are intrinsically

More information

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1 Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to

More information

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0. IEOR 46: Introduction to Operations Research: Stochastic Models Chapters 5-6 in Ross, Thursday, April, 4:5-5:35pm SOLUTIONS to Second Midterm Exam, Spring 9, Open Book: but only the Ross textbook, the

More information

Derivation of Formulas by Queueing Theory

Derivation of Formulas by Queueing Theory Appendices Spectrum Requirement Planning in Wireless Communications: Model and Methodology for IMT-Advanced E dite d by H. Takagi and B. H. Walke 2008 J ohn Wiley & Sons, L td. ISBN: 978-0-470-98647-9

More information

57:022 Principles of Design II Final Exam Solutions - Spring 1997

57:022 Principles of Design II Final Exam Solutions - Spring 1997 57:022 Principles of Design II Final Exam Solutions - Spring 1997 Part: I II III IV V VI Total Possible Pts: 52 10 12 16 13 12 115 PART ONE Indicate "+" if True and "o" if False: + a. If a component's

More information

A Two-Queue Polling Model with Two Priority Levels in the First Queue

A Two-Queue Polling Model with Two Priority Levels in the First Queue A Two-Queue Polling Model with Two Priority Levels in the First Queue arxiv:1408.0110v1 [math.pr] 1 Aug 2014 M.A.A. Boon marko@win.tue.nl I.J.B.F. Adan iadan@win.tue.nl May, 2008 Abstract O.J. Boxma boxma@win.tue.nl

More information

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012 SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012 This exam is closed book. YOU NEED TO SHOW YOUR WORK. Honor Code: Students are expected to behave honorably, following the accepted

More information

NEW FRONTIERS IN APPLIED PROBABILITY

NEW FRONTIERS IN APPLIED PROBABILITY J. Appl. Prob. Spec. Vol. 48A, 209 213 (2011) Applied Probability Trust 2011 NEW FRONTIERS IN APPLIED PROBABILITY A Festschrift for SØREN ASMUSSEN Edited by P. GLYNN, T. MIKOSCH and T. ROLSKI Part 4. Simulation

More information

THE ISRAELI QUEUE WITH PRIORITIES

THE ISRAELI QUEUE WITH PRIORITIES Stochastic Models, 29:353 379, 203 Copyright Taylor & Francis Group, LLC ISSN: 532-6349 print/532-424 online DOI: 0.080/5326349.203.8089 THE ISRAELI QUEUE WITH PRIORITIES Nir Perel and Uri Yechiali Department

More information

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These Queuing theory models systems with servers and clients (presumably waiting in queues). Notation: there are many standard symbols like λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These represent the actual

More information

Lecture 20: Reversible Processes and Queues

Lecture 20: Reversible Processes and Queues Lecture 20: Reversible Processes and Queues 1 Examples of reversible processes 11 Birth-death processes We define two non-negative sequences birth and death rates denoted by {λ n : n N 0 } and {µ n : n

More information

A tandem queue under an economical viewpoint

A tandem queue under an economical viewpoint A tandem queue under an economical viewpoint B. D Auria 1 Universidad Carlos III de Madrid, Spain joint work with S. Kanta The Basque Center for Applied Mathematics, Bilbao, Spain B. D Auria (Univ. Carlos

More information

An M/M/1 Retrial Queue with Unreliable Server 1

An M/M/1 Retrial Queue with Unreliable Server 1 An M/M/1 Retrial Queue with Unreliable Server 1 Nathan P. Sherman 2 and Jeffrey P. Kharoufeh 3 Department of Operational Sciences Air Force Institute of Technology Abstract We analyze an unreliable M/M/1

More information

MITOCW MIT6_041F11_lec17_300k.mp4

MITOCW MIT6_041F11_lec17_300k.mp4 MITOCW MIT6_041F11_lec17_300k.mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality, educational resources for

More information

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1 Advanced Markovian queues Bulk input queue M [X] /M/ Bulk service queue M/M [Y] / Erlangian queue M/E k / Bulk input queue M [X] /M/ Batch arrival, Poisson process, arrival rate λ number of customers in

More information

An M/G/1 Queue with Adaptable Service Speed R. Bekker a ; O. J. Boxma b a

An M/G/1 Queue with Adaptable Service Speed R. Bekker a ; O. J. Boxma b a This article was downloaded by: [Vrije Universiteit, Library] On: 13 June 211 Access details: Access Details: [subscription number 9721892] Publisher Taylor & Francis Informa Ltd Registered in England

More information

Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance

Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance In this technical appendix we provide proofs for the various results stated in the manuscript

More information

MASTER. Parameter estimation for software reliability models. Meyfroyt, P.H.A. Award date: Link to publication

MASTER. Parameter estimation for software reliability models. Meyfroyt, P.H.A. Award date: Link to publication MASTER Parameter estimation for software reliability models Meyfroyt, P.H.A. Award date: 01 Link to publication Disclaimer This document contains a student thesis (bachelor's or master's), as authored

More information

A product form solution to a system with multi-type jobs and multi-type servers Visschers, J.W.C.H.; Adan, I.J.B.F.; Weiss, G.

A product form solution to a system with multi-type jobs and multi-type servers Visschers, J.W.C.H.; Adan, I.J.B.F.; Weiss, G. A product form solution to a system with multi-type jobs and multi-type servers Visschers, JWCH; Adan, IJBF; Weiss, G Published: 01/01/2011 Document Version Publisher s PDF, also known as Version of Record

More information

Stationary remaining service time conditional on queue length

Stationary remaining service time conditional on queue length Stationary remaining service time conditional on queue length Karl Sigman Uri Yechiali October 7, 2006 Abstract In Mandelbaum and Yechiali (1979) a simple formula is derived for the expected stationary

More information

Analysis of customers impatience in queues with server vacations

Analysis of customers impatience in queues with server vacations Queueing Syst 26 52: 26 279 DOI 7/s34-6-634-x Analysis of customers impatience in queues with server vacations Eitan Altman Uri Yechiali Received: 29 September 24 / Revised: November 25 C Science Business

More information

Introduction to Queuing Networks Solutions to Problem Sheet 3

Introduction to Queuing Networks Solutions to Problem Sheet 3 Introduction to Queuing Networks Solutions to Problem Sheet 3 1. (a) The state space is the whole numbers {, 1, 2,...}. The transition rates are q i,i+1 λ for all i and q i, for all i 1 since, when a bus

More information

Probability and Statistics Concepts

Probability and Statistics Concepts University of Central Florida Computer Science Division COT 5611 - Operating Systems. Spring 014 - dcm Probability and Statistics Concepts Random Variable: a rule that assigns a numerical value to each

More information

Analysis of an M/G/1 queue with customer impatience and an adaptive arrival process

Analysis of an M/G/1 queue with customer impatience and an adaptive arrival process Analysis of an M/G/1 queue with customer impatience and an adaptive arrival process O.J. Boxma 1, O. Kella 2, D. Perry 3, and B.J. Prabhu 1,4 1 EURANDOM and Department of Mathematics & Computer Science,

More information

Part I Stochastic variables and Markov chains

Part I Stochastic variables and Markov chains Part I Stochastic variables and Markov chains Random variables describe the behaviour of a phenomenon independent of any specific sample space Distribution function (cdf, cumulative distribution function)

More information

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K Queueing Theory I Summary Little s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K " Little s Law a(t): the process that counts the number of arrivals

More information

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems Exercises Solutions Note, that we have not formulated the answers for all the review questions. You will find the answers for many questions by reading and reflecting about the text in the book. Chapter

More information

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation Chapter 6 Queueing Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing

More information

Stability and Rare Events in Stochastic Models Sergey Foss Heriot-Watt University, Edinburgh and Institute of Mathematics, Novosibirsk

Stability and Rare Events in Stochastic Models Sergey Foss Heriot-Watt University, Edinburgh and Institute of Mathematics, Novosibirsk Stability and Rare Events in Stochastic Models Sergey Foss Heriot-Watt University, Edinburgh and Institute of Mathematics, Novosibirsk ANSAPW University of Queensland 8-11 July, 2013 1 Outline (I) Fluid

More information

Page 0 of 5 Final Examination Name. Closed book. 120 minutes. Cover page plus five pages of exam.

Page 0 of 5 Final Examination Name. Closed book. 120 minutes. Cover page plus five pages of exam. Final Examination Closed book. 120 minutes. Cover page plus five pages of exam. To receive full credit, show enough work to indicate your logic. Do not spend time calculating. You will receive full credit

More information

Queue Decomposition and its Applications in State-Dependent Queueing Systems

Queue Decomposition and its Applications in State-Dependent Queueing Systems Submitted to Manufacturing & Service Operations Management manuscript Please, provide the mansucript number! Authors are encouraged to submit new papers to INFORMS journals by means of a style file template,

More information

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

TCOM 501: Networking Theory & Fundamentals. Lecture 6 February 19, 2003 Prof. Yannis A. Korilis TCOM 50: Networking Theory & Fundamentals Lecture 6 February 9, 003 Prof. Yannis A. Korilis 6- Topics Time-Reversal of Markov Chains Reversibility Truncating a Reversible Markov Chain Burke s Theorem Queues

More information

λ λ λ In-class problems

λ λ λ In-class problems In-class problems 1. Customers arrive at a single-service facility at a Poisson rate of 40 per hour. When two or fewer customers are present, a single attendant operates the facility, and the service time

More information

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017 CPSC 531: System Modeling and Simulation Carey Williamson Department of Computer Science University of Calgary Fall 2017 Motivating Quote for Queueing Models Good things come to those who wait - poet/writer

More information

Other properties of M M 1

Other properties of M M 1 Other properties of M M 1 Přemysl Bejda premyslbejda@gmail.com 2012 Contents 1 Reflected Lévy Process 2 Time dependent properties of M M 1 3 Waiting times and queue disciplines in M M 1 Contents 1 Reflected

More information

Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance

Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance Technical Appendix for: When Promotions Meet Operations: Cross-Selling and Its Effect on Call-Center Performance In this technical appendix we provide proofs for the various results stated in the manuscript

More information

Non Markovian Queues (contd.)

Non Markovian Queues (contd.) MODULE 7: RENEWAL PROCESSES 29 Lecture 5 Non Markovian Queues (contd) For the case where the service time is constant, V ar(b) = 0, then the P-K formula for M/D/ queue reduces to L s = ρ + ρ 2 2( ρ) where

More information

Analysis of an M/M/1/N Queue with Balking, Reneging and Server Vacations

Analysis of an M/M/1/N Queue with Balking, Reneging and Server Vacations Analysis of an M/M/1/N Queue with Balking, Reneging and Server Vacations Yan Zhang 1 Dequan Yue 1 Wuyi Yue 2 1 College of Science, Yanshan University, Qinhuangdao 066004 PRChina 2 Department of Information

More information

Cover Page. The handle holds various files of this Leiden University dissertation

Cover Page. The handle  holds various files of this Leiden University dissertation Cover Page The handle http://hdl.handle.net/1887/39637 holds various files of this Leiden University dissertation Author: Smit, Laurens Title: Steady-state analysis of large scale systems : the successive

More information

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia).  wkc/course/part2.pdf PART II (3) Continuous Time Markov Chains : Theory and Examples -Pure Birth Process with Constant Rates -Pure Death Process -More on Birth-and-Death Process -Statistical Equilibrium (4) Introduction to

More information

The Israeli Queue with a general group-joining policy 60K25 90B22

The Israeli Queue with a general group-joining policy 60K25 90B22 DOI 0007/s0479-05-942-2 3 4 5 6 7 8 9 0 2 3 4 The Israeli Queue with a general group-joining policy Nir Perel,2 Uri Yechiali Springer Science+Business Media New York 205 Abstract We consider a single-server

More information

Solution: The process is a compound Poisson Process with E[N (t)] = λt/p by Wald's equation.

Solution: The process is a compound Poisson Process with E[N (t)] = λt/p by Wald's equation. Solutions Stochastic Processes and Simulation II, May 18, 217 Problem 1: Poisson Processes Let {N(t), t } be a homogeneous Poisson Process on (, ) with rate λ. Let {S i, i = 1, 2, } be the points of the

More information

Markov Processes and Queues

Markov Processes and Queues MIT 2.853/2.854 Introduction to Manufacturing Systems Markov Processes and Queues Stanley B. Gershwin Laboratory for Manufacturing and Productivity Massachusetts Institute of Technology Markov Processes

More information

M/G/1 and Priority Queueing

M/G/1 and Priority Queueing M/G/1 and Priority Queueing Richard T. B. Ma School of Computing National University of Singapore CS 5229: Advanced Compute Networks Outline PASTA M/G/1 Workload and FIFO Delay Pollaczek Khinchine Formula

More information

Stochastic process. X, a series of random variables indexed by t

Stochastic process. X, a series of random variables indexed by t Stochastic process X, a series of random variables indexed by t X={X(t), t 0} is a continuous time stochastic process X={X(t), t=0,1, } is a discrete time stochastic process X(t) is the state at time t,

More information