LINEAR OPTIMIZATION — MIDTERM STUDY NOTES
WEEK 1: Introduction & Modeling
• Linear Optimization (LO): Optimize a linear function under linear constraints. Canonical form: max c■x
s.t. Ax ≤ b Standard form: max c■x s.t. Ax = b, x ≥ 0 • Key Terms: decision variables, objective, feasible
set, boundedness, solvability. Example: Convert min x■ + 3x■ s.t. x■ + 2x■ ≥ 4 to standard form →
max -x■ - 3x■, -x■ - 2x■ ≤ -4.
WEEK 2: Geometry of Linear Programs
• Feasible region: intersection of half-spaces (convex polyhedron). • Optimal solutions occur at vertices
(extreme points). • Bounded: all points within finite region; Unbounded: extends infinitely. Example: max
3x■ + 2x■ s.t. x■ + x■ ≤ 4, x■,x■ ≥ 0 → Optimal at (4,0).
WEEK 3: Algebra of LP & SEF
• Standard Equality Form (SEF): Ax = b, x ≥ 0. Convert inequalities using slack/surplus variables. •
BFS: n–m variables = 0; Nonbasic vars = 0, Basic vars solve Ax = b. Example: x■ + x■ ≤ 8, 2x■ + x■ ≥
10 → add slack/surplus → x■+x■+s■=8, 2x■+x■−s■=10.
WEEKS 4–5: Simplex Method
1. Initialize BFS; 2. Compute reduced costs; 3. Enter/leave variable; 4. Pivot; 5. Repeat. • Key formulas:
– Dual var: y' = c_B' A_B■¹ – Reduced cost: c■_N = c_N − A_N■y • Bland’s rule: pick smallest index to
prevent cycling. Example: Perform one iteration of simplex on max 3x■ + 2x■ s.t. x■+2x■≤4,
3x■+2x■≤6.
WEEK 7: Duality
Primal: max c■x s.t. Ax = b, x ≥ 0 Dual: min b■y s.t. A■y ≥ c • Weak duality: c■x ≤ b■y; Strong duality:
if both feasible, equality holds. • Complementary slackness: y■(b■ − a■■x) = 0. Example: Write dual
for max 2x■+3x■ s.t. x■+2x■≤8, 3x■+2x■≤12.
Concept
Formula
Meaning
Canonical Form
max c■x s.t. Ax ≤ b
General LP form
Standard Form
max c■x s.t. Ax = b, x ≥ 0
Used in simplex
Reduced Cost
c■_N = c_N − A_N■y
Indicates improvement
Dual Form
min b■y s.t. A■y ≥ c
Shadow price model
Complementary Slackness
y■(b■ − a■■x)=0
Primal–dual link
Practice Questions:
1. Formulate a diet or production LP model and convert to standard form. 2. Identify feasible region and
boundedness graphically. 3. Perform two simplex iterations to find next BFS. 4. Write primal–dual pair
and verify strong duality. 5. Interpret shadow prices in a resource allocation example.