Lecture 2: Queueing Theory (Part 1) : MH4702: Probabilistic Methods in Operations Research
Lecture 2: Queueing Theory (Part 1) : MH4702: Probabilistic Methods in Operations Research
(Part 1)
MH4702: Probabilistic Methods in
Operations Research
Queueing theory is a branch of statistics which deals with arrival times of people (or transport) and service
rates (time taken for change, or buying something, tickets, gates, etc.).
Queueing system
© 2020 Nanyang Technological University, Singapore. All Rights Reserved.
6
Basic Queueing System (cont.)
Calling population — The total number of customers that might require service from time to time is infinite.
Arrival time distribution — Customers are generated over time according to a Poisson process.
Served jobs
Calling Jobs Service
population Queue mechanism
Leave the
system
Arrival Queue
process discipline
Queueing models
Probability density
function
Cumulative
distribution function
The probability distribution of the remaining time until the event occurs
is always the same, regardless of how much time has already passed.
PROOF
2
1
0 t1 t t2
T1 T2
© 2020 Nanyang Technological University, Singapore. All Rights Reserved.
27 27
Exponential Distribution (P4)
We assume that
is true.
Now, for n, 2
1
0 t1 t tn+1
T1 T2
© 2020 Nanyang Technological University, Singapore. All Rights Reserved.
28 28
Exponential Distribution (P4)
Proof by Mathematical Induction:
X(t)
2
1
0 t1 t tn+1
T1 T2
© 2020 Nanyang Technological University, Singapore. All Rights Reserved.
29 29
Exponential Distribution (P4)
PROOF
PROVE
Aggregation Disaggregation
N1 ~ Poisson(1) N1 ~ Poisson(p1)
N2 ~ Poisson(2) p1 N2 ~ Poisson(p2)
N ~ Poisson() N ~ Poisson() p2
… = 1+2+…+k pk …
Nk ~ Poisson(k) Nk ~ Poisson(pk)
Note: p1+p2+…+pk=1
1 t1 t5
2 t2 t4
3 t3 t7
48 4 t6 t © 2020 Nanyang Technological University, Singapore. All Rights Reserved.
48
Little’s Formula
Customer Arrival Time Departure Time
The following figure depicts the number of customers
1 t1 t5 in the system over time. Let be the area of the shaded
2 t2 t4 region.
3 t3 t7
4 t6 t
1 t1
3
2 t2 2 4 6
3 t3 1 5 7
4 t6
No two events
occur
simultaneously.
© 2020 Nanyang Technological University, Singapore. All Rights Reserved.
58 58
The Birth-and-Death Process
59 Rate diagram © 2020 Nanyang Technological University, Singapore. All Rights Reserved.
59
The Birth-and-Death Process
63 Rate In = Rate Out Principle© 2020 Nanyang Technological University, Singapore. All Rights Reserved.63
The Birth-and-Death Process
𝜆0 =20 𝜆1 =20 𝜆2 𝜆3 =0 ……
0 1 2 4 5 6 7 …
3
—/—/—
Number of servers
Distribution of inter-arrival times
Little’s Formula:
.