Optimization / Constraints
Linear Programming
Linear objectives over polygons: why the optimum sits at a corner, and how the simplex method walks there.
Contents 3 sections
By the end you can
- Formulate a linear program
- Solve two-variable programs graphically
- Describe the idea of the simplex method
Helps to know: Optimality Conditions
§1A production problem
Example 1Tables and chairs
A workshop earns $30 per table and $20 per chair. A table takes 2 hours of labour and a chair 1 hour; there are 100 hours. Wood allows at most 80 items in total. What should it make?
- Maximize subject to , , .
§2Why corners?
The simplex method starts at a vertex and moves along edges to neighbouring vertices that improve the objective, stopping when no neighbour is better. Interior-point methods instead cut through the middle of the region.
Check yourself
- Q1Where does a bounded linear program attain its optimum?