FactoryPhysicsChapter02
FactoryPhysicsChapter02
– Anonymous
Inventory
Time
Q/D 2Q/D 3Q/D 4Q/D
Holding Cost:
Q
average inventory =
2
hQ
annual holding cost =
2
hQ
unit holding cost =
2D
Setup Costs: A per lot, so
A
unit setup cost =
Q
c = $250
18.00
16.00
14.00
Cost ($/unit)
12.00
10.00 Y(Q)
Q* =169
8.00
6.00 hQ/2D
4.00
2.00 c A/Q
0.00
0 100 200 300 400 500
dY (Q) h A 2 AD 2 AD
0= = − 2 ⇒ Q = 2
⇒ Q=
dQ 2D Q h h
d 2Y (Q) 2 A
∀Q ≥ 0, 2
= 3 ≥0 ⇒ Q* is a minimum.
dQ Q
2 AD EOQ Square
Q =*
h Root Formula
2(500)(1000)
Q = *
= 169 MedEquip Solution
35
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 10
EOQ Modeling Assumptions
1. Production is instantaneous – there is no capacity relax via
constraint and the entire lot is produced simultaneously. EPL model
2. Delivery is immediate – there is no time lag between production and
availability to satisfy demand.
3. Demand is deterministic – there is no uncertainty about the quantity
or timing of demand.
4. Demand is constant over time – in fact, it can be represented as a
straight line, so that if annual demand is 365 units this translates into a
daily demand of one unit.
5. A production run incurs a fixed setup cost – regardless of the size of
the lot or the status of the factory, the setup cost is constant.
6. Products can be analyzed singly – either there is only a single
product or conditions exist that ensure separability of products.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 11
Notation – EPL Model
D demand rate (units per year)
Inventory
Production run of Q takes Q/P time units
(P – D)(Q/P)
P–D
(P – D)(Q/P)/2
–D
Time
• tends to EOQ as P → ∞
2 AD
Q* =
D • otherwise larger than EOQ
h 1 − because replenishment
P
takes longer
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 14
What If We Allow Up To B Backorders in EOQ Model?
Inventory
Q−B B
D D
Q –B
–D
0
–B Time
Q/D 2Q/D 3Q/D 4Q/D
D
Order Frequency: F=
Q
cQ cD
Inventory Investment: I = =
2 2F
40
35
30
25
20
15
10
5
0
0 20 40 60 80 100
Order/Year
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 19
Sensitivity of EOQ Model to Quantity
hQ′ AD
Y (Q′) = +
2 Q′
Ratio:
Cost (Q′) Y (Q′) hQ′ 2 + AD Q′ 1 Q′ Q*
= = = *+
* *
Cost (Q ) Y (Q ) 2 ADh 2 Q Q′
Example: If Q' = 2Q*, then the ratio of the actual to optimal cost is
2 AD
*
T* =
Q
= h = 2A
D D hD
2m T1* 2 m
2 T2* 2 m +1
divide by multiply by
less than less than
√2 to get √2 to get
to 2m to 2m+1
2 = 21
4 = 22
8 = 23
2 AD
1. Compute the optimal order quantity (number of units): Q = *
.
h
Q* 2A
2. Compute the optimal order interval (years between orders): T = = . *
D hD
3. Express T * in the smallest possible distinct delivery time units (typically days).
4. Compute µ = log 2 (T * ) .
5. Round µ to the nearest integer m.
6. Compute the power-of-two order interval (days between orders): T ′ = 2m.
7. Express T ′ in years.
8. Compute the power-of-two order quantity (number of units): Q′ = T ′D.
9. Round Q′ up to an integer.
h
• Total cost is relatively insensitive to lot size (so rounding
for other reasons, like coordinating shipping, may be
attractive).
1. Instantaneous production.
2. Immediate delivery.
3. Deterministic demand.
ct unit production cost (in dollars per unit), not counting setup or
inventory costs in period t
Z1 + A2 , produce in 2
2
j2* = 1
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 37
Wagner-Whitin Example (cont.)
A1 + h1 D2 + (h1 + h2 ) D3 , produce in 1
Z 3* = min Z1* + A2 + h2 D3 , produce in 2
Z*2 + A3 , produce in 3
100 + 1(50) + (1 + 1)10 = 170
= min 100 + 100 + (1)10 = 210
150 + 100 = 250
= 170
j3* = 1
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 38
Wagner-Whitin Example (cont.)
Step 4: Four choices, j4* = 1, 2, 3, 4.
A1 + h1 D2 + (h1 + h2 ) D3 + (h1 + h2 + h3 ) D4 , produce in 1
Z* + A + h D + (h + h ) D ,
1 produce in 2
Z 4 = min *
* 2 2 3 2 3 4
Z 2 + A3 + h3 D4 , produce in 3
Z*3 + A4 , produce in 4
100 + 1(50) + (1 + 1)10 + (1 + 1 + 1)50 = 320
100 + 100 + (1)10 + (1 + 1)50 = 310
= min
150 + 100 + (1)50 = 300
170 + 100 = 270
= 270
j4* = 4
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 39
Planning Horizon Property
In the Example:
Z 3 + A4 + h4 D5 , produce in 4
*
Z 5 = min *
*
Z 4 + A5 , produce in 5
170 + 100 + 1(50) = 320
= min
270 + 100 = 370
= 320
j5* = 4
And so on.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 41
Wagner-Whitin Example Solution
Last Period Planning Horizon (t)
with Production 1 2 3 4 5 6 7 8 9 10
1 100 150 170 320
2 200 210 310
3 250 300
4 270 320 340 400 560
5 370 380 420 540
6 420 440 520
7 440 480 520 610
8 500 520 580
9 580 610
10 620
Zt 100 150 170 270 320 340 400 480 520 580
jt 1 1 1 4 4 4 4 7 7 or 8 8
Produce in period Produce in period Produce in period
1 for 1, 2, 3 4 for 4, 5, 6, 7 8 for 8, 9, 10
(20 + 50 + 10 (50 + 50 + 10 + 20 (40 + 20 + 30
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com
= 80 units) = 130 units) = 90 units) 42
Wagner-Whitin Example Solution (cont.)
Optimal Policy:
• Produce in period 8 for 8, 9, 10 (40 + 20 + 30 = 90 units)
• Produce in period 4 for 4, 5, 6, 7 (50 + 50 + 10 + 20 = 130 units)
• Produce in period 1 for 1, 2, 3 (20 + 50 + 10 = 80 units)
t 1 2 3 4 5 6 7 8 9 10 Total
Dt 20 50 10 50 50 10 20 40 20 30 300
Qt 80 0 0 130 0 0 0 90 0 0 300
It 60 10 0 80 30 20 0 50 30 0 0
Setup cost 100 0 0 100 0 0 0 100 0 0 300
Holding cost 60 10 0 80 30 20 0 50 30 0 280
Total cost 160 10 0 180 30 20 0 150 30 0 580
Assumptions:
1. single period
2. random demand with known distribution
3. linear overage/shortage costs
4. minimum expected cost criterion
Examples:
• newspapers or other items with rapid obsolescence
• Christmas trees or other seasonal items
• capacity for short-life products
Cost Function:
Y (Q) = expected overage + expected shortage cost
Q ∞
= co ∫ (Q − x) g ( x)dx + cs ∫ ( x − Q) g ( x)dx
0 Q
G(Q)
Q ↓ co
*
cs
1
Q * ↑ cs co + c s
Q* Q
Scenario:
• Demand for T-shirts is exponential with mean 1000,
so G(x) = P(X ≤ x) = 1– e–x/1000.
(Note: this is an odd demand distribution;
Poisson or Normal would probably be better modeling choices.)
• Cost of shirts is $10.
• Selling price is $15.
• Unsold shirts can be sold off at $8.
Model Parameters:
cs = 15 – 10 = $5
co = 10 – 8 = $2
Solution:
Q
− cs 5 5
G (Q) = 1 − e 1000
= = = = 0.714
co + cs 2 + 5 7
5
Q = −1000 ln 1 − ≈ 1, 253
*
7
Sensitivity: If co = $10 (i.e., shirts must be discarded) then
Q
− cs 5
G (Q) = 1 − e 1000
= = = 0.333
co + cs 10 + 5
Q* ≈ 405
Q * −µ cs
Φ(z)
G (Q * ) = Φ =
σ co + c s
Q * −µ cs
= z where Φ ( z ) =
0.00
1 7 13 19 25 31 37 43 49 55 61 67 73 79 85 91 97 103 109 115 121 127 133 139 145 151 157
0 z
σ co + c s
Scenario:
• GAP orders a particular clothing item every Friday
• mean weekly demand is 100, standard deviation is 25
• wholesale cost is $10, retail is $25
• holding cost has been set at $0.5 per week (to reflect
obsolescence, damage, etc.)
Newsvendor Parameters:
co = $0.5
cs = $15
Solution:
15
G (Q ) = *
= 0.9677
0.5 + 15
Q* − 100
Φ ( z ) = 0.9677 ⇒ z = 1.85 =
25 Every Friday, they
Q* = 100 + 1.85(25) = 146.25 ≈ 146 should order up to
146, that is, if there
are x on hand, then
order 146–x.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 58
Newsvendor Takeaways
Assumptions:
1. Continuous review of inventory.
2. Demands occur one at a time.
3. Unfilled demand is backordered.
4. Replenishment lead times are fixed and known.
Decision Variables:
• Reorder Point: r – affects likelihood of stockout (safety stock).
• Order Quantity: Q – affects order frequency (cycle inventory).
Inventory
r
l
Time
Balance Equation:
(inventory position) = R
R 5
r 4 l On Hand Inventory
Backorders
Orders
3
Inventory Position
0
0 5 10 15 20 25 30 35
Time
Let:
X = (random) demand during lead time l
∫θ φ ′ ( z ) dz + (θ − R) ∫θ φ ( z ) dz
∞
= −σ
= θ ∑ p ( x) − R [1 − G ( R ) ] R− R−
x=R
σ σ
= θ [ p ( R) + 1 − G ( R ) ] − R [1 − G ( R ) ]
R −θ R − θ
= θ p ( R ) + (θ − R ) [1 − G ( R ) ] = σφ + (θ − R ) 1 − Φ
σ σ
= Var [ x ] p ( R ) + (θ − R ) [1 − G ( R) ]
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000
= σ 2 g ( R ) + (θ − R) 1 − G ( R ) 68
http://www.factory-physics.com
Inventory Level
Observe:
• on-hand inventory = R – X + backorders
• E[X] = θ from data
• E[backorders] = B(R) from previous slide
Result:
I ( R) = R − θ + B( R)
θ p( R) + ( R − θ )G ( R) if X ∼ Poisson
= 2
σ g ( R ) + ( R − θ )G ( R) if X ∼ Normal
l = one month
x
10 k e −10
x
G ( x) = ∑ p (k ) = ∑ Note: Poisson
k =0 k =0 k! demand is a good
choice when no
variability data
is available.
Backorder Level:
Inventory Level:
⇒ G(R ) =
Note: R* increases in b * b
and decreases in h. h+b
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 73
Base Stock Normal Approximation
If X ~ Normal(θ,σ), then
R * −θ b
Φ(z) = Φ = G ( R*) =
σ h+b
So R* = θ + z σ
Note: R* increases in θ
and also increases in σ
provided z > 0.
R* = θ + zσ = 10 + 0.32(3.16) = 11.01 ≈ 11
Base Stock Level for Each PC: θ = 100 × 0.25 = 25, so using
Poisson formulas,
1. One-at-a-time demands.
2. Demand is uncertain, but stationary over time and
distribution is known.
3. Continuous review of inventory level.
4. Fixed replenishment lead time.
5. Constant replenishment batch sizes.
6. Stockouts are backordered.
Decision Variables:
Q = order quantity
r = reorder point
s = r −θ
= safety stock implied by r
Performance Measures:
F (Q) = average order frequency
S (Q, r ) = average service level (fill rate)
B(Q, r ) = average backorder level
I (Q, r ) = average inventory level
5
Quantity
0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
-1
-2
Time
D
F (Q) =
Q
Result:
1 r +Q −1
Q ∑ G ( x) if X is discrete
x=r
S (Q, r ) = r +Q
1
Q ∫
G ( x)dx if X is continuous
r
∑ 1− ∑ ∑
∞
B( x) + B ( x + 1)
= 0 p(r ) + ∑
x = r +1
( x − r ) p ( x)
= x =r x=r x=r
Q
∞ ∞
r + Q −1 r +Q
− ∑
x = r +1
( x − r ) p ( x) + ∑
x = r +1
p ( x) Q− ∑ B( x) + ∑ B ( x)
= x=r x = r +1
= 1− G (r ) Q
Thus, G ( r ) = 1 − B (r ) + B (r + 1) B(r ) − B (r + Q)
= 1−
∞ ∞
Q
∑ 1 − G ( y ) = ∑ [ B( y) − B( y + 1)]
y=x y=x
∞ ∞ ∞ ∞
= ∑ B( y ) − ∑ B ( y + 1) = ∑ B ( y ) − ∑ B ( y ) = B ( x)
http://www.factory-physics.com
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000
90
y=x y=x y=x y = x +1
Stockout Cost in (Q,r) Model (Cont.)
If X is Continuous, then
r +Q
d 1
B′ ( r ) = B (r )
dr
S (Q, r ) =
Q r ∫ G ( x)dx
∞
d r +Q
= ∫ ( x − r ) g ( x)dx 1 d
dr r = ∫ 1 + B ( x ) dx
∞
Q r dx
= − ∫ g ( x)dx ( r + Q ) − r + B ( r + Q ) − B ( r )
r =
Q
= G ( r ) −1
B(r ) − B (r + Q)
d = 1−
Thus, G ( r ) = 1 + B (r ) Q
dr
∞ ∞
Result:
1 r +Q
Q ∑ B( x) if X is discrete
x = r +1
B (Q, r ) = r +Q
1
Q
r
∫ B( x)dx if X is continuous
Notes:
1. B(Q,r)≈ B(r) is a base stock approximation for backorder level.
∑ B( y) = ∑ [ β ( y − 1) − β ( y)] = ∑ β ( y − 1) − ∑ β ( y) = β ( x)
y = x +1 y = x +1 y = x +1 y = x +1
1 r +Q 1 r +Q β (r ) − β (r + Q)
∑ [
B(Q, r ) = ∑ B( x) = http://www.factory-physics.com
β ( x − 1) − β ( x ) ] =
Q x = r +1 Q x = r +1
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000
Q 94
Second-Order Loss Function (Continuous Distribution)
∞
1 1
Let β ( x) ≡ E max {0, X − x} = ∫ ( y − x ) g ( y ) dy
2 2
2 2
x
∞
d 1 d
∫ ( ) g ( y ) dy
2
β ′( x) = β ( x) = y − x
dx 2 dx x
∞
1 d ∞ dx d
( ∞ − x ) g ( ∞ ) − ( x − x ) g ( x ) + ∫ ( y − x ) g ( y ) dy
2 2 2
=
2 dx dx x
dx
∞
1
= 0 − 0 + ∫ −2 ( y − x ) g ( y ) dy
2 x
∞
= − ∫ ( y − x ) g ( y ) dy
x
Note: this form, which is the
= − B( x) same for both Discrete and
∞ ∞
2 k = x +1 2 k = x +1 k!
e −θ ∞ θ k ∞
θ k ∞
θ k
= ∑(
2 k = x +1
k 2
− k ) k! ∑ k! (
− 2 x k + x 2
+ x ) ∑ k!
k = x +1 k = x +1
e −θ 2 ∞ θ k − 2 ∞
θ k −1 ∞
θk
= θ ∑ − 2θ x ∑ + ( x + x) ∑
2
2 k = x +1 ( k − 2 ) ! k = x +1 ( k − 1 ) ! k = x +1 k !
e −θ 2 ∞ θ k ∞
θk ∞
θk
= θ ∑ − 2θ x ∑ + ( x + x ) ∑ 2
2 k = x −1 k ! k =x k ! k = x +1 k !
1 2 θ x −1e −θ θ x e −θ θ x e−θ ∞
θ k e−θ
= θ + − 2θ x + (θ − 2θ x + x + x ) ∑
2 2
2 ( x − 1) ! x! x! k = x +1 k!
1 2 θ x e−θ ∞
θ k e−θ
= (θ − θ x ) + (θ − 2θ x + x + x ) ∑
2 2
2 x! k = x +1 k !
θ (θ − x ) p ( x ) + (θ − x ) + x 1 − G ( x )
2
=
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 96
2
Second-Order Loss Function (Geometric Distribution)
∞ ∞
B( x) = ∑ 1 − G ( y ) β ( x) = ∑ B( y )
y = x +1
y=x
∞
1
{ }
∞
∑ (1 − p )
y
= ∑ 1 − 1 − (1 − p )
y =
y=x
y = x +1 p
(1− p)
x +1
∞
∞
∑ (1 − p )
y − x −1
= ∑ (1 − p )
y =
p y = x +1
y=x
(1− p)
x +1
∞
∞
∑ (1 − p )
k
=
= (1 − p ) ∑ (1 − p )
x y−x
y=x
p k =0
(1− p)
x +1
∞ 1
=
= (1 − p ) ∑ (1 − p )
x k
p p
k =0
(1− p)
x +1
1
= (1 − p ) =
x
p p2
x +1
1
x 1
= θ 1 − = θ 2 1 −
θ θ
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 97
Second-Order Loss Function (Normal Distribution)
∞
1
β ( x) = ∫ ( y − x ) g ( y ) dy
2
2x
∞
1 1
= ∫ (θ + σ z ) − 2 x (θ + σ z ) + x 2 φ ( z ) σ dz
2
2 x −θ σ
σ
∞
1
= ∫ (θ 2 + 2θσ z + σ 2 z 2 ) − 2 x (θ + σ z ) + x 2 φ ( z ) dz
2 x −θ
σ
∞ ∞ ∞
1 2
= (θ − 2 xθ + x 2 ) ∫ φ ( z ) dz + 2σ (θ − x ) ∫ zφ ( z ) dz + σ 2 ∫ z 2φ ( z ) dz
2 x −θ x −θ x −θ
σ σ σ
∞ ∞
1 x − θ
= (θ 2 − 2 xθ + x 2 ) 1 − Φ − 2σ (θ − x ) ∫ φ ′ ( z ) dz − σ 2
∫ zφ ′ ( z ) dz
2 σ x −θ x −θ
σ σ
⋮ http://www.factory-physics.com
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000
98
Second-Order Loss Function (Normal Distribution, Cont.)
1 2 2 x −θ x −θ
= (θ − 2 xθ + x ) 1 − Φ − 2σ (θ − x ) 0 − φ
2 σ σ
∞
2 ∞
− σ zφ ( z ) x −θ − ∫ φ ( z ) dz
σ x −θ
σ
1 2 x − θ x −θ
= (θ − 2 xθ + x 2 ) 1 − Φ + 2σ ( θ − x )
φ
2 σ σ
2 x −θ x −θ x − θ
−σ 0 − φ −1+ Φ
σ σ σ
1 x − θ x − θ
= (θ 2 − 2 xθ + x 2 + σ 2 ) 1 − Φ + σ (θ − x )
φ
2 σ σ
1 x − θ x − θ
= ( x − θ ) + σ 2 1 − Φ ( )
2
− σ x − θ φ
2 σ σ
=σ 2 ( z 2
+ 1) 1 − Φ ( z ) − zφ ( z )
where z =
x −θ
http://www.factory-physics.com
σ
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000
99
2
Second-Order Loss Function (Exponential Distribution)
∞ ∞
B( x) = ∫ 1 − G ( y ) dy β ( x) = ∫ B( y )dy
x x
∞ y ∞ y
− −
= ∫ e θ dy = ∫ θ e θ dy
x x
∞ y ∞ y
1 − 1 −
= θ ∫ e θ dy =θ ∫θ e θ dy
2
x
θ x
∞ ∞
= θ ∫ g ( y ) dy = θ 2 ∫ g ( y ) dy
x x
= θ 1 − G ( x ) = θ 2 1 − G ( x )
x x
− −
= θe θ =θ e 2 θ
+ B(Q,r)
r Approx I(Q,r)
θ+1
s+1=r–θ
Time
s+Q 6
5
Inventory Level
s 2
0
0 5 10 15 20 25 30 35
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 Time
http://www.factory-physics.com 103
Optimizing (Q,r) Model with Backorder Cost
Objective Function:
D
Y (Q, r ) = A + bB(Q, r ) + hI (Q, r )
Q
AD Q +1
= + h + r − θ + ( b + h ) B(Q, r )
Q 2
2AD 2(10)(14)
Q* = = = 3.3466, so Q* = 3 or 4
h 25
b 40
= = 0.615
h + b 25 + 40
Using Poisson:
G (1) = 0.485 < 0.615 < 0.750 = G ( 2) , so r* = 1 or 2
Or using Normal:
Φ(0.29) = 0.615, so z = 0.29
r* = θ + zσ = 1.726 + 0.29(1.314) = 2.107, so r* = 2 or 3
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 108
Performance Measures for Example
Choose Q* = 4 and r * = 2
F (Q ) = *
* D
Q
14
=
4
= 3.5 Orders placed at rate of 3.5 per year.
B ( r * ) − B ( r * + Q* )
S ( Q* , r * ) = 1 −
Q*
B(2) − B (2 + 4)
= 1−
4
0.389 − 0.003
= 1−
4
= 0.904 Fill rate fairly high (90.4%).
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 109
Performance Measures for Example (Cont.)
r * + Q*
1
B (Q , r ) = *
* *
∑ B( x)
Q x = r * +1
*
+1 *
I (Q , r ) = + r − θ + B ( Q* , r * )
* * Q
2
4 +1
= + 2 − 1.726 + 0.049
2
= 2.823 Average on-hand inventory just below 3.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 110
Varying the Example
Change: suppose we order twice as often so F = 7 per year,
then Q = 2 and:
1 1
S (Q, r ) = 1 − [ B(r ) − B (r + Q)] = 1 − [0.389 − 0.042] = 0.826
Q 2
which may be too low, so increase r from 2 to 3:
1 1
S (Q, r ) = 1 − [ B(r ) − B(r + Q)] = 1 − [0.140 − 0.011] = 0.936
Q 2
This is better. For this policy (Q = 2, r = 3) we can compute
B(2,3) = 0.026,
I(Q,r) = 2.80.
Objective Function:
D
Y (Q, r ) = A + kD [1 − S (Q, r ) ] + hI (Q, r )
Q
ɶ D B( r ) Q + 1
Y (Q, r ) ≈ Y (Q, r ) = A + kD +h + r − θ + B( r )
Q Q 2
Assumptions:
• Q and r can be treated as continuous variables
• G(x) is a continuous cdf
Results:
2 AD
Q* = Note: this is just the EOQ formula
h
⇒ r* = θ + zσ if G is Normal(θ, σ2),
where Φ(z) = kD/(kD+hQ)
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 113
Backorder vs. Stockout Model
Backorder Model
• when real concern is about stockout time
• because B(Q,r) is proportional to time orders wait for
backorders
• useful in multi-level systems
Stockout Model
• when concern is about fill rate
• better approximation of lost sales situations (e.g., retail)
Note:
• We can use either model to generate frontier of solutions
• Keep track of all performance measures regardless of model
• B-model will work best for backorders, S-model for stockouts
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 114
Lead Time Variability
Notation:
L = replenishment lead time (days), a random variable
l = E[L] = expected replenishment lead time (days)
σL = standard deviation of replenishment lead time (days)
Dt = demand on day t, a random variable,
(assumed independent and identically distributed)
d = E[Dt] = expected daily demand
σD = standard deviation of daily demand (units)
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 115
Including Lead Time Variability in Formulas
σ = ℓσ D2 + d 2σ L2 = θ + d 2σ L2
Inflation term due to
lead time variability
Modified Base Stock Formula (Poisson demand case):
R = θ + zσ
= θ + z θ + d 2σ L2
Note: σ can be used in any base stock or (Q,r) formula
as before. In general, it will inflate safety stock.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 116
Single Product (Q,r) Insights
Basic Insights:
• Safety stock provides a buffer against stockouts.
• Cycle stock is an alternative to setups/orders.
Other Insights:
1. Increasing D tends to increase optimal order quantity Q.
2. Increasing θ tends to increase the optimal reorder point.
(Note: either increasing D or l increases θ.)
3. Increasing the variability of the demand process tends to
increase the optimal reorder point (provided z > 0).
4. Increasing the holding cost tends to decrease the optimal
order quantity and reorder point.
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 117
Main Models Discussed So Far
Features: Model: EOQ EPL WW NV BS (Q, r)
Time: Continuous (C) or Discrete (D) C C D D C C
Products: Single (S) or Multiple (M) S S S S S S
Periods: Single (S) or Multiple (M) - - M S - -
Backordering (B) or Lost Sales (L) - - - L B B
Setup or Order Cost: Yes (Y) or No (N) Y Y Y N N Y
Demand: Deterministic (D) or Random
D D D R R R
(R)
Production: Deterministic (D) or
D D D D D D
Random (R)
Demand Rate: Constant (C) or Dynamic
C C D - C C
(D)
Production Rate: Finite (F) or Infinite (I) I F I - I I
Time Horizon: Finite (F) or Infinite (I) I I F F I I
Echelons: Single (S) or Multiple (M) S S S S S S
© Wallace J. Hopp, Mark L. Spearman, 1996, 2000 http://www.factory-physics.com 118