You are on page 1of 15

Q U A N T I T A T I V E

Waiting-Line Models
D M O D U L E

DISCUSSION QUESTIONS come from observing “the line is too long” to “the line isn’t
moving very fast.” Renege examples may come from “the other
1. Three parts of a queuing system: arrivals or inputs to the line is moving faster” or “I can’t wait any longer.”
system; the queue discipline, or the waiting line itself; and the
8. Ws is the time spent waiting plus being serviced, Wq is the
service facility.
time spent waiting for service. Ws is therefore larger than Wq by
2. Qualitative concerns include fairness and the aesthetics of the the amount of time spent on the service itself.
area in which waiting takes place.
9. The first in, first out priority rule is often not valid. Examples
3. Arrivals are governed by the size of the source population of when other rules are more appropriate include:
(finite or infinite); the pattern of arrivals at the system (on a  Hospital emergency room (most severely injured first)
schedule or randomly); and the behavior of the arrivals (joining  An elevator (last in, first out)
the queue, balking, or reneging).  Popcorn stand at a theater (random)
4. Measures of system performance:  Small store (he who yells loudest)
 The average time each customer or object spends in the  Mainframe computer system (preassigned priority levels,
queue; highest level gets served first)
 The average queue length;  Restaurant (service may be based on match between the
 The average time each customer or object spends in the number in your party and seats presently available)
system;  Grocery store (“general” checkout counters; self
 The average number of customers in the system; checkouts; counters for “10” or fewer items)
 The probability that the service facility is idle; 10. If    : Intuitively, the queue will grow progressively
 The utilization factor for the system; longer, because the arrival rate is larger than the service rate.
 The probability of a specific number of customers or objects Analytically, the performance measures take on negative signs,
in the system. which have no meaning, except as indicators of a queue with a
5. Assumptions of the “basic” single channel model: serious problem.
11. If  is only slightly smaller than  : The denominator of the
1. Arrivals are served on a first-come, first-served (FCFS)
performance measures all include (  ). This value is now very
basis, and every arrival waits to be served, regardless of
small, making the performance measures large. Average number
the length of the line or queue.
of objects in the system grows large, as does the average time
2. Arrivals are independent of preceding arrivals, but the
spent waiting.
arrival rate does not change over time.
3. Arrivals are described by a Poisson probability distribution 12. Finite waiting lines exist in:
and come from an infinite population.  Barber shops (there are only a limited number of seats
4. Service times vary from one customer to the next and are for waiting because of space)
independent of one another, but their average rate is  A company that has five telephone receivers connected
known. to a single incoming line (multichannel, zero-length waiting
5. Service times occur according to the negative exponential line)
distribution.  A company that has five lines coming to a single
6. The service rate is faster than the arrival rate. telephone receiver (single-channel, waiting line of
maximum length five)
6. This is, of course, how most supermarket bakeries operate—  Gasoline station where cars lining up for gas are
FCFS by the use of numbers. This is good because at the bakery, restricted to a particular, finite parking area (they cannot
we cannot distinguish long jobs from short ones. (This can be continue the line into the street, for example)
compared with the situation at the checkout counter; where we  Persons leaving an elevator
can estimate job length according to the number of items being
Finite sources exist when:
purchased by a customer in a particular line.)
 A company has only three or four machines that may
7. “Balk” is to refuse to enter the queue: “renege” is to leave the need service
queue (without being served) after entering. Examples of balk

258
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 259

 A small airport that has only 10 or 15 flights scheduled


each day
260 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

 A maximum of 30 students are due to arrive at a classroom each of the m parallel service facilities, we consider the system as if it
 A hospital ward has only 10 patients who may need a were m separate single-channel systems, each with an arrival rate
particular type of care today equal to the original arrival rate divided by m.
13. Barber shop: Laundromat:
Arrivals  Customers wanting haircuts Arrivals  Customers with loads of dirty laundry
Waiting line  Seated customers; limited number of chairs; Waiting line  Customers waiting in a group for the next
priority is informal FIFO available washing machine or drier. Service on an informal FIFO
Service  Haircut, shampoo, etc. For simple service, single priority basis.
phase; for more complex service sequence (shampoo, haircut, Service facility  Two-phase system (washer, drier); each phase
manicure, etc.), probably multiphase multichannel.

Car wash: Usually either a single-channel, single-server system;


