Min
|100x1 + 61x2 + 45x3 + 37x4 + 22x5 + 21x6 +
2x7-144|
s.t. xi {0,1}
s.t.
37
45
2
22
21
LP relaxation:
(1, 0.7213, 0, 0, 0, 0, 0)
Z = 144
Rounding?
(1, 1, 0, 0, 0, 0, 0)
(1, 0, 0, 0, 0, 0, 0)
Not feasible!
Z = 100
IP solution(s):
(1, 0, 0, 0, 1, 1, 0)
Z = 143
(0, 1, 1, 1, 0, 0, 0)
Z = 143
(0, 1, 0, 1, 1, 1, 1)
Z = 143
139
149
Relaxed LP problem:
Max
s.t.
Solution: (0, 1, 0, 1) Z = 9.
This solution is integer. Z = 9 is therefore a lower
bound for the optimal objective value.
Max
s.t.
Choose x2 = 0 or x2 = 1:
Max
s.t.
Choose x3 = 0 of x3 = 1:
Max
s.t.
Choose x4 = 0 of x4 = 1:
Max
s.t.
Solution: (1, 1, 0, 0) Z = 14
Max
s.t.
Not feasible!
The branches under (1, 0, *, *) need no further
investigation, because there Z 13.
Optimal solution: (1, 1, 0, 0) Z = 14.
Z = 14.25
Not feasible!
Z = 14.2
Branch x2 1, x2 2:
Max
s.t.
Z = 14.1666
Z = 12.1666
Not feasible!
Z = 1.5
Not feasible!
Z = 13.5
25
27
23
21
Friday
Saturday
Sunday
25
20
15
Z = 16675
Z = 17775
Not feasible
With x1 + x2 + + x7 = 32:
16675
(12, 5, 2, 2, 4, 7, 0)
Z=
5x1 3
x1 = 0
5x1 +2x1 4
x1 = 0, no condition for x2
5x1 x2 3
x1 = 0, no condition for x2
5x1 + 3x2 x3 1
maximal)
x1 = 0, (choose x2 minimal, x3
remaining inequality:
3x2 x3 1 x2 = 0, no condition for x3.
Total: x1 = x2 = 0, no condition for x3.
From the two inequalities
8x1 4x2 5x3 + 3x4 2
3x2 + 2x3
4
it follows that x1 = 0 (because x2 and x3 cannot be equal
to 1 at the same time).
Tightening constraints as preprocessing can help the
branch-and-bound process, because the relaxed problem
will have better upper bounds and there is a better
chance of having integer solutions.
aj = S b
b = S - aj
If aj < 0 let
aj = b S.
Example:
2x1 + 3x2 4.
S=2+3=5
Is a1 possible? 2 > 1 = 5 4, so a1 can be adapted
a1 > 0 so
a1 = S b = 5 4 = 1
b = S a1 = 5 2 = 3
Consequence:
2x1 + 3x2 4
x1 + 3x2 3
Another time?
S=1+3=4
Is a1 possible? a1 = 1 = 4 3, so a1 cannot be adapted
Is a2 possible? 2 > 1 = 4 3, so a2 can be adapted:
a1 > 0 so
a1 = S b = 4 3 = 1
b = S a1 = 4 3 = 1
Consequence:
2x1 + 3x2 4
1
x1 + 3x2 3
x1 + x2
Cutting planes
Cutting plane = Extra constraint that decreases the
feasible region of the LP-relaxation, but not the
feasible region of the original BIP.
Example:
6x1 + 3x2 + 5x3 + 2x4 10,
xj [0,1]