7 DynamicDemandModels
7 DynamicDemandModels
Supply Chains:
Planning with Dynamic
Demand
t 1 2 3 4 5 6
D 10 40 80 60 30 20
PRODUCTION / INVENTORY
CONTROL WITH DYNAMIC DEMAND
Important Property: Each production run covers the
demand across some integer number of future periods. As
a consequence, if there is any inventory at the end of a
period, there can never be any production in the next
period, i.e., (It-1)*(Pt) = 0
PRODUCTION / INVENTORY
CONTROL WITH DYNAMIC DEMAND
EXAMPLE: Suppose we have 5 periods in our planning horizon. Some
possible production patterns are
P1 P2 P3 P4 P5
D1+D2+D3 0 0 D4+D5 0
D1 D2+D3 0 D4 D5
D1+D2 0 D3+D4 0 D5
D1 D2 D3 D4 D5
D1+D2+D3+D4+D5 0 0 0 0
Corresponding end-of-period inventory levels are:
I1 I2 I3 I4 I5
D2+D3 D3 0 D5 0
0 D3 0 0 0
D2 0 D4 0 0
0 0 0 0 0
D2+D3+D4+D5 D3+D4+D5 D4+D5 D5 0
© Jayant Rajgopal, 2016
Department of Industrial Engineering
Then the total variable cost for the production run is equal to As+HC(s,t).
Note that Aj is the setup cost in period j and hj is the holding cost in period j
- if these are the same in all periods we can replace all Aj with A and hj with
h.
© Jayant Rajgopal, 2016
Department of Industrial Engineering
Note that this method tries to choose a run for which setup
and holding costs are balanced as far as possible.
Silver-Meal Heuristic
End the run at j for which the total variable cost per unit
time = TVCUT(s,j) first reaches a minimum, i.e., t is the
first value of j for which TVCUT(s,j+1)>TVCUT(s,j).
Here we define
TVCUT(s,j) = [As+ HC(s,j)] ÷ [j-s+1]
Silver-Meal Heuristic
s=1
j=1, Ps=10; TVCUT(1,1) = [50+0.3*0]÷1 = 50
j=2, Ps=50; TVCUT(1,2) = [50+0.3*(40+0)]÷2 = 31 (<50 - continue)
j=3, Ps=130; TVCUT(1,3) = [50+0.3*(120+80+0)] ÷3 = 36.33 (> 31 - reset!)
Thus t=2 and P1=60, P2=0
Reset s=3
j=3, Ps=80; TVCUT(3,3) = [50+0.3*0]÷1 = 50
j=4, Ps=140; TVCUT(3,4) = [50+0.3*(60+0)]÷2 = 34 (<50 - continue)
j=5, Ps=170; TVCUT(3,5) = [50+0.3*(90+30+0)] ÷3 = 28.67 (<34 - continue)
j=6, Ps=190; TVCUT(3,6) = 0+0.3*(110+50+20+0)]÷4 = 26 (<28.67 - continue)
Would go on, but reached end of planning horizon – STOP with t=6 and
P3=190, P4=P5=P6=0.
Variable Cost = 2*50 + 0.3*(40+0+110+50+20+0) = $166
(setups) ------(inventory)------
© Jayant Rajgopal, 2016
Department of Industrial Engineering
I0 I1 I2 In-1 In
1 2 n
Define D1 D2 Dn
Wagner-Whitin Algorithm
t=1
∗
F(1) = 50, and =1
t=2
F(2) = Min {[F(0)+ A+ HC(1,2)], [F(1)+ A+HC(2,2)}
= Min {[0+50+0.3×40)], [50+50+0]} = Min {62, 100}=62;
s2*=1
t=3
F(3) = Min { [F(0)+ A+ HC(1,3)], [F(1)+ A+HC(2,3)], [F(2)+ A+HC(3,3)] }
= Min { [0+50+0.3×120+0.3×80)], [50+50+0.3 ×80], [62+50+0] }
= Min {110, 124, 112} = 110
s3*=1
© Jayant Rajgopal, 2016
Department of Industrial Engineering
t=4
F(4) = Min { [F(0)+ A+HC(1,4)], [F(1)+ A+HC(2,4)], [F(2)+ A+HC(3,4)],
[F(3)+ A+HC(4,4)] }
= Min { [0+50+0.3 ×180+0.3×140+0.3×60], [50+50+0.3×140+0.3×60],
[62+50+0.3×60], [110+50+0] }
= Min {164, 160, 130, 160} = 130
s4*=3
t=5
F(5) = Min { [F(0)+ A+HC(1,5)], [F(1)+ A+HC(2,5))], [F(2)+ A+HC(3,5))],
[F(3)+ A+HC(4,5)], [F(4)+ A+HC(5,5) }
= Min { [0+50+0.3*210+0.3*170+0.3*90+0.3*30)],
[50+50+0.3*170+0.3*90+0.3*30], [62+50+0.3*90+0.3*30],
[110+50+0.3*30], [130+50+0]}
= Min {200, 187, 148, 169, 180} = 148
s5*=3 © Jayant Rajgopal, 2016
Department of Industrial Engineering
t=6
F(6) = Min { [F(0)+ A+HC(1,6)], [F(1)+ A+HC(2,6)],
[F(2)+ A+HC(3,6)], [F(3)+ A+HC(4,6)]
[F(4)+ A+HC(5,6)], [F(5)+ A+HC(6,6)] }
=Min { [0+50+0.3*230+0.3*190+0.3*110+0.3*50+0.3*20)],
[50+50+0.3*190+0.3*110+0.3*50+0.3*20],
[62+50+0.3*110+0.3*50+0.3*20],
[110+50+0.3*50+0.3*20], [130+50+0.3*20], [148+50+0]}
= Min {230, 211, 166, 181, 186, 198} = 166
s6*=3
So the optimal plan has production in periods s6* (=3) and s2* (=1) so that
P3=D3+D4+D5+D6=190 and P1=D1+D2=50.
The DP algorithm implicitly evaluates all the paths shown in the graph
below, where each node represents a possible regeneration point
0 1 2 3 4 5 6
An example:
DISTRIBUTION REQUIREMENTS PLANNING (DRP)
EXAMPLE:
Consider a warehouse that supplies several stores every
week with some item. Demand for the item is highly
dynamic because of differences in what each store orders
ever week and because not all stores order every week.
The total demand at the warehouse over the next 12
weeks was considered and orders were planned using the
Silver-Meal heuristic. Suppose that the lead time to obtain
a shipment of items from the supplier in China is 2 weeks
DRP Example
ITEM RX-2100
Lead Time 2 weeks Order lot sizes based on
Safety Stock 20 Silver-Meal heuristic
Current Inventory 25
WEEK 1 2 3 4 5 6 7 8 9 10 11 12
Requirements 80 65 20 50 90 80 60 25 70 30 40 75
Scheduled 165
Receipts
Projected
Ending 25 110 45 25 110 20 80 20 120 50 20 95 20
Balance
Planned 135 140 125 115
Receipts
Planned Order 135 140 125 115
Release