a system with each service bay having its own queue; or a self-
service system.
Single channel:
Arrivals  Dirty cars
Waiting line  Cars in single line
Service  Single phase (all automatic wash), or multiphase
(vacuum, soap, wash, dry, polish, each performed by a separate
worker or crew) (Note that we term this a single-service facility even
though work may be performed by several individuals or crews.)
Single phase:

Note: Queues can be affected by customers who wash only, or


Multiphase: dry only.
Small grocery store:
Usually a two-phase system: first phase, self-service (an infinite
number of channels); second phase, single channel
Arrivals  Customers to purchase food items
Waiting line 
Phase 1: no line
Phase 2: customers with cart or basket of groceries arrive at cash
register. Usually FIFO, but grocer may check out regular customers
first, or give priority to customer making a small, quick, purchase
Multichannel, single phase: Service 
Phase 1: gathering groceries; self-service
Phase 2: ring up sale, give change, bag groceries

Note: In practice, it is often difficult to differentiate between a


multichannel system, and a system that has multiple, parallel,
service facilities, but that actually operates as several separate
single-channel systems. Usually, if we have a system with m
parallel service facilities, and a single line forms within the
boundary of the system, then we consider the system to be a 14. (a) Doctor’s offices generally attempt to schedule “group”
multichannel system. If, on the other hand, a line forms within the arrivals (10 patients on the hour, every hour), or uniform
system ahead of
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 261

arrivals (1 patient every 15 minutes). Arrivals at an


emergency center, on the other hand, are typically Poisson.
262 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

(b) Service times often random, and described by either a *Note that Active Models D.1 and D.3 appear only on the student
negative exponential or normal probability distribution. CD. Active Model D.2 appears in the text and on the CD.
(c) Service times would approach a constant only when the
physician provided approximately the same treatment to
each patient. This might occur in the case of physical
exams, or a clinic providing flu shots.
15. Constant service time model will have an average queue
length and an average waiting time that is one-half that of the
same model with exponential service time.
16. This deals with the interesting issue of the value of waiting
time. Some service organizations place a very low value on your
time, leading to a good classroom discussion.

ACTIVE MODEL EXERCISES*


ACTIVE MODEL D.1: Single Server Model
1. For how many minutes do customers wait before their muffler
installation begins?
40
2. How fast would the average installation (service) time have to
be to cut the waiting time in half?
16 minutes
3. Suppose the arrival rate increases by 10 percent to 2.2
customers per hour. By what percentage will the waiting time
rise?
37.5%—From 40 to 55
4. What is the probability that there is no waiting line when a
car arrives for service?
There is no waiting line if no one is in the system or if one
person is in the system. From the graph, the respective
probabilities are .33 and .22, for a total of 55%.
5. What happens to the probabilities as the arrival rate increases?
The probabilities of low numbers of customers in the
system fall while the probabilities of high number of customers
in the system rises.

ACTIVE MODEL D.2: Multiple Server System with


Costs
1. What number of mechanics yields the lowest total daily cost?
What is the minimum total daily cost?
2 mechanics; $112 + 6.67 = $118.67
2. Use the scrollbar on the arrival rate. What would the arrival
rate need to be in order that a third mechanic would be required?
3.8 cars per hour
3. Use the scrollbar on the goodwill cost and determine the
range of goodwill costs for which you would have exactly one
mechanic? two mechanics?
For a goodwill cost of less than $5 per hour, use 1
mechanic. Two mechanics would be best for a goodwill cost
anywhere between $5 per hour and $100 per hour.
4. How high would the wage rate need to be in order to make 1
mechanic the least costly option?
From the graph—roughly $12.70
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 263

5. If a second mechanic is added, is it less costly to have the two


mechanics working separately or to have the two mechanics work
as a single team with a service rate that is twice as fast?
Separately—$118.67; together—changing the service rate
to 6 and doubling the wages, the single server cost is $112 +
$13.33, or $125.33. Therefore, having them work separately is
less costly.

ACTIVE MODEL D.3: Constant Service Times


1. The arrival rate of truck is, of course, a forecast and therefore
uncertain. What is the break-even point, in truck arrivals per hour,
between keeping the old compactor and purchasing the new one?
At 10 trucks per hour or higher, we should not purchase
the new compactor.
2. The service rate represents, of course, the design capacity.
What minimum rate is needed in order to save money with the
purchase of a new compactor?
10 trucks per hour or more.

