Lecture No. 16
Held on: Monday, September 18,
2000.
Notes Prepared by: Sarish Jain
& Rohit Gulati
Models with deterministic time varying
demand:
Let the demands in successive periods be
(r1, r2, …, rn) where rn
represents the demand in the nth period and let the ordered
amount in successive periods be (Y1, Y2, …,
Yn) where Yn is the order in the nth
period.
WAGNER-WHITE
MODEL:
Assumptions:
·
Lead times are zero
(This is not really necessary).
Note: More generally the holding cost is a concave function
of the ending inventory in each period and the ordering cost is a concave
function of ordered amount.
Concave function:
If we take any two points on
the function and join the line the line always remains below the function. Its
double derivative is non-positive.
Convex function:
It's just vice versa of
concave i. e. If we take any two points on the function and join the line the
line always remains above the function.
Let the total inventory at time t be
Xt.
t
Then Xt = å (Yi – ri
)
i=1
Also the holding cost in the period t is a
function of Xt: h (Xt) and the ordering cost in
period t is a function of Yt: Ct
(Yt).
So our objective is to minimize the following
function for minimum cost
n
Min. å (Ct (Yt)+ h
(Xt))
t=1
With the following constraints
Xt ³ 0 means
that no backordering is allowed and
Yt ³ 0 means
that order cannot be negative.
Typically we have
Ct (Yt) =K*d (Yt) +
c*Yt
Where d (Yt)= 1 if Yt
>0
= 0 otherwise.
and
h (Xt)= h* Xt where h
is constant.
RESULT:
An ordering policy has the property that if
you have inventory at time 't-1', then you don't produce at time 't'. If you
don't have inventory at 't-1' then and only then you produce at time 't'. i.
e.
Yt *
Xt-1 =0
X0=0, for t= 1,2…n.
What this means is you want to produce only
in terms of consecutive demands i. e. 0, r1,
r1+r2, r1+r2+r3 etc. and
not in fraction of these demands, the logic being that you can always get a
lower cost using the whole demands then using fractional demands.
Now we demonstrate the above logic for a
two-period problem.
_____________________________________________________________
Eg. 2 period
problem
\ We have an inventory of d after the first period as we produce
r1+d and demand is r1 so we are left with an
inventory of d after the first period.
Total cost = K1 + K2 +
C1 (r1+d ) + C2 (r2-d ) +h*d
= K1 + K2 +
C1 * r1 + C2 * r2 + d (C1 - C2 +
h)
Now
·
If (C1 -
C2 + h) >0 then if you want to minimize cost keep d =0 i. e. produce r1 in t1 and
r2 in t2.
_____________________________________________________________
Thus according to the above argument
Yt can be,
Yt = 0, (rt),
(rt+rt+1)…(rt+rt+1+…+rt+n)
4 period
problem:
The problem is that is there are four periods
with varying demands, we want to optimize on the total cost that is incurred in
meeting the demands. The problem can be seen as somewhat like the shortest path
problem. Suppose there are five points in the problem 1,2,3,4,5 and there are
several ways of going from point 1 to any other point. Now what is different in
all these paths is the distance to be traveled.
For our problem the distance is represented
by the costs involved. Here travelling from one point to the other point is like
producing the demands for those periods in the starting period and the cost
involved is thus the measure of distance. For e.g.C13 means that
producing the demands for periods 1 and 2 in the period 1.
Now there are several ways to go from point 1
to 5, like directly from 1 to 5,1 to 2 2 to 4 4 to 5,1 to 3 3 to 5 and so on.
What we want to do is to minimize the cost. So let us first represent the costs
in terms of terminology we have used so far.
Consider C13 (cost of producing
the demands of periods one and two in period 1) it equals
C13= C1
(r1+r2) +
h1*r2
Here the first term is cost of producing the
quantity r1 + r2 in the period one and the other term is
the cost of holding the inventory of r2 in the period 1.
Similarly
C25 = C2
(r2+r3+r4) + h2
(r3+r4) + h3
(r4).
In general we can write
j-1 j-2 j-1
Cij = Ci (å rk) + å hk * ( å rk )
k=i k=i l=k+1
Now that we have defined the cost factors, we
need to define the solution procedure for this shortest path
problem.
·
We start with
f5 = 0
In general for n periods
fn+1=0
and we find fi =min [ Cij
+ fj ]
j>i
for i= n, n-1, …,1
___________________________________________________________
Eg. Demands for cosecutive periods r =
(52,87,23,56)
Ct(y) = k d (y) where k =75 for t=1, 2, 3,
4
ht(x) = h* x where
h=1
Solution:
f5 = 0
f4 = 75
{cost at period 4 is for just satisfying
demand of period 4 which is 'k')
f3 =min. C34 +
f4
C35
= min.
75+75
75+56
=131 at j=5
f2 = min C23
+ F3
C24+
f4
C25
= min 75+131
(75+23)+75
75+23+2*56
=173 at j =4
f1 = min
75+73
75+87+131
75+87+2*23+75
75+87+2*23+3*56
=248 at j=2
Means that it's best to go to 2 from 1; then
2 to 4 and then from 4 to 5
Where values are
Y1=r1=52;
Y2=r2+r3=110;
Y3=0;
Y4=r4=56;
And final cost = f1 =
248
Extending to allow
backordering:
Yt * Xt-1 =0 in the
previous case extends to
Yt > 0 only if Xt-1
£ 0
i.e. here you will never produce if you have
inventory since backordering is allowed.
There exist integers
0= S0£ S1£ …£ Sn=n
such that Yt=0 if
St-1 = St
St
& Yt =
å rj 1 £ t £ n
i=1+st-1
you produce full amounts but you may produce
full amounts to satisfy previous demands.
If
St = t then zero
inventory.
St < t then backordered demand at
time t.
St > t then inventory
exists.