You are on page 1of 10

Int. J.

Production Economics 66 (2000) 13}22

Parametric analysis of setup cost in the economic lot-sizing


model without speculative motives夽
C.P.M. Van Hoesel , A.P.M. Wagelmans *
Department of Quantitative Economics, Maastricht University, P.O. Box 616, NL-6200 MD, Maastricht, Netherlands
Econometric Institute, Erasmus University Rotterdam, P.O. Box 1738, 3000 DR Rotterdam, Netherlands
Received 12 January 1999; accepted 27 May 1999

Abstract

In this paper we consider the important special case of the economic lot-sizing problem in which there are no
speculative motives to hold inventory. We analyze the e!ects of varying all setup costs by the same amount. This is
equivalent to studying the set of optimal production periods when the number of such periods changes. We show that this
optimal set changes in a very structured way. This fact is interesting in itself and can be used to develop faster algorithms
for such problems as the computation of the stability region and the determination of all e$cient solutions of a lot-sizing
problem. Furthermore, we generalize two related convexity results which have appeared in the literature.  2000
Elsevier Science B.V. All rights reserved.

Keywords: Economic lot-sizing; Parametric analysis; Stability; E$cient solutions; Dynamic programming

1. Introduction can also be made for many extensions of ELS


(see [4]).
In 1958 Wagner and Whitin published their In this paper we consider the important special
seminal paper on the `Dynamic Version of the case of ELS in which there are no speculative mo-
Economic Lot-Size Modela, in which they showed tives to hold inventory, i.e., the marginal cost of
how to solve the problem considered by a dynamic producing one unit in some period plus the cost of
programming algorithm. It is well known that the holding it until some future period is at least the
same approach also solves a slightly more general marginal production cost in the latter period. For
problem to which we will refer as the economic this model we analyze the e!ects of varying all
lot-sizing problem (ELS). Recently, considerable setup costs by the same amount. This is equivalent
improvements have been made with respect to to studying the set of optimal production periods
the complexity of solving ELS and some of its when the number of such periods changes. We will
special cases (see [1}3]). Similar improvements show that this optimal set changes in a very struc-
tured way. This fact is interesting in itself and can

be used to develop faster algorithms for such prob-
An earlier version of this paper appeared under a slightly
di!erent title as ORC Working Paper OR 256-91. lems as the computation of the stability region and
* Corresponding author. Tel.: 10-408-2576; fax: 10-408-9162. the determination of all e$cient solutions of a lot-
E-mail address: wagelmans@few.eur.nl (A.P.M. Wagelmans) sizing problem. Furthermore, we will generalize

0925-5273/00/$ - see front matter  2000 Elsevier Science B.V. All rights reserved.
PII: S 0 9 2 5 - 5 2 7 3 ( 9 9 ) 0 0 1 0 9 - 7
14 C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22

two related convexity results which have appeared This reformulation can be carried out in linear time
in the literature. and it changes the objective function value of all
The paper is organized as follows. In Section 2 feasible solutions by the same amount. From now
we state several useful results about the economic on we will focus on the reformulated problem.
lot-sizing problem without speculative motives. In In this paper, we assume that c *c for all
G G>
Section 3 we perform a parametric analysis of the i3+1,2, ¹!1,. Note that if c were less than
G
problem. We will characterize how the optimal c for some j'i, then this could be perceived as an
H
solution changes when all setup costs are reduced incentive to hold inventory at the end of period i (in
by the same amount and we will present a linear order to avoid that the higher unit production cost
time algorithm to calculate the minimal reduction in period j will have to be paid). Under our assump-
for which the change actually occurs. In Section 4 tion on the unit production costs this incentive is
we discuss applications of the results of Section 3. not present. Therefore, this special case is known as
Finally, Section 5 contains some concluding remarks. the economic lot-sizing problem without speculative
motives. Note that in the model originally con-
sidered by Wagner and Whitin [5] it is assumed
that h *0 and p "0 for all i3+1,2, ¹,. Because
2. The economic lot-sizing problem without specu- G G
c "p # 2 h , it is easily seen that this model is
lative motives G G RG R
an example of a lot-sizing problem without specu-
lative motives.
In the economic lot-sizing problem (ELS) one is
It is well known that economic lot-sizing prob-
asked to satisfy at minimum cost the known de-
lems can be solved using dynamic programming.
mands for a speci"c commodity in a number of
For problems without speculative motives, the dy-
consecutive periods (the planning horizon). It is pos-
namic programming algorithm can be implemented
sible to store units of the commodity to satisfy
such that it requires only O(¹) time (see [1}3]). We
future demands, but backlogging is not allowed.
will now brie#y review such an implementation.
For every period the production costs consist of
The key observation to obtain a dynamic pro-
two components: a cost per unit produced
gramming formulation is that it su$ces to consider
and a "xed setup cost that is incurred whenever
only feasible solutions that have the zero-inventory
production occurs in the period. In addition to the
property, i.e., solutions in which the inventory at the
production costs there are holding costs which are
beginning of production periods is zero. The latter
linear in the inventory level at the end of the period.
implies that if i and j are consecutive production
Both the inventory at the beginning and at the end
periods with i(j, then the amount produced in
of the planning horizon are assumed to be zero.
period i equals d . From now on, we will only
We will use the following notation: GH\
consider solutions with this property. Also, note
¹: the length of the planning horizon,
that we may assume that setups only take place in
d : the demand in period i3+1,2, ¹,,
G production periods, even if some of the setup costs
p : the unit production cost in period
G are zero. Hence, solutions can completely be de-
i3+1,2, ¹,,
scribed by their production periods which coincide
f : the setup cost in period i3+1,2, ¹,,
G with the periods in which the setups occur.
h : the unit holding cost in period i3+1,2, ¹,.
G Let the variable F(i), i3+1,2, ¹,, denote the
Furthermore, we de"ne d , H d for all i, j with
GH RG R value of the optimal production plan for the in-
1)i)j)¹.
stance of ELS with the planning horizon truncated
As shown in [3] an equivalent problem results
after period i, and de"ne F(0),0. For i"1,2, ¹
when all unit holding costs are taken 0, and for all
the value of F(i) can be calculated using the follow-
i3+1,2, ¹, the unit production cost p is replaced
G ing forward recursion:
by c , de"ned as
G
2
c ,p # h . F(i):" min +F(t!1)#f #c d ,.
G G R R R RG
RG RWG
C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22 15

¹#1 if it is the last production period in some


optimal solution.
The following result is a slight generalization
of the well-known planning horizon theorem due
to Wagner and Whitin. It will be used frequently
later on.

Lemma 1. Let 1)h(i(j(k)¹#1 be such


that h is an optimal predecessor of k and i is an
optimal predecessor of j, then both h and i are optimal
Fig. 1. Determination of F(i). predecessors of both j and k.

To determine F(i) when F(t!1) is already known Proof. We know that


for all t)i, we can proceed as follows (see Fig. 1):
F( j!1)"F(i!1)#f #c d
for each t)i we plot the point (d , F(t!1)# G G G H\
 R\
f ) and draw the line with slope c that passes )F(h!1)#f #c d (1)
R R F F F H\
through this point. It is easy to verify that F(i) is
and
equal to the value of the concave lower envelope of
these lines in coordinate d on the horizontal axis. F(k!1)"F(h!1)#f #c d
G F F F I\
After constructing the line with slope c that passes
G )F(i!1)#f #c d . (2)
through (d , F(i)#f ), we update the lower en- G G G I\
G G>
velope and continue with the determination of Combining these inequalities leads to
F(i#1).
c d )c d .
The running time of this algorithm depends on F H I\ G H I\
the complexity of evaluating the lower envelope in It is easily seen that the lemma holds if d "0.
H I\
certain points on the horizontal axis and the com- Assuming d '0, we obtain c )c . Because
H I\ F G
plexity of updating the concave lower envelope. h(i we already know that c *c . Therefore, it
F G
Because lines are added in order of non-increasing must hold that c "c . Substituting this into (1)
F G
slope, the total computational e!ort for updating and (2) leads to
the lower envelope (i.e., over all ¹ iterations) can be
F(i!1)#f )F(h!1)#f #c d ,
done in linear time. (We use a stack to store the G F F F G\
breakpoints and corresponding line segments of respectively,
the lower envelope.) The fact that the points in
F(h!1)#f #c d )F(i!1)#f .
which the envelope is evaluated have a non-de- F F F G\ G
creasing horizontal coordinate can be used to es- Hence, equality must hold in both (1) and (2), which
tablish an O(¹) bound on the total number of implies the desired result. 䊐
operations required for those evaluations. Hence,
the algorithm runs in linear time. In the next section we perform a parametric
For convenience we will assume from this point analysis of the setup costs of the economic lot-
on that d '0. Hence, period 1 is the "rst produc- sizing problem without speculative motives.

tion period in every feasible solution. Let
i3+2,2, ¹,, then h3+1,2, i!1, is called an
optimal predecessor of i if period h is the last pro- 3. Parametric analysis
duction period before i in some optimal solution in
which i is a production period. This means that h is In this section we study the parametric problem
such that F(i!1)"+F(h!1)#f #c d ,. with setup costs of the form f !j, i"1,2, ¹.
F F F G\ G
Period h is referred to as an optimal predecessor of Here all f *0 are assumed to be non-negative and
G
16 C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22

Fig. 2. Structure of optimal solution in Theorem 1.

the domain of the parameter j is the interval [0, K], Proof. Suppose 2)p(r)q#1 and let j be
N
where K)min + f ,. The main issue we will "nite. For j"j there exists an optimal solution of
G 2 2 G N
deal with is the following. Suppose we are given an ELS(p) with at least p setups. Denote the set of
optimal solution for the lot-sizing problem for production periods in this solution by S; hence,
j"0. Assume that the set of production periods "S"*p. If j 'j , then ELS(r) does not have an
P N
is +i ,2, i ,, where 1"i (i (2(i and optimal solution with at least r setups if j"j .
 O   O N
q(¹; also de"ne i ,¹#1. When j is in- Lemma 2 states that +i ,2, i ,2, i , is an opti-
O>  N P\
creased, solutions with more than q setups become mal set of production periods for ELS(r) as long as
relatively more attractive (and solutions with less 0)j)j . However, S6+i ,2, i , must also
P N P\
than q setups become less attractive). We would be an optimal solution and "S6+i ,2, i ,"*
N P\
like to determine the smallest value of j3[0, K], if p#(r!p)"r. This is a contradiction. Therefore,
any, such that there exists an optimal solution with it must hold that j )j . 䊐
P N
at least q#1 setups. Furthermore, we are also
interested in that optimal solution itself. Lemma 3 will be used in the proof Theorem
Let j denote the parameter value we are looking 1 below. This theorem will enable us to calculate
for. We will use an approach to "nd this value the values j , 2)t)q#1, e$ciently in order of
R
which is based on a natural decomposition increasing index. For notational convenience we
of the problem. To this end we de"ne ELS(t), de"ne j ,R and we let 1t , t 2 denote the (pos-
  
t3+2,2, q#1,, as the parametric lot-sizing prob- sibly empty) set +t3-"t (t(t , for every pair of
 
lem with planning horizon consisting of the indices t and t with t (t .
   
"rst i !1 periods. Furthermore, we let j ,
R R
t3+2,2, q#1,, denote the smallest value in Theorem 1. Let r3+2,2, q#1, and suppose
[0, K] for which there exist an optimal solution for j (j , then ELS(r) has an optimal solution
P P\
ELS(t) with at least t setups; j is de"ned to be R if (Fig. 2) for j"j with the following properties:
R P
there does not exist such a solution for any
j3[0, K]. Clearly, j exists and is equal to j if E there are exactly r production periods
O>
and only if the latter value is "nite. h (2(h
 P
In the sequel, the values F(t), t"1,2, ¹, have E there exists an m3+1,2, r!1, such that
the same interpretation as in Section 1, i.e., they
correspond to j"0. We make the following obser- i "h for all t"1,2, m,
R R
vations. h 31i , i 2 for all t"m#1,2, r.
R R\ R
Lemma 2. For all t3+2,2, q#1, the set Proof. Consider ELS(r) when j"j . By de"nition
P
+i ,2, i , is an optimal set of production periods there exists an optimal solution with at least r pro-
 R\
for ELS(t) as long as 0)j)min+j , K,. Moreover, duction periods. Let k (2(k be the produc-
R  Q
the value of this solution is F(i !1)!(t!1)j. tion periods in such a solution; hence, s*r. Let
R
n be the largest index such that k 3+i ,2, i ,.
L  P\
Proof. Trivial. Suppose k "i , then both +i ,2, i , and
L J  J\
+k ,2, k , are optimal sets of production
 L\
Lemma 3. The values j , 2)t)q#1, are non- periods for ELS(l) when j"j . Because
R P
increasing in t. j (j )j , ELS(l) does not have an optimal
P P\ J
C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22 17

Fig. 3. Solution of the desired form.

Fig. 4. 1i , i 2 contains several elements of +k , , k ,.


S S> L> 2 Q

Fig. 5. Solution of the desired form.

Fig. 6. 1i , i 2 does not contain any element of +k , , k ,.


S S> L> 2 Q

solution with more than l!1 production periods. set of production periods. Moreover, this solution
Hence, "+k ,2, k ," is at most equal to has the form stated in the theorem (with m"u)
 L\
l!1""+i ,2, i ,". Now it follows that (Fig. 5).
 J\
+i ,2, i ,6+k ,2, k , is an optimal set of pro- Now, we are only left with the case that 1i , i 2
 J\ L Q S S>
duction periods for ELS(r) with at least r elements. does not contain any element of +k ,2, k ,.
L> Q
If k to k are such that every set 1i ,i 2 By deducing a contradiction, it will be shown
L> Q J>R\ J>R
with t3+1,2, r!l, contains exactly one of them, that this case cannot occur. From the fact
then the just constructed optimal solution has the that "+i ,2, i ,6+k ,2, k ,"*r we obtain
 J L> Q
desired properties (with m"l) (Fig. 3). "+k , , k ,"*r!l. Therefore, there must be at
L> 2 Q
Otherwise, let u be the largest index in least one t3+l,2, r!1,!+u, such that 1i , i 2
R R>
+l,2, r!1, such that 1i , i 2 does not contain contains several elements of +k , , k ,. From
S S> L> 2 Q
exactly one element of +k ,2, k ,. First, suppose the de"nition of u it follows that indices with this
L> Q
that 1i , i 2 contains several of these indices property must be smaller than u. Let
S S>
and let k and k be the two largest of those w3+l,2, u!1, be the largest index with the prop-
T T>
(Fig. 4). erty and let k and k be the two largest indexed
X X>
Because i is an optimal predecessor of i and elements in 1i , i 2 (Fig. 6).
S S> U U>
k is an optimal predecessor of k , it follows from It follows from the de"nition of u and w that for
T T>
Lemma 1 that i is an optimal predecessor of k . all t3+w#1,2, r!1, the set 1i , i 2 contains at
S T> R R>
Hence +i ,2, i ,6+k ,2, k , is also an optimal most one element of +k , , k ,. Because
 S T> Q X> 2 Q
18 C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22

1i , i 2 does not contain any element of the latter E if j31i , i 2: G( j),the optimal value when
S S> P\ P
set, it is now easy to show that j"0 of the lot-sizing problem with planning
horizon consisting of the "rst i !1 periods un-
"+i ,2, i ,6+k , , k ," P
 J L> 2 X der the restriction that exactly one setup occurs
""+i ,2, i ,6+k , , k ,"!"+k , , k ," in 1i , i ] for all t3+1,2, r!2,, and j is the
 J L> 2 Q X> 2 Q R R>
only production period in 1i , i 2.
*r!(r!w!1)"w#1. P\ P
Furthermore, it follows from Lemma 1 that k The reason why these values are introduced is the
X
is an optimal predecessor of i . Hence, following. Let r3+2,2, q#1, and suppose
U>
+i ,2, i ,6+k , , k , is an optimal set of pro- j (j . Consider a "xed j31i , i 2 and note
 J L> 2 X P P\ P\ P
duction periods for ELS(w#1) when j"j . How- that the restriction in the de"nition of G( j) makes
P
ever, because j (j )j , ELS(w#1) does the corresponding optimal solution a candidate for
P P\ U>
not have an optimal solution with more than the solution described in Theorem 1. Because this
w setups for j . Hence, we have obtained a contra- solution has r setups, its value equals G( j)!rj
P P
diction. This completes the proof. 䊐 when j"j . Clearly, the optimal solution of The-
P
orem 1 is the best one among all candidates, i.e., its
Theorem 1 is basically a characterization of how value is min P\ P +G( j),!rj . Obviously, this
HZ6G G 7 P
the set of optimal production periods changes * or value equals F(i !1)!(r!1)j (cf. Lemma 2),
P P
to be more precise, may be assumed to change and therefore,
* when j becomes equal to j. Let r be the smallest
index such that j "j, then there exists an optimal j " min +G( j),!F(i !1). (3)
P P P
solution with exactly q#1 setups of which the HZ6GP\ GP 7
production periods before i are as described in the Note that (3) holds under the assumption that
P
theorem and the other production periods are i to j (j . Because j )j , j equals min+j ,
P P P\ P P\ P P\
i . This characterization resembles a result given by min P\ P +G( j),!F(i !1),, unless this value is
O HZ6G G 7 P
Murphy and Soyster [6], who consider the lot- greater than K. In the latter case j is set equal
P
sizing problem in which the setup and unit produc- to R.
tion costs are non-increasing over time, and the We will now show how the values G( j) can be
holding costs in each period are concave and non- calculated for all j31i , i 2, r3+2,2, q#1,,
P\ P
decreasing functions of the inventory level at the given the values G(h) for all h31i , i ]; where
P\ P\
end of that period. They show that when all setup i ,0. Note that the latter values are de"ned with

costs are decreased proportionally (instead of by the respect to the planning horizon with total demand
same amount), then the number of production equal to d P\ . Therefore, the following recur-
 G \
periods is non-decreasing and the kth production sion holds:
period in the perturbed problem instance occurs
not later than the kth production period in the G( j) "
: min +G(h)#c d P\ ,#f
original instance. F G H\ H
FZ6GP\ GP\

We now turn to the issue of determining j and #c d P for j31i , i 2. (4)


a corresponding optimal solution with q#1 setups H H G \ P\ P
e$ciently. As noted before, we will determine the The minimization in (4) determines an optimal pre-
values j , 2)t)q#1, in order of increasing decessor of j in the restricted problem correspond-
R
index. To explain our method we need some addi- ing to G( j). Because the last two terms do not
tional notation. For every pair of indices t and depend on h, we are mainly concerned with calcu-

t with t (t de"ne 1t , t ],+t3- " t (t)t ,, lating the values min P\ P\ +G(h)#c d P\ ,
       FZ6G G
F G H\
i.e., 1t , t ]"1t , t 26+t ,. Furthermore, G( j) is for all j31i , i 2. To this end, we construct the
     P\ P
de"ned for j3+2,2, ¹, as follows: lower envelope of the lines with constant term G(h)
and slope c for h31i , i ]. For a "xed
F P\ P\
E if j"i : G( j),F(i !1)#f P , j31i , i 2 the value of interest is found by
P P G P\ P
C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22 19

evaluating the lower envelope in coordinate but that they also lead to improved algorithms for
d P\ on the horizontal axis. Using similar argu- several problems which have been discussed before
G H\
ments as in Section 1, one can easily show that in the literature. Furthermore, we are able to gener-
determining min P\ P\ +G(h)#c d P\ , in alize two known convexity results.
FZ6G G
F G H\
this way for all j31i , i 2 takes a computational
P\ P
e!ort that is bounded by a constant times the sum 4.1. Computing stability regions
of the cardinalities of the sets 1i , i ] and
P\ P\
1i , i 2. Subsequently, the values G( j) are easily Richter [7,8] considers the economic lot-sizing
P\ P
obtained for all j31i , i ]. One can now deter- model with stationary cost coe$cients, i.e.,
P\ P
mine j and proceed with the analogous calculation f "f*0, h "h*0 and p "p for all i3+1,2, ¹,.
P G G G
of G(k) for all k31i , i 2. The complexity of this Without loss of generality, we may assume p"0
P P>
algorithm to determine j , and thus j, is easily and therefore only the values of f and h are relevant.
O>
seen to be O(¹). Note that a solution with q#1 It is easily seen that not the absolute value of these
setups that is optimal for j"j can be constructed coe$cients, but rather their ratio determines the
in linear time if we have stored an optimal prede- optimal solution. Hence, the non-negative quad-
cessor of j when calculating G( j). To summarize, we rant of the ( f, h)-space can be partitioned into con-
have the following result. vex cones, each of which corresponds to another
optimal solution. Moreover, there are at most ¹ of
these cones, each corresponding to another number
Theorem 2. It takes linear time to calculate j (or to
of setups in the optimal solution. For "xed f and
xnd out that it does not exist) and to determine a solu- 
h and a given optimal solution Richter determines
tion with exactly q#1 production periods that is 
the corresponding convex cone (`stability regiona)
optimal for this value.
using an algorithm that runs in at least O(¹) time.
Van Hoesel and Wagelmans [9] point out that this
We have only looked at the parametric problem time bound can actually be achieved. However,
in which all setup costs are reduced when the para- Theorems 2 and 3 imply an even stronger result. To
meter increases. It is left to the reader to verify that use those theorems we "x the unit holding cost to
similar results as presented in this section hold for h and consider the two parametric problems that

