linear and quadratic reformulations of nonlinear ......linear and quadratic reformulations of...

116
Linear and quadratic reformulations of nonlinear optimization problems in binary variables Elisabeth Rodr´ ıguez-Heck RWTH Aachen University, Chair of Operations Research Results of PhD thesis advised by Yves Crama, University of Li` ege G-Scop, Grenoble, February 7, 2019

Upload: others

Post on 31-Mar-2020

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Linear and quadratic reformulations of nonlinearoptimization problems in binary variables

Elisabeth Rodrıguez-HeckRWTH Aachen University, Chair of Operations Research

Results of PhD thesisadvised by Yves Crama, University of Liege

G-Scop, Grenoble, February 7, 2019

Page 2: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Introduction

Page 3: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Pseudo-Boolean optimization

General problem: pseudo-Boolean optimizationGiven a pseudo-Boolean function f : 0, 1n → R

minx∈0,1n

f (x).

Theorem (Hammer, Rosenberg, & Rudeanu, 1963)Every pseudo-Boolean function f : 0, 1n → R admits a uniquemultilinear expression.

I Given f , finding its unique multilinear representation can becostly! (Size of the input: O(2n))

p.2

Page 4: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Pseudo-Boolean optimization

General problem: pseudo-Boolean optimizationGiven a pseudo-Boolean function f : 0, 1n → R

minx∈0,1n

f (x).

Theorem (Hammer, Rosenberg, & Rudeanu, 1963)Every pseudo-Boolean function f : 0, 1n → R admits a uniquemultilinear expression.

I Given f , finding its unique multilinear representation can becostly! (Size of the input: O(2n))

p.2

Page 5: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Pseudo-Boolean optimization

General problem: pseudo-Boolean optimizationGiven a pseudo-Boolean function f : 0, 1n → R

minx∈0,1n

f (x).

Theorem (Hammer, Rosenberg, & Rudeanu, 1963)Every pseudo-Boolean function f : 0, 1n → R admits a uniquemultilinear expression.

I Given f , finding its unique multilinear representation can becostly! (Size of the input: O(2n))

p.2

Page 6: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Multilinear 0–1 optimization

Assumption: f given as a multilinear polynomialSet of monomials S ⊆ 2[n], aS 6= 0 for S ∈ S.

min∑S∈S

aS∏i∈S

xi

s. t. xi ∈ 0, 1, for i = 1, . . . , n

Example:

f (x1, x2, x3) = 9x1x2x3 + 8x1x2 − 6x2x3 − 2x1

p.3

Page 7: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Application in computer vision: image restoration

Input: blurred image Output: restored image

Image from the Corel database.

p.4

Page 8: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Applications

I Location problemsI Joint supply chain design and inventory managementI Statistical mechanicsI Quantum computingI ...

p.5

Page 9: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Linear and quadratic reformulations

Multilinear 0-1 optimizationminxi

∑S∈S aS

∏i∈S xi

Linear problemminxi ,yj l(x , y)

additional y variablesconstraints

Quadratic problemminxi ,yj q(x , y)

additional y variableswithout constraints (choice)

reformulate as reformulate as

p.6

Page 10: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Overview

Introduction:Multilinear 0-1 optimization

Part I: Linear re-formulations

Part II: Quadraticreformulations

Part III: Computa-tional experiments

Conclusions andPerspectives

Page 11: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Overview

Introduction:Multilinear 0-1 optimization

Part I: Linear re-formulations

Part II: Quadraticreformulations

Part III: Computa-tional experiments

Conclusions andPerspectives

Page 12: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Introduction to linearizations

Page 13: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

The standard linearization (SL)Nonlinear problem

min∑S∈S

aS∏i∈S

xi +n∑

i=1ci xi

Linearized problem

min∑S∈S

aSyS +n∑

i=1ci xi

Standard Linearization (Fortet, 1959; Glover & Woolsey, 1973)

yS =∏i∈S

xi

When xi ∈ 0, 1 it is equivalent to say:

yS ≤ xi ∀i ∈ S,∀S ∈ S (1)yS ≥

∑i∈S

xi − (|S| − 1) ∀S ∈ S (2)

p.7

Page 14: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

The standard linearization (SL)Nonlinear problem

min∑S∈S

aS∏i∈S

xi +n∑

i=1ci xi

Linearized problem

min∑S∈S

aSyS +n∑

i=1ci xi

Standard Linearization (Fortet, 1959; Glover & Woolsey, 1973)

yS =∏i∈S

xi

When xi ∈ 0, 1 it is equivalent to say:

yS ≤ xi ∀i ∈ S,∀S ∈ S (1)yS ≥

∑i∈S

xi − (|S| − 1) ∀S ∈ S (2)

p.7

Page 15: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

SL drawback: The continuous relaxation given by theSL is very weak!

Image from A. Schrijver’s book cover:Theory of linear and integer programming.p.8

Page 16: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

When do the SL inequalities provide a perfectformulation?

p.9

Page 17: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Hypergraph associated with a polynomialA multilinear polynomial can be associated to a hypergraphH = (V = 1, . . . , n,S).

min∑S∈S

aS∏i∈S

xi +∑i∈V

ci xi

Example:

f (x1, x2, x3) = 9x1x2x3 − 8x1x2 + 6x2x3 − 2x1

• •

x1 x2

x3

p.10

Page 18: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Characterization for the unsigned case

Theorem 1: (Buchheim, Crama, & Rodrıguez-Heck, 2019)Given a hypergraph H, the following statements are equivalent:(a) The SL inequalities define an integer polytope.(b) The matrix of coefficients of the SL inequalities is balanced.(c) The hypergraph H is Berge-acyclic.

I Obtained independently and simultaneously by (Del Pia &Khajavirad, 2018).

I Theorem 1 is a Corollary of a more general result consideringthe signs of the coefficients.

I The balancedness condition can be checked in polynomialtime.

p.11

Page 19: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Characterization for the unsigned case

Theorem 1: (Buchheim, Crama, & Rodrıguez-Heck, 2019)Given a hypergraph H, the following statements are equivalent:(a) The SL inequalities define an integer polytope.(b) The matrix of coefficients of the SL inequalities is balanced.(c) The hypergraph H is Berge-acyclic.

I Obtained independently and simultaneously by (Del Pia &Khajavirad, 2018).

I Theorem 1 is a Corollary of a more general result consideringthe signs of the coefficients.

I The balancedness condition can be checked in polynomialtime.

p.11

Page 20: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Characterization for the unsigned case

Theorem 1: (Buchheim, Crama, & Rodrıguez-Heck, 2019)Given a hypergraph H, the following statements are equivalent:(a) The SL inequalities define an integer polytope.(b) The matrix of coefficients of the SL inequalities is balanced.(c) The hypergraph H is Berge-acyclic.

I Obtained independently and simultaneously by (Del Pia &Khajavirad, 2018).

I Theorem 1 is a Corollary of a more general result consideringthe signs of the coefficients.

I The balancedness condition can be checked in polynomialtime.

p.11

Page 21: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Characterization for the unsigned case

Theorem 1: (Buchheim, Crama, & Rodrıguez-Heck, 2019)Given a hypergraph H, the following statements are equivalent:(a) The SL inequalities define an integer polytope.(b) The matrix of coefficients of the SL inequalities is balanced.(c) The hypergraph H is Berge-acyclic.

I Obtained independently and simultaneously by (Del Pia &Khajavirad, 2018).

I Theorem 1 is a Corollary of a more general result consideringthe signs of the coefficients.

I The balancedness condition can be checked in polynomialtime.

p.11

Page 22: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

A class of valid inequalities for multilinear 0–1optimization problems

p.12

Page 23: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

The 2-link inequalities

Definition (Crama & Rodrıguez-Heck, 2017)For S,T ∈ S and yS , yT such that yS =

∏i∈S xi , yT =

∏i∈T xi ,

the 2-link associated with (S,T ) is the linear inequality

yS ≤ yT −∑

i∈T\S xi + |T\S|

Interpretation

S TyS = 1⇒ ∀i ∈ S, xi = 1

yT = 0 and yS = 1⇒ ∃j ∈ T\S, xj = 0

p.13

Page 24: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

A complete description for the case of two monomials

Theorem 2: (Crama & Rodrıguez-Heck, 2017)For the case of two nonlinear monomials, P∗SL = P2links

SL , i.e., thestandard linearization and the 2-links provide a completedescription of P∗SL.

p.14

Page 25: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

A complete description for the case of two monomials

Theorem 2: (Crama & Rodrıguez-Heck, 2017)For the case of two nonlinear monomials, P∗SL = P2links

SL , i.e., thestandard linearization and the 2-links provide a completedescription of P∗SL.

p.14

Page 26: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Proof idea: yS∩T =∏

i∈S∩T xi , yS = yS∩T∏

i∈S\T xi , yT = yS∩T∏

i∈T\S xi

I Consider the extended formulation (with variables in [0, 1])

yS∩T ≤ xi , ∀i ∈ S ∩ T , (3)

yS∩T ≥∑

i∈S∩T

xi − (|S ∩ T | − 1), (4)

yS ≤ yS∩T , (5)yS ≤ xi , ∀i ∈ S\T , (6)

yS ≥∑

i∈S\T

xi + yS∩T − |S\T |, (7)

yT ≤ yS∩T , (8)yT ≤ xi , ∀i ∈ T\S, (9)

yT ≥∑

i∈T\S

xi + yS∩T − |T\S|, (10)

I Notice that the two polytopes P0 and P1 obtained by fixing variableyS∩T to 0 and 1, resp., are integral.

I Compute conv(P0 ∪ P1) using (Balas, 1974) and see that it isP2links

SL .p.15

Page 27: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Overview

Introduction:Multilinear 0-1 optimization

Part I: Linear re-formulations

Part II: Quadraticreformulations

Part III: Computa-tional experiments

Conclusions andPerspectives

Page 28: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Introduction to quadratizations

Page 29: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?I Small number of auxiliary variables (compact).I Small number of positive quadratic terms (xixj , xiyj . . . ) (empirical

distance from submodularity).I Set of quadratic terms with specific underlying graphs.I ...

p.16

Page 30: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?

I Small number of auxiliary variables (compact).I Small number of positive quadratic terms (xixj , xiyj . . . ) (empirical

distance from submodularity).I Set of quadratic terms with specific underlying graphs.I ...

p.16

Page 31: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?I Small number of auxiliary variables (compact).

I Small number of positive quadratic terms (xixj , xiyj . . . ) (empiricaldistance from submodularity).

I Set of quadratic terms with specific underlying graphs.I ...

p.16

Page 32: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?I Small number of auxiliary variables (compact).I Small number of positive quadratic terms (xixj , xiyj . . . ) (empirical

distance from submodularity).

I Set of quadratic terms with specific underlying graphs.I ...

p.16

Page 33: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?I Small number of auxiliary variables (compact).I Small number of positive quadratic terms (xixj , xiyj . . . ) (empirical

distance from submodularity).I Set of quadratic terms with specific underlying graphs.

I ...

p.16

Page 34: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Quadratization: definition and desirable properties

Definition (Anthony, Boros, Crama, & Gruber, 2017)Given a pseudo-Boolean function f (x) where x ∈ 0, 1n, aquadratization g(x , y) is a function satisfyingI g is quadraticI g(x , y) depends on the original variables x and on m auxiliary

variables yI satisfies

f (x) = ming(x , y) : y ∈ 0, 1m ∀x ∈ 0, 1n.

Which quadratizations are “good”?I Small number of auxiliary variables (compact).I Small number of positive quadratic terms (xixj , xiyj . . . ) (empirical

distance from submodularity).I Set of quadratic terms with specific underlying graphs.I ...

p.16

Page 35: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Persistencies

Weak Persistency Theorem (Hammer, Hansen, & Simeone, 1984)Let (QP) be a quadratic optimization problem on x ∈ 0, 1n, and let (x , y) bean optimal solution of the continuous standard linearization of (QP)

min c0 +n∑

j=1

cjxj +∑

1≤i<j≤n

cijyij

s. t. yij ≥ xi + xj − 1 i , j = 1, . . . , n, i < jyij ≤ xi i , j = 1, . . . , n, i < jyij ≤ xj i , j = 1, . . . , n, i < j0 ≤ yij ≤ 1 i , j = 1, . . . , n, i < j0 ≤ xi ≤ 1 i = 1, . . . , n

such that xj = 1 for j ∈ O and xj = 0 for j ∈ Z . Then, for any minimizingvector x∗ of (QP) switching x∗j = 1 for j ∈ O and x∗j = 0 for j ∈ Z will alsoyield a minimum of f .

(See also survey (Boros & Hammer, 2002).)p.17

Page 36: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Persistencies

I The Weak Persistency Theorem is not the strongest form ofpersistency.

I There are ways to compute, in polynomial time, a maximal setof variables to fix, based on a network flow algorithm (Boros,Hammer, Sun, & Tavares, 2008).

I In computer vision, image restoration and related problems ofup to millions of variables are efficiently solved, thanks to theuse of persistencies.

p.18

Page 37: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Persistencies

I The Weak Persistency Theorem is not the strongest form ofpersistency.

I There are ways to compute, in polynomial time, a maximal setof variables to fix, based on a network flow algorithm (Boros,Hammer, Sun, & Tavares, 2008).

I In computer vision, image restoration and related problems ofup to millions of variables are efficiently solved, thanks to theuse of persistencies.

p.18

Page 38: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Persistencies

I The Weak Persistency Theorem is not the strongest form ofpersistency.

I There are ways to compute, in polynomial time, a maximal setof variables to fix, based on a network flow algorithm (Boros,Hammer, Sun, & Tavares, 2008).

I In computer vision, image restoration and related problems ofup to millions of variables are efficiently solved, thanks to theuse of persistencies.

p.18

Page 39: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Page 40: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Check that, for every x ∈ 0, 1n,miny g(x , y) = −

∏ni=1 xi ., two cases:

1 If xi = 1 ∀i , then miny − y ,minimum value of −1 reached fory = 1.

2 If ∃i such that xi = 0, thenminy − Cy , where C ≤ 0,minimum value of 0 reached fory = 0.

p.19

Page 41: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Check that, for every x ∈ 0, 1n,miny g(x , y) = −

∏ni=1 xi ., two cases:

1 If xi = 1 ∀i , then miny − y ,minimum value of −1 reached fory = 1.

2 If ∃i such that xi = 0, thenminy − Cy , where C ≤ 0,minimum value of 0 reached fory = 0.

p.19

Page 42: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Check that, for every x ∈ 0, 1n,miny g(x , y) = −

∏ni=1 xi ., two cases:

1 If xi = 1 ∀i , then miny − y ,minimum value of −1 reached fory = 1.

2 If ∃i such that xi = 0, thenminy − Cy , where C ≤ 0,minimum value of 0 reached fory = 0.

p.19

Page 43: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Check that, for every x ∈ 0, 1n,miny g(x , y) = −

∏ni=1 xi ., two cases:

1 If xi = 1 ∀i , then miny − y ,minimum value of −1 reached fory = 1.

2 If ∃i such that xi = 0, thenminy − Cy , where C ≤ 0,minimum value of 0 reached fory = 0.

p.19

Page 44: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Check that, for every x ∈ 0, 1n,miny g(x , y) = −

∏ni=1 xi ., two cases:

1 If xi = 1 ∀i , then miny − y ,minimum value of −1 reached fory = 1.

2 If ∃i such that xi = 0, thenminy − Cy , where C ≤ 0,minimum value of 0 reached fory = 0.

p.19

Page 45: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Termwise quadratizations

Main ideaQuadratize monomial by monomial using disjoint sets of auxiliary variables.

f (x) = −35x1x2x3x4x5 + 50x1x2x3x4 − 10x1x2x4x5 + 5x2x3x4 + 5x4x5 − 20x1

Negative monomial(Kolmogorov & Zabih, 2004; Freedman& Drineas, 2005)

−n∏

i=1

xi = miny∈0,1

−y(n∑

i=1

xi − (n − 1))

I One variable is sufficient.I No positive quadratic terms.

Positive monomial(Ishikawa, 2011)

n∏i=1

xi = miny∈0,1k

k∑i=1

yi (ci,n(−|x |+ 2i)− 1)

+|x |(|x | − 1)

2,

I Number of variables: k = b n−12 c.

I(n

2

)positive quadratic terms.

p.19

Page 46: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 47: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .

I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 48: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.

I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented asa sum of log(n) powers of 2.

I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 49: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.

I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 50: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.I Use y variables to express which powers of 2 are in the sum.

I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 51: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.

p.20

Page 52: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Upper bound for the positive monomial: dlog(n)e − 1

Theorem 3 (simplified) (Boros, Crama, & Rodrıguez-Heck,2018)Assume that n = 2` and let |x | =