END-OF-MODULE PROBLEMS
D.1  This is an M/M/1 queue;  = 3/hr; and  = 5/hr.
2 32 9
(a) Lq     0.9 persons
 (    ) 5(5  3) 5(2)
 3 3
(b) Ls     1.5 persons
   53 2
 3 3
(c) Wq    hr  18 min
 (   ) 5(5  3) 10
1 1 1
(d) Ws    hr  30 min
  53 2
 3
(e)     0.60, or 60%
 5
D.2   40 / hour,   90 / hour
40
(a)    0.44  44%
90
(40)2
(b) Lq   0.356
90(90  40)
40
(c) Ls   0.8
90  40
40
(d) Wq   0.0089 hours
90(90  40)
 0.533 minutes  32 seconds

1 1
(e) Ws   hour
90  40 50
 1.2 minutes  72 seconds
264 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

M/M/1 model with   180/hour,   120/hour,


D.3 M / M/1 model:   20,   30 or   3/min. and   2/min.
 20  2
Ls    2 customers in the system on the average (a)     3  0.667
   30  20
1 1  2 2
Ws    0.1 hour (6 minutes) that the average customer q 
(b) Wspends in the 
total 
system
 (   ) 3(3  2) 3
   30  20
 0.667 time units (minutes)
2 202
Lq    1.33 customers waiting for service in line on the 2 average 22 4
(   ) 30(30  20) (c) Lq     1.333
 (   ) 3(3  2) 3
 20
Wq    1/15 hour = (4 minutes) = average waiting time of a customer in the queue awaiting service
(   ) 30(30  20) D.7 This is an M/M/1 model.  = 24,  = 30
 20 1 1 1
=   0.67  percent of the time that he is busy waiting on(a) Ws 
customers   hours  10 min.
 30    30  24 6
 24 24
 (b) Ls    = 4 cars
P0  1   1    0.33  probability that there are no customers in the system
   30  24 6
 (being waited on or waiting in the queue) at any given time
2 242 242
Probability of k or More (c) Lq    = 3.2 cars
Customers  (   ) 30(30  24) 30(6)
Waiting in Line and/or Being  24 24 2
Waited On (d) Wq    = hours  8min.
 (   ) 30(30  24) 30(6) 15
k 1
  1
 k Pn k    (e) P0  1   /   1  24 / 30   .20
  5
 24 4
 0 0.667 (f)      .80
 1 0.444  30 5
 2 0.296 (g) Probability( n  2)  Pn 1  Pn 2
 3 0.198 11 2 1
 24   24 
     .640  .512  0.128
 30   30 
D.4
 D.8 M/M/1 model with  = 3,  = 8
(a) P0 = 1   1    0.5
 (a) The utilization rate, , is given by:

(b)  = = 0.5  3
    0.375
 8

(c) Ls = =1 (b) The average down time, Ws, is the time the machine

waits to be serviced plus the time taken to perform the
2 service.
(d) Lq = = 0.5
 (   ) 1 1
Ws    0.2 days, or 1.6 hours
(e) Wq =

= 0.05 hours
      8  3
 (   )
1
(f) Ws = = 0.1 hours
D.5   
where:   20 / hour,   10 / hour
M/M/1 model:  = 12,  = 15
(a) Lq Average number of prescriptions in the queue:
From Table D.5,   .8,
So Lq = 3.2
(b) Wq Average time a prescription spends in the queue:
Lq3.2
   .2667hrs = 16 min.
 12
(c) Using M  2 in Table D.5,   .8, so
Lq  .1523
D.6 .1523
Then Wq   .0127 hr. = .76 minutes  46 sec.
12
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 265

(c) The number of machines waiting to be served, Lq, is, on (c) The average time a customer spends in the ticket
average: dispensing system, Ws, is given by:
2 32 1 1 1
Lq    0.225 machines waiting Ws   
 (    ) 8(8  3) (   ) (280  210) 70
 0.014 hours in the line
(d) Probability that more than one machine is in the system:
Ws  0.014 hours  0.857 minutes  51.4 seconds
k 1 2
  3 9
Pn  k    , or Pn 1      0.141 (d) The average time spent by a patron waiting in line to
  8 64 get a ticket, Wq, is given by:
Probability that more than 2, 3, 4 machines are in the  210 210
system: Wq   
 (    ) 280(280  210) 280  70
3
3 27 210
Pn  2      0.053   0.011 hours
8
  512 19,600