the parametric problem in which all setup costs result when j is subtracted from f , respectively,

increase by the same amount when the parameter added to f . Both j and j, de"ned as before, can

increases. Therefore, we state the following theorem be calculated in linear time. It is easily seen that the
without proof. given solution is optimal for all pairs ( f, h) that
satisfy ( f !j)/h )f/h)( f #j)/h , and not
   
for any other pair. Hence, computing the stability
Theorem 3. Consider an economic lot-sizing problem
region can be done in linear time, which is as fast as
without speculative motives that has an optimal solu-
solving the problem.
tion with q'1 production periods. Let j be the
We also note that if the setup cost is stationary,
smallest amount such that there exists an optimal
whereas the marginal production costs and holding
solution with less than q production periods when all
costs are non-stationary, then the setup cost stabil-
setup costs are increased by j. The value of j and
ity region (interval) can still be computed in linear
a corresponding optimal solution with exactly q!1
time, provided that there are no speculative mo-
setups can be determined in linear time.
tives. This constitutes a considerable improvement
over the O(¹) algorithm of Chand and VoK roK s
[10], who only allow the holding costs to be
4. Improved algorithms and theoretical results non-stationary. However, these authors also
study the model in which backlogging is allowed.
In this section we show that the results obtained Clearly, our results are not applicable to that
in Section 3 are not only interesting by themselves, model.
20 C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22

4.2. Computing the value function and ezcient ity point of view it does not perform better than the
solutions Eisner}Severance method. However, in the follow-
ing application this approach is particularly useful.
Zangwill [11] studies the implications of setup Richter [15] analyzes the stationary cost model
cost reduction in the economic lot-sizing model by with respect to the criteria total costs and total
performing a parametric analysis (see also [12,13]). inventory. The goal is to "nd all ezcient solutions,
His main motivation is to analyze the concepts of i.e., all solutions for which there does not exist
the Zero Inventory philosophy, which states that another solution that is better on one criterion and
the inventory levels should be as small as possible not worse on the other. Assume that the there exists
and that this can be accomplished by reducing the an optimal solution (w.r.t. total costs) that has
setup costs. Zangwill shows that reducing all setup q(¹ production periods. One can show that the
costs by the same amount may sometimes increase total inventory is non-increasing in the number of
total holding costs. However, if the setup costs and setups; for instance, this follows from the result by
unit production costs are stationary ( f "f and Zangwill [11] mentioned earlier and also from
G
p "p for all i3+1,2, ¹,), then setup cost reduction Theorem 4 in the next subsection. Hence, to "nd all
G
leads to reduction of both the total holding costs and e$cient solutions it su$ces to determine for all
the number of periods with positive inventory. k3+q,2, ¹, the optimal value of the problem in
Zangwill's results are partly based on the analy- which the number of setups is restricted to be
sis of the value function, i.e., the function that gives exactly k. The latter can be done by calculating the
the optimal value of the lot-sizing problem for value function of the parametric problem in the
every j3[0, K]. It is easily seen that the value way indicated above (where K equals the setup
function is piecewise linear, decreasing and con- cost). This approach has a lower running time than
cave. Moreover, the function has at most ¹ linear the one used by Richter, which is based on the
segments. To construct this function Zangwill pro- Wagner}Whitin algorithm and runs in O(¹) time
poses an algorithm that runs in O(¹). Instead of or worse (no complexity analysis is given). We
this specialized algorithm one may use a well- should also mention that the Eisner}Severance
known general method that is often attributed to method can not be used, because it does not neces-
Eisner and Severance [14]. This method constructs sarily determine optimal solutions for all
the value function by solving at most 2¹#1 k3+q,2, ¹,. In particular the latter may happen if
non-parametric lot-sizing problems. If the Wag- for some k3+q,2, ¹, the corresponding solution
ner}Whitin algorithm is used to solve the latter is only optimal for one value of j3[0, K].
problems again an O(¹) time bound results. How-
ever, we may also use the linear time algorithm, 4.3. A convexity result
because only lot-sizing problems without speculat-
ive motives are considered. Hence, the value func- Consider a lot-sizing problem without speculat-
tion can be constructed in O(¹) time. ive motives and suppose that there exists an opti-
Theorem 2 implies yet another approach to con- mal solution with q'1 setups. For k3+1,2, ¹,
struct the value function. We may apply the pro- we let TC(k) denote the optimal value of the prob-
cedure given in Section 2 repeatedly. Starting with lem in which the number of setups is restricted to be
an optimal solution for j,0, we "rst "nd j, the exactly k.
largest value of j for which the given solution is
optimal. At the same time we "nd a solution that is Theorem 4. The function TC is non-increasing on
optimal for j and that has one setup less than the +1,2, q, and non-decreasing on +q#1,2, ¹,.
original optimal solution. We now proceed by Furthermore, TC is convex on +1,2, ¹,.
letting j play the role of j. Clearly, we will "nd
the complete value function after at most ¹!1 Proof. We will provide the proof only for the range
applications of our procedure. Hence, this ap- +1,2, q,. A similar proof holds for the other range
proach also takes O(¹) time, and from a complex- and is left to the reader.
C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22 21

