Queuing or Waiting Line Theory: Single Server System Multi Server System
Queuing or Waiting Line Theory: Single Server System Multi Server System
Queuing or Waiting Line Theory: Single Server System Multi Server System
LINE THEORY
SINGLE SERVER SYSTEM
MULTI SERVER SYSTEM
“In general, we do not like to wait. But reduction of the
waiting time usually requires investments. To decide
whether or not to invest, it is important to know the
effect of the investment on the waiting time. So, we need
models and techniques to analyze such situations.”
REAL-WORLD EXPRIENCES
• Cashier
• Bank Tellers
• Fast food chains
• Traffic
• In almost every “Entrance”
• Concert/Cinema
• In giving of government subsidies
• Terminals
• And in all other daily transactions.
WHAT IS A QUEUE
And that λ < μ (customer are served at a faster rate that they arrive).
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The probability that no customers are in the queuing system (either in the queue
or being served) is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The probability that n customer are in the queuing system is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The average number of customer in the queuing system (customer being serviced
and in the waiting line) is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The average number of customer in the waiting line is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The average time a customer spends waiting in the queue to be served is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The probability that the server is busy (i.e., the probability that a customer
has to wait), known as the utilization factor, is
HELPFUL FORMULAS IN QUEUING
ANALYSIS:
• For Single Server System:
The probability that the server is idle (i.e., the probability that a customer can
be served) is
EXAMPLE:
For example, if:
P0 = 1 -
P0 = 1 -
P0 = 0.20 probability of no customers in the system
THEN,
•The
average number of customer in the queuing system (i.e., the customer
being serviced and in the waiting line) is:
L=
L=
L = 4 customer, on the average, in the queuing system
THEN,
•The
average number of customer in the waiting line is
Lq =
Lq =
Lq =
Lq =
THEN,
•The
average number a customer spends in the total queuing system
(waiting and being served) is:
W=
W=
W=
THEN,
•The
average number a customer spends in the queue to be served is:
Wq =
Wq=
Wq =
THEN,
•The
probability that the server is busy (The probability that a customer
has to wait), known as the utilization factor, is:
U=
U=
U=
SEVERAL IMPORTANT ASPECTS
• First, the operating characteristics are average
• They are assumed to be steady-state averages
• Related to this condition is the fact that the utilization factor, U, must be lessthan one. U < 1
and λ < μ
• In other words, the ratio of the arrival rate to the service rate must be less than one.
• The server must be able to serve customers faster than they come into the store in the long
run,
• Or, the waiting line will grow to an infinite size, and the system will never reach a steady
state.
TRY THIS
• A single-server queuing system with an infinite calling population and a
first-come, first served queue discipline has the following arrival and
service rates:
λ = 16 customer per hour
μ = 24 customers per hour
P0
c
0 1 2 3
• P 0
1 2 3
•P 0
L P0 + c
L
2
2
•• L 3
2
•L
Lq = L -
Lq = 6 -
W=
W=
W = 0.60 hours or 36 minutes
SOLUTIONS:
• The average time a customer spends waiting in the queue to be served is
Wq =
Wq =
Wq = 0.35 hours or 21 minutes
APPLICATION OF QUEUING THEORY
AND ANALYSIS IN BUSINESS
McDonalds’s Fast food restaurant has a drive-through window
with a single server who takes order from an intercom and also is
the cashier. The window operator is assisted by other employees
who prepare the orders. Customer arrive at the ordering station
prior to the drive through window every 5 minutes (Poisson
distributed), and the service time is 4 minutes (exponentially
distributed). Determine the average length of the queue and the
total queuing time.
Determine the arrival and service rates
• Customer arrive at the ordering station prior to the drive through window
every 5 minutes, thus:
Arrival Rate =
Arrival Rate = 12 person
• The service time is 4 minutes, thus:
Service Rate =
Service Rate = 15 persons
COMPUTE THE WAITING TIME
•The
average number a customer spends in the total queuing
system (waiting and being served) is
W=
W=
W = 20 minutes in the entire queue
COMPUTE THE WAITING TIME
The management of McDonald’s is proposing to reduce the total queuing
time through one of the options below:
OPTION 1: Invest in a mobile application, called “McService”, where
customer pre-ordered their meals thru the app, and a notification will be
sent if their meals are ready for pick-up. This application requires an initial
investment of $50,000 for app development and annual maintenance fee of
$5,000. With the app, the total service time will be reduced to 1.5 minutes,
and the number of customer arriving per hour will increased to 15.
The management of McDonald’s is proposing to reduce the total
queuing time through one of the options below:
OPTION 2: Add a new window where the two windows can serve at
a rate twice faster as the existing. This option requires an annual
fixed cost $35,000 and monthly additional rent of $400. With the
additional window, the number of customers arriving will be divided
equally. However, there will be no increase in the arriving customers.
NOTE: The management estimated that it will save $ 12,300 for
every minute of reduction in the customer’s total queuing time.
Which option would most likely gain higher savings?
EVALUATE: OPTION 1
(INVEST IN A MOBILE APPLICATION)
•Compute
the new service and arrival rates:
• Customer arrival rate with Option 1 is 15 persons per hour
• Total service time will be reduced to 1.5 minutes.
Service Rate =
Service Rate =40 persons
EVALUATE: OPTION 1
(INVEST IN A MOBILE APPLICATION)
•Compute
the new waiting time: Thus, from 20 minutes,
McDonalds save 17.6
W= minutes!
W=
W= 2.4 minutes in the entire queue
FROM 20 MINUTES PREVIOUSLY COMPUTED
EVALUATE: OPTION 1
(INVEST IN A MOBILE APPLICATION)
Therefore:
Savings ($12,300 x 17.6 minutes saved) $216,480
Less:
Cost of Investment ( $ 50,000)
Annual Maintenance ($ 5,000)
Net Savings under Option 1 $ 161,480
EVALUATE: OPTION 2
(ADD ADDITIONAL WINDOW)
•Compute
the new service and arrival rates:
• There will be no increased in the arriving customer, thus
Arrival Rate = 12 persons
• Total service time will be two times faster because of the new window, thus service
time from 4 minutes becomes 2 minutes
Service Rate =
Service Rate =30 persons
EVALUATE: OPTION 2
(ADD ADDITIONAL WINDOW)
•Compute
the new waiting time: Thus, from 20 minutes,
W= McDonalds save 16.67
minutes!
W=
W= 3.33 minutes in the entire queue
FROM 20 MINUTES PREVIOUSLY COMPUTED
EVALUATE: OPTION 2
(ADD ADDITIONAL WINDOW)
Therefore:
Savings ($12,300 x 16.7 minutes saved) $205,080
Less:
Cost of Investment ( $ 30,000)
Annual Maintenance ($ 4,800) This is a better option!
Net Savings under Option 2 $ 165,200 Under option 1, it would
only save $ 161,480