4  0.64 minutes  38.6 seconds
3 81
Pn 3      0.020 (e) The probability that there are more than two people in
8 4096
5
the system, Pn>2, is given by:
3 243
Pn  4      0.007  
k 1
8 32,768 Pn  k   
D.9 This is an M/M/1 model;  = 10,  = 15 
3
 10  210 
(a) Wq   Pn  2     0.422
 (    ) 15(15  10)  280 
10 2 The probability that there are more than three people in
   0.1333 hours  8 min.
15(5) 15 the system, Pn>3, is given by:
4
2 102 102  210 
(b) Lq     1.333 Pn 3     0.316
 (    ) 15(15  10) 15(5)  280 
1 1 1 The probability that there are more than four people in
(c) Ws    hours  12 min.
   15  10 5 the system, Pn>4, is given by:
 10 10  210 
5
(d) Ls    2 Pn  4  
   15  10 5   0.237
 280 
(e) P0  1   /   1  10 /15  1/ 3
D.11 This is an M/M/1 queue;  = 25/hr.; and  = 30/hr.
(f ) This is an M/M/2 model;  = 10,  = 15
(a) Wq = 0.0083 hours 2
(a) Lq 
(b) Lq = 0.0833 (   )
(c) Ws = 0.075 hours
252
(d) Ls = 0.75 
30(30  25)
(e) P0 = 0.5
625
D.10  = 210 patrons/hour,  = 280 patrons/hour; M/M/1 model   4.1667 students
150
(a) The average number of patrons waiting in line, Lq,
1 1 1
is given by: (b) Ws    hr  12min
   30  25 5
2 2102 44,100 (c)   25 / hr;   40 / hr.
Lq   
 (    ) 280(280  210) 280  70
1 1 1
44,100 Ws    hr, or 4 min
  2.25 patrons in line    40  25 15
19,600
The new time is 4 min, a reduction of 8 min.
(b) The average fraction of time the cashier is busy,
, is given by: (d) This is an M/M/2 queue;  = 25;  = 30.
Ws = 0.04 hr, or 2.4 min
 210
   0.75
 280
266 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

D.12  = 30 trucks/hour,  = 35 trucks/hour; M/M/1 model (c) To decide whether or not to add the second clerk,
(a) The average number of trucks in the system, Ls, is we must:
given by:  Compute present total cost
 Compute total cost with the second clerk
 30 30 Compare the two
Ls     6 trucks in the system 
   35  30 5 Present total cost:
(b) The average time spent by a truck in the system, Ws, is Ct / hour  Service cost  Waiting cost
given by:  $10 per hour 
1 1 1 (12 calls per hour  0.267 hours
Ws     0.2 hours = 12 minutes
   35  30 5 waiting per call  $25 per hour)
(c) The utilization rate for the bin area, , is given by:  10  (12  0.267  25)
 30 6  10  80.1/ hour
    0.857
 35 7  $90.10 / hour
(d) The probability that there are more than three trucks in To determine total cost using the second clerk (a second
the system, Pn > 3, is given by: channel):
k 1
  1
Pn  k    P0 
  n  M 1 n M

Pn 3
 30 
4
    0.540

  1  
n!   


1  
M !   
M
M  
 n 0 
 35  1
 0 1 2 2  15
Thus, the probability that there are more than three 1  12  1  12  1  12 
0!  15 
 1  15 
 1  2  15  2  15  12
trucks in the system is 0.540.
(e) Unloading cost: 1
 2
hours trucks hours $ 1 4  1  4  2  15
Cu  16  30  0.2  18 5 2  5  30  12
day hour truck hour
1

 16  30  0.2  18  $1,728 / day
1 4
5
    1625   1830 
1
2
or $12,096 per week
1
(f ) Enlarging the bin will cut waiting costs by 50% next  4 480
1 
year. First, we must compute annual waiting costs: 5 900

weeks days $ or:


Annual waiting costs  2 7  1,728
year week day
1 1
 $24,192 P0    0.429
1  0.8  0.53 2.33
Enlarging the bin will cut waiting costs by 50% next
 
M
year, resulting in a savings of $12,096. Because the cost 


of enlarging the bin is only $9,000, the cooperative Wq  P0
should proceed to enlarge the bin. The net savings is ( M  1)!( M    )2
$3,096 (= 12,096 – 9,000).
Then:
D.13  = 12 calls/hour,  = 60/4 = 15 calls/hour
 1215 
2
(a) The average time the catalogue customer must wait, 15 
Wq, is given by: Wq   0.429
(2  1)!(2  15  12)2
 12 12
