Graphical Integer Programming¶
Definition¶
Graphical integer programming solves a two-variable integer model by plotting its continuous constraints and considering only the lattice points satisfying all restrictions. Evaluate the objective at feasible integer points to identify the best value.
Interpretation¶
Graphical integer programming solves a two-variable integer problem by looking: draw the continuous feasible region as in the graphical method, mark the lattice points inside it, and find the best of those points. Unlike an LP, the best integer point need not be a corner of the continuous region.
The shaded polygon is cut out by and ; filled dots are the feasible lattice points and hollow dots are not. The orange lines are objective lines for , and . Moving the line outwards, the last one that still meets a filled dot is , at , a point inside the polygon rather than at a corner.
Only the lattice points count. The best integer point (ringed) need not be a corner of the continuous region: with the starting objective it lies on an edge, while in the static figure above it is an interior point.
Two habits from the LP case have to be dropped. Checking the corners is not enough: the best corner , with value , is not a lattice point, and rounding it to leaves the region. Instead, the objective is compared over the feasible lattice points, which is possible because a bounded two-variable region contains only finitely many of them.
The picture also shows why the LP relaxation gives a bound: the polygon contains every feasible lattice point, so its optimum is at least the integer optimum . With more variables there is no picture, and branch-and-bound replaces this comparison by a systematic search.
Key Results¶
- Both coordinates must satisfy the stated integrality restrictions.
- An LP-optimal fractional corner is not an integer-feasible decision.
- For a small bounded example, explicit comparison of feasible lattice points proves optimality.
Examples¶
The figure uses the illustrative model subject to , and . Its best lattice point is with value 11; it is not a corner of the continuous polygon.
- The integer work-order model uses and .
- Its best integer decision is , with profit 750.
Prerequisites¶
Related Concepts¶
Sources¶
- OR Modelling · Week 3
Symbols: element of, integers
Last updated: 20 October 2026 03:02
Graphical Integer ProgrammingInteger Linear ProgrammingGraphical MethodLP RelaxationRounding Heuristic