∑ni=1 xi be the Hamming weight of

x ∈ 0, 1n. Then,

g(x , y) = 12 (|x | −

`−1∑i=1

2iyi )(|x | −`−1∑i=1

2iyi − 1)

is a quadratization of the positive monomial Pn(x) =∏n

i=1 xi usingdlog(n)e − 1 auxiliary variables.

Proof idea: Check that, for every x ∈ 0, 1n, miny g(x , y) =∏n

i=1 xi .I The quadratization depends on |x |, which takes values between 0 and n.I Case 1 (|x | ≤ n− 1): Integers between 0 and n− 1 can be represented as

a sum of log(n) powers of 2.I Use y variables to express which powers of 2 are in the sum.I For |x | ≤ n − 1, one factor to reach the minimum value of zero for odd|x | and the other factor for even |x |.

I Case 2 (|x | = n): Similarly, we can show miny g(x , y) = 1.p.20

Page 53: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Lower bound for the positive monomial

Theorem 4 (Boros, Crama, & Rodrıguez-Heck, 2018)If g(x , y) is a quadratization of the positive monomial Pn(x) =

∏ni=1 xi using m

variables, thenm ≥ dlog(n)e − 1

Proof idea:I Consider r(x) =

∏y∈0,1m g(x , y).

I deg(r) ≤ 2 · 2m.I deg(r) ≥ n, because r(x) = αPn(x) where α > 0 (unicity of the

multilinear representation). More precisely,I If |x | < n, there exists y ∈ 0, 1m such that g(x , y) = 0.I If |x | = n, g(x , y) ≥ 1 for all y ∈ 0, 1m.