Wq    15  0.64
 (   ) 15(15  12) 15  3   0.429
1  (30  12) 2
12
  0.267 hours = 16 min. 4.12
45   0.0127 hours
1  324
(b) The average number of callers waiting to place an
order, Lq, is given by:  0.763 minutes

2 122 144
Lq   
 (    ) 15(15  12) 15  3
144
  3.2 customers
45
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 267

Cost with two clerks: Other problems arise as well. If an exiting


Ct / hour  Service cost  Waiting cost passenger’s card does not have the correct fare, the
card is rejected and the passenger must leave the line,
calls hours $
 20  12  0.0127  25 go to an “add fare” machine to correct the deficiency,
hour call hour and enter the queue again. This resembles the reneging
 20  12  0.0127  25 customer.
 20  3.81  $23.81/ hour Note: In the real-world subway station in Washington, DC,
common queues are not formed at turnstiles and the
There is a saving of $90.10 –$23.81 = $66.29/hour
problem becomes a series of single channel queues.
Thus, a second clerk should certainly be added!
D.16  = 10/hour,  =  60/4.5 = 13.33/hour; M/D/1 model
With three clerks the cost goes to $30.47. So the costs
 10 10
are: (a) Wq =  
      2(13.33)(13.33  10) 88.8
1 clerk $90.10
2 clerks $23.81  0.113 hour  6.8 minutes
3 clerks $30.47  100 100
(b) Lq   
For 3 clerks, Wq = 0.00158 (from Excel OM) 2       2(13.33)(13.33  10) 88.8
$30 + (12  0.0015  $25) = $30 + 0.47 = $30.47  1.13 cars waiting
Therefore, optimum number of clerks is 2. D.17 N = 5 tools
D.14  = 15/hour,  = 20/hour M = 1 technician
(a)  Wq = 0.075 hours = 4.5 minutes 1
T = 2 hours/8 hour day = day
4
(b)  Lq = 1.125 people 1
U= day
(c)  Now  = 10/hour,  = 30/hour: So, 3
1
1 T
Wq = 0.0083 hours = minute = 30 sec. (a) The service factor  X   4  0.429
2 T +U 1 1

 4 3
Lq = 0.083 people  
D.15 (a) Entering:  = 84/minute,  = 30/minute,  = 2.8 (which is close to 0.420 for Table D.8)
Exiting:  = 48/minute,  = 30/minute,  = 1.6
(b) Average no. of machines in service (using Table D.7) =
The manager desires that Wq  0.1 minute = 6 seconds
J = NF(1 – X) = 5(0.471) (1 – 0.429) = 1.34
and that Lq  8 customers in queue.
Entering: (c) With M = 2 technicians, F rises to 0.826. The average
number of machines in service grows to J = 5(0.826)
If M  3, Lq  12.27 and (1 – 0.429) = 2.36
Wq = 0.14 minute (too high)
If M  4, Lq = 1.00 and D.18 N = 5 computers, M = 2 technicians, T = 15 minutes,
Wq = 0.01 minute (this is okay) U = 85 minutes
If M = 5, Lq = 0.24 and T 15 15
X    0.15
Wq = 0.003 minute (this is also okay) T  U 15  85 100
So the manager must open M = 4 or more entrances. (a) The average number of computers waiting for service,
Exiting: L, is given by:
If M  2, Lq  2.8, Wq  0.06 minute (this is okay) L  N (1  F )
If M  3, Lq  0.31, Wq  0.006 minute (also okay) where F is found from Table D.8. From Table D.8,
with M = 2, X = 0.15: F = 0.990
So the manager must open M = 2 or more exits. Since
L  5  (1  0.990)  0.05 computers
there are only 6 turnstiles, 4 must be used as entrances
and 2 as exits. (b) The average number of computers being served, H, is
given by:
(b) The students should recognize and question all the
H = FNX
limiting queuing assumptions that have been applied in
solving the case. For example, it may be reasonable to where F is found from Table D.8. From Table D.8
assume that arrivals at the entrance turnstiles are with M = 2, X = 0.15: F = 0.990
independent and Poisson. But are exiting passengers H = 0.990  5  0.15 = 0.743 computers
independent? More realistically, they arrive in batches (c) The average number of computers not working is given by:
(as a train arrives), and unless trains unload every N  J  N  N  F  (1  X )  N  [1  F  (1  X )]
minute or two, this assumption may be unreasonable.  5  [1  0.990  (1  0.15)]
 5  [1  0.990  0.85]
 5  [1  0.8415]  5  0.1585  0.793
