Professional Documents
Culture Documents
Choueiri
Solution:
There is a single counter and a single clerk, so it is a single-channel system, and we’ll use what
the book refers to as an M/M/1 model. The arrival rate is λ = 60/15 = 4 students/hr., and the
service rate is µ = 60/10 = 6 students/hr.
a. The percentage of time that Adriana is busy is equal to her utilization: ρ = λ/µ = 4/6 =
0.667 or 66.7 percent.
λ2 42
b. Average number in line: Lq = µ(µ−λ) = 6(6−4) = 1.333 students.
d. Probability of at least one other student waiting in line: To answer this, we need the
formula:
µ ¶n µ ¶ µ ¶n
λ λ λ
Pr{n customers in the system} = Pn = P0 = 1−
µ µ µ
Note that Pr{1 or more in line} = Pr{2 or more in system} = 1−Pr{fewer than 2 in system} =
1 − (P0 + P1 ). Using the formula above, we compute P0 = 0.333 and P1 = 0.222, so
1 − (P0 + P1 ) = 0.445. Alternatively, we could use the formula Pn>k = (λ/µ)k+1 with
k = 1, which yields the same result.
2. (Continued from Problem 1.) The College of Management estimates that the time a student
spends waiting in line costs $10 per hour (due to loss of goodwill, etc.). To reduce the time a
student spends waiting, they know that they need to improve Adriana’s processing time. They
are currently considering the following two options:
• Install a computer system which will reduce the average processing time 40 percent.
• Hire another clerk who will work at the same rate as Adriana.
If the computer costs $99.50 per day to operate, and the clerk gets paid $75 per day, which
alternative should the school choose?
Solution:
Compare the two alternatives based on the sum of waiting costs and additional service cost,
assuming eight hours of operation per day.
Spring 2009
New computer: We still have a single-channel system, and the arrival rate stays the same: λ = 4
students/hr. The service time is reduced by 40 percent, so the new service time is 6 minutes, so
the new service rate is µ = 10 students/hr. The waiting cost depends on the number of students
λ2 42
waiting in line: Lq = µ(µ−λ) = 10(10−4) = 0.267 students. Thus, we have
Another clerk: We’ll assume that students form a single line and go to the first available clerk.
Since there are two clerks serving one line, we need to use the multiple channel (M/M/m) model
with m = 2. As in Question 1, we have λ = 4 students/hr., and µ = 6 students/hr. For the
multiple channel model, it’s easiest to use the table of Lq values (at the end of this document).
First, we recall that λ/µ = 4/6 = 0.667. Look at Lq table and find λ/µ = 0.667; now find the
row labeled m = 2. We see that Lq = 0.083. Thus, we have
Since this is less than the cost of adding a computer, it is better to hire another clerk. (Note:
If you do not see the exact value of λ/µ that you are looking for, you can find a value that is
close, or take an average of two values.)
3. At the border inspection station in Brownsville, Texas, vehicles arrive at the rate of 10 per minute
according to a Poisson process. The time it takes to inspect a car is exponentially distributed
with a mean of 5 seconds. Answer the questions below, assuming that there is only one lane and
one inspector.
Solution:
Here we have a single inspector and a single line, so it is a single-channel waiting line system
(M/M/1). Cars arrive in a Poisson fashion, and the mean arrival rate is λ = 10 cars/min. The
service times are exponential with mean of 5 seconds, so the service rate is µ = 60/5 = 12
cars/min. We can use any time units we want, but we must be sure that we are consistent.
λ2 102
a. Average number cars in line: Lq = µ(µ−λ) = 12(12−10) = 4.167 cars.
b. Average time in system: W = Wq + 1/µ = Lq /λ + 1/µ = 4.167/10 + 1/12 = 0.5 minutes or
30 seconds.
c. Utilization: ρ = λ/µ = 10/12 = 0.833 or 83.3 percent.
d. Note that Pr{3 or more in line} = 1 − Pr{4 or more in system} = 1 − (P0 + P1 + P2 + P3).
Using the formula for Pn above, we compute P0 = 0.167, P1 = 0.139, P2 = 0.116, and P3 =
0.097. Thus, we have 1 − (P0 + P1 + P2 + P3) = 1 − 0.518 = 0.482. Alternatively, we could
use the formula Pn>k = (λ/µ)k+1 with k = 3, which yields the same result.
4. (Continued from Problem 3.) The border inspection station is considering the addition of a
second inspector. One alternative is to have cars form a single line and proceed to the first
available inspector. Answer the questions below with respect to this alternative.
Another alternative is to have the cars form two lines, one for each inspector. Answer the
questions below with respect to this alternative.
Solution:
First, we consider the alternative of having cars form a single line and proceeding to the first
available inspector, as shown in Figure 1. Since we have two inspectors serving one line, this is
a multiple-channel queue (M/M/m), with m = 2. The arrival rate is still λ = 10 cars/min. and
the service rate is still µ = 12 cars/min. for each inspector.
a. Average number of cars in line: First, we recall that λ/µ = 10/12 = 0.833. Looking at the
Lq table, and finding λ/µ = 0.833 and m = 2 reveals that Lq = 0.175 cars.
b. Average time in the system: W = Wq + 1/µ = Lq /λ + 1/µ = 0.175/10 + 1/12 = 0.10083
minutes or about 6 seconds.
Now let’s consider the alternative of having the cars form two lines, one for each inspector, as
shown in Figure 2. Since each inspector has his/her own line, we really have two, single-channel
queues. Clearly, each inspector will still be able to serve µ = 12 cars/min. What is the arrival
rate to each line? Well, if 10 cars arrive per minute, how many of them will go to the first line,
on average? Approximately half, so now we have λ = 5 cars/min.
λ 2 5 2
c. Average number cars in line: Lq = µ(µ−λ) = 12(12−5) = 0.298 cars. But this result applies
to each line, so for the whole system we have 2(0.298) = 0.596 cars waiting.
d. Average time in system: W = Wq + 1/µ = Lq /λ + 1/µ = 0.298/5 + 1/12 = 0.1429 minutes
or 8.58 seconds.
Notice how for both alternatives the time spent in the system was more than cut in half with
the addition of another inspector. However, the results are better for the first alternative. Why?
λµ(λ/µ)m (λ/µ)n
Lq λ
Lq = P0 Wq = Pn = P0 , 1≤n≤m ρ=
(m − 1)!(mµ − λ)2 λ n! mµ
λ 1 1
L = Lq + W = Wq + P0 = m−1 n
µ µ P 1 λ m
1 λ mµ
+
n=0
n! µ m! µ mµ − λ