Professional Documents
Culture Documents
1075-1083, 1997
Pergamon 1997 Elsevier Science Ltd
P l h 8030go-.0548(96)00012-9 All rights reserved. Printed in Great Britain
0305-0548/97 $17.00+ 0.00
Scope and Purpose--The purpose of this article is to present a new heuristic procedure for the inventory
problem of deteriorating items with time varying demand and shortages. In contrast to Wee's model, recently
published in this journal, our model is not developed under the restrictive assumption of equal replenishment
cycles. A comparative work shows that our heuristic procedure is outperforming the one proposed by Wee in
both cost and computation time performances.
Abstract--In this article, we consider the inventory replenishment problem with shortages over a fixed time
horizon for a product deteriorating at a constant rate, We do not put restrictions on the length of the
replenishment cycles and the form of the demand function making our model a general one. For linearly and
exponentially time varying demands, the results of a comparative work show that our heuristic is economically
and computationally more efficient than the equal cycle approach. 1997 Elsevier Science Ltd
1. I N T R O D U C T I O N
In a recent article, published in the Journal of Computers and Operations Research, Wee [ I ] considered
the inventory problem of an item deteriorating at a constant rate in an exponentially declining market
over a fixed time horizon. In his model, Wee allowed shortages to be back-ordered, except for the last
cycle during which shortages are prohibited. He further restricted the replenishment intervals to be of
equal length. Under these assumptions, he derived the operating characteristics of the system and
presented the optimization procedure that generates the optimal replenishment frequency and service
level (fraction of time with no shortages). Goswami and Chaudhuri [2] attempted to solve the same
inventory problem with a different assumption on the pattern of the demand rate which was linearly
increasing. Their model was recently modified and generalized to any type of demand functions by
Hariga [31. Hariga also showed that the equation giving the percentage service level for a fixed
replenishment frequency is independent of the demand function parameters in contrast to the ones
derived by Goswami and Chaudhuri equation (1 I) and Wee equation (32). Moreover, the resulting model
of Hariga, because of its generality, is more lucid and easier to follow than the ones of [ 1] and [2].
In this article, we present a new heuristic procedure that is economically and computationally more
efficient than the optimization procedure of Wee. We do not restrict the replenishment cycles to be equal
since severe cost penalty may be incurred by such a restrictive assumption. Intuitively, as demand
decreases over time one tends to increase the duration between consecutive orders to reduce the number
of replenishments. The converse is also true for increasing demand to reduce the holding cost. Moreover,
our procedure requires little computational effort to adjust the generated schedule as a result of a change
in the time horizon.
In the Section 2, we present the underlying assumptions and notation to be used throughout the article.
In Section 3, we review briefly the equal replenishment cycles procedure. Then, we develop our heuristic
procedure for a general continuous time-varying demand and illustrate the model with the two special
1075
1076 Moncer Hariga and Ali AI-Alyan
cases of linear and exponential demand trends. In Section 5, a numerical comparative study is carded out
to show the superiority of our heuristic procedure. Finally, the last section concludes the article.
When the trend in the demand is exponential i.e., D(u)=ae ~, where a>0, the total inventory cost can
be written as;
W(n,t,T) =nCi
~ OehT;
+aC40-1 + - - +aC3~1 - . if0
j=l ~. b(b+O) b b+O b '
+b~0 (4)
and,
W(n,t,T)=nCi
Comparing (4) and relation (24) of Wee [1], our expression of the total inventory cost is much
mathematically simpler and given in a more compact form.
Next, for a given value of n and using the assumption of equal replenishment cycles, we have;
H
T~= (j - 1) - j = 1,2 ..... n, (6)
n
and,
H
t j = ( r j + j - 1 ) - j = 1,2 ..... n - 1. (7)
n
Moreover, after setting the derivative of W(n,t,T) in relation (2) with respect to tj equal to zero, we
obtain;
C4O-'(e~', -r,'- I ) - C3(Tj~- t ) = 0 j = 1,2 ..... n - 1.
Next, using (6) and (7), this equation can be transformed to;
The new heuristic that we propose for solving the inventory problem with deterioration, shortages, and
time-varying demand relaxes the restrictive assumptions of equal replenishment cycles and constant
service level during each cycle. In fact, as it is shown in the numerical comparisons, severe cost penalty
may be incurred by such restrictions. Moreover, in contrast to the equal replenishment cycles heuristic,
our approach requires little computational effort to adjust the replenishment schedule when the planning
horizon changes.
After partially differentiating the total inventory cost (2) with respect to tj and Ti, the following
necessary optimality conditions can be obtained;
0 (.4 ,,., o
C4 O- i(eeO,-r) _ l)+tj
Tit= -~ (10)
Our heuristic is based on the observation that once t~ =t is fixed, all the remaining tj (j=2,3,...) and
(j=2,3,...) can be determined form (9) and (10). In fact, for a given t~ =t, (10) will be used to determine
/'2 (recall T~=0). Then, t 2 will be obtained by solving (9). By repeating this process, other t/s and T/s can
be determined consecutively. Therefore, we need only to find a good starting value for t~ to generate the
rest of the replenishment schedule. In our heuristic, we suggested to start with a value for tj that is
obtained from the following equation.
Sum of holding, shortages, and deterioration costs during the first cycle = ordering cost.
Mathematically, this can be written as:
1078 Moncer Hariga and Ali AI-Alyan
tl T~(I I)
C40 -~ ~ (e ~'- l)D(u)du+C3 ~ (T2(tO-u)D(uJdu=C ,,
0 h
which is obtained from the above equation by simply moving Ct to the left hand side.
For increasing demand, there exists a unique solution to (11) since F(0)= - Cj, F(oo) > 0, and F' (t t) > 0.
However, for decreasing demand, if F(y)<0, where y is the solution to T2(y) - x = 0 and x is the solution
to D(t)=0, then only one order should be placed during the entire planning horizon. Moreover, if the
solution to (1 I) is larger than H, i.e., t~>H, then, similarly, the replenishment frequency is equal to one.
However, if t,<H, we proceed as it was mentioned above by computing the t/s and T/s from (9) and
(lO).
Next, observe that (9) can be rewritten as,
t~t)=t~ H k= 1,2..... n,
t,
whereas in the second one the number of orders to be replenished is (n - 1) and;
Then, the replenishment schedule with the least cost is the one to be selected. This solution procedure
is next outlined in an algorithmic form for both increasing and decreasing demands.
Step 1
Step 1.1: If demand is a decreasing function of time and F(y)-0, then let n= 1 and stop.
Step 1.2: In other cases (increasing demand, decreasing demand with F(y)>0), find t t and T2 by
solving (11).
Step 1.3: If t~-->H, let n= 1 and stop, Otherwise let j = 1 and goto Step 2.
Step 2
Step 2.1: If demand is a decreasing function of time then:
Step 2.1.1: If Tjt-->Hand h(y)-<0 then
A lot sizing heuristic for deterioratingitems 1079
n=j
F o r k = l ton
H
t, ,--t, -
I.
H
r,.-r,-
t,,
T,.-T, H k= 1,2,...j
tj
Step 2.1.2.3: If W(]+ I,t,T)<W(],t,T), let n=j+ 1 and otherwise n=j. Stop.
Step 2.1.3: If h(y)>0, search for tj~in the interval [Tj~,x] using (9) and goto Step 3.
Step 2.2: If demand is increasing, determine tj.j by (9) and goto Step 3:
Step 3:
Step 3.1: If tjl<H then
j'--j+l
Compute T~+I using (10).
Goto Step 2.
Step 3.2: If tj~>--Hthen
Step 3.2.1: Compute W(j+ l,t,T) where
H
tk.--t k - - k= 1,2.... j+ 1
tj+l
H
Tk.--T,-- k=l,2 .... j + l
tj+l
Step 3.2.3: If W(j+ I,t,T)<W(],t,T), let n=j+ 1 and otherwise n=j. Stop.
It can be noticed from the outlined steps that in contrast to the equal replenishment cycles approach,
the solution generated by our procedure can be easily adjusted when the planning horizon is changed. For
example, if H is reduced, one should find the first tj in the original schedule (before the adjustment) that
exceeds the new value of the time horizon and execute Step 3.2. However, if H is increased, then the
algorithm should be resumed using the original schedule. In the remaining of this section, we will
illustrate the algorithm with two special cases of exponential and linear trends in demand.
4.1. Exponential trend in demand
The approximate replenishment schedule for the case of exponentially time-varying demand can be
obtained from the general model by substituting D(t)=a e ~ into the derived mathematical expressions.
1080 Moncer Hariga and All AI-Alyan
In this case;
F(tt)=
C40-la
I e(h~.a~ elnl
b+0 b + -- b(b+0) 01; C3 [ebr:-eh"(b(T2-tO+ l)]-Ci b+O-~O
(13)
e b'' 1 ) a
C40-ta t I - ~ - + ~ +C3~[ehr:-eb"(b(T2-tO+l)]-Cib+O=O
tj= C3 e ~
C4 b (ehr'--eb" ')+Tj b+O=O
Note that the condition F(y)-<0 in Step 1.1. of the algorithm becomes
C4a
Cl--<0 (15)
b(b + 0)
for decreasing exponential demand since y=x=~. In this case, only one order should be placed during
the entire planning horizon. Moreover, it can be shown that the condition h(y)-<0 in Steps 2.1.1. and
2.2.2. is equivalent to;
and should be used only when b+ 0<0 since in the other cases (b>0, b<0 and b+ 0>0) a solution to (9)
will always exist.
Next, our heuristic procedure for the case of exponential trend in demand is illustrated numerically
using the data of the following three example problems with example 2 being the one used by Wee [ 1].
Example 1: a=10, b=0.98, Ct=250, C2=40, C3=80, C=200, 0=0.08, H=4.
Example 2: a=500, b=-0.98, C~=250, C2=40, C3=80, C=200, 0=0.08, H=4.
Example 3: a= 10, b= - 0.08, C~=250, C2=40, C3=80, C=200, 0=0.08, H=4.
The results for these three example problems are reported in Table 1.
Observe that our heuristic generated lower cost replenishment schedules in each of the three cases.
Example I 2 3
Our heuristic II 10 3
Wee's Heuristic 14 II 4
Our heuristic 5196.6 5115.6 1629.1
Wee's heuristic 6357.4 5732.6 1656.7
Percentage saving by our heuristic 22.34 12.06 1.70
k T, t, 7", t, T,
I 0 0.542 0 0.120 0 0.862
2 0.931 1.304 0.204 0.335 1.483 2.390
3 1.569 1.853 0.427 0.573 3.044 4.0
4 2.054 2.283 0.675 0.839
5 2.445 2.638 0.954 1.140
6 2.773 2.939 1.272 1.489
7 3.055 3.200 1.642 1.90 I
8 3.302 3.432 2.084 2AO6
9 3.522 3.640 2.635 3.062
10 3.722 3.828 3.365 4.0
II 3.903 4.0
A lot sizing heuristic for deteriorating items 1081
2b 2"] C3
F(t O=C40 -~ (e ~' - l )( OD(tO - b)+ O(b - aO)fi - 0 ~ t j ] + -6- (T2 - h):(3a+b(T2 + 2tO) - C,, (17)
and,
h(t)=eS'( O D ( t ) - b ) - e ~ [ 2C~02
~ 4 (~ - tj_t)(D(T)+ D(tj_ t))+ OD(T~) - b ] . (I 8)
The heuristic is next illustrated by considering the following three examples with linearly time varying
demand. Example 4 is the one solved by Goswami and Chaudhuri [2] and Hariga [3].
Example 4: a=20, b=2, Ca =90, 6",--5, C3= 1.5, C=0.5, 0=0.01, H= 11.
Example 5: a=0, b=2, C~=90, 6"_,=5, C3= 1.5, C=0.5, O=0.01, H= 11.
Example 6: a=20, b= - 0.5, Ct =90, C,_=5, C3= 1.5, C=0.5, 0=0.01, H= I 1.
The results of the three examples are shown in Table 2 from which one can notice the significant cost
saving achieved by our heuristic.
5. C O M P A R A T I V E STUDY
To show the superiority of our heuristic in terms of cost and computation time performances, we
solved the 49 example problems of Wee for declining exponential demand. The results of these problems
are reported in Table 3. The measure of computation performance used in the comparison is the ratio of
CPU time of the equal cycle heuristic to the CPU time of our heuristic. The results indicated that our
procedure produced lower cost solution than equal cycle heuristic for all 49 problems. The percentage of
cost saving by our heuristic varies from 5.84% to 20.20% whereas the computation time ranges from 1.3
to 4.1. The average saving of these cases is 13.65% and our heuristic is on the average 2.7 times faster
in execution than the equal cycles approach.
The two heuristics were also compared in case of exponentially increasing demand using another 49
problems that differ from the previous ones by the values of the b parameter. The results of this
comparison are shown in Table 4. Once again, it can be observed that our heuristic outperformed the
equal cycle method economically and computationaily. The percentage cost saving of our heuristic varies
from 10.49% to 24.97% with an average value of 19.82%. The computation time ratio changes from 4.3
to 19.1 and our heuristic is 9.4 faster on the average. The computation superiority of our heuristic can be
explained by the fact that the equal cycle method has to evaluate several replenishment schedules with
different number of orders (n= 1,2,...). However, in our procedure, the replenishment frequency is
determined when the first tj exceeds H.
Problems with linearly time varying demand were also solved to evaluate the superiority of the cost
and computation time performances of our heuristic. The problems solved consist of 49 cases generated
from example 4 by keeping a=20 and changing the remaining parameters one at a time by 10%.
Example 4 5 6
Our heuristic 6 3 4
Wee's heuristic 7 5 5
Our heuristic 944.725 560.889 735.302
Wee's heuristic 1133.67 794.498 831.426
Percentage saving by our heuristic 20.00 41.65 13.07
k
% cost saving of our heuristic 12.28 12.23 12.16 12.06 11.92 11.72 11.52
Computation time ratio 3.1 2.6 3.0 3.1 3.4 3.0 2.0
% cost saving of our heuristic 12.39 11.98 11.98 12.06 11.60 11.66 11.95
Computation time ratio 3.9 3.4 3. I 3.1 1.8 2.0 2.4
C: 28 32 36 40 44 48 52
% cost saving of our heuristic I 1.90 I 1.06 12.26 12.06 I 1.62 I I. I I 12. I I
Computation time ratio 3. I 2.6 3.0 3.1 2.0 2.0 3.4
C~ 56 64 72 80 88 96 104
% cost saving of our heuristic 10.64 11.84 12.01 12.06 11.97 11.82 11.68
Compotation time ratio 2.5 2.5 3.0 3. I 3.0 1.9 3.6
% cost saving of our heuristic 5.84 7.25 9.87 12.06 13.86 16.23 20.20
Computation time ratio 1.3 2.6 3.1 3. I 3.5 3.4 3.6
% cost saving of our heuristic 12.30 12.25 12.16 12.06 11.91 11.70 11.48
Computation time ratio 1.7 3.0 3.0 3.1 3.0 3. I 1.9
% cost .saving of our heuristic 5.85 7.90 10.01 12.06 13.37 17.17 18.00
Computation time ratio 2.4 4. I 3. I 3. I 1.8 2.5 2.5
Base column
Similarly, 49 problems were obtained from example 5 and another 49 cases from example 6. The overall
results of this comparative work are given in Table 5. Based on these results, the same conclusion about
the superiority of our heuristic can be drawn for linearly time varying demands.
% cost saving of our heuristic 17.04 17.0q 17.22 17.28 17.34 17.38 15.51
Computation time ratio 8.5 8.0 8.4 10.8 8.6 9. I 11.6
% cost saving of our heuristic 16.79 16.99 17.14 17.28 17.37 17.52 17.67
Computation time ratio 1I. 1 9.9 9.4 10.8 7.6 7.6 6.8
C: 28 32 36 40 44 48 52
% cost saving of our heuristic 16.68 16.84 17.06 17.28 17.47 17.63 17.84
Computation time ratio 9.5 7.4 8.5 10.8 11.3 9.5 9.9
C~ 56 64 72 g0 88 96 104
% cost saving of our heuristic 19.07 18.26 17.71 17.28 16.86 16.61 16.32
Computation time ratio 9.8 10.3 10.3 10.8 11.3 8.8 9. I
% cost saving of our heuristic I 1.43 13.30 15.15 17.28 19.51 21.88 24.34
Computation time ratio 4.3 4.8 7.3 10.8 11.2 14.3 19.1
% cost saving of our heuristic 17.04 17.09 17.22 17.28 17.34 17.38 17.51
Computation time ratio 8.2 8.0 8.9 10.8 8.4 10.7 8.8
% cost saving of our heuristic 10.49 12.63 14.87 17.28 19.74 22.31 24.97
Compotatiou time ratio 5. I 6.3 8.2 10.8 10.8 14.6 13.8
Base column
A lot sizing heuristic for deteriorating items 1083
6. C O N C L U S I O N
A new heuristic procedure for the inventory problem of deteriorating items with time varying demand
and shortages is developed in this article. In contrast to Wee's model, we do not put a restriction on the
replenishment cycles. Besides its cost and computation superiority, our heuristic requires little
computational effort to adjust its replenishment schedule as a result of a change in the time horizon.
In our comparative work, we also tested another heuristic procedure with a different value for h. In this
heuristic, t~ is based on the economic order quantity formula and is given by;
ll---- / 2ClCsH
H
C4(C3+C4) J D(u)du
o
However, me results for this heuristic were not encouraging because it was dominated by the one
presented in this article.
REFERENCES
I. Wee, H. M., A deterministic lot-size inventory model for deteriorating items with shortages on a declining market. Computers
and Operations Research, 1995, 22, 345-356.
:2. Goswami, A. and Chaudhuri, K. S., An EOQ model for deteriorating items with shortages and linear trend in demand. Journal
of Operational Research Society, 1991, 42, 1105-1110.
3. Hariga, M. A., An EOQ model for deteriorating items with shortages and time-varying demand. Journal of Operational
Research Socieo,, 1995, 46, 398-404.