A feed merchant blends grain and pellets into a ration. Each kilogram of grain supplies 1 gram of protein and 2 of fibre; each kilogram of pellets supplies 3 grams of protein and 1 of fibre. The ration must carry at least 9 grams of protein and at least 8 of fibre. Grain costs 2 a kilogram and pellets 3.
grain (G) pellets (P) at least
protein 1 3 9 grams
fibre 2 1 8 grams
cost a kilogram 2 3 —
minimise 2G + 3P
subject to G + 3P ≥ 9
2G + P ≥ 8
G, P ≥ 0
Definition · SurplusFor a row a·x ≥ b and a point x, the surplus of the row at x is a·x − b. It is at or above zero exactly where the row holds, and the row is tight at x when the surplus is zero.
At (4, 2) the protein surplus is 1 gram and the fibre surplus is 2 grams: the ration over-delivers both. At the cheapest ration (3, 2) both surpluses are zero, which is the usual outcome when nothing is gained by exceeding a requirement.
The corners are (0, 8) at a cost of 24, (3, 2) at 12 and (9, 0) at 18. The cheapest is (3, 2): three kilograms of grain and two of pellets, supplying exactly 9 grams of protein and exactly 8 of fibre. Both requirements are met exactly, and neither is exceeded, because exceeding one would cost money and buy nothing.
The region runs on forever, and the minimum still exists
There is no boundary to the north-east: feed ten kilograms of each and both requirements are still satisfied. A reader who has been warned about unbounded problems will reach for that observation, and it is the wrong observation. Being able to walk forever is a fact about the region; whether the cost falls forever as you walk is a fact about the objective.
Theorem · When a minimum existsLet the feasible region be non-empty, and let d be any direction in which it runs on forever — a direction with x + td feasible for every t ≥ 0. If c·d is at or above zero for every such d, then the objective c·x has a smallest value on the region, and it is attained at a corner.
The contrapositive is the whole diagnostic: the cost runs away exactly when some direction the region contains lowers it. This is the ray check of “Systems of Inequalities and Linear Programming” written for a cost rather than for a picture.
Along (1, 0) the cost changes by 2 a step, along (0, 1) by 3, and along (1, 1) by 5. All three are directions the region runs in, and all three cost money, so walking out never helps and the smallest cost is at one of the three corners. The lab reports each direction it tested and then, separately, a verdict over every direction at once — because three directions that rise are evidence and not a proof.
Example · A disposal credit, and the same region with no minimumSuppose the merchant is paid 1 a kilogram to take pellets away, so the cost is 2G − P. Nothing about the region changes: the two requirements are the same two rows and it still runs to the north-east. But (0, 1) now changes the cost by −1 a step, so the cost falls forever along a direction the region contains, and there is no cheapest ration at all. The lab reports no value rather than the last point its search stood on.
That is the shape of the answer to keep. An unbounded region with a non-negative cost is a covering model behaving normally. An unbounded problem needs a recession direction along which the objective improves, and finding one is a computation.