268 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

Therefore, on average, 0.793 computers are not work- D.19 N = 5 drilling machines, M = 1 mechanic, T = 1 day,
ing properly. U = 6 days
T 1
X   0.143
T U 1 6
The value 0.145 will be used for X when referencing Table
D.8.
(a) The average number of machines waiting for service,
L, is given by:
L = N(1 – F)
where F is found from Table D.8. From Table D.8,
when M = 1, X = 0.145; F = 0.892
L = 5(1 – 0.892) = 0.54 machines waiting
(b) The average number of machines in running order, J, is
given by: J = NF(1 – X) where F is found from Table
D.8. From Table D.8, with M = 1, X = 0.145; F = 0.892
J = 5  0.892  (1 – 0.145) = 3.81 machines
(c) The reduction in waiting time obtained by employing a
second mechanic is found as follows: Waiting time
employing a single mechanic, W1, is given by:
T (1  F )
W1 
XF
where F is found from Table D.8. From Table D.8,
when M = 1, X = 0.145; F = 0.892.
1  1(1  0.892)
W1   0.835 days
0.145  0.892
From Table D.8, with M = 2, X = 0.145: F = 0.991
1  1(1  0.991)
W2 = = 0.063 days
0.145  0.991
The time saved is given by: W1 – W2
Time saved = 0.835 – 0.063 = 0.772 days  6 hours
for an 8-hour day
D.20 (a) 9 A.M.–3 P.M.: Arrival rate = 6 patients/hour
Service rate = 5 patients/hour
Number of Doctors Wait Time
(minutes)
1 
2 6.75
3 0.94
4 0.16

Therefore, three doctors are needed between 9 A.M.


and 3 P.M.
(b) 3 P.M.–8 P.M.: Arrival rate = 4 patients/hour
Service rate = 5 patients/hour
Number of Doctors Wait Time
(minutes)
1 48.0
2 2.29
3 0.28
4 0.04
Therefore, two doctors are sufficient between 3 P.M.
and 8 P.M.
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 269

(c) 8 P.M.–Midnight: Arrival rate = 12 patients/hour


Service rate = 5 patients/hour
Number of Doctors Wait Time
(minutes)
1 
2 
3 12.940
4 2.154

Therefore, four doctors are required between 8 P.M.


and midnight.
D.21 Employee system: The current system is actually an
M/D/1
system because service times are constant.  = 10,  = 12.
2 100 100
(a)   Lq     2.08 drivers.
2 (    ) 2(12)(12  10) 48
The average number of drivers waiting to pay the toll
is 2.08

(b)  Ls  Lq    2.08  0.83  2.91 drivers . The average
number of drivers at any one toll booth is 2.91.
 10 10
(c)  Wq     0.208 minutes
2 (   ) 2(12)(12  10) 48
= 12.5 seconds. The average time drivers spend
waiting is 12.5 seconds.
(d) Ws = Waiting time  Service time = 12.5 seconds 
5 seconds = 17.5 seconds (or .29 minutes)
Automated system: The proposed system, although
automated, is an M/M/1 system.
2 100 100
(a)  Lq     4.167 drivers.
 (    ) 12(12  10) 24
Twice as many drivers are in line under the new,
automated system.

(b)  Ls  Lq    5 drivers. On average, 5 customers are
in the system, which is 67 percent more customers than
the current system allows.
 10 10
(c)  Wq     0.417minutes
 (   ) 12(12  10) 24
= 25 seconds. The waiting time will double with
the new system.
1
(d)  Ws  Wq   30 seconds (or .5 minutes).

The time in the system will rise by 67 percent. The
employee system seems to be better overall.
270 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

D.22 (a) Each server handles 60 registrants/hour, so it takes 4


servers to handle 200 arrivals/hour
(b, c)  = 200,  = 60
M = 4 servers yields: Lq = 3.29,
Server cost = 4 × $15 = $60
Wait cost = (3.29 people)($100) = $329 (rounded)
Total cost = $389
With M = 5 servers, Lq = 0.65,
Wait cost = (0.65)($100) = $65; Server cost = 5 × 15 = $75
Total Cost = $140
With M = 6 servers, Lq = .19
Wait cost = (.19)($100) = $19; Server cost = 6 × 15 = $90
Total cost = $109
With M = 7 servers, Lq = .06
Wait cost = (0.6)($100) = $6, Server cost = 7 × 15 = $105
Total cost = $111
So M = 6 servers is optimal, at a total cost
 $109  lowest cost