p.21

Page 54: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Lower bound for the positive monomial

Theorem 4 (Boros, Crama, & Rodrıguez-Heck, 2018)If g(x , y) is a quadratization of the positive monomial Pn(x) =

∏ni=1 xi using m

variables, thenm ≥ dlog(n)e − 1

Proof idea:

I Consider r(x) =∏

y∈0,1m g(x , y).

I deg(r) ≤ 2 · 2m.I deg(r) ≥ n, because r(x) = αPn(x) where α > 0 (unicity of the

multilinear representation). More precisely,I If |x | < n, there exists y ∈ 0, 1m such that g(x , y) = 0.I If |x | = n, g(x , y) ≥ 1 for all y ∈ 0, 1m.

p.21

Page 55: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Lower bound for the positive monomial

Theorem 4 (Boros, Crama, & Rodrıguez-Heck, 2018)If g(x , y) is a quadratization of the positive monomial Pn(x) =

∏ni=1 xi using m

variables, thenm ≥ dlog(n)e − 1

Proof idea:I Consider r(x) =

∏y∈0,1m g(x , y).

I deg(r) ≤ 2 · 2m.I deg(r) ≥ n, because r(x) = αPn(x) where α > 0 (unicity of the

multilinear representation). More precisely,I If |x | < n, there exists y ∈ 0, 1m such that g(x , y) = 0.I If |x | = n, g(x , y) ≥ 1 for all y ∈ 0, 1m.

