Improved Balas and Mazzola Linearization for Quadratic
0-1 Programs with Application in a New Cutting
Plane Algorithm
Wajeb Gharibi
Department of Computer Science, College of Computer Science & Information Systems, Jazan University, Jazan, KSA Email: [email protected]
Received December 9, 2011; revised December 26, 2011; accepted January 20, 2012
ABSTRACT
Balas and Mazzola linearization (BML) is widely used in devising cutting plane algorithms for quadratic 0-1 programs. In this article, we improve BML by first strengthening the primal formulation of BML and then considering the dual formulation. Additionally, a new cutting plane algorithm is proposed.
Keywords: Quadratic Program; Integer Program; Linearization; Cutting Plane Algorithm
1. Introduction
In this article, we consider the generalized quadratic 0-1 program given as follows
min
. . 0,1 ,
T T
n x Bx c x
s t x X
n n= 0
b
2
=
b x b x
u
P (1.1)
where is an nonnegative matrix. With- out loss of generality we assume ii since
ii i ii i. Problem (P) is a generalization of uncon-
strained zero-one quadratic problems, zero-one quadratic knapsack problems, quadratic assignment problems and so on. It is a classical NP-hard problem [1].
= ij
B b
Linearization strategies are to reformulate the zero-one quadratic programs as equivalent mixed-integer program- ming problems with additional binary variables and/or continuous variables and continuous constraints, see [2- 8]. Recently, Sherali and Smith [9] developed small linearizations for more generalized quadratic 0-1 pro- grams. Gueyea and Michelon [10] proposed a frame- work for unconstrained quadratic 0-1 programs. These linearizations are standard for employing exact algori- thms such as branch and bound. Balas and Mazzola pro- posed a small-size linearization [11] and then successfully applied it to devise exact or heuristic cutting plane al- gorithms.
In this article, we focus on new small-size tight lineari- zations. We first propose a primal version of Balas and Mazzola linearization (BML). By strengthening the line- arization and then considering the dual model, we obtain a new linearization which improves BML. As a direct application, a new cutting plane algorithm is proposed.
This article is organized as follows. In Section 2, we discuss Balas and Mazzola linearization (BML) [11] and the related primal linearization. In Section 3, we create a new approach to obtain a tighter linearization. It im- proves the primal linearization of BML in the sense that the linear programming relaxation often give tighter lower bound. In Section 4, we apply this dual lineariza- tion to devise cutting plane algorithm and compare the efficacy with that of BML. Concluding remarks are made in Section 5.
2. The Primal Model of Balas and Mazzola
Linearization
In this section, we show that Balas and Mazzola Linea- rization has a primal model.
Define a column vector with components
= max : , = 1, , ,
i ij j
j i
u b x x X i n
(2.1)where X is any suitable relaxation of X such that the problems (1) can be solved relatively easily.
We rewrite the objective function of (P) as
=1
.
n
i ij j i i
i j i
x b x c x
n
:= ,
i i ij j
j i
y x b x
Introducing continuous variables
(2.2)we can obtain the following mixed 0-1 linear program
=1
1
min
. .
0, = 1, , , ,
n
i i i
i
i ij j i i
j i
i
y c x
, = 1, , ,
i
s t y b x u x
PL
y i n
x X
u i n
0
bij 0
P PL
1
PL
=1
,
n n
i i i
i i
y c x
(2.3)
where the two series inequality constraints follow from
the fact i i and , ,
respectively.
x 1
j ibjxjui
0 xiTheorem 2.1. Problems ( ) and ( 1) are equivalent
in the sense that for each optimal solution to one prob- lem, there exists an optimal solution to the other problem having the same optimal objective value.
The proof is found in Appendix 1.
Remark 2.1. If we restrict (P) as the quadratic as- signment problem, the proposed linearization ( ) re- duces to Kaufman-Broeckx linearization [12,13].
Below we apply Benders’ decomposition approach to Problem (P), as in [14]. Firstly, (P) can be decomposed in the following way
( ) =1
min min
x X y Y x
(2.4)
where
:=, 0
n
i ij j i i i i
j i
Y x
y y b x u x u y
, = 1, 2,i n.
(2.5)
For fixed x, we dualize the first series constraints of the problem n ( ) =1 using Lagrangian multi-
n y Y x
i yimi
pliers i (i= 1, 2,,n). We obtain the subproblem
= 1, 2, , .
j ui u xi i i
=1max :
. . 0 1, ,
n ij
i j i
i
b x SP x
s t i j n
(2.6)
Note that the feasible solution region F of SP(x) does not depend on the chosen vector x. Let t be the incidence vectors of the extreme points of F (which is unit hypercube in n). Introducing
( ) ( )
,
t t t
i j bjii ui
2,, 2 := ,n T
( )
=1
,
n n
t t
i i
i i
( )
:=
j i
(2.7)( ) ( )
=1
:= , = 1,
n
t t
i i i
u t
(2.8)we can see that Problem (4) is equivalent to
( )
1 =1
max
min i i
x X t T
x c x
(2.9)by the fact that for any fixed x, the second-stage problem of (4) is a linear program-
one of the optimal solutions to the linear programming problem (6) is attained at an extreme point of F. Prob- lem (9) yields now the following mixed 0-1 linear pro- gram
=1
( ) ( ) 1
=1
min
: . . , 1 ,
.
n i i i
n
t t
i i
i
z c x
DL s t z x t T
x X
(2.10)In some sense, linearization (DL1) can be regarded as
th
d ( quiva-
le
n see (D
1
DL ML
3. New Tight Primal and Dual
In se a new approach to establish e dual formulation of (PL1). Above we also obtained
the equivalence between (PL1) and (DL1): Theorem 2.2. Problems (PL1) an DL1) are e
nt in the sense that for each optimal solution to one problem, there exists an optimal solution to the other problem having the same optimal objective value.
Combining Theorem 2.1 with Theorem 2.2, we ca
1
L ) is equivalent to (P). In literature, linearization ( ) is known as Balas and Mazzola linearization (B ) [11].
Linearizations
this section, we propo new tight linearizations.
Define
= max : , = 0 , = 1, , ,
i ij j i
j i
v b x x X x i n
(3.1)= min : , = 1 , = 1, , .
i ij j i
j i
l b x x X x i n
(3.2)Let v and l be the vectors with components vi
an r
t x X ,1
n. For all i= max , .
i ij j ij j i i i i i
j i j i
d li espectively, = 1,i ,n.
Lemma 3.1. [15] Le
0 = 1,,n,( ) =1
ny Y x
ni yiming whose dual formulation is just (6) and the fact that mi
x b x b x v x v l x
(3.3)Therefore, the new linearization reads
=1
2
min
. . , = 1, , ,
, = 1, , . .
i i i
i
i ij j i i i
j i
i i i
y c x
n
s t y b x v x v i n
PL
y l x i n
x X
(3.4)
Under the linear transformations
i
x
=1
2
min
. .
0, = 1, , , .
n
i i i i
i
i ij j i i i
j i
i
t l c x
, = 1, , ,
i
s t t b x v l x
PL
t i n
x X
v i n
(3.5)
As a corollary of Lemma 3.1, we have
2)) and (P)
ar o ptim
i
Theorem 3.1. Problems (PL2) (or (PL
e equivalent in the sense tha r each o al solution to one problem, there exists an optimal solution to the other problem having the same optimal objective value.
Continuously relaxing linearizations (PL1) and (PL2),
t f
.e., replacing X with X, we obtain linear program- ming lower bou s for (P enoted by v R
PL1
and
2
v RPL respectively. (PL2 ) is n than
following sense.
eorem 3.2. v R
PL1
2nd
weaker ( ) in t
.ow any feasi solution of (P
a ), d
v R
ot
PL 1PL
Th
he
Proof. It is sufficient to sh ble
2
L ) is also feasible in (PL1), which follows from the
fact that viui, xi[0,1] nd li0 since B=
bijis nonneg
Next, we consid ative. □
er the odel of (PL2). As the
fo f (
the ).
dual m
rmulation of (PL2) is similar to that o PL1), we
immediately have dual model based on (DL2
=1
( )
=1
min
2 : . .
,
( )
, 1 ,
i i i
i
n t t
i i
i
z l c x
DL s t z x t T
x X
(3.6)where
n
( )
,
t t
i i i
b v l (3.7)
( ) ( )
:=
t
i j ji
j i
( ) ( )
=1
:= .
n
t t
i i i
v
(3.8)Similarly to Theorem 2.2, we have
2
) and (DL2)
ar f utio
4. Cutting Plane Algorithms Based on Dual
W tting plane algorithm based on
obl
bset
Theorem 3.3. Problems (PL2)(or (PL
opt
e equivalent in the sense th or each imal sol n to one problem, there exists an optimal solution to the other problem having the same optimal objective value.
at
Linearizations
e first establish cu
(DL1). As in any decomposition approach the master
pr em (DL1) is not solved for all restrictions
( )
=1 , 1
n t
z
i i( )t xi t T , but only for a su
t1 t r
of indices. We de lem bysoluti
note the restricted master
1r
DL .
Getting a on
prob
for the restricted master pro- blem, the subproblem P x
is solved, which yields( 1)
:= = 1, 2, , .
r
S
, ,
i x i ji )
(r 1)
n
(4.1
is an optimal solution of the subproblem
SP xand the
because of the definition of the constants ui
constraints 0i 1. A new cut
( 1) ( 1)
=1
n
r r
i i i
z
x (4.2)is added to the current
1rDL . Thus we get
1
1r
DL . n valu
The objection functio e z of SP x
is an p- u per bound for (P), whereas the objective function valuez of the master problem
1rDL is a lower bound. If
= z, stop and return an op solution. s is the flow of cutting plane algorith
z timal
Thi m. Below we
sh
4.1. Assume that
ow the finite convergence. The proof is found in Ap- pendix 2.
Lemma x is an optimal solution of
1r
L and (r 1):=
i i
D x. For any s>r, x cannot be timal so
an op lution of
1sDL unle t i the optimal solution of (P).
From the abov
ss i s
e lemma, we have the convergence re- su
utting plane algorithm stops in
rithm based on (DL2 ) can be
si ) con
q
lt proved in Appendix 3.
Theorem 4.1. The above c
a finite number of steps and returns the optimal solution of (P).
Cutting plane algo
milarly devised. To compare with (DL1 veniently,
instead of (DL2), we use the following e uivalent model
=1
( ) ( )
2
=1
min
: . . , 1 ,
.
i i i
n t
t
i i i
i
z c x
DL s t z l x t T
x X
(4.3)Theorem 4.2. Assume li> 0 for all i= 1, 2,,n.
Th gram
1
r
DL
5. Conclusion
focus on the generalized quadratic 0-1
rm
an nuo
n
e restricted master pro ( 2
r
DL) gives a lower bound strictly better than that of ( ) until the cutting plane algorithm stops.
In this article, we
program, denoted by (P). We propose a linearization (PL1) for (P) and show that it can be regarded as a dual
fo ulation of Balas and Mazzola linearization (BML), denoted ( DL1 ). By applying a new approach, we
establish a tight linearization (PL2) of the same size. We
proved (PL2) is not weaker th (PL1) in the sense that
the conti us linear programming relaxation of (PL2)
gives tighter lower bound than that of (PL1). The dual
linearizations of (PL1) and (PL2), (DL1) and (DL2) are
in
REFERE
M. R. Garey a puters and In
s and O. A. Prokopy [1]
successfully used devising cutting plane algorithms, respectively. We showed that the cutting plane algorithm based on (DL2) is strictly better than that of (DL1) under
some weak assumptions.
NCES
nd D. S. Johnson, “Com tracta-
bility: A Guide to the Theory of NP-Completeness,” WH Freeman & Co., New York, 1979.
[2] W. Chaovalitwongse, P. M. Pardalo ev,
“A New Linearization Technique for Multi-Quadratic 0-1 Programming Problems,” Operations Research Letters, Vol. 32, No. 6, 2004, pp. 517-522.
doi:10.1016/j.orl.2004.03.005
[3] S. Elloumi, A. Faye and E. Soutif, “Decomposition and
Linearization for 0-1 Quadratic Programming,” Annals of Operations Research, Vol. 99, No. 1-4, 2000, pp. 79-93.
doi:10.1023/A:1019236832495
[4] R. Fortet, “L’algebre de Boole et ses Applications en Re-
cherche Operationnelle,” Cahiers du Centred Études de Recheche Operationnelle, Vol. 1, No. 4, 1959, pp. 5-36.
[5] F. Glover, “Imporved Linear Integer Programming For-
mulations of Nonlinear Integer Problems,” Management Science, Vol. 22, No. 4, 1975, pp. 455-460.
doi:10.1287/mnsc.22.4.455
[6] F. Glover and E. Woolsey, “Further Reduction of Zero-
One Polynomial Programming Problems to Zero-One Linear Programming Problems,” Operations Research, Vol. 22, No. 1, 1973, pp. 156-161.
doi:10.1287/opre.21.1.156
[7] F. Glover and E. Woolsey, “Converting the 0-1
Polyno-mial Programming Problem to a 0-1 Linear Program,” Operations Research, Vol. 22, No. 1, 1974, pp. 180-182.
doi:10.1287/opre.22.1.180
[8] L. Liberti, “Compact Linearization of Binary Quadratic
riza- Problems,” 4OR, Vol. 5, No. 3, 2007, pp. 231-245.
[9] H. D. Sherali and J. C. Smith, “An Improved Linea
tion Strategy for Zero-One Quadratic Programming Prob- lems,” Optimization Letters, Vol. 1, No. 1, 2007, pp. 33- 47. doi:10.1007/s11590-006-0019-0
[10] S. Gueyea and P. Michelon, “A Linearization Framework
for Unconstrained Quadratic (0-1) Problems,” Discrete Applied Mathematics, Vol. 157, No. 6, 2009, pp. 1255-
1266. doi:10.1016/j.dam.2008.01.028
[11] E. Balas and J. B. Mazzola, “Quadratic 0-1 Programming
F. Broeckx, “An Algorithm for the
earization Method for
tching
ht Linearization Strategy by a New Linearization,” The TIMS/ORSA Meeting, Wash- ington DC, 1980.
[12] L. Kaufman and
Quadratic Assignment Problem Using Bender’s Decom-
position,” European Journal of Operational Research,
Vol. 2, No. 3, 1978, pp. 204-211.
[13] Y. Xia and Y. Yuan, “A New Lin
Quadratic Assignment Problems,” Optimization Methods and Software, Vol. 21, No. 5, 2006, pp. 803-816.
[14] R. E. Burkard and U. Derigs, “Assignment and Ma
Problems: Solution Methods with FORTRAN-Programs,” Springer-Verlag, Berlin, 1980.
[15] W. Gharibi and Y. Xia, “A Tig
Appendix
1)Proof of Theorem 2.1
Let x be any feasible solution to (P). It is easy to verify that
x y, PL1=
i i j iij j
y x
b x PL
*, *
is feasible in ( ) with the same objective value, where . As a conse-
quence, the optimal objective value of ( 1) gives a
lower bound for (P). It is sufficient to show that if x y is an optimal solution to (PL1),x
i ui
= 1
i
x
is optimal in (P) with the same objective value. We notice that
= max
i j i i
y
b=
i j i ij j
, 0
jxj u xi
. If , we have
y
b x=
i i
y x
, otherwise, , . As a con-
clusion, which implies
= 0 yi= 0
j i
i i j
i x
ij jb x
=1 = =1
n n
i y i x
j ib xij . That is, x
is a feasible
solution to (P) whose objective value equals a lower bound. Therefore, x
is optimal in (P) and both the optimal objective values are equal. □
2) Proof of Lemma 4.1
Denote the optimal objective function value of any master problem
1
s
DL by zs, which is a lower bound
for (P). If x is also an optimal solution of
DL1s for some s>r( 1) ( 1)
,
r r
i x
, it follows that
=1
n
s i
i
z
(2.1)since DLs1
( 1) ( 1)
=1
( 1) ( 1) ( 1)
=1 =1
=1 =1
=1
=
=
= .
n
r r
i i
i
n n
r r r
contains the constraint (2). The left-hand side of (4) is a lower bound for (P) while the right-hand side of (4) corresponds to a feasible objective function value of (P), which can be shown as follows:
j ji i i i i i
i j i i
n n
j ji i i i i i
i j i i
n
ji j i
i j i
x
b u x u
x b x u x x u
b x x
x Therefore (4) holds as equality and
DL
must be the optimal solution of (P). □
3)Proof of Theorem 4.2
If the cutting plane algorithm based on ( 2) has not
stopped at step r, the optimal solution x
( )t
must be different from for any , i.e., there exist index t such that
1 t r
i
( )
1 t > 0
t
x
2
r
DL
it i . Then the right-
hand side of ( ) satisfies
( ) ( )
=1
( ) ( ) ( )
=1 =1
( ) ( ) ( ) ( )
=1 =1 =1
( ) ( ) ( )
=1 =1
=
1 ,
> ,
n
t t
i i i
i
n n
t t t
j ji i i i i i i i
i j i i
n n n
t t t t
j ji i i i i i i i i
i j i i i
n n
t t t
j ji i i i i i
i j i i
l x
b v l l x v
b u x u l x
b u x u
1 t r
(3.1) for any
2
r
DL
. Therefore the objective function value of ( ) is strictly larger than that of
1 . □r
DL