LP Relaxation and Optimality Gaps

Defines the LP relaxation of an integer program, shows how its optimum bounds the IP optimum, and introduces the absolute and relative optimality gaps used to certify near-optimal integer solutions in air traffic flow models.

Step 1 of 157%

Tutorial

The LP Relaxation of an Integer Program

An integer program (IP) requires some or all variables to take integer values, which generally makes it much harder to solve than an ordinary linear program. The LP relaxation of an integer program is the linear program obtained by dropping every integrality constraint while keeping the objective and all other constraints unchanged.

Consider the IP for assigning aircraft to two routes, where x1,x2x_1, x_2 are integer counts of aircraft:

maximize6x1+4x2subject to2x1+x27x1+2x28x1, x20, integer.\begin{aligned}\text{maximize}\quad & 6x_1 + 4x_2\\ \text{subject to}\quad & 2x_1 + x_2 \le 7\\ & x_1 + 2x_2 \le 8\\ & x_1,\ x_2 \ge 0,\ \text{integer.}\end{aligned}

Its LP relaxation is

maximize6x1+4x2subject to2x1+x27x1+2x28x1, x20.\begin{aligned}\text{maximize}\quad & 6x_1 + 4x_2\\ \text{subject to}\quad & 2x_1 + x_2 \le 7\\ & x_1 + 2x_2 \le 8\\ & x_1,\ x_2 \ge 0.\end{aligned}

For binary variables xi{0,1}x_i \in \{0,1\}, the relaxation replaces the binary requirement with the bounds 0xi10 \le x_i \le 1.

The LP relaxation is much easier to solve than the original IP because LPs are solvable in polynomial time (e.g., by the simplex method), whereas IPs are generally NP-hard.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle