Module 1 of 1 · Lesson 3 of 3
The Linear Relaxation and Its Bound
The bound a linear relaxation provides, and why its optimal point need not be integer-feasible.
What you will be able to do
Given an integer program, the learner can form its linear relaxation, state the direction of the bound its optimum provides, use the bound to judge how far a candidate integer solution can be from optimal, draw the inferences an infeasible or integral relaxation licenses, and explain why rounding is not a solution method.
Orientation
A fractional optimum can be an excellent bound and a useless plan. Both facts matter, and confusing them is the most expensive error in integer programming.
This is the central idea of integer programming and also the site of its most common error. The relaxation is easy to solve and its answer is sitting right there, so the temptation to round it and move on is strong. That instinct is wrong often enough, and quietly enough, to be worth dismantling carefully.
The bound itself is informative. It states how much better any plan could possibly be, which is frequently enough to stop searching, and it refutes claimed solutions that are too good to be true.
This unit assumes you know what integrality does to a program and can classify the terminal outcomes of a linear program.
Intuition
Reading a bound: three cases
The bound is only useful if you know what to do with it. Three reported outcomes, and what each licenses.
Case 1: relaxation
The gap is
Case 2: relaxation
The gap is zero, so
Case 3: relaxation
The report is wrong. Every integer-feasible point is relaxation-feasible, so no integer solution can beat the relaxation's optimum for a minimisation. Either the claimed point violates a constraint, or the objective was computed differently, or the relaxation was solved incorrectly. You know this without examining how the number was produced, which is what makes the bound a genuine check.
---
Now the error the bound invites. Relaxation optimum
Rounding
Rounding
What to take from a relaxation, stated as a rule. A number to compare against, and a place to start branching. Not a plan.
Figure
Integer points inside the relaxed polygon, with both roundings
The relaxation of
The containment is the whole reason the bound works. Every integer-feasible point lies inside the shaded polygon, so the best the relaxation can do is at least as good as the best integer answer:
Four points are singled out. The relaxed optimum is the fractional corner
Definition
The relaxation, the bound, and what follows
The linear relaxation of an integer program is the same program with every integrality restriction dropped. A binary restriction
Write
The bound. Let
and for a maximisation the inequality reverses. Either way the relaxation is optimistic: it promises at least what the integer program can deliver.
The integrality gap.
Three valid inferences.
- Relaxation infeasible
integer program infeasible, since its feasible set is a subset. - Relaxation's optimum happens to be integral
it solves the integer program: feasible there, and attaining a value the integer program cannot beat. - Any claimed integer solution better than
is impossible.
One invalid inference. That rounding the relaxation's solution gives the integer optimum, or even a feasible point. Neither follows.
And the converse of (1) fails. A feasible relaxation implies nothing: the polyhedron may contain no integer point at all.
Example
A bound, a gap, and an inference
Take
The relaxation. Drop integrality. The binding constraints meet where
The bound. This is a maximisation, so
The integer optimum. Checking feasible whole-number points near the region's boundary:
The gap.
What rounding would have given.
Worked example
Using a bound to decide whether to keep searching
Problem. A solver has been running on an integer minimisation for twenty minutes. It reports: relaxation optimum
Goal. Say what is known, what is not, and what advice follows.
Relevant principle. The relaxation bounds the integer optimum optimistically; the incumbent bounds it pessimistically. Together they bracket it.
Step 1: the direction of the bound. Minimisation, so the relaxation is a lower bound:
Step 2: the incumbent. A feasible integer solution costing
Step 3: bracket the optimum.
Step 4: the gap. At most
Step 5: the advice. It depends on what
Step 6: what is not known. Whether
Check on a wrong reading. Someone concluding "the optimum is
Non-example
What the bound does not establish
Not established: that the bound is attainable.
Not established: feasibility of the integer program. A relaxation with a perfectly good optimum tells you nothing about whether any integer point exists. The polyhedron
Not valid: rounding as a method. In the worked example above, rounding
Not the same as a small gap: a good model. A tight relaxation often reflects how the model was written. Two formulations of the same situation can have identical integer optima and wildly different gaps, and the one with loose linking bounds will be far harder to solve.
Not a valid inference in reverse. Relaxation infeasible proves integer infeasible. Relaxation feasible proves nothing. The implication runs one way only, and asserting the converse is the commonest logical slip here.
Not a bound at all, in the wrong direction. For a maximisation the relaxation is an upper bound. Applying the minimisation statement unchanged concludes that no integer plan does worse, which is both true and useless, and it will be used as though it were the other thing.
Contrast
A bound is not an answer
The relaxation produces a number and a point. The number is useful; the point usually is not, and keeping them apart is what this unit is for.
The temptation, stated fairly. The relaxation has been solved. Its answer is
Why it fails, case one: infeasibility.
Why it fails, case two: suboptimality.
The structural reason. The continuous and integer optima answer different questions. Which constraints bind at one need not be the ones binding at the other. There is therefore no reason for the integer optimum to be adjacent to the fractional one, and in larger problems they can be far apart in both coordinates and value.
What the bound is actually for. Three things. It limits how good any plan could be, which lets you stop searching with a guarantee. It refutes claimed solutions that beat it. And it guides methods that search properly, branch and bound splits on a fractional variable precisely because the relaxation identified it, then uses the bound to discard whole regions without examining them.
The sentence to carry. The relaxation tells you what you could hope for. It does not tell you what to do.
Exercise
1. For
2. In that problem, round the relaxation's solution to nearest and check the result. Report what you find.
3. A minimisation reports a relaxation value of
4. A relaxation is feasible with optimum
5. Two teams model the same situation. Team A uses
What to carry forward
The linear relaxation drops every integrality restriction, with binaries relaxing to the unit interval.
Its optimum bounds the integer optimum optimistically: at or below for a minimisation, at or above for a maximisation. The argument is containment of feasible sets, relaxing only removes restrictions, so the relaxation chooses from a larger menu.
Three inferences follow. An infeasible relaxation proves the integer program infeasible. An integral relaxation solution solves it. Any claimed integer solution beating the bound is impossible. The converse of the first fails: a feasible relaxation proves nothing.
With an incumbent integer solution the two bracket the optimum, and the gap between them says how much is left to gain. That converts a question about how long to keep computing into a question about what the remaining gap is worth.
Rounding is not a method. The rounded point may be infeasible, and where feasible it may be beaten by a plan that rounding could never reach, because the integer optimum need not be adjacent to the fractional one.
A loose bound in a linking constraint widens the gap and makes the program harder. How a model is written determines how much its relaxation is worth.