Академический Документы
Профессиональный Документы
Культура Документы
99XX
Abstra
t
We examine a variant of the un
apa
itated lot-sizing model of Wagner-
Whitin involving sales instead of xed demands, and lower bounds on
sto
ks. Two extended formulations are presented, as well as a dynami
programming algorithm and a
omplete des
ription of the
onvex hull
of solutions. When the lower bounds on sto
ks are non-de
reasing over
time, it is possible to des
ribe an extended formulation for the problem
and a
ombinatorial separation algorithm for the
onvex hull of solu-
tions. Finally when the lower bounds on sto
ks are
onstant, a simpler
polyhedral des
ription is obtained for the
ase of Wagner-Whitin
osts.
1
we obtain the prot maximization formulation
X
n X
n X
n X
n
max pt vt
t xt ft yt ht st ;
t =1 t =1 t =1 t=1
st 1 + xt = vt + st ; for t = 1; : : : n; (1)
0 vt ut ; for t = 1; : : : n; (2)
(F 1) xt Myt ; for t = 1; : : : n; (3)
st Lt ; for t = 1; : : : n; (4)
s0 = L0 ; (5)
xt 0; 0 yt 1; for t = 1; : : : n; (6)
yt integral; for t = 1; : : : n: (7)
where M is a large positive
onstant. Constraint (3) for
es yt to one when
xt is P
positive, but there is always an optimal solution
P with xt < M unless
t + i=t hi < 0. Any value of M greater than t=1 ut + maxt=1;:::;n Lt is
n n
X
n X
n X
n X
n
max pt vt
t xt ft yt ht t ;
t=1 t=1 =1
t t=1
t 1 + xt = dt + vt + t ; for t = 1; : : : n; (8)
0 vt ut ; for t = 1; : : : n; (9)
(F 2) xt Myt ; for t = 1; : : : n; (10)
0 = 0; t 0; for t = 1; : : : n; (11)
xt 0; 0 yt 1; for t = 1; : : : n; (12)
yt integral; for t = 1; : : : n: (13)
We go from the rst formulation to the se
ond by taking t = st Lt and
dt = Lt Lt 1 , for all t. To
P go from the se
ondPformulation to the rst, we
take L0 = maxf0; maxt [ i=1 di ℄g, Lt = L0 +
t
i=1 di , and st = Lt + t for
t
all t. The tradeo between (F1) and (F2) is between having lower bounds
Lt on sto
ks, or having external demands dt . Figure 1 presents an instan
e
of this transformation.
2
s0 = 3 s1 5 s2 2 s3 4 s4 3
1 2 3 4
0 = 0 1 0 2 0 3 3 0 4 0
1 2 4
2 3 2 1
Figure 1: Transforming lower bounds on sto
ks into demands
P
Dening dij = jt=i dt and using t = ti=1 xi
P
d1t 0 from
P
i=1 vi
t
X
n X
n X
n
max pt vt
t xt ft yt ;
t=1 t=1 t=1
X
t X
t
xi v i + d 1t ; for t = 1; : : : n; (14)
i =1 i=1
(F 3) 0 vt ut ; for t = 1; : : : n; (15)
xt Myt ; for t = 1; : : : n; (16)
xt 0; 0 yt 1; for t = 1; : : : n; (17)
yt integral; for t = 1; : : : n: (18)
Note that the three formulations are equivalent in the sense that there is a
1-1
orresponden
e between their feasible solutions. Let X R3n be the set
of feasible solutions of (F3) des
ribed by (14)-(18).
To derive an algorithm for ULS3 we next
onsider P the stru
ture of the
optimal solutions. We suppose that ft 0 and
t + i=t hi 0 for all t, so
n
3
d14
s
x1 x5
x2 x3 x4
1 2 3 4
1 2 3 4 5
d1 d2 d3 d4 d5
v2 v3 v4
v1 v5
5
t
Figure 2: ULS3 in a network
0; : : : ; j 1 > 0, and either j = 0, or j = n and n > 0. Consider rst
an interval with j = 0
alled a regeneration interval of Type 1, see Figure
3. Clearly if 0 < xk < M and 0 < xl < M with i k < l j , the set
s
xk
=0 i > 0 i+1 > 0 > 0 k > 0 > 0 j -1 > 0 j =0
4
s
xk
=0 i > 0 i+1 > 0 > 0 k > 0 > 0 n-1 > 0 n
t n > 0
5
shown to provide a
omplete des
ription of the
onvex hull of X . In Se
tion
3 we
onsider the spe
ial
ase of ULS3 in whi
h the lower bounds Lt are
nonde
reasing over time in formulation (F1), or alternatively dt 0 for all
t in formulations (F2) and (F3). We rst derive an extended formulation
allowing one to solve ULS3 dire
tly by linear programming, and then give
a
ombinatorial separation algorithm for the family of (t; S; R) inequalities.
Finally in Se
tion 4 we provide an extended formulation for the
ase where
dt = 0 for all t in formulation (F2) and where we have \Wagner-Whitin"
osts. We terminate with a brief dis
ussion of open questions and extensions.
3 v1 2 v2 4 v3 1 v4
x3 + x4 5y3 + 1y4 + v3 + v4 + 4
where the
oeÆ
ient (d3 + d4 ) of y3 is the amount of in
ow in x3 that
ould
es
ape through the demand nodes d3 , d4 , and not through the ar
s v3 , v4 or
4 .
However the above inequality does not take into a
ount the fa
t that
d2 is negative. Be
ause d2 = 2 < 0, 2 d2 v2 , and so 2 + x3
(d3 + d4 ) + v3 + v4 + 4 implies x3 (d2 + d3 + d4 ) + v2 + v3 + v4 + 4 . Thus
the maximum in
ow through x3 that does not
ow out through v2 , v3 , v4
or 4 is d2 + d3 + d4 = 3. This leads us to the inequality
x3 + x4 3y3 + 1y4 + v2 + v3 + v4 + 4 :
6
Now by introdu
ing the
omplementary variables vj = uj vj for j 2
R = f1; 3g, we
onvert u1 and u3 into xed demands but with additional
in
ow v j , leading to the situation shown in Figure 6:
x1 x2 x3 x4
1 2 3 4
1 2 3 4
3+1 v1 2 v2 4+1 v3 1 v4
Figure 6: Small example after substitutions
Now we obtain
x3 + x4 4y3 + 1y4 + v2 + v4 + 4
with the
oeÆ
ient P of y3 Pequal to (d2 + d3 + u3 + d4). Eliminating 4 via
the equation 4t=1 xt = 4t=1 vt + d14 + 4 , obtained by summing (8) for
t = 1; : : : ; 4, the resulting inequality is
x1 + x2 + 4y3 + 1y4 6 + v1 + v3 : (19)
Now we des
ribe formally a family of valid inequalities,
alled (t; S; R)
inequalities, generalizing the previous example. We show that they provide
all the inequalities missing in formulation (F3) to des
ribe the
onvex hull
of the solutions of ULS3 .
In order to
ompute the
oeÆ
ients of the y variables we dene for
R f1; : : : ; ng and 1 i; j n:
P
1. dij = ikj dk , for 1 i j n, dij = 0, if i > j ;
P
2. uR
ij = 2 uk , for 1 i j n, uij = 0, if i > j ;
R
k R;i k j
3. ~bR
i = maxt=0:::i (u1t + d1t ), for i = 0; : : : ; n;
R
5. ~bR i 1 0, for 1 i j n.
~R ~bR
ij = bj
Note that, if = (R; i), uRt+1; + dt+1; 0, for 0 t < , and that
u +1;t + d +1;t 0, for < t i. For example, in inequality (19) with
R
7
Proposition 2.1 The (t; S; R) inequalities
X X ~R X
xj + bjt yj vj + d1t ; (20)
2 n j T Sj 2S j 2R
Also,
X ~R
bjt yj ~bRkt = ~bRt ~bRk 1 = uR1t + d1t (uR1 + d1 )
j 2S
X X
= uj + d +1;t vj + d +1;t : (22)
2
j R; +1j t 2
j R; +1j t
Adding (21) and (22), the result follows.
Theorem 2.2 The inequalities (20) together with the inequalities (15)-(17)
des
ribe
onv(X ).
8
a) q = n + 1, or
b) q 6= n + 1,
q = 0 and either fq = 0 or yq = 1.
Condition B: q 2 f1; : : : ; n + 1g satises
ondition B if for ea
h j 2
f1; : : : ; g, either
j > 0 or yj = 0.
Lemma 2.3 If q satises
ondition A, then
6 q, xj = 0 whenever
j > 0;
1. for j = + 1; : : : ; n, j =
6 q, yj = 0 whenever fj > 0; and
2. for j = + 1; : : : ; n, j =
3. for j = + 1; : : : ; n, vj = uj whenever pj > 0.
9
3) Suppose we have some j , < j n, with pj > 0 and vj < uj . Make
vj = uj and vk0 = 0 for k 62 R. If q 6= n + 1, make x0q = xq + uj vj
0
and yq0 = 1. Everything shown for
ase 1) holds also for this
ase and the
reader
an verify the validity of the inequalities (14) following the same
steps. Solution (x0 ; y0 ; v0 ) is worth pj (uj vj ) more than (x ; y ; v ).
whi
h implies, sin
e u1 + d1 0 and vk 0 for all k, that
R
X
vk < uR1 :
k =1;k2R
P P
Hen
e either k=1 xk > 0 or k=1;k2R vk < uR 1 . It follows that there exists
j 2 f1; : : : ; g with either xj > 0, or j 2 R and vj < uj . Choose the largest
su
h j . Then for k = j + 1; : : : ; , xk = 0 and vk = uk when k 2 R.
Case A: Suppose rst that xj > 0 and take = minfs; xj g. Make vk0 = 0
for k 62 R, x0j = xj , and x0q = xq + in
ase q 6= n + 1. We need to show
that (x0 ; y0 ; s0 ) 2 X by showing that it satises (14).
For t = j; : : : ; we have
Pt x0 Pt x (j t; xj ; q > j )
k =1 k Pk =1 k
= Pk=1 xk (xk = 0; 8k = j + 1; : : : ; )
Pk=1 vk + P
d1 (s )
Pk=1 vk + k=t+1;k2R vk + d1
t
(t ; vk 0)
= t
v +u R
+d 1
(v = u ; 8k 2 R;
k =1 k t+1; k k
Pt v + d k = j + 1; : : : ; )
Pk =1 k 1t t+1; + dt+1; 0)
(uR
tk=1 vk0 + d1t : (vk0 vk ; 8k)
10
Case B: Suppose now that vj < uj , j 2 R, and take = minfs; uj vj g.
Make vj0 = vj + and vk0 = 0 for k 62 R. If q 6= n + 1, make x0q = xq + and
yq0 = 1. For t = j; : : : ; we have
Pt x0 Pt
k =1 k =
=
Pk=1 xxk ( x
(t < q)
= 0; 8k = j + 1; : : : ; )
Pk=1 vk + d +
P
k
(s )
k =1 k 1
Pk=1 vk0 + P
d1 (vj0 = vj + ; vk0 vk ; 8k 6= j )
= Ptk=1 vk0 + k=t+1;k2R vk0 + d1 (vk0 = 0; 8k 62 R)
= t 0
v +u=1 R
+d 1 0
(v = v = u ; 8k 2 R;
k k t+1; k k k
k = j + 1; : : : ; )
Ptk=1 vk0 + d1t : (ut+1; + dt+1; 0)
R
Proof of Theorem 2.2. We use a te
hnique due to Lov asz [7℄. For an
P
arbitrary non-zero obje
tive fun
tion max ni=1 (
i xi fi yi + pi vi ) we will
show
ase by
ase that all points in M (
; f; p) satisfy one of the inequalities
(20), (15), (16) or (17) at equality (note that inequalities (14) are spe
ial
ases of (20)). This proves that the des
ription of the
onvex hull is
omplete,
sin
e when the obje
tive fun
tion is parallel to a fa
et of the polyhedron the
11
orresponding fa
et-dening inequality is the only valid inequality that is
satised at equality by all optimal solutions.
If
i < 0 for some i, then M (
; f; p) f(x; y; v) : xi = Myig. If fi < 0
for some i, then M (
; f; p) f(x; y; v) : yi = 1g. If pi < 0 for some i,
then M (
; f; p) f(x; y; v) : vi = 0g. We suppose next that
, f and p are
non-negative.
As (
; f; p) 6= 0, we
an dene l as the last period su
h that
l , fl and
pl are not all zero. Let t = (R; l), T = f1; : : : ; tg, S = fi 2 T :
i = 0g and
R = fi : pi > 0g.
Suppose there is k l su
h that
k = fk = 0. Then Lemma 2.3
an be
applied with q = k and j = l. If pl > 0, then M (
; f; p) f(x; y; v) : vl =
ul g. Otherwise pl = 0 and thus k < l and either
l > 0 or fl > 0. It follows
that M (
; f; p) f(x; y; v) : xl = 0g or M (
; f; p) f(x; y; v) : yl = 0g. So
we assume from now on that there is no su
h k, and so fi > 0 for all i in S .
Suppose next that pi > 0 for some i > t. Then Lemma 2.3
an be applied
with q = l + 1 and by 3) M (
; f; p) f(x; y; v) : vi = ui g. So from now on
we
an assume that R T .
Consider an optimal solution (x ; y ; v ) in M (
; f; p). We now show
that the inequality (20) holds at equality.
Suppose rst that yi = 0 for all i 2 S . Then
X X X ~R
xj = xj ; and bjl yj = 0:
2 n
j T S 2
j T 2
j S
So, X X ~R X X X
xj + bjl yj = xj = vj + d1t = vj + d1t ;
j 2T nS j 2S j 2T j 2T j 2R
12
X ~R ~R ~R ~R
bjt yj = bk;t = bt bk 1 using 2), and (24)
j 2S
X R
vj = u +1;t using 3): (25)
2 j R;j>
and by 2), X X
vj = vj : (27)
j 2
j R;j
13
3 ULS3 with non-negative demands
(bj ij + dj ij ) = xi ; i = 1; : : : ; n;
X j i
(F 4) (bj ij + dj ij ) = vj + dj ; j = 1; : : : ; n;
i j
X
(ij + ij ) = 1; j = 1; : : : ; n;
i j
(ij + ij ) yi ; 1 i j n;
vi ; yi ; xi ; ij ; ij 0; 1ijn
yi 1; i = 1; : : : ; n:
14
Let P be the polytope dened by the
onstraints of (F4).
It is readily veried that the points in P with ; ; y integer are the
points of X~ , so P is a valid extended formulation for X~ , and
onv(X~ )
projx;y;v P .
so the inequalities (14)-(16) are satised. Also
learly (17) holds. We
om-
plete the proof by
he
king for the (t; S; R) inequalities (20):
X X ~bR
xk + kt yk =
2
k S 2 n
k T S
XX X X X
= (bj kj + dj kj ) + ( b j yk + dj yk )
2
k Sj k 2 n 2 k T S j k;j R j k;j 2T nR
X X X X
= (bj kj + dj kj ) + (bj kj + dj kj ) +
k 2S j k;j 2R k 2S j k;j 2T nR
X X X X
+ bj yk + dj yk
k 2T nS j k;j 2R k 2T nS j k;j 2T nR
15
X X X X
(bj kj + dj kj ) + dj (kj + kj ) +
2 2
k S j k;j R k 2S j k;j 2T nR
X X X X
+ bj (kj + kj ) + dj (kj + kj )
2
Xk2T nX Xk2T nSXjk;j2T nR
S j k;j R
(bj kj + dj kj ) + dj (kj + kj )
k 2T j k;j 2R k 2T j k;j 2T nR
XX X X
= (bj kj + dj kj ) + dj (kj + kj )
j 2R k j j 2T nR k j
X X
(vj + dj ) + dj ;
j 2R j 2T nR
X
= vj + d1t :
j 2R
whi
h
an be rewritten as
X X X X X
xj + yj ( uk ) + djt yj vk :
2 n
j T S 2
j S 2
k R;j k t 2
j S 2
k R
16
whi
h is equivalent to minimizing
X
t X
t X
t X
t X
t
( (uk + dk )yj xj )j + vk k uk yj j k :
j =1 k =j k =1 j =1 k=j
It is well known that minimizing a quadrati
boolean fun
tion in whi
h
all quadrati
terms have non-positive
oeÆ
ient redu
es to a maximum
ow
problem. Thus solving for ea
h t = 1; : : : ; n leads to a polynomial algorithm.
With dt 0 for all t as in the previous se
tion, the fa
et-dening inequalities
still depend on subsets S and R. Here, when dt = 0 for all t, we show that
the number of fa
ets, though still exponential, de
reases by an order of
magnitude in the presen
e of Wagner-Whitin
osts. To see this we again
introdu
e an extended formulation.
Assume that the
ost fun
tions
t ; ht satisfy the Wagner-Whitin
on-
dition
t + ht
t+1 for t = 1; : : : ; n 1. Alternatively eliminating the
produ
tion variables from the obje
tive fun
tion, the resulting storage
osts
h0t =
t + ht
t+1 0. This restri
tion says that, ignoring xed
osts, it is
always best to produ
e as late as possible. Formulations in the presen
e of
Wagner-Whitin
osts have been studied in [10℄.
As the amount sold in period t is either 0 or ut in an optimal extreme
solution, we
an dene the following 0-1 variables:
wt = 1 if vt = ut in period t, and wt = 0 if vt = 0 (wt = vt =ut )
Ækl = 1 if vl = ul and the sto
k at the end of k
ontains the
orrespond-
ing sale ul .
Clearly Ækl = max(0; wl
P
t=k +1 yt ) due to the Wagner-Whitin property.
l
X
n X
n X
n
max pt ut wt ft yt h0t t ;
t=1 t=1 t =1
X
n
k = ul Ækl 1k<t (28)
= +1
l k
17
X
l
Ækl wl + yi 0 1k<lt (29)
= +1
i k
Now we
onsider the proje
tion of Q into the spa
e of the original (; v; y)
variables. Using vt = ut wt for all t, and eliminating the Ækl variables in (28)
by using (29) or (30) leads dire
tly to the proje
tion, and gives a proof of
the next proposition.
18
Proposition 4.2 The polyhedron
X X
l
k (vl ul yi ); for all U fk + 1; : : : ; ng and all k; (33)
2
l U = +1
i k
0 vk u k ; for k = 1; : : : ; n; (34)
0 yk 1; for k = 1; : : : ; n; (35)
0 k ; for k = 1; : : : ; n; (36)
(37)
has y integral at all its extreme points.
Note that the (k; U ) inequalities (33) form a spe
ial subset of the (t; S; R)
inequalities. Spe
i
ally taking t = maxfi : i 2 U g, (33)
an be rewritten
as
X
k X
t X X X
k
xj + yi ( uj ) vl + vj ;
j =1 = +1
i k 2
i j t;j U 2
l U j =1
or setting T = f1; : : : ; tg, R = U [ f1; : : : ; kg and S = fk + 1; : : : ; tg as
X X ~R X
xj + bjt yj vj :
2 n
j T S 2
j S 2
j R
5 Extensions
Various extensions of the type studied for the
lassi
al un
apa
itated lot-
sizing model appear important. We have initial results for the
onstant
apa
ity
ase in
luding a polynomial algorithm and a generalisation of the
(t; S; R) inequalities. Results for ULS3 with ba
klogging and start-up vari-
ables are also needed to treat
ertain real-life instan
es.
Theoreti
ally we have only been able to separate the (t; S; R) inequal-
ities in polynomial time when dt 0 for all t. For formulation (F1), this
means that the lower bounds fLt gnt=0 are nonde
reasing. In pra
ti
e it is
often the
ase that the initial sto
k L0 is arbitrary, and Lt = L
onstant for
t = 1; : : : ; n. Thus the only diÆ
ulty arises when L0 > L. In terms of for-
mulation (F3), d1 = L L0 , and dt = 0 for t = 2; : : : ; n. The
ombinatorial
separation algorithm
an be extended to this
ase. Pra
ti
ally we plan to
develop and test separation heuristi
s both for ULS3 and for xed
harge
network
ows, in whi
h paths with both positive and negative demands are
treated, extending the path inequalities developed in [2℄.
19
A
knowledgement We are grateful to Serge Rau
q for his early
omputa-
tional work on the subje
t.
Referen es
[1℄ I. Barany, T.J. Van Roy and L.A. Wolsey, Un
apa
itated lot sizing:
the
onvex hull of solutions, Mathemati
al Programming Study 22, 32-
43 (1984)
[2℄ C. Cordier, H. Mar
hand, R. Laundy and L.A. Wolsey, b
-opt: a
bran
h-and-
ut
ode for mixed integer programs, Core Dis
ussion Pa-
per 9778, Universite Catholique de Louvain, Louvain-la-Neuve, O
tober
1997
[3℄ M. Florian and M. Klein, Deterministi
Produ
tion Planning with Con-
ave Costs and Capa
ity Constraints, Management S
ien
e 18, 12-20
(1971)
[4℄ U.S. Karmarkar and L. S
hrage, The deterministi
dynami
produ
t
y
ling problem, Operations Resear
h 33, 326-345 (1985)
[5℄ J. Kallrath and J.M. Wilson, Business Optimisation using Mathemati-
al Programming, Ma
millan, Basingstoke (1997)
[6℄ R. Kuik, M. Solomon and L.N. van Wassenhove, Bat
hing De
isions:
Stru
ture and Models, European Journal of Operations Resear
h 75,
243-263 (1994)
[7℄ L. Lovasz, Graph Theory and Integer Programming, Annals of Dis
rete
Mathemati
s 4, 141-158 (1979)
[8℄ S.F. Love, A fa
ilities in series inventory model with nested s
hedules,
Management S
ien
e 18, 327-338 (1972)
[9℄ Y. Po
het and L.A. Wolsey, Lot-Sizing with Constant Bat
hes: Formu-
lation and Valid Inequalities, Mathemati
s of Operations Resear
h 18,
767-785 (1993)
[10℄ Y. Po
het and L.A. Wolsey, Polyhedra for Lot-Sizing with Wagner-
Whitin Costs, Mathemati
al Programming 67, 297-324 (1994)
[11℄ Y. Po
het and L.A. Wolsey, Algorithms and reformulations for Lot-
Sizing Problems, 245-294 in W.J. Cook, L. Lovasz and P. Seymour, eds.,
20
Combinatorial Optimization, DIMACS Series in Dis
rete Mathemati
s
and Computer S
ien
e, AMS (1995)
[12℄ T.J. Van Roy and L.A. Wolsey, Valid Inequalities and Separation for
Un
apa
itated Fixed Charge Networks, Operations Resear
h Letters 4,
105-112 (1985)
[13℄ H.M. Wagner and T.M. Whitin, Dynami
Version of the E
onomi
Lot
Size Model, Management S
ien
e 5, 89-96 (1958)
[14℄ W.I. Zangwill, A Ba
klogging Model and a Multi-E
helon Model of a
Dynami
Lot Size Produ
tion System - a Network Approa
h, Manage-
ment S
ien
e 15, 506-527 (1969)
21