p.21

Page 56: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Lower bound for the positive monomial

Theorem 4 (Boros, Crama, & Rodrıguez-Heck, 2018)If g(x , y) is a quadratization of the positive monomial Pn(x) =

∏ni=1 xi using m

variables, thenm ≥ dlog(n)e − 1

Proof idea:I Consider r(x) =

∏y∈0,1m g(x , y).

I deg(r) ≤ 2 · 2m.

I deg(r) ≥ n, because r(x) = αPn(x) where α > 0 (unicity of themultilinear representation). More precisely,I If |x | < n, there exists y ∈ 0, 1m such that g(x , y) = 0.I If |x | = n, g(x , y) ≥ 1 for all y ∈ 0, 1m.

p.21

Page 57: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Lower bound for the positive monomial

Theorem 4 (Boros, Crama, & Rodrıguez-Heck, 2018)If g(x , y) is a quadratization of the positive monomial Pn(x) =

∏ni=1 xi using m

variables, thenm ≥ dlog(n)e − 1

Proof idea:I Consider r(x) =

∏y∈0,1m g(x , y).

I deg(r) ≤ 2 · 2m.I deg(r) ≥ n, because r(x) = αPn(x) where α > 0 (unicity of the

multilinear representation). More precisely,I If |x | < n, there exists y ∈ 0, 1m such that g(x , y) = 0.I If |x | = n, g(x , y) ≥ 1 for all y ∈ 0, 1m.

