Dynamic Lot Size Models: A Production Engineering Special Presented by The ENM Faculty
Dynamic Lot Size Models: A Production Engineering Special Presented by The ENM Faculty
Fine print: This is section 7.2 and Appendix 7-A in the text. You
will want to read it! 1
Why would demands fluctuate?
3
Methods for dealing with “lumpy” demands
A set of lumpy demands (D1, D2, …,Dn)
• Production Smoothing
• Use EOQ (assumes constant demand)
• Simple rules
– fixed period demand
– period order quantity
– lot for lot reordering
• Heuristic rules
– Silver-Meal method
– least unit cost
– part period balancing (PPB)
• Wagner-Whitin algorithm
• Transportation Problem
4
Some Assumptions
• Demands, Dj, are known for periods j =1, …n
• Demand Dj must be satisfied in period j and available
at the start of the period
• Replenishments arrive at the beginning of a period
• No quantity discounts
• Unit costs do not change over planning horizon
• no shortages permitted
• lead-times are known and constant
• entire order quantity arrives at the same time
• items are independent of one another
• carrying costs applies only to inventory carried over
from one time period to another 5
Using EOQ
Wk1 Wk2 Wk3 Wk4 Wk5 Wk6 Wk7 Wk8 Wk9 Wk10
42 42 32 12 26 112 45 14 76 38
42 42 32 12 26 112 45 14 76 38
Q 139 0 0 0 139 0 139 0 0 139
End 97 55 23 11 124 12 106 92 16 117 Sum =
Inv 653
7
Fixed Period Demand
(D1, D2, …,Dn)
Example: m = 3
8
Fixed Period Demand
Wk1 Wk2 Wk3 Wk4 Wk5 Wk6 Wk7 Wk8 Wk9 Wk10
42 42 32 12 26 112 45 14 76 38
Q 84 44 138 59 114
End Inv 42 12 112 14 38
Wk1 Wk2 Wk3 Wk4 Wk5 Wk6 Wk7 Wk8 Wk9 Wk10
42 42 32 12 26 112 45 14 76 38
154 285
Q
End Inv 112 70 38 26 0 173 128 114 38 0
order: D1 + D2 , D3+ D4 , D5 + D6
10
Period Order Quantity (POQ) (D1, D2, …,Dn)
1 L = 150 (perhaps breakpoint for quantity discounting)
2. Davg = 43.9 44
3. Set m = L / Davg = 150 / 44 = 3.4 3
Wk1 Wk2 Wk3 Wk4 Wk5 Wk6 Wk7 Wk8 Wk9 Wk10
42 42 32 12 26 112 45 14 76 38
116 150 135 38
Q
End Inv 74 32 0 138 112 0 90 14 0 0
11
Lot for Lot (L4L)
(D1, D2, …,Dn)
Set order quantity equal to Dj
12
Silver-Meal Heuristic
Month 1 2 3 4 5 6
Demands 20 30 23 19 32 28
one month 90 90
two months 90 1.2(30) = 36 126 / 2 = 63
three months 90 1.2(30)
+2.4(23)=91.2 181.2 / 3 = 60.4
M=3
Four months 90 91.2 + 3.6 (19)
= 159.6 249.6 / 4 = 62.4
Order quantity = 20 + 30 + 23 = 73 15
Repeat for next order
Example: K = $90 ; h = 1.20 per unit per month
Month 1 2 3 4 5 6
Demands 20 30 23 19 32 28
Order Period Ordering cost Holding Cost Avg cost / period
one month 90 90
Order quantity = 19 + 32 = 51
16
Least Unit Cost Heuristic
Compute average cost per unit demanded rather
average cost per period.
Order period Ordering cost Holding cost Cost / unit
One period K 0 K / D1
Month 1 2 3 4 5 6
Demands 20 30 23 19 32 28
18
Part Period Balancing (PPB)
Attempts to minimize the sum of the variable cost for all lots.
Definition:
Part period = one unit held in inventory for one period
PPm = part period for m periods
PP1 = 0
PP2 = D2
PP3 = D2 + 2D3
PPm = D2 + 2D3 + … + (m-1) Dm
19
Continued Part Period Balancing (PPB)
Order quantity = Q = D1 + D2 + … + Dm
20
Example problem continued
Example: K = $90 ; h = 1.20 per unit per month
Month 1 2 3 4 5 6
Demands 20 30 23 19 32 28
K / h = 90 / 1.2 = 75
21
An Old Favorite
Wk1 Wk2 Wk3 Wk4 Wk5 Wk6 Wk7 Wk8 Wk9 Wk10
42 42 32 12 26 112 45 14 76 38
23
The General Problem
n
Min C (Q ) h I
t 1
t t t t
subject to :
I t I t 1 Qt Dt
t 1, 2,..., n
Qt , I t 0,1, 2,3,...
subject to :
I t I t 1 Qt Dt
t 1, 2,..., n
Qt , I t 0,1, 2,3,...
subject to :
I t I t 1 Qt Dt
t 1, 2,..., n
Qt , I t 0,1, 2,3,...
n
Min K
t 1
t h It
n n n
since cQ
t 1
t c Qt c Dt
t 1 t 1 26
n
Min K
t 1
t h It
subject to :
I t I t 1 Qt Dt
t 1, 2,..., n
Qt , I t 0,1, 2,3,...
28
A Wagner-Whitin Example
n = 6 (Apr) Order Cost = $70
Q6 = 110; f = $70 Holding cost = .5
Nov Dec Jan Feb Mar Apr
n = 5 (Mar/Apr) 120 80 94 78 86 110
Q5 = 86, 196
f5(86) = 70 + 70 =140
f5(196) = 70 + .5 (110) = 125
n = 4 (Feb/Mar/Apr)
Q4 = 78, 164, 274
f4(78) = 70 + 125 = 195
f4(164) = 70 + .5 (86) + 70 = 183
f4(274) = 70 + .5(86) + 1.00 (110) = 223 29
A Wagner-Whitin Example
Order Cost = $70
Holding cost = .5
Nov Dec Jan Feb Mar Apr
120 80 94 78 86 110
n = 3 (Jan/Feb/Mar/Apr)
Q3 = 94, 172, 258, 368
f3(94) = 70 + 183 = 253
f3(172) = 70 + .5 (78) + 125 = 234
f3(258) = 70 + .5(78) + 1.00 (86) + 70 = 265
f3(368) = 70 + .5(78) + 1.00 (86) + 1.5(110) = 360
30
A Wagner-Whitin Example
Order Cost = $70
Holding cost = .5
Nov Dec Jan Feb Mar Apr
120 80 94 78 86 110
n = 2 (Dec/Jan/Feb/Mar/Apr)
Q2 = 80, 174, 252, 338, 448
f2(80) = 70 + 234 = 304
f2(174) = 70 + .5 (94) + 183 = 300
f2(252) = 70 + .5(94) + 1.00 (78) + 125 = 320
f2(338) = 70 + .5(94) + 1.00 (78) + 1.5(86) + 70 = 394
f2(448) = 70 + .5(94) + 1.00 (78) + 1.5(86) + 2(110) = 544
31
A Wagner-Whitin Example
Order Cost = $70 Holding cost = .5
Nov Dec Jan Feb Mar Apr
n = 1 (Nov/Dec/Jan/Feb/Mar/Apr) 120 80 94 78 86 110
Q1 = 120, 200, 294, 372, 458, 568
f1(120) = 70 + 300 = 370
f1(200) = 70 + .5 (80) + 234 = 344
f1(294) = 70 + .5(80) + 1.00 (94) + 183 = 387
f1(372) = 70 + .5(80) + 1.00 (94) + 1.5(78) + 125 = 446
f1(458) = 70 + .5(80) + 1.00 (94) + 1.5(78) + 2(86)+70= 563
f1(568) = 70 + .5(80) + 1.00 (94)
+ 1.5(78) + 2(86) + 2.5(110) = 768
subject to :
Qt Pt
I t I t 1 Qt Dt t 1, 2,..., n
Qt , I t 0,1, 2,3,...
33
Why isn’t Wagner-Whitin used more frequently?
• relatively complex
• needs a well-defined ending point
• all information out to end point needed even to
compute initial quantity
• within MRP systems using rolling schedules, the
solution will keep changing
• the assumption that replenishments can be made
only at discrete intervals
• computational requirements
34
No Fixed Cost
n
Min c Q h I
t 1
t t t t
subject to :
Qt Pt
t 1, 2,..., n
I t I t 1 Qt Dt
35
The Transportation Problem
n n
Min z ctj xtj
t 1 j t
x
j t
tj Pt t 1, 2,..., n
x
t 1
ij Dj j 1, 2,..., n
39
Safety Stock
40
Safety Stock based on Fill Rate
Shortage probability
Pr{LTD > R) = p
LTD
LTDavg R
s
42