Académique Documents
Professionnel Documents
Culture Documents
M2 GSI, 2011-2012
Ayse AKBALIK & Christophe RAPINE
1
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Plan
1 Combinatorial explosion
4 Relaxation lineaire
2
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Combinatorial explosion
3
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Combinatorial explosion
n log (n) n2 2n n!
10 3.32 102 1.02 103 3.6 106
100 6.64 104 1.27 1030 9.33 10157
1000 9.97 106 1.07 10301 4.02 102567
i.e. TSP with n=101 has approximately 9.33 10157 tours to try one
by one...so funny...
4
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
What to do ?
Some problems seem very difficult to solve... in fact they are easy...
such as Assignment.
5
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Formulation
Extended reformulations
Valid and strong valid inequalities to tighten the feasible region
Resolution
B & Bound, B & Cut, B & Price
Relaxations, decomposition techniques, heuristics, etc.
Use of mathematical properties of easy problems
6
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Plan
1 Combinatorial explosion
4 Relaxation lineaire
7
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Set X
8
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
For the given set X={(2,2), (2,3), (2,4), (3,1), (3,2), (3,3), (3,4),
(4,1), (4,2), (4,3), (4,4), (5,2), (5,3), (5,4)}, we show 3 different
formulations.
9
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
10
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Definition
Given a set X Rn and two formulations P1 and P2 for X , P1 is a
better formulation than P2 if P1 P2 .
11
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Definition
A subset of Rn described by a finite set of linear constraints
P = {x Rn : Ax b} is a polyhedron.
Definition
A polyhedron P Rn is a formulation for a set X Zn if and only
if X = P (Zn ).
12
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Convex hull
Definition
Minimal convex set containing X.
13
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Some propositions
Proposition 1.
conv (X ) is a polyhedron.
Proposition 2.
The extreme points of conv (X ) all lie in X .
14
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Consequence
15
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Consequence
16
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Plan
1 Combinatorial explosion
4 Relaxation lineaire
17
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
18
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
X
min (ft yt + pt xt + ht st )
t
xt + st = dt + st+1 t = 1, . . . , T 1
xT + sT = dT
xt T
P
i=t di yt t = 1, . . . , T
s, x R+T y {0, 1}T
19
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Example
T =8
p = 100
f = 5000
h=5
d = (400, 400, 800, 800, 1200, 1200, 1200, 1200)
s1 = 200
Formulation with O(T ) variables and O(T ) constraints.
20
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Example
21
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
x 1t x 2t x 3t x 4t x 5t
dt
22
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
T X
X T T
X
min (pi xit + hi sit ) + qi y i
i=1 t=i i=1
st
si1,t + xit = si,t (1 it ) + dt it ; 1 i t T
xit dt yi ; 1 i t T
xit , sit R+ ; 1 i t T , y {0, 1}T
it = 1 if i = t, 0 otherwise.
23
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Example
T =8
p = 100
q = 5000
h=5
d = (400, 400, 800, 800, 1200, 1200, 1200, 1200)
s1 = 200
Formulation with O(T 2 ) variables and O(T 2 ) constraints.
24
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Example
25
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Theorem
The linear relaxation of MC formulation always has an optimal
solution with y integer and solves uncapacitated lot sizing (ULS).
MC is thus an extended formulation of the convex hull of feasible
solutions to ULS.
26
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
27
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Plan
1 Combinatorial explosion
4 Relaxation lineaire
28
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Formulation
max{cx | x X } avec X Zn
Definition
Un PLNE est une formulation de X ssi X = P Zn
29
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Illustration graphique
30
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Illustration graphique
31
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Relaxation Lineaire
Definition
La relaxation lineaire dune formulation en PLNE est le PL
max{cx | Ax b x Rn }
32
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
33
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
La relaxation lineaire
zL = max{cx | Ax b , x Rn }
verifie
1 z . La relaxation est une Borne sup
zIP erieure
L
2 Si la solution optimale de la relaxation lineaire est enti`ere,
alors cest aussi une solution optimale pour le PLNE
Et pour un probl`eme de minimisation ?
34
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Plan
1 Combinatorial explosion
4 Relaxation lineaire
35
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Si z1 > z2
Alors il est inutile dexplorer le sous-ensemble X2
X2 ne contient pas de solution optimale.
X1 X2
36
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Borne superieure
Definition
Une fonction des instances dans R est une borne superieure ssi elle
est superieure `a la valeur optimum pour chaque instance.
37
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
Enum
eration arborescente implicite
38
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P
Dcoupage x*
du problme
X
39
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P1
x*
P2
40
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P1
P3 P4
X
P2
41
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P1
P3 P4
X
42
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P5 P6
P3 P4
X
43
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
P5 P6
P3 P4
X
44
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
45
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
46
Combinatorial explosion Good formulations in theory Good formulations in practice Relaxation lin
eaire Branch & Bound
UB = + infini
LB = 108.5
solution fractionnaire
UB = UB =
LB = 110.3 LB = 115.7
solution fractionnaire solution fractionnaire
UB = UB = UB = UB =
LB = 118.5 LB = 115.7 LB = 122 LB = 118
solution fractionnaire solution fractionnaire solution fractionnaire solution fractionnaire
UB = UB = UB = UB =
LB = LB = 120 LB = 119 LB =
polyedre vide solution entire solution fractionnaire polyedre vide
47