Consider the parametric problem in which the proach to show this result for the special case in
setup cost in period i is equal to f #K!j, where which p "p for all i3+1,2, ¹,. It also generalizes
G G
j3[0, K] and K"c d . Hence, for j"K there a result by Chand and Sethi [17], who also
 2
exists an optimal solution with q setups and for consider the special case of stationary marginal
j"0 it is optimal to produce only in period 1. It production costs. They de"ne HC(k) to be the
follows that there exist values 0"j)j)2)jO minimum holding cost if the number of setups is
"K such that for every k3+1,2, q, there are restricted to k3+1,2, ¹, and show that this func-
k setups in an optimal solution if and only tion is non-increasing and convex. To see that this
if j3[jI\, jI]. The value of an optimal solution is a special case of Theorem 4, it su$ces to assume
with k setups is equal to TC(k)#kK!kj. For f "p "0 for all i3+1,2, ¹, and to note that in
G G
j"jI, 1)k(q, optimal solutions with k and that case q"¹ and TC(k)"HC(k) for all
k#1 setups exist. Therefore, k3+1,2, ¹,.
TC(k)#kK!kjI"TC(k#1)#(k#1)K
! (k#1)jI 5. Concluding remarks
or equivalently
By carrying out a parametric analysis of the
TC(k)!TC(k#1)"K!jI. (5) setup costs in the economic lot-sizing problem, we
have obtained new results about the structure of
Because the right-hand side of this equality is non- optimal solution for given number of setups, we
negative, it follows that TC is non-increasing on have been able to design fast algorithms for several
+1,2, q,. Clearly, for 1(k(q it also holds that related problems and we have obtained additional
TC(k!1)!TC(k)"K!jI\. theoretical results which may be useful. Our analy-
sis and the algorithms which we have proposed
Combining this with (5) and jI\)jI, we obtain di!er signi"cantly from existing approaches. We
TC(k)!TC(k!1))TC(k#1)!TC(k) think that the characterization given in Theorem
1 and the algorithm it suggests are particularly
and this means that TC is convex on +1,2, q,. 䊐 interesting. An interesting topic for future research
is the question whether similar results hold if we
Remark. Note that the problem reformulation that allow backlogging.
we have carried out (eliminating the holding costs
and replacing p by c ) does not a!ect this result,
G G Acknowledgements
because it has caused the value of all feasible solu-
tions to change by the same amount. For conveni-
ence, we assume that TC(k) equals the solution Part of this research was carried out while the
value w.r.t. the original objective function. second author was visiting the Operations Re-
search Center at the Massachusetts Institute of
An obvious application of Theorem 4 concerns Technology with "nancial support of the Nether-
the problem in which the number of setups is lands Organization for Scienti"c Research (NWO).
restricted to be at most n. The theorem states that if He would like to thank the students, sta! and
the unrestricted problem has an optimal solution faculty a$liated with the ORC for their kind
with q'n production periods, then there exists an hospitality.
optimal solution of the restricted problem with
exactly n setups and it follows from the proof of
References
Theorem 4 that this solution can be determined in
O(n¹) time. [1] A. Aggarwal, J.K. Park, Improved algorithms for eco-
Theorem 4 generalizes a result by Tunc7 el and nomic lot-size problems, Operations Research 41 (1993)
Jackson [16], who use a completely di!erent ap- 549}571.
22 C.P.M. Van Hoesel, A.P.M. Wagelmans / Int. J. Production Economics 66 (2000) 13}22

[2] A. Federgruen, M. Tzur, A simple forward algorithm to European Journal of Operational Research 55 (1991)
solve general dynamic lot sizing models with n periods in 112}114.
O(n log n) or O(n) time, Management Science 37 (1991) [10] S. Chand, J. VoK roK s, Setup cost stability region for the
909}925. dynamic lot sizing problem with backlogging, European
[3] A. Wagelmans, S. Van Hoesel, A. Kolen, Economic lot- Journal of Operational Research 58 (1992) 68}77.
sizing: An O(n log n) algorithm that runs in linear time in [11] W.I. Zangwill, From EOQ towards ZI, Management
the Wagner}Whitin case, Operations Research 40 (1992) Science 33 (1987) 1209}1223.
S145}S156. [12] W.I. Zangwill, Set up cost reduction in series facility pro-
[4] S. Van Hoesel, A. Wagelmans, B. Moerman, Using geo- duction, Working paper, Graduate School of Business,
metric techniques to improve dynamic programming algo- University of Chicago, Chicago, IL, 1985.
rithms for the economic lot-sizing problem and extensions, [13] W.I. Zangwill, Eliminating inventory in a series facility
European Journal of Operational Research 75 (1994) production system, Management Science 33 (1987)
312}331. 1150}1164.
[5] H.M. Wagner, T.M. Whitin, Dynamic version of the eco- [14] M.J. Eisner, D.G. Severance, Mathematical techniques for
nomic lot size model, Management Science 5 (1958) 89}96. e$cient record segmentation in large shared databases,
[6] F.H. Murphy, A.L. Soyster, Sensitivity analysis of the costs Journal of the Association for Computing Machinery 23
in the dynamic lot size model, AIIE Transactions 11 (1979) (1976) 619}635.
245}249. [15] K. Richter, The two-criterial dynamic lot size problem,
[7] K. Richter, Stability of the constant cost dynamic lot size System Analysis, Modelling, Simulation 1 (1986)
model, European Journal of Operational Research 31 99}105.
(1987) 61}65. [16] L. Tunc7 el, P.L. Jackson, On the convexity of a function
[8] K. Richter, Sequential stability of the constant cost related to the Wagner}Whitin model, Operations
dynamic lot size model, International Journal of Produc- Research Letters 11 (1992) 255}259.
tion Economics 34 (1994) 359}363. [17] S. Chand, S.P. Sethi, A dynamic lot sizing model
[9] S. Van Hoesel, A. Wagelmans, A Note on &&Stability of the with learning in setups, Operations Research 38 (1990)
Constant Cost Dynamic Lot Size Modela by K. Richter, 644}655.

You might also like