Escolar Documentos
Profissional Documentos
Cultura Documentos
Storage
Storage
Storage
Manufacturing Inventory
Storage
Motives/benets
Manufacturing Inventory
Storage
Costs
obsolescence
fashion
Newsvendor
Problem
... formerly called the Newsboy Problem.
Motive: demand risk.
Newsguy buys x newspapers at c dollars per paper (cost ).
Demand for newspapers, at price r > c is w. Unsold
newspapers are redeemed at salvage price s < c.
Demand W is a continuous random variable with distribution
function F (w) = prob(W w); f (w) = dF (w)/dw exists for
all w.
Note that w 0 so F (w) = 0 and f (w) = 0 for w 0.
Newsvendor
Problem
Revenue = R =
rx
if x w
rw + s(x w) if x > w
(r c)x if x w
Prot = P = rw + s(x w) cx
Newsvendor
Problem
700
Revenue
Profit
600
500
400
300
200
100
-100
-200
200
400
600
800
stock
1000
1200
1400
1600
Newsvendor
Problem
0.4
0.35
f(w)
0.3
x>w
x<w
Revenue=rw+s(xw)
Revenue=rx
Profit=rw+s(xw)cx
Profit=(rc)x
0.25
0.2
0.15
0.1
0.05
0
Newsvendor
Problem
Expected Prot = EP (x) =
(r c)xf (w)dw
Newsvendor
Problem
or EP (x)
= (r s)
wf (w)dw + (s c)x
+(r c)x
= (r s)
f (w)dw
f (w)dw
wf (w)dw
Newsvendor
Problem
EP is 0 when x = 0.
Therefore when x , EP .
Newsvendor
Problem
EP(x)
Newsvendor
Problem
EP(x)
?
x
Newsvendor
Problem
dEP
dx
+r c + (s c r + c)F (x)
= r c + (s r)F (x)
Newsvendor
Problem
Note that
d2EP/dx2 = (s r)f (x) 0. Therefore EP is
concave and has a maximum.
dEP/dx > 0 when x = 0. Therefore EP has a
maximum which is greater than 0 for some
x = x > 0.
dEP
x satises
(x ) = 0.
dx
rc
.
Therefore F (x ) =
rs
Newsvendor
Problem
EP(x)
x
x*
Newsvendor
Problem
f(w)
0.2
0.15
F(x*)= rc
rs
0.1
0.05
x*
+2
+4
Newsvendor
Problem
This can also be written
rc
F (x ) =
(r c) + (c s)
r c > 0 is the marginal prot when x < w.
c s > 0 is the marginal loss when x > w.
Choose x so that the fraction of time you do not buy
too much is
marginal prot
marginal prot + marginal loss
Example 1
Newsvendor
Problem
r = 1, c = .25, s = 0, w = 100, w = 10
x*
x* vs. r
110
106
102
98
94
90
86
82
0.2
r
0.4
0.6
0.8
1.0
1.2
1.4
Example 2
Newsvendor
Problem
r = 1, c = .75, s = 0, w = 100, w = 10
x*
x* vs. r
105
101
97
93
89
85
81
77
0.7
0.9
1.1
1.3
1.5
1.7
1.9
Example 1
Newsvendor
Problem
r = 1, c = .25, s = 0, w = 100, w = 10
x*
x* vs. c
130
120
110
100
90
80
70
0.0
c
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
Example 1
Newsvendor
Problem
r = 1, c = .25, s = 0, w = 100, w = 10
x*
x* vs. s
130
126
122
118
114
110
106
0.00
s
0.04
0.08
0.12
0.16
0.20
0.24
0.28
Example 2
Newsvendor
Problem
r = 1, c = .75, s = 0, w = 100, w = 10
x*
x* vs. s
121
117
113
109
105
101
97
93
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
Example 1
Newsvendor
Problem
r = 1, c = .25, s = 0, w = 100, w = 10
x*
x* vs. Mean
240
200
160
120
80
40
Mean
0
0
20
40
60
80
100
120
140
160
180
200
Example 2
Newsvendor
Problem
r = 1, c = .75, s = 0, w = 100, w = 10
x*
x* vs. Mean
230
190
150
110
70
30
Mean
10
0
20
40
60
80
100
120
140
160
180
200
Example 1
Newsvendor
Problem
r = 1, c = .25, s = 0, w = 100, w = 10
x*
x* vs. Std
114
112
110
108
106
104
102
Std
100
10
12
14
16
18
20
Example 2
Newsvendor
Problem
r = 1, c = .75, s = 0, w = 100, w = 10
x*
x* vs. Std
100
98
96
94
92
90
88
Std
86
0
10
12
14
16
18
20
Newsvendor
Problem
F (x ) =
rc
rs
w w
w
Newsvendor
Problem
Therefore
or
x w
w
x w
w
rc
rs
rc
rs
or
x = w + w
rc
rs
Newsvendor
Problem
Note that
1(k) > 0 if k > .5
and
1(k) < 0 if k < .5
Therefore
x increases with w if
rc
rs
rc
< .5.
x decreases with w if
rs
Greater potential gain promotes riskier behavior!
EOQ
Assumptions
EOQ
No randomness.
No delay between ordering and arrival of goods.
No backlogs.
Goods are required at an annual rate of units per
year. Inventory is therefore depleted at the rate of
units per year.
If the company orders Q units, it must pay s + cQ for
Problem
EOQ
Scenario
EOQ
At time 0, inventory level is 0.
Q units are ordered and the inventory level jumps
instantaneously to Q.
Material is depleted at rate .
Since the problem is totally deterministic, we can
wait until the inventory goes to zero before we order
next. There is no danger that the inventory will go to
zero earlier than we expect it to.
Scenario
EOQ
Scenario
EOQ
Q
decrease at rate
Inventory
jump
2T
T = Q/ (years)
3T
Formulation
EOQ
The number of orders in a year is 1/T = /Q.
over Q.
Formulation
EOQ
Then
dC
dQ
h
2
or
Q =
s
Q2
=0
2s
h
Examples
EOQ
= 3000
s = .001
h = 6
Note that
Q = 1
Examples
EOQ
50
s=.01
s=.001
s=.0001
40
Cost
30
20
10
0
0
6
Q
10
Examples
EOQ
2
1.8
1.6
1.4
Q*
1.2
1
0.8
0.6
0.4
0.2
0
0
2000
4000
6000
8000
10000
Examples
EOQ
3.5
3
Q*
2.5
2
1.5
1
0.5
0
0
0.002
0.004
0.006
s
0.008
0.01
Examples
EOQ
8
7
6
Q*
5
4
3
2
1
0
0
6
h
10
More Issues
Base Stock
Policy
Make-to-Stock Queue
Usual assumptions:
Demand is random.
Inventory is held (unlike newsvendor problem).
to satisfy it.
Base Stock
Policy
Make-to-Stock Queue
Issues
What fraction of the time will there be stockout, and
how much demand occurs during stockout periods?
How much inventory will there be, on the average?
How much backlog will there be, on the average?
Base Stock
Policy
From
Supplier
Raw
Material
Material Flow
Dispatch
Make-to-Stock Queue
Factory
Floor
Production
FG/
Backlog
Demand
Information Flow
Make-to-Stock Queue
Base Stock
Policy
From
Supplier
Raw
Material
Dispatch
Factory
Floor
Material Flow
Production
FG/
Backlog
Information Flow
Demand
Base Stock
Policy
From
Supplier
Raw
Material
Material Flow
Dispatch
Make-to-Stock Queue
Factory
Floor
Production
FG/
Backlog
Demand
Information Flow
Base Stock
Policy
Make-to-Stock Queue
From
Supplier
Raw
Material
Dispatch
Factory
Floor
Material Flow
Production
FG/
Backlog
Demand
Information Flow
Base Stock
Policy
Make-to-Stock Queue
From
Supplier
Raw
Material
Dispatch
Factory
Floor
Material Flow
Production
FG/
Backlog
Demand
Information Flow
Base Stock
Policy
Make-to-Stock Queue
From
Supplier
Raw
Material
Dispatch
Factory
Floor
I
Production
Material Flow
FG/
Backlog
Demand
Information Flow
Base Stock
Policy
Make-to-Stock Queue
Assume < .
Therefore, in steady state,
prob(Q = q) = (1 )q , q 0
where = / < 1.
What fraction of the time will there be stockout?
That is, what is prob(I 0)?
Make-to-Stock Queue
Base Stock
Policy
prob(I 0) = prob(Q S) =
(1 )q
q =S
= (1 )
= (1 )
= (1 )
q =0
q =S
so
prob(I 0) = S
1
1
Base Stock
Policy
Make-to-Stock Queue
How much inventory will there be, on the average? (It depends
on what you mean by inventory.)
EQ =
1
EI = S EQ is not the expected nished goods inventory. It
is the expected inventory/backlog.
We want to know
I
E(I +) = E
if I > 0
= E(I|I > 0)prob(I > 0)
otherwise
Make-to-Stock Queue
Base Stock
Policy
E(I|I > 0) =
i=1
i=1
i prob(I = i I > 0)
prob(I > 0)
i prob(I = i)
i=1
S
prob(I = j)
j =1
S
1
(S q) prob(Q = q)
q =0
S
1
prob(Q = s)
s=0
Make-to-Stock Queue
Base Stock
Policy
S
1
S prob(Q = q)
q =0
S
1
q prob(Q = q)
q =0
S
1
prob(Q = q )
q =0
= S
S
1
q prob(Q = q)
q =0
S
1
q =0
(1 )
= S
prob(Q = q )
S
1
q =0
(1 )
S
1
q =0
= S
q
S
1
q =0
S
1
q =0
Make-to-Stock Queue
Base Stock
Policy
Therefore
E(I|I > 0) = S
S
1
q =0
S
1
q =0
and
E(I +) = S(1 )
S
1
q (1 )
q =0
= S prob(Q < S) (1 )
S
1
q =0
S
1
q =0
Make-to-Stock Queue
Base Stock
Policy
E(I ) = E
if I 0
= E(I|I 0)prob(I 0)
0 otherwise
E(I|I 0) =
i=0
i prob(I = i|I 0)
Make-to-Stock Queue
Base Stock
Policy
=
i=0
prob(I = i I < 0)
prob(I < 0)
i prob(I = i)
i=0
prob(I = j)
j =0
(S q) prob(Q = q)
q =S
prob(Q = s)
s=S
Make-to-Stock Queue
Base Stock
Policy
S prob(Q = q)
q =S
q prob(Q = q)
q =S
prob(Q = q )
q =S
=S
q =S
q prob(Q = q)
q =S
EQ
q prob(Q = q)
q =0
=S
prob(Q = q )
S
1
S
1
q =0
prob(Q = q )
Base Stock
Policy
Make-to-Stock Queue
EQ (1 )
S1
q=0
=S
1 (1 )
S1
q=0
so
E(I ) = E(I|I 0)prob(I 0)
Make-to-Stock Queue
Base Stock
Policy
prob I pos
1
0.8
0.6
0.4
0.2
0
0
S = 10, = 1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Make-to-Stock Queue
Base Stock
Policy
EIpos
EIneg
10
-10
-20
-30
-40
0
S = 10, = 1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Make-to-Stock Queue
Base Stock
Policy
0.8
0.6
0.4
0.2
= .6, .9, = 1
10
15
20
25
30
35
40
Make-to-Stock Queue
Base Stock
Policy
40
EIpos, lambda=.6
EIneg, lambda=.6
EIpos, lambda=.9
EIneg, lambda=.9
35
30
25
20
15
10
5
0
-5
-10
0
= .6, .9, = 1
10
15
20
25
30
35
40
Base Stock
Policy
Make-to-Stock Queue
Optimization of Stock
How do we select S?
One possible way: choose S to minimize a function that penalizes
expected costs due to nished goods inventory (E(I +)) and
backlog (E(I )). That is, minimize
EC(I) = E(hI + bI ) = hE(I +) bE(I ),
where h is the cost of holding one unit of inventory for one time
unit and b is the cost of having one unit of backlog for one time
unit.
Make-to-Stock Queue
Base Stock
Policy
Optimization of Stock
cost
Make-to-Stock Queue
Base Stock
Policy
Optimization of Stock
40
Cost, lambda=.6
Cost, lambda=.9
35
30
25
20
15
10
10
= .6, .9, = 1, h = 1, b = 2,
15
20
25
30
35
40
S
Expected cost=hE(I +) bE(I )
Make-to-Stock Queue
Base Stock
Policy
Optimization of Stock
Note:
+1
S
+1
S
h+b
+ 1) = prob(I < 0)
= prob(Q S
Make-to-Stock Queue
Base Stock
Policy
Optimization of Stock
h
h+b
F (x ) = prob(w x ) = prob(I 0) =
(r c) + (c s)
so
prob(I < 0) = 1
rc
(r c) + (c s)
cs
(r c) + (c s)
Make-to-Stock Queue
Base Stock
Policy
Optimization of Stock
profit
rc
sc
x
w
Base Stock
Policy
Make-to-Stock Queue
Optimization of Stock
Questions:
How does the problem change if we consider factory
oor inventory? How does the solution change?
How does the problem change if we consider
nished goods inventory space ? How does the
solution change?
How else could we have selected S?
Q, R Policy
Inventory
Position
Inventory position
Lead time
Inventory
t
Q/
Material ordered
Material arrives
The current order must satisfy demand until the next order
arrives.
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.