Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Optimization / Constraints

Linear Programming

Linear objectives over polygons: why the optimum sits at a corner, and how the simplex method walks there.

3 min read · 2 sections · 1 checks

Contents 3 sections
  1. §1A production problem
  2. §2Why corners?
  3. ?Check yourself

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?

  1. Maximize 30t+20c30t + 20c subject to 2t+c≤1002t + c \le 100, t+c≤80t + c \le 80, t,c≥0t, c \ge 0.

§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

  1. Q1
    Where does a bounded linear program attain its optimum?