p.21

Page 58: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Results for more general functionsFunction Lower Bound Upper Bound

Zero until k Ω(2n2 ) for some function1 O(2

n2 ) 1

dlog(k)e − 1 for all functions

Symmetric Ω(√

n) for some function2 O(√

n) = 2d√

n + 1e

Exact k-out-of-n max(dlog(k)e, dlog(n − k)e)− 1 max(dlog(k)e, dlog(n − k)e)

At least k-out-of-n dlog(k)e − 1 max(dlog(k)e, dlog(n − k)e)

Positive monomial dlog(n)e − 1 dlog(n)e − 1

Parity dlog(n)e − 1 dlog(n)e − 1

Zero until k Symmetric

Exact k-out-of-n At least k-out-of-n Parity

Positive monomial

1see (Anthony et al., 2017)2see (Anthony, Boros, Crama, & Gruber, 2016)

p.22

Page 59: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Pairwise covers

Page 60: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Pairwise covers

Anthony, Boros, Crama and Gruber (2017)

Substituting common sets of variables

f (x) = −35x1x2x3x4x5 +50x1x2x3x4−10x1x2x4x5 +5x2x3x4 +5x4x5−20x1

could be replaced by

f (x) = −35y12y345 +50y12y34−10y12y45 +5x2y34 +5x4x5−20x1 +P(x , y)

where P(x , y) imposes y12 = x1x2, y345 = y34x5...

p.23

Page 61: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Heuristics for small Pairwise Covers

Three heuristics:I PC1: Separate first two variables from the rest.I PC2: Most “popular” intersections first.I PC3: Most “popular” pairs of variables first.

Main idea: identifying subterms that appear as subsets of one ormore monomials in the input monomial set S.

p.24

Page 62: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Overview

Introduction:Multilinear 0-1 optimization

Part I: Linear re-formulations

Part II: Quadraticreformulations

Part III: Computa-tional experiments

Conclusions andPerspectives

Page 63: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Comparing linear and quadraticreformulations

Page 64: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Methods

MethodsLinearizations Quadratizations

2-links Pairw. cov. TermwiseSL SL-2L PC1 PC2 PC3 Ishikawa logn-1

p.25

Page 65: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Objectives and scope

Objectives1 Compare resolution times of linear and quadratic

reformulations when relying on a commercial solver.2 Are the results consistent for different types of instances?

The objective is not to compete with existing literature.

Dependence on the underlying solver: CPLEX 12.7Drawbacks:

7 Linear solver possibly more powerful than quadratic solver.7 “Blackbox”: little control over the actual resolution.7 Cannot exploit interesting properties like persistencies.

Advantages:3 Commercial widely used solver.3 Avoid comparing commercial against “home-made” software.

p.26

Page 66: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Objectives and scope

Objectives1 Compare resolution times of linear and quadratic

reformulations when relying on a commercial solver.2 Are the results consistent for different types of instances?

The objective is not to compete with existing literature.

Dependence on the underlying solver: CPLEX 12.7Drawbacks:

7 Linear solver possibly more powerful than quadratic solver.7 “Blackbox”: little control over the actual resolution.7 Cannot exploit interesting properties like persistencies.

Advantages:3 Commercial widely used solver.3 Avoid comparing commercial against “home-made” software.

p.26

Page 67: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Application in computer vision: image restoration

Input: blurred image Output: restored image

Image from the Corel database.

p.27

Page 68: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Instances: Vision

0 0 0 0 0 00 0 1 1 0 10 1 1 1 1 00 1 1 0 1 00 0 1 1 0 01 0 0 0 0 0

Image restoration

0 0 0 0 0 00 0 1 1 0 00 1 1 1 1 00 1 1 1 1 00 0 1 1 0 00 0 0 0 0 0

Base images:I top left rect. (tl)I centre rect. (cr)I cross (cx)

Perturbations:I none (n)I low (l)I high (h)

Up to n = 900 variables and m = 6788 terms

p.28

Page 69: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Vision: all methods 15× 15 (n = 225, m = 1598)

tl-stl-

l-1tl-

l-2tl-

h-1tl-

h-2 cr-scr-

l-1cr-

l-2cr-

h-1cr-

h-2 cx-scx-

l-1cx-

l-2cx-

h-1cx-

h-20

100

200

300

400

Instances

Tim

e(s

)

SL-2LSL

PC1PC2PC3