(d)  Server utilization rate = 83.33% for 4 servers.
D.23 (a, b)  = 200,  = 60 again, as in Problem D.22.
Server costs do not change.
M = 6 servers is again optimal, at we see below:
For M = 4, (3.29)($50) = $164.50 = Wait cost
Total cost = $60 + $15 + $164.50 = $239.50
For M = 5, (.65)($50) = $32.50 = Wait cost
Total cost = $75 + $15 +$32.50 = $122.50
For M = 6, (.19)($50) = $9.50 = Wait cost
Total cost = $90 + $15 +$9.50 = $114.50  lowest cost
For M = 7, (.06)($50) = $3 = Wait cost
Total cost = $105 + $15 + $3 = $123

D.24 The manager’s calculations are as follows:


Number of Salespeople
1   2 3 4
(a) Average number of customers per shift 50 50 50 50
(b) Average waiting time per customer 7 4 3 2
(minutes)
(c) Total waiting time per shift (a  b) 350 20 150 100
(minutes) 0
(d) Cost per minute of waiting time$1.00 $1.0 $1.00 $1.00
(estimated) 0
(e) Value of lost time (c  d ) per shift $350 $20 $150 $100
Because the minimum total cost per shift relates to two
salespeople, the manager’s optimum strategy is to hire
two salespeople.
QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S 271

CASE STUDIES net savings is $1.26 per trip.


Hourly savings:
1 NEW ENGLAND FOUNDRY On average there are 4 arrivals per hour from casting, and 3
arrivals per hour from the molding department. Therefore, the
1. How much time would the new layout save?
hourly savings are given by:
To determine how much time the new layout would save, the
present system must be compared to the new system. The amount S   4 trips  $0.40/trip (casting)
of time that an employee spends traveling to the maintenance  3 trips  $1.66/trip (molding)
department added to the time he spends in the system being
 1.60  4.98  $3.38 per hour
serviced and waiting for service presently, compared to this value
under the proposed system, will give the savings in time. 3. Because the net savings for the new layout is small, other
Under the present system, there are two service channels with factors should be considered before a final decision is made. For
a single line (M = 2). The number of arrivals per hour is 7( = 7). example, the cost of changing from the old layout to the new
The number of employees that can be serviced in an hour by each layout could completely eliminate the advantages of operating the
channel is 5 ( = 5). The average time that a person spends in the new layout. In addition, there may be other factors, some non-
system is: economic, that were not discussed in the case that could cause you
to want to stay with the old layout. In general, when the cost
  
M
 1 savings of a new approach, a new layout in this case, is small,
Ws  P0  careful analysis should be made of other factors.
( M  1)!( M    )2 
The average time a person spends in the system under the present 2 THE WINTER PARK HOTEL
system is 0.392 hours, or 23.5 minutes.
Adding the “system time” to the travel times involved 1. The current system has five clerks each with his or her own
(6 minutes total for casting personnel and 2 minutes for molding waiting line. This can be treated as five independent queues, each
personnel), the total trip takes: with an arrival time of  = 90/5 = 18 per hour. The service rate is
one every three minutes or  = 20 per hour. Assuming Poisson
for casting: 29.5 minutes arrivals and exponential service times, the average amount of time
for molding: 25.5 minutes that a guest spends waiting and checking-in is given by:
Under the new system, waiting lines are converted to single- 1 1
channel, single-line operations. Bob will serve the casting Ws    0.5 hours, or 30 minutes
   20  18
personnel and Pete will serve the molding personnel.
Bob can now service 6 people per hour (  = 6). Four people If 30 percent of the arrivals (that is,  = 0.3  90 = 27 per hour)
arrive from the casting department every hour ( = 4). are diverted to a quick-serve clerk who can register them in an
The time spent in Bob’s department is: average of two minutes ( = 30 per hour), their average time in
1 1 1 the system will be 20 minutes. The remaining 63 arrivals per hour
Ws   = hour = 30 minutes would distribute themselves equally among the four remaining
   64 2
