Professional Documents
Culture Documents
Optimum
(integer)
solution
P
x
Optimum
fractional
(i.e. infeasible)
solution
add
x
Example. Minimize x + 10y
subject to x, y are in P
x, y integer
IEOR160-2014
y 1
add y x 1
These constraints
were obtained by
inspection. There are
2
formal techniques.
If we add exactly
the right
inequalities, then
every corner point
of the LP will be
integer, and the IP
can be solved by
solving the LP
Optimum
(integer)
solution
P
x
We call this
minimal LP, the
convex hull of the IP
solutions.
For large problems,
these constraints
are hard to find.3
IEOR160-2014
Two approaches
Problem specific
Set Packing
Capital Budgeting (knapsack)
Traveling Salesman Problem
LP-based approach, that works for general
integer programs
Gomory cutting planes (not covered in this
course)
6
IEOR160-2014
Problem Specific
7
IEOR160-2014
The LP Relaxation
The LP Relaxation
x1 + x2 + x6 2
x6 2
0 xj 1 for j = 1 to 6
The optimal solution: x1 = 0, x2 = 1, x3 = 1/4
z = 44
x4 = 0, x5 = 0, x6 = 1
Exercise: find a violated cover.
11
IEOR160-2014
x6 2
x2 + x3 +
x6 2
x1 + x 2
0 xj 1 for j = 1 to 6
The optimal solution: x1 = 1/3, x2 = 1, x3 = 1/3
z = 44
x4 = 0, x5 = 0, x6 = 2/3
Exercise: Find a violated cover:
12
IEOR160-2014
13
IEOR160-2014
x6 2
x 2 + x3 +
x6 2
x1 + x 2
x1 + x2 + x3 +
x6 2
0 xj 1 for j = 1 to 6
Note: the new cuts dominates the other cuts.
14
IEOR160-2014
x6 2
0 xj 1 for j = 1 to 6
The optimal solution: x1 = 0, x2 = 1, x3 = 0, x4 = 0,
x5 = 1/4, x6 = 1
z = 43 3/4
So, z* 43
15
IEOR160-2014
It took 3 cuts
Had we been smarter it would have taken 1 cut
IEOR160-2014
IEOR160-2014
Minimize
subject to eA(i) xe = 2
ce xe
xe is binary
Are these
constraints
enough?
19
IEOR160-2014
4
9
Observations:
7
iS , jS
xij S 1
This ensures that the set S will not have a subtour going
through all five nodes.
21
IEOR160-2014
3
4
e ce x e
subject to
e inc to i xe = 2
e in S xe |S| - 1
(subtour breaking constraints)
xe is binary
Exponentially many constraints, too many to include in an IP or
an LP
In practice:
Include only some of the constraints. Solve the LP.
If a subtour appears as part of the LP solution, add a new
23
subtour
elimination
constraint
to
the
LP,
and
solve
again.
IEOR160-2014
24
IEOR160-2014
FINALLY,
Midterm, Yehhhhhhhh
total
IEOR160-2014
Other details
Monday 6-8pm, Oct 13, 2014
Location: Room 2040 Valley Life
Sciences Building
Can bring one (1) cheat sheet with your
name on it (cannot share)
No calculator needed, or allowed
No class 10-11 Monday Oct 13.
26
IEOR160-2014