Ishikawalogn-1

p.29

Page 70: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Vision: best methods 15× 15 (n = 225, m = 1598)

tl-stl-

l-1tl-

l-2tl-

h-1tl-

h-2 cr-scr-

l-1cr-

l-2cr-

h-1cr-

h-2 cx-scx-

l-1cx-

l-2cx-

h-1cx-

h-20

20

40

60

80

100

120

140

Instances

Tim

e(s

)SL-2L

SLPC1PC2PC3

p.30

Page 71: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Vision: Quadratization properties

Pairwise covers Termwise

Number of y variables less moreNumber of positive less morequadratic termsMonomial interactions 3 7

p.31

Page 72: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 73: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 74: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 75: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 76: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 77: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Dynamical glass transition phenomenon

More on YouTube: supercooled water, Lenape High School - science skills class.Scientific articles: (Bernasconi, 1987; Liers, Marinari, Pagacz, Ricci-Tersenghi,

& Schmitz, 2010).Instances downloaded from

http://polip.zib.de/autocorrelated sequences/.

p.32

Page 78: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Autocorrelated sequences

At least one method finished in 1h for instances in bold: 8/40 (!).Id n m Id n m20 5 20 207 45 5 45 50720 10 20 833 45 11 45 2 81325 6 25 407 45 23 45 10 77625 13 25 1 782 45 34 45 18 34825 19 25 3 040 45 45 45 21 99325 25 25 3 677 50 6 50 88230 4 30 223 50 13 50 4 45730 8 30 926 50 25 50 14 41230 15 30 2 944 50 38 50 25 44630 23 30 5 376 50 50 50 30 27130 30 30 6 412 55 6 55 97735 4 35 263 55 14 55 5 79035 9 35 1 381 55 28 55 19 89735 18 35 5 002 55 41 55 33 31835 26 35 8 347 55 55 55 40 40240 5 40 447 60 8 60 2 03640 10 40 2 053 60 15 60 7 29440 20 40 7 243 60 30 60 25 23040 30 40 12 690 60 45 60 43 68940 40 40 15 384 60 60 60 52 575

p.33

Page 79: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Autocorrelated sequences: preliminary results

Instance Resolution time (secs)

Id n m SL-2L SL SL-2L-Only SL-NoCuts

20 5 20 207 6.94 11.48 1.06 6.1320 10 20 833 112.27 91.75 47 65.8925 6 25 407 65.36 137.38 44.52 321.7730 4 30 223 4.24 15.7 13.47 349.8435 4 35 263 11.92 36.86 69.03 3104.4525 13 25 1782 1645.2 2567.17 685.74 2408.6930 8 30 926 2743.51 > 3600 > 3600 > 360040 5 40 447 1321.61 > 3600 > 3600 > 3600

Instance Resolution time (secs)

ID n m PC1 PC2 PC3 Ishikawa logn-1

20 5 20 207 10.58 5.05 4.27 37.47 35.3420 10 20 833 90.28 159.47 137.69 417.72 365.4725 6 25 407 106.67 80.17 121.03 629.66 466.9230 4 30 223 13.52 7.17 7.03 29.67 36.0835 4 35 263 24.13 13.25 11.2 49.77 54.1425 13 25 1782 2311.09 > 3600 > 3600 > 3600 > 360030 8 30 926 > 3600 > 3600 > 3600 > 3600 > 360040 5 40 447 > 3600 914.27 2053.97 > 3600 > 3600

p.34

Page 80: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Autocorr. seq.: Quadratization properties

Pairwise covers Termwise

Number of y variables less moreNumber of positive less morequadratic termsMonomial interactions 3 7

p.35

Page 81: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Instances: Random high degree

What happens with random polynomials?

Generated as in (Buchheim & Rinaldi, 2007).I Degree of each monomial chosen randomly (higher probability

for lower degrees).I The variables in monomials are randomly chosen, and the

coefficients.I Degrees vary between 7 and 17.

p.36

Page 82: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Random high degree: all methods

200-2

50-9-

1

200-2

50-9-

2

200-2

50-9-

3

200-2

50-9-

4

200-2

50-7-

5

200-3

00-8-

1

200-3

00-9-

2

200-3

00-15

-3

200-3

00-13

-4

200-3

00-12

-5

200-3

50-10

-1

200-3

50-10

-2

200-3

50-13

-3

200-3

50-9-

4

200-3

50-11

-5

200-4

00-14

-1

200-4

00-11

-2

200-4

00-11

-3

200-4

00-16

-4

200-4

00-12

-50

200

400

600

Instances

Tim

e(s

)

SLPC1PC2PC3

Ishikawalogn-1

p.37

Page 83: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Random high degree: best methods

200-2

50-9-

1

200-2

50-9-

2

200-2

50-9-

3

200-2

50-9-

4

200-2

50-7-

5

200-3

00-8-

1

200-3

00-9-

2

200-3

00-15

-3

200-3

00-13

-4

200-3

00-12

-5

200-3

50-10

-1

200-3

50-10

-2

200-3

50-13

-3

200-3

50-9-

4

200-3

50-11

-5

200-4

00-14

-1

200-4

00-11

-2

200-4

00-11

-3

200-4

00-16

-4

