HW3Solutions PDF
HW3Solutions PDF
HW3Solutions PDF
Fall 2015
Homework 3 - Solutions
September 6, 2015
1. A camera store specializes in a particular popular and fancy camera. Assume that these cameras
become obsolete at the end of the month. They guarantee that if they are out of stock, they will
special-order the camera and promise delivery the next day. In fact, what the store does is to purchase
the camera from an out of state retailer and have it delivered through an express service. Thus, when
the store is out of stock, they actually lose the sales price of the camera and the shipping charge, but
they maintain their good reputation. The retail price of the camera is $500, and the special delivery
charge adds another $50 to the cost for each camera. At the end of each month, there is an inventory
holding cost of $50 for each camera in stock (for doing inventory etc). Wholesale cost for the store to
purchase the cameras is $300 each. (Assume that the order can only be made at the beginning of the
month.)
(a) Identify the understock cost per unit (Cu ) and overstock cost per unit (Co ).
Hint: Pay attention to understock cost. when the store is out of stock, they actually lose the
sales price of the camera and the shipping charge.
Data: unit retail price is 500, unit delivery charge is 50; consequently Cp = 500 and Pu = 50, unit
variable cost is Cv = 300, unit inventory holding cost is h = 50.
Understock cost: Cu = Cp + Pu = 500 + 50 = $550
Overstock cost: Co = h = $50
(b) Assume that the demand has a discrete uniform distribution from 25 to 30 cameras a month
(inclusive). If 26 cameras are ordered at the beginning of a month, what are the expected overstock
cost and the expected understock or shortage cost? What is the expected total cost?
The distribution of demand is:
D=d
P {D = d}
25
26
27
28
29
30
1
6
1
6
1
6
1
6
1
6
1
6
30
X
x=25
30
X
(max{26 x, 0}P {D = x}
x=25
(d) What is the expected total cost that corresponds to the optimal order quantity?
Expected understock cost:
Cu E[max{D 27, 0}] = Cu
30
X
x=25
Co E[max{27 D, 0}] = Co
(max{27 x, 0}P {D = x}
x=25
Now y solves F (y ) = P (D y ) =
P ( D800
100
y 800
100 )
5
12
0.417
=
where Z is the standard normal random variable.
Note that
Also, P (Z 0.21) 0.417 from the standard normal table.
Thus, y = 0.21 100 + 800 = 779; so order 779 cameras.
2. Every four years, Blockbusters Publishers revises its textbooks. It has been three years since the bestselling book The Joy of OR has been revised. At present, 2000 copies of the book are in stock, and
Blockbusters must determine how many copies of the book should be printed for the next year. Each
copy of the book sold during next year will bring the publisher $45 in revenues. Any copies of that
are left at the end of the year cost $5 dollars per copy to get rid of. The cost of printing the book is
$50,000 (fixed one-time cost) plus $20 per book printed.
(a) Suppose that the estimated demand for the book is discrete with P r{D = 5000} = 0.20, P r{D =
6000} = 0.30, P r{D = 7000} = 0.30, and P r{D = 8000} = 0.20. How many copies of the book
should be printed?
When we have a fix cost of Cf = 50000, Cv = 20, Cu = 45, Co = 5 and x = 2000. The optimal
order quantity y satisfies:
F (y )
25
Cu Cv
45 20
=
=
= 0.5
Cu + Co
45 + 5
50
D=d
P {D = d}
5000
0.20
6000
0.30
7000
0.30
8000
0.20
Then y = 6000. Now, we check the expected costs for ordering 6000-2000=4000 and not ordering.
= 45(E[D] 2000)
8000
X
= 45(
xP {D = x} 2000)
x=5000
(calculated E below)
= 162, 500
8000
X
x=5000
E[max{6000 D, 0}] =
(max{6000 x, 0}P {D = x}
x=5000
= 45(E[D] 4000)
= 45(
8000
X
xP {D = x} 4000)
x=5000
= 122, 500
As the expected cost of ordering 2000 is more than that of not ordering, they should order nothing.
3
100 50
10
cu cv
=
=
0.435
cu + co
100 + 15
23
0.3 300
0.5 500
FD (y) =
0.9 700
1 900
Therefore, the optimal order-up-to quantity y is 500, as FD (y) 0.435.
Now, lets determine the optimal ordering policy for arbitrary initial inventory level x.
If we decide to order, we will order up to 500 liters of solvent. Suppose we have x inventory
currently. Evaluate the two scenarios:
Ordering: If we decide to order, we will place an order for (500 x) liters, as we already have
x liters in the inventory. We need to pay the fixed ordering cost and the variable purchasing cost
for the order. We also have to expect the costs from shortage and left-over situations. Note that
we will start the next month with 500 liters because we will order up to 500 liters. Hence,
E[Cost] = cf + cv (500 x) + cu E[(D 500)+ ] + co E[(500 D)+ ]
= 8000 + 50 (500 x) + 100 120 + 15 60
= 45900 50x
900
X
x=300
E[max{500 D, 0}] =
900
X
(1)
(max{500 x, 0}P {D = x}
x=300
(2)
Not ordering If we decide not to order, we dont have to pay the ordering cost. We do have
to expect shortage and left-over costs. Now assume that x < 300. (We will check if our will be
indeed in this range, [0,300].) Note that we will start the next month with x liters because we
will not order in this scenario.
As we assume that x < 300, E[(D x)+ ] = E[D] x and E[(x D)+ ] = 0.
Given that E[D] = 300 0.4 + 500 0.3 + 700 0.2 + 900 0.1 = 560:
E[Cost] = cu E[(D x)+ ] + co E[(x D)+ ]
= 100 (560 x) + 15 0
= 56000 100x
4
When we have exactly x liters, we should be indifferent between ordering and not ordering. Hence,
56000 100x = 45900 50x
x = 202
We found that x is in [0,300] range, so our assumption holds. Below is the graph of the relationship between the cost and x . As you realize, the expected cost of ordering is less than the
expected cost of not ordering when x < 202. It means that if our inventory is below 202 liters,
we will order up to 500 liters. Similarly, if our inventory is above 202 liters, we will not order for
the next month.
E[Cost]
104
6
4
ordering
2
not ordering
100
200
300
x = 202
400
500
(b) As found in question 1, the optimal order-up-to quantity is 500. Also, we found that, we will
order if the initial inventory is less than 202.
Thus, for x = 0, we should order 500 liters. For other cases, we shouldnt order.
(c) For x = 0, we will order 500 liters, so the expected cost of ordering:
900
X
x=300
E[max{700 D, 0}] =
900
X
(3)
(max{700 x, 0}P {D = x}
x=300
(4)