Professional Documents
Culture Documents
Lecture 17
Integer linear programming
• branch-and-bound
17–1
Definition
minimize cT x
subject to Ax ≤ b, Gx = d
x ∈ Zn
mixed integer linear program: only some of the variables are integer
• yj = 1 if location j is selected
• xij = 1 if location j serves client i
a 0-1 LP
for any c, the solution of the ILP also solves the relaxation
minimize cT x
subject to x ∈ conv S
Branch-and-bound algorithm
minimize cT x
subject to x ∈ P
where P is a finite set
general idea:
• decompose in smaller problems
minimize cT x
subject to x ∈ Pi
where Pi ⊂ P, i = 1, . . . , K
x1
x⋆ p⋆
P0 P0 (2.17, 2.07) −10.56
x1 ≤ 2 x1 ≥ 3
P1 (2.00, 2.14) −10.43
P1 P2
P2 (3.00, 1.33) −10.00
x2 ≤ 2 x2 ≥ 3 x2 ≤ 1 x2 ≥ 2
P3 (2.00, 2.00) −10.00
P3 P4 P5 P6 P4 (0.00, 3.00) −9.00
x1 = 3 x1 ≥ 4 P5 (3.38, 1.00) −9.75
P7 P8 P6 +∞
x2 = 0 x2 = 1
P7 (3.00, 1.00) −9.00
P8 (4.00, 0.44) −9.33
P9 P10
P9 (4.50, 0.00) −9.00
x1 = 4 x1 ≥ 5
P10 +∞
P11 P12
P11 (4.00, 0.00) −8.00
P12 +∞
minimize cT x
subject to x ∈ P, x1 ≥ 3
minimize cT x
subject to x ∈ P, x1 ≤ 2, x2 ≤ 2
is (2, 2)
minimize cT x
subject to x ∈ P, x1 ≤ 3, x2 ≥ 2
is infeasible
minimize cT x
subject to Ax ≤ b, x ∈ {0, 1}n
x1 = 1 x1 = 0
x2 = 1 x2 = 0 x2 = 1 x2 = 0
minimize cT x
subject to Ax ≤ b
xi = 0, i ∈ I1, xi = 1, i ∈ I2
xi ∈ {0, 1}, i ∈ I3
branch-and-bound method
set U = +∞, mark all nodes in the tree as active
1. select an active node k, and solve the corresponding LP relaxation
minimize cT x
subject to Ax ≤ b
xi = 0, i ∈ I1k
xi = 1, i ∈ I2k
0 ≤ xi ≤ 1, i ∈ I3k