Cutting Plane Method: MATH3220 Operations Research and Logistics
Cutting Plane Method: MATH3220 Operations Research and Logistics
Lecture 5
Cutting Plane Method Introduction
Method of Integer
Forms for IP
MATH3220 Operations Research and Logistics Mixed cut for MILP
Jan. 20, 2015 Row generation for the
TSP
Pan Li
The Chinese University of Hong Kong
5.1
Cutting Plane Method
Agenda
Introduction
1 Introduction Method of Integer
Forms for IP
5.2
Cutting Plane Method
exclude x ∗ .
Step 3: Go to step 1.
Introduction
Method of Integer
Forms for IP
5.4
Cutting Plane Method
Method of Integer Forms for IP
· · · xr · · · · · · xi · · · solution
xr I · · · yri · · · xr∗
z 0 z∗
5.5
Cutting Plane Method
Suppose that x∗ has a non-integer component xr∗ . Then for
any x ∈ FI , from the r th constraint, we have
X
xr + yri xi = xr∗ . (1)
i ∈J
/
Introduction
Since x ≥ 0, X Method of Integer
xr + byri cxi ≤ xr∗ . (2) Forms for IP
⇒ the right hand side of (5) is positive. Mixed cut for MILP
and hence
X
fri xi = 0 ∀ i∈ /J
i ∈J
/
5.7
Cutting Plane Method
5.8
Cutting Plane Method
The Gomory Method
Method of Integer
Forms for IP
Idea: Mixed cut for MILP
5.9
Cutting Plane Method
Example
min z = −2x1 − x2
Introduction
x1 +x2 +x3 = 5,
Method of Integer
−x1 +x2 +x4 = 0,
Forms for IP
subject to
6x1 +2x2 +x5 = 21, Mixed cut for MILP
z 0 0 − 12 0 − 14 − 31
4
x1 x2 x3 x4 x5 solution
x1 1 0 − 12 0 1
4
11
4
3
x2 0 1 2 0 − 14 9
4
Introduction
Method of Integer
1 1 Forms for IP
x4 0 0 −2 1 2 2 Mixed cut for MILP
z 0 0 − 12 0 − 14 − 31
4
Row generation for the
TSP
5.11
Cutting Plane Method
Example
Suppose we add the x4 row cut, or
−x5 /2 + s1 = −1/2, s1 ≥ 0
Introduction
First, from the tableau, we have Method of Integer
Forms for IP
x5 /2 ≥ 1/2 (7)
Note that since we derive (7) by assuming that x ∈ FI , we do
not exclude any x ∈ FI .
Moreover, since at the current optimal solution, we have x5 = 0.
Hence x5 /2 6≥ 1/2. That means the current optimal solution will
be excluded by the cutting-plane.
5.12
Cutting Plane Method
Example
Method of Integer
Forms for IP
5.13
Cutting Plane Method
Example
Add the cutting plane, yields the next table with s1 = −1/2 as a
new basic variable.
x1 x2 x3 x4 x5 s1 solution Introduction
x1 1 0 − 12 0 1
4 0 11
4
Method of Integer
Forms for IP
3
− 14 9 Mixed cut for MILP
x2 0 1 2 0 0 4 Row generation for the
1 1 TSP
source x4 0 0 −2 1 2 0 2
cut s1 0 0 0 0 − 21 1 − 12
z 0 0 − 12 0 − 14 0 − 31
4
5.14
Cutting Plane Method
Example
Method of Integer
source x1 1 0 − 12 0 0 1
2 0 10
4
Forms for IP
5.15
Cutting Plane Method
Example
x1 x2 x3 x4 x5 s1 s2 solution
source x1 1 0 − 12 0 0 1
2 0 10
4
Introduction
3
x2 0 1 2 0 0 − 12 0 10
4 Method of Integer
Forms for IP
x4 0 0 −2 1 0 1 0 0 Mixed cut for MILP
cut s2 0 0 − 12 0 0 − 12 1 − 12
z 0 0 − 12 0 0 − 12 0 − 30
4
x3 /2 + s1 /2 ≥ 1/2.
Thus we add the constraint
−x3 /2 − s1 /2 + s2 = −1/2
x5 0 0 0 0 1 −1 0 1
cut x3 0 0 1 0 0 1 −2 1
z 0 0 0 0 0 0 −1 −7
5.17
Cutting Plane Method
Example
Method of Integer
Forms for IP
5.18
Cutting Plane Method
Mixed cut for MILP
Let
J + = set of subscripts of non-basic variables for which yri ≥ 0
J − = set of subscripts of non-basic variables for which yri < 0
Then from the above inequalities we obtain the following two
inequalities Introduction
X Method of Integer
yri xi ≥ fr (12) Forms for IP
max z
= 2x1 + x2
x1 +x2 +x3 = 5, Introduction
x1 , x2 , ..., x5 ≥ 0
Row generation for the
TSP
x1 integer
5.21
Cutting Plane Method
Example
x1 x2 x3 x4 x5 solution
x1 1 0 − 12 0 1
4
11
4
3
x2 0 1 2 0 − 14 9
4
Introduction
Method of Integer
1 1 Forms for IP
x4 0 0 −2 1 2 2 Mixed cut for MILP
1 1 31
z 0 0 2 0 4 4
Row generation for the
TSP
5.22
Cutting Plane Method
Example
x1 x2 x3 x4 x5 s1 solution
x1 1 0 − 12 0 1
4 0 11
4
3
x2 0 1 2 0 − 14 0 9
4 Introduction
1 1 Method of Integer
source x4 0 0 −2 1 2 0 2
Forms for IP
Method of Integer
Forms for IP
1 3 3
s1 − x5 − x3 = −
4 2 4
5.24
Cutting Plane Method
Example
The cut is
3 1 3
x3 + x5 ≥
2 4 4 Introduction
3 1 3 Method of Integer
⇒ (5 − x1 − x2 ) + (21 − 6x1 − 2x2 ) ≥ Forms for IP
2 4 4
Mixed cut for MILP
⇒3x1 + 2x2 ≤ 12 Row generation for the
TSP
5.25
Cutting Plane Method
Disadvantages of Cutting plane method
Method of Integer
(ii) The solution of the problem remains infeasible until the Forms for IP
optimal integer solution is reached. This means that there Mixed cut for MILP
5.26
Cutting Plane Method
Cutting Plane algorithm
Overall strategy:
1 Solve LP relaxation, get relaxed solution x ∗ .
2 If x ∗ is a feasible solution of P, exit. Introduction
∗ Method of Integer
3 Use solution x of the relaxed one to construct a valid cut C Forms for IP
5 Go back to 1.
5.27
Cutting Plane Method
Travelling Salesman Problem
5.28
Cutting Plane Method
Comments on TSP
Method of Integer
Applications: planning, logistics, microchip design, DNA Forms for IP
5.29
Cutting Plane Method
An integer programming formulation
Then, the objective function of TSP can be written as Mixed cut for MILP
Constraints:
n
X
xij = 1,j = 1, 2, . . . , n
i=1
Xn
xij = 1,i = 1, 2, . . . , n
j=1
Introduction
Method of Integer
Forms for IP
The left and center figures are subtours of the 6 cities, and are
not feasible solutions to the TSP.
The right figure is a tour of 6 cities, and is a feasible solution of
the TSP problem.
5.31
Cutting Plane Method
Break the subtour
Introduction
Method of Integer
Forms for IP
Method of Integer
Forms for IP
5.33
Cutting Plane Method
Row generation for TSP
Try relaxing (i.e., removing) problematic constraints Row generation for the
TSP
X
xij ≤ |S| − 1 ∀S ⊂ {1, 2, . . . , n}
i6=j∈S
Consider a 5-city TSP problem where the distance dij are given
by:
Introduction
Method of Integer
Forms for IP
5.35
Cutting Plane Method
Example - subtour breaking
Introduction
Method of Integer
Forms for IP
5.36
Cutting Plane Method
Example - Enumeration tree
Introduction
Method of Integer
Forms for IP
5.37
Cutting Plane Method
Example - node 2
Introduction
Method of Integer
Forms for IP
5.38
Cutting Plane Method
Example - Enumeration tree
Introduction
Method of Integer
Forms for IP
5.39
Cutting Plane Method
Integer Programming Summary
Introduction
Dramatically improve the modeling capability. Method of Integer
Forms for IP
Modeling non-linearities
5.40
Cutting Plane Method
IP Solution Techniques Summary
Introduction
Branch-and-Bound
Method of Integer
very general and adaptive Forms for IP
5.41