LPs geometrically
- In 2D, constraints
x ≥ 0,y ≥ 0plus other half-space constraints carve out a polygon as the feasible region;cis a direction vector in that picture10:11,10:54,11:16,11:41.
Simplex in one sentence
Simplex is a greedy algorithm on the vertices of the polytope 10:11:
- Start at some vertex.
- Greedily move to an adjacent vertex that strictly improves the objective.
- Stop when at the optimal vertex
12:40,13:31.
- Attribution: Dantzig, 1947
12:40.
flowchart LR
A[Start vertex] --> B[Adjacent vertex<br/>with better cᵀx]
B --> C[Adjacent vertex<br/>with better cᵀx]
C --> D[No improving neighbour<br/>→ optimal, halt]
The four questions the rest of the lecture answers
- How do you get an initial vertex?
12:06→ see04 - How do you prove there is always a better adjacent vertex when you are not optimal?
12:06 - If several adjacent vertices improve, how do you choose — and does the choice matter?
12:06→ pivoting rules, see08 - How do you even know the optimum is attained at a vertex?
12:06→ see05 - The stopping condition is left unspecified until the algorithm is written precisely
13:31,13:57.