clerks ( = 63/4 = 15.75 per hour), each of whose mean service
The reduced travel time is equal to 2 minutes, making the total time is 3.4 minutes (or 0.5667 hours), so that  = 1/0.5667 =
trip time equal to 32 minutes. This is an increase in time of 2 17.65 per hour. The average time in the system for these guests
minutes and 30 seconds for the maintenance personnel. will be 0.53 hours or 31.8 minutes. The average time for all
Pete can now service 7 people per hour ( = 7). Three people arrivals would be 0.3  20 + 0.7  31.8 = 28.3 minutes.
arrive from the molding department every hour ( = 3). A single waiting line for the five clerks yields an M/M/5 queue
The time in Pete’s department is: with  = 90 per hour,  = 20 per hour. The calculation of average
1 1 time in system gives Ws = 7.6 minutes. This plan is clearly faster.
Ws   hour, or 15 minutes
73 4 Use of an ATM with the same service rate as the clerks
The travel time is equal to 2 minutes, making the total trip time (20 per hour) by 20 percent of the arrivals (18 per hour) gives the
equal to 17 minutes. This is a decrease in time of 8 minutes and same average time for these guests as the current system—
30 seconds per trip for the molding personnel. 30 minutes. The remaining  = 72 per hour form an M/M/4 or
2. If casting personnel were paid $9.50 per hour and molding M/M/5 queuing system. With four servers, the average time in the
personnel were paid $11.75 per hour, how much could be saved system is 8.9 minutes, resulting in an overall average of:
per hour with the new factory layout? 0.2  30  0.8  8.9 = 13.1 minutes
To evaluate systemwide savings, the times must be monetized. With five servers, the average time is 3.9 minutes resulting in an
For the casting personnel who are paid $9.50 per hour, the overall average of:
2.5 minutes lost per trip costs the company $0.40 per trip (2.5  0.2  30  0.8  3.9 = 9.1 minutes
60 = 0.042 of an hour; 0.042  9.50 = 0.40). For the molding
2. Therefore, the single waiting line with five clerks is the better
personnel who are paid $11.75 per hour, the 8 minutes and 30
option.
seconds saved per trip saves in monetary terms $1.66 per trip. The
272 QUANTITATIVE MODULE D W A I T I N G - L I N E M O D E L S

INTERNET CASE STUDY* reality, the minimum number is 7, and the average waiting time is
2.2 minutes. Trying one more server leads to a waiting time of
PANTRY SHOPPER 0.64 minutes.
Beth wants to get a general idea of the system behavior. She first Now we separate the express and regular customers. Assume
will need to decide whether she is interested in time waiting or that all express customers go into the express lane (even though
time in system. Some students may use system time, but because they can go into any lane) and assume that all nonexpress
most shoppers are relieved when it is their turn, we use waiting customers go into the proper lanes (even though we all have seen
time as our measure. For all of our analyses, we use current people with 20 packages get into a 10-items-or-less line).
service times, even though a UPC reader is going to be installed. For the express lane, with an arrival rate of 20 and a service
This means that our waiting times are an upper bound for the new, rate of 30, one server yields an average wait of 4 minutes, while
better system. We also assume the M/M/s model. two servers yield an average wait of 0.25 minutes.
We begin with a rough analysis (one that is going to have a For the regular lane, with an arrival rate of 80 and a service
very interesting feature, by the way). We assume that there are no rate of 15, 6 servers yield an average wait of 4.28 minutes, and 7
express lanes. Then, we want to find the average service time and servers yield an average wait of 0.98 minutes.
rate. The time is given by: If Beth uses 7 servers, they will be split this way: 6 in regular
lanes and 1 in an express lane. If Beth uses 8 servers, a 6–2 split
t = 0.2 (2 minutes)  0.8 (4 minutes) = 0.4  3.2 = 3.6 minutes
between regular lanes and express lanes yields an average wait of:
This means that the average service rate is 60/3.6 = 16.67
(0.2)(0.25)  (0.8)(4.28) = 0.05  3.424 = 3.47 minutes
customers per hour. Notice that this is not the same as taking 20
percent of the rate of 30 and 80 percent of the rate of 15, which A 7–1 split yields an average wait of:
would equal 18 and would be wrong. (0.2)(4)  (0.8)(0.98) = 0.8  0.784 = 1.584 minutes
Using an arrival rate of 100 and a service rate of 16.67, the which is better. However, the express lane would be slower than
minimum number of servers is 6. (This is due to round off.) In the regular lanes!

*Solution to case that appears on our Companion Web site, www.


prenhall.com/heizer.

You might also like