200-4

00-12

-50

5

10

15

20

25

Instances

Tim

e(s

)SL

PC1PC2PC3

p.38

Page 84: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Random high degree: Quadratization properties

Pairwise covers Termwise

Number of y variables more lessNumber of positive less morequadratic termsMonomial interactions 3 7

p.39

Page 85: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:I Pairwise covers are faster than SL with default CPLEX branch

& cut.I SL with 2-links is faster than pairwise covers.

I For all instances, termwise quadratizations are slower thanpairwise covers.

I Minimizing the number of auxiliary variables is not the onlycriterion to consider.

p.40

Page 86: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:

I Pairwise covers are faster than SL with default CPLEX branch& cut.

I SL with 2-links is faster than pairwise covers.I For all instances, termwise quadratizations are slower than

pairwise covers.I Minimizing the number of auxiliary variables is not the only

criterion to consider.

p.40

Page 87: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:I Pairwise covers are faster than SL with default CPLEX branch

& cut.

I SL with 2-links is faster than pairwise covers.I For all instances, termwise quadratizations are slower than

pairwise covers.I Minimizing the number of auxiliary variables is not the only

criterion to consider.

p.40

Page 88: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:I Pairwise covers are faster than SL with default CPLEX branch

& cut.I SL with 2-links is faster than pairwise covers.

I For all instances, termwise quadratizations are slower thanpairwise covers.

I Minimizing the number of auxiliary variables is not the onlycriterion to consider.

p.40

Page 89: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:I Pairwise covers are faster than SL with default CPLEX branch

& cut.I SL with 2-links is faster than pairwise covers.

I For all instances, termwise quadratizations are slower thanpairwise covers.

I Minimizing the number of auxiliary variables is not the onlycriterion to consider.

p.40

Page 90: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Summary of results

I Linearizations are in general solved faster thanquadratizations, which is expected for CPLEX.

I For vision instances the behavior is different and rathersurprising:I Pairwise covers are faster than SL with default CPLEX branch

& cut.I SL with 2-links is faster than pairwise covers.

I For all instances, termwise quadratizations are slower thanpairwise covers.

I Minimizing the number of auxiliary variables is not the onlycriterion to consider.

p.40

Page 91: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Overview

Introduction:Multilinear 0-1 optimization

Part I: Linear re-formulations

Part II: Quadraticreformulations

Part III: Computa-tional experiments

Conclusions andPerspectives

Page 92: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

Page 93: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

Summary

I We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 94: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.

I We derived several theoretical results (strong linearformulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 95: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 96: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.

I Some properties to define good reformulationsI Exploiting structural properties (worked best for vision and

physics problems).I For quadratizations, understand number of positive quadratic

terms influence.

p.41

Page 97: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 98: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 99: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Conclusions

SummaryI We considered linear and quadratic reformulations.I We derived several theoretical results (strong linear

formulations, study of properties of quadratizations, smallnumber of auxiliary variables...).

I We compared the reformulations computationally.I Some properties to define good reformulations

I Exploiting structural properties (worked best for vision andphysics problems).

I For quadratizations, understand number of positive quadraticterms influence.

p.41

Page 100: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

Theoretical

I Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 101: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?

I In general, understand better which properties define a“good” quadratization, theory and practice.

I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 102: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.

I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 103: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 104: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

Experiments

I Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 105: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

ExperimentsI Experiments are being re-tested using persistencies.

I Repeat experiments with other solvers (convexification,SDP...).

I ...

p.42

Page 106: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).

I ...

p.42

Page 107: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open questions

TheoreticalI Which one is stronger: SL or SL of a quadratization?I In general, understand better which properties define a

“good” quadratization, theory and practice.I ...

ExperimentsI Experiments are being re-tested using persistencies.I Repeat experiments with other solvers (convexification,

SDP...).I ...

p.42

Page 108: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open question: relaxing the multilinear assumption

Joint supply chain design &inventory management problem(Shen, Coullard, & Daskin, 2003;You & Grossmann, 2008)

A pseudo-Boolean formulation(with constraints)

min∑j∈J

fjxj +∑i∈I

dijyij+

Kj

√∑i∈I

µi yij + q√∑

i∈Iσ2

i yij

s.t.∑j∈J

yij = 1, ∀i ∈ I

yij ≤ xj , ∀i ∈ I,∀j ∈ Jxj ∈ 0, 1, yij ∈ 0, 1 ∀i ∈ I,∀j ∈ J

p.43

Page 109: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Open question: relaxing the multilinear assumption

Joint supply chain design &inventory management problem(Shen, Coullard, & Daskin, 2003;You & Grossmann, 2008)

A pseudo-Boolean formulation(with constraints)

min∑j∈J

fjxj +∑i∈I

dijyij+

Kj

√∑i∈I

µi yij + q√∑

i∈Iσ2

i yij

s.t.∑j∈J

yij = 1, ∀i ∈ I

yij ≤ xj , ∀i ∈ I,∀j ∈ Jxj ∈ 0, 1, yij ∈ 0, 1 ∀i ∈ I,∀j ∈ J

p.43

Page 110: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Thank you for your [email protected]

p.44

Page 111: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography I

