The rewrites below sit on one region: x + y ≤ 8, x ≤ 5, y ≤ 6 and 2x + 3y ≥ 12. For the first three, x is free to go negative as far as −4; for the price-band rewrite it is held at or above zero, because a quantity bought under a price schedule cannot be negative. What changes between them is the objective, and what each rewrite does is trade a non-linear objective for extra variables and extra rows.
A free variable, as a difference
Definition · Splitting a free variableA variable x with no sign restriction is carried as x = x⁺ − x⁻ with x⁺ ≥ 0 and x⁻ ≥ 0. Every occurrence of x in every row and in the objective is replaced by that difference.
Any pair with the right difference gives the same objective value, so nothing needs to push either part anywhere in particular. This is the one rewrite of the four that is legal whichever way the objective is pushed.
With the objective 3x + 2y minimised, the answer is 3 at x = −3, y = 6, and the rewrite reports x⁺ = 0, x⁻ = 3: the negative value is carried by the second part. Maximised, the answer is 21 at (5, 3) with x⁻ = 0. Both agree with the original exactly, which is what “legal in either direction” means in practice.
An absolute value, when it is minimised
The same two parts serve for |x|, as their sum rather than their difference. That sum is |x| only when at least one of x⁺ and x⁻ is zero, because otherwise both could be inflated together without changing x. Minimising a non-negative multiple of x⁺ + x⁻ does push one of them to zero. Maximising does the opposite.
Example · The same rows, read twiceMinimise 2|x| + 5y: the original is 40/3 at (5, 2/3) by corner enumeration, the rewrite is 40/3 by the simplex engine with x⁺ = 5 and x⁻ = 0, and the difference is exactly zero. Now maximise the same expression: the original is 36 at (−3, 6) and the rewrite is unbounded, because x⁺ and x⁻ climb together for ever with nothing to stop them. A reader who only ran the rewrite would have no way to notice.
The smallest largest piece
Theorem · The epigraph rewriteLet f(x) = max(p₁(x), p₂(x), …) with each pᵢ linear. Then minimising f over a region is the same problem as minimising t over the same region with the rows t ≥ pᵢ(x) added, one per piece, and t free.
The rows make t at least every piece, so t ≥ f(x) at every feasible point, and minimising cannot leave t above f(x). Maximising can and does: the rewritten programme is then unbounded, and it is a different problem rather than a worse answer to this one.
Minimise max(2x + y, −x + 5y) on the region and both routes report 132/17, at x = 48/17, y = 36/17, with t = 132/17 sitting exactly on the two pieces where they cross. The fraction is worth noting: the corner that wins is the crossing of the boundary of the region with the line where one piece overtakes the other, and nothing about it rounds.
A cost quoted in two price bands
Suppose the first 3 units of x cost 2 each and every unit after that costs 5. Split the quantity into one variable per band, cap the first at 3, and price them separately. A minimiser fills the cheaper band first — and the cheaper band is the earlier one only when the later band costs more. That condition is convexity, and it is the condition rather than the background.
Example · A falling price, and a cost no quantity achievesQuote the first 3 units at 5 each and everything after at 2. The true cheapest cost on this region is 16, at (0, 4). The band model reports 38/3, with x(1) = 0 and x(2) = 5: it has bought five units out of the second band without filling the first, which the price schedule does not allow. The model is not a worse answer to the question; it is a cheaper answer to a question with no cost schedule behind it.
So the rule to carry away is not “these four tricks work”. It is that an auxiliary variable comes with a sentence — what forces it to the value I intend — and that the sentence is checkable by solving the original some other way and subtracting.