LP Relaxation¶
Definition¶
The LP relaxation of an integer linear program removes its integrality requirements and keeps the objective and all other restrictions. In particular, a binary variable becomes a continuous variable satisfying .
Interpretation¶
The LP relaxation asks how good the best decision would be if the integer requirements were dropped. It is an ordinary LP, solvable with the graphical method or the simplex method, and as a relaxation it keeps every integer-feasible point. Its optimum therefore bounds the original integer optimum.
The shaded polygon is the feasible region of the relaxation, and the filled dots are the integer-feasible points inside it. The objective line touches the polygon at the corner , the LP optimum with , while the best lattice point is with .
Dropping integrality enlarges the feasible set, so the relaxed optimum is an upper bound on the integer optimum for this maximization.
The bound holds because the relaxation chooses among more points, so it can only do at least as well. Its value is an upper bound for maximization and a lower bound for minimization. If the relaxed optimum happens to be integral, it is feasible for the original problem and no integer point can beat it, so it is integer-optimal. A binary variable keeps its bounds : dropping them too still gives a relaxation, but its bound can only become weaker.
The LP relaxation is solved at every node of branch-and-bound and is the starting point of the rounding heuristic. A common slip is to report the relaxed value as the integer optimum. It is only a bound, and it need not be close: in the figure it is against the true .
Key Results¶
- Its value is an upper bound for maximization and a lower bound for minimization.
- If a relaxed optimizer satisfies every original integrality restriction, it is also integer-optimal.
- Do not drop binary upper bounds when dropping binarity.
Examples¶
In the illustrated model, the relaxed optimum gives value 13. Rounding to violates the constraints; is feasible and happens to be integer-optimal with value 11. That success does not establish a general rounding rule.
- The project-selection relaxation allows and obtains 3.52 at the root.
- An integral relaxed solution such as is a feasible candidate for the original project model.
Prerequisites¶
Related Concepts¶
Sources¶
- OR Modelling · Week 3
Aliases: linear relaxation, linear programming relaxation, continuous relaxation
Last updated: 20 October 2026 03:02
LP RelaxationBranch-and-BoundRounding HeuristicInteger Linear ProgrammingRelaxation