Anthony, M., Boros, E., Crama, Y., & Gruber, A. (2016).Quadratization of symmetric pseudo-Boolean functions.Discrete Applied Mathematics, 203, 1 – 12.

Anthony, M., Boros, E., Crama, Y., & Gruber, A. (2017).Quadratic reformulations of nonlinear binary optimizationproblems. Mathematical Programming, 162(1-2), 115–144.

Balas, E. (1974). Disjunctive programming: properties of theconvex hull of feasible points. GSIA Management ScienceResearch Report MSRR 348, Carnegie Mellon University(1974).. (Published as invited paper in Discrete AppliedMathematics 89 (1998) 3–44)

Bernasconi, J. (1987). Low autocorrelation binary sequences:statistical mechanics and configuration space analysis. J.Phys. France, 48(4), 559–567.

Page 112: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography II

Boros, E., Crama, Y., & Rodrıguez-Heck, E. (2018). Compactquadratizations for pseudo-Boolean functions. (Submitted)

Boros, E., & Hammer, P. L. (2002). Pseudo-Boolean optimization.Discrete Applied Mathematics, 123(1), 155–225.

Boros, E., Hammer, P. L., Sun, X., & Tavares, G. (2008). Amax-flow approach to improved lower bounds for quadraticunconstrained binary optimization (QUBO). DiscreteOptimization, 5(2), 501–529. (In Memory of George B.Dantzig)

Buchheim, C., Crama, Y., & Rodrıguez-Heck, E. (2019).Berge-acyclic multilinear 0-1 optimization problems.European Journal of Operational Research, 273, 102–107.

Buchheim, C., & Rinaldi, G. (2007). Efficient reduction ofpolynomial zero-one optimization to the quadratic case.SIAM Journal on Optimization, 18(4), 1398–1413.

Page 113: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography III

Conforti, M., & Cornuejols, G. (1995). Balanced 0,±1-matrices,bicoloring and total dual integrality. MathematicalProgramming, 71(3), 249–258.

Conforti, M., Cornuejols, G., & Vuskovic, K. (2006). Balancedmatrices. Discrete Mathematics, 306(19–20), 2411–2437.

Crama, Y. (1993). Concave extensions for nonlinear 0–1maximization problems. Mathematical Programming, 61(1),53–60.

Crama, Y., & Rodrıguez-Heck, E. (2017). A class of validinequalities for multilinear 0-1 optimization problems.Discrete Optimization, 25, 28–47.

Del Pia, A., & Khajavirad, A. (2016). On balanced matrices andpolynomial solvability of multilinear programs. (Personalcommunication)

Page 114: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography IV

Del Pia, A., & Khajavirad, A. (2018). The multilinear polytope foracyclic hypergraphs. SIAM Journal on Optimization, 28(2),1049–1076.

Fortet, R. (1959). L’algebre de Boole et ses applications enrecherche operationnelle. Cahiers du Centre d’Etudes deRecherche Operationnelle, 4, 5–36.

Freedman, D., & Drineas, P. (2005, June). Energy minimizationvia graph cuts: settling what is possible. In Ieee conferenceon computer vision and pattern recognition (Vol. 2, pp.939–946).

Glover, F., & Woolsey, E. (1973). Further reduction of zero-onepolynomial programming problems to zero-one linearprogramming problems. Operations Research, 21(1),156–161.

Page 115: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography V

Hammer, P. L., Hansen, P., & Simeone, B. (1984). Roof duality,complementation and persistency in quadratic 0—1optimization. Mathematical Programming, 28(2), 121–155.

Hammer, P. L., Rosenberg, I., & Rudeanu, S. (1963). On thedetermination of the minima of pseudo-Boolean functions.Studii si Cercetari Matematice, 14, 359–364. (in Romanian)

Hansen, P., & Simeone, B. (1986). Unimodular functions. DiscreteApplied Mathematics, 14(3), 269 – 281.

Ishikawa, H. (2011, June). Transformation of general binary MRFminimization to the first-order case. IEEE Transactions onPattern Analysis and Machine Intelligence, 33(6),1234–1249.

Kolmogorov, V., & Zabih, R. (2004, Feb). What energy functionscan be minimized via graph cuts? IEEE Transactions onPattern Analysis and Machine Intelligence, 26(2), 147–159.

Page 116: Linear and quadratic reformulations of nonlinear ......Linear and quadratic reformulations of nonlinear optimization problems in binary variables ... I The balancedness condition can

Bibliography VI

Liers, F., Marinari, E., Pagacz, U., Ricci-Tersenghi, F., & Schmitz,V. (2010). A non-disordered glassy model with a tunableinteraction range. Journal of Statistical Mechanics: Theoryand Experiment(5), L05003.

Padberg, M. (1989). The boolean quadric polytope: somecharacteristics, facets and relatives. MathematicalProgramming, 45(1–3), 139–172.

Shen, Z.-J. M., Coullard, C., & Daskin, M. S. (2003). A jointlocation-inventory model. Transportation Science, 37(1),40-55.

You, F., & Grossmann, I. E. (2008). Mixed-integer nonlinearprogramming models and algorithms for large-scale supplychain design with stochastic inventory management.Industrial & Engineering Chemistry Research, 47(20),7802–7817.