Integer Programming
Integer Programming
Integer programming
Math 482, Lecture 32
Misha Lavrov
Definition
An integer linear program is a linear program in which some or all
of the variables are constrained to have integer values only.
Introduction to integer programming Logical constraints Mixing logical and linear constraints
Definition
An integer linear program is a linear program in which some or all
of the variables are constrained to have integer values only.
Definition
An integer linear program is a linear program in which some or all
of the variables are constrained to have integer values only.
Definition
An integer linear program is a linear program in which some or all
of the variables are constrained to have integer values only.
Some examples
maximize x+ y
x,y ∈R
subject to 3x + 8y ≤ 24
3x − 4y ≤ 6
x, y ≥ 0
Some examples
maximize x+ y
x∈Z,y ∈R
subject to 3x + 8y ≤ 24
3x − 4y ≤ 6
x, y ≥ 0
Some examples
maximize x+ y
x,y ∈Z
subject to 3x + 8y ≤ 24
3x − 4y ≤ 6
x, y ≥ 0
The optimal solutions are (x, y ) = (2, 2) and (x, y ) = (3, 1).
Introduction to integer programming Logical constraints Mixing logical and linear constraints
Some examples
maximize x+ y
x,y ∈Z
subject to 3x + 8y ≤ 24
3x − 4y ≤ 6
x, y ≥ 0
The optimal solutions are (x, y ) = (2, 2) and (x, y ) = (3, 1).
Note that rounding (4, 32 ) to the nearest integer won’t give us an
optimal or even feasible solution!
Introduction to integer programming Logical constraints Mixing logical and linear constraints
Difficulty of approximation
Difficulty of approximation
Difficulty of approximation
This has a vertex at (x, y ) = (500, 12 ). But the only integer points
are (0, 0) and (1, 0).
Introduction to integer programming Logical constraints Mixing logical and linear constraints
Difficulty of approximation
This has a vertex at (x, y ) = (500, 12 ). But the only integer points
are (0, 0) and (1, 0).
Even determining if a region contains any integer points can be
difficult.
Introduction to integer programming Logical constraints Mixing logical and linear constraints
Logical constraints
Logical constraints
Logical constraints
Logical constraints
Logical constraints
Logical constraints
Logical constraints
Logical constraints
Boolean satisfiability
Boolean satisfiability
Boolean satisfiability
Boolean satisfiability
x1 + x2 + · · · + xk ≥ 1.
x1 + x2 + · · · + xk ≥ 1.
x1 + x2 + · · · + xk ≥ 1.
Fixed costs
Fixed costs
Fixed costs
Fixed costs
Fixed costs