Stochastic Inventory Models: INOPER3 Notes
Stochastic Inventory Models: INOPER3 Notes
MODELS
INOPER3 Notes
Single Period Model (Newsboy
Problem)
Parameters:
› a = ordering cost
› s = selling price
› c = purchase cost
› v = salvage value
› p = stock-out cost
Decision Variable
› Q = order quantity
Random Variable
› x = demand (per period)
› f(x) = demand density function
Single Period Model (Newsboy
Problem)
Expected profit = E(P)
If x < Q:
P1 s * x v(Q x) cQ a
If x > Q:
P2 s * Q p( x Q) cQ a
Single Period Model (Newsboy
Problem)
Expected Profit
Q
E ( P ) [ sx v(Q x ) cQ a] f ( x)dx [ sQ p( x Q) cQ a ] f ( x)dx
Q
Q
[ sx v(Q x)] f ( x)dx [ sQ p ( x Q)] f ( x)dx cQ a
Q
Single Period Model (Newsboy
Problem)
Applying Leibniz Rule:
Q
dE( P)
1[sQ 0] f (Q) 0 v( fx)dx 0 1[sQ 0] f (Q) [s p] f ( x)dx c 0
dQ Q
v[1 f ( x)dx] (s p) f ( x)dx c 0
Q Q
v (s p v) f ( x)dx c 0
Q
cv
f ( x)dx
s pv
(critical ratio)
Q*
Single Period Model (Newsboy
Problem)
If x is discrete, the critical ratio becomes:
cv
f ( x)
s pv
Q*
If B = beginning inventory,
› Q* < B, then order zero (0)
› Q* > B, then order Q* - B
Example 1
A small grocery store has the problem of determining the
number of trays of bread to stock each day. A tray costs
Php125 and sells for Php150. The leftover trays at the end of
the day can be sold as day-old bread at Php112.50. The
probability distribution of demand is given below. Find the
optimal order quantity.
x 10 11 12 13 14 15
f(x) 0.15 0.20 0.19 0.18 0.17 0.11
Example 2
Inventory
Time
Back Order Case
Holding cost:
HC h * I ave
I max I min
I ave
2
› Expected inventory level just before arrival of Q = r -
µ (can be negative)
› Expected inventory level just after arrival of Q = Q + r
-µ
Back Order Case
Q
HC h r
2
Back order cost:
› Let B(r) = number of back ordered units
› B(r) = 0 ; x < r
› B(r) = x - r ; x > r
Back Order Case
d
BC p * B(r )
Q
Back Order Case
* 2d [a pB(r )
Q Equation (1)
h
Back Order Case
r
h
Q f ( x)dx 0
r
hQ
r
f ( x)dx
pd Equation (2)
Iterative Process:
1. Set B(r) = 0 and solve for Q1 using Equation (1)
2. Solve r1 using Equation (2)
3. Solve B(r1)
4. Solve Q2
5. Solve r2
6. Continue process until vales of Q and r converge.
Back Order Case
r
G is the area to the right of z
2
1 r
r 1
2
f e
2
Example 5
Stock-out cost:
› Let B(r) = number of stocked out units
B (r ) ( x r ) f ( x)dx
r
d
SC p * B(r )
Q
Iterative Process:
1. Set B(r) = 0 and solve for Q1 using Equation (1)
2. Solve r1 using Equation (2)
3. Solve B(r1)
4. Solve Q2
5. Solve r2
6. Continue process until vales of Q and r converge.
Stock-out Case
m-μ
tr L
Periodic Review Model for
Stochastic Demand
Let
› tr = elapsed time between reviews
› m = target level to which we want to restore the inventory
› Ir = inventory at the time of review
› f(x) = density function of demand during lead time
› a = combined order cost and cost of reviewing
› h = holding cost per unit per T
› p = back order cost
› μ = mean of density function of demand during lead time
› d = expected value of demand
› Beginning inventory of a cycle = m – μ
› Expected Demand during tr = d * tr
› Ending Inventory = m – μ – d * tr
Periodic Review Model for
Stochastic Demand
a
Total Order and Review Cost =
tr
Total Holding Cost =
m m dt r 1
H H m dt r
2 2
Total time when demand is
present = tr + L
f(D/tr+L) = density function of demand given a
time period of tr + L
Periodic Review Model for
Stochastic Demand
Bm = expected back ordered units
Bm ( D m) f ( D / t r L)dD
m
p
Bm
Expected back ordered cost = tr
Therefore,
a 1 p
E (c ) H m dt r ( D m) f ( D / t r L)dD
tr 2 tr m
Using Leibniz Rule: dE (c) p
H f ( D / t r L)dD 0
dm tr m
Ht r
m
f ( D / t r L)dD
p
Example 8
Given: tr = 2 weeks
L = 1 week
a = 20 + 10 = 30
h = 1 per unit per week
p = 5 per unit
Normal distribution of demand with μ = 12 and σ2 = 1
tr + L = 3 weeks
Solution to Example 8
P( D m) 0.4
m 36
z 0.6 0.255
3
m 36.44
36.44 36 36.44 36
Bm 3 f G 36 36.44 0.4929
3 3
30 1 5
E (c ) 136.44 12 (12)(2) (0.4929) 28.67
2 2 2
Solution to Example 8
tr E(c)
1 37.98
2 28.67
2.2 28.45
2.3 28.41
2.4 28.43
3.0 29.29