CURIUM
How does linear programming compose the cheapest meal?

Linear programming

How does linear programming compose the cheapest meal?

Each food has a price and nutritional content. Each nutrient has a minimum to reach. We seek quantities that minimise spending whilst respecting all these limits. Economist George Stigler posed this diet problem in 1945 and solved it by hand through trial and error. Exact methods later showed he came within a few cents of the optimum.

MathsApplied mathematics

The three levels

Beginner

How does linear programming compose the cheapest meal?

Each food has a price and nutritional content. Each nutrient has a minimum to reach. We seek quantities that minimise spending whilst respecting all these limits. Economist George Stigler posed this diet problem in 1945 and solved it by hand through trial and error. Exact methods later showed he came within a few cents of the optimum.

Intermediate

Why does a linear programme's optimum always fall on a vertex?

Constraints carve out a convex polyhedron. Since the objective is linear, we push its level lines in one direction until we leave the domain. The last point touched is necessarily a corner.

Expert

Why does the simplex method remain king despite its exponential complexity?

Klee and Minty constructed in 1972 distorted polyhedra where the simplex visits every vertex one by one. The worst case is catastrophic. Yet we never encounter it. On real data, the method stops after a number of iterations on the order of the number of constraints.