Linear Optimization Introduction
Linear Optimization
Optimization is the field of taking optimal decisions, not just any decision. While everyday decisions (like choosing a route to class) can rely on common sense, complex systems require rigorous optimization because a small improvement can save millions of dollars.
The Assignment Problem: A Motivating Example
Consider 70 people and 70 jobs. Each person can perform a subset of jobs, and a numerical value indicates how well each person performs each job. The goal is to assign each person to exactly one job to maximize total quality.
A brute-force algorithm that enumerates all possible assignments would check 70! possibilities – roughly 10100, more than the number of particles in the observable universe. Even with a supercomputer, solving this for 30 people and 30 jobs would take 14 billion years (four times the age of the universe). This demonstrates that common sense or exhaustive search is completely inadequate for seemingly simple problems.
Key insight: Many optimization problems appear easy but become intractable without proper theory and algorithms. Linear programming provides an efficient way to solve the assignment problem in seconds.
The Modeling Approach
Real-world optimization follows a structured process:
Modeling: Translate the real-world problem into mathematical relationships, obtaining an optimization problem of the form $$\text{minimize } f(x) \text{ subject to } x \in S$$
f: objective function
S: feasible set
Model Analysis: Study mathematical properties of the model (e.g., optimality conditions, duality) to design efficient solution methods.
Algorithm Design: Develop an algorithm (solution method) that exploits the properties found.
Solve: Apply the algorithm to find an optimal solution x∗.
Validation: Check if x∗ truly satisfies all real-world constraints. Often missing constraints are discovered, requiring a return to the modeling step. This loop repeats until the solution is valid.
What is Linear Programming?
Linear programming (LP) is the special case where every function in the problem is linear.
Linear Functions
A function f:Rn→R is linear if it satisfies two properties:
f(x+y)=f(x)+f(y) for all x,y∈Rn
f(λx)=λf(x) for all x∈Rn and scalar λ
Equivalently, a linear function can be written as the inner product
LP Problem Form
A linear programming problem always takes the form:
The objective cTx is a linear function.
The feasible set is defined by a system of linear inequalities (and equalities) expressed in matrix form as Ax≥b.
Allowed Constraints in LP
Less than or equal to (≤)
Equal to (=)
Greater than or equal to (≥)
Strict inequalities (< or >) are never allowed.
Variables can be unrestricted or sign-restricted (xi≥0, xj≤0).
Example of an LP Problem
Minimize 2x1−x2+4x3
subject to:
x1+x2+x4≤2
3x2−x3=5
x3+x4≥3
x1≥0
x3≤0
All functions are linear: no product of variables (x1x2), no squares (x12), no cubes. Each constraint uses ≤, =, or ≥.
Algorithms for Linear Programming
The Simplex Algorithm
The simplex method is considered one of the most important algorithms of the 20th century. It exploits the geometric and algebraic structure of linear programs (optimality conditions and duality) to drastically reduce the number of candidate solutions examined.
For the assignment problem with 70 people and 70 jobs, the simplex method solves it in seconds, whereas enumeration would take longer than the age of the universe.
The Ellipsoid Method
The ellipsoid method is a completely different algorithm for linear programming. Its importance lies in being the first algorithm proven to solve LP problems efficiently in theory (polynomial time).
Why Theory Matters
The course focuses on why algorithms work, not just how they work. Each algorithm is derived from mathematical properties, and correctness is proved. There is a strong interplay between geometry (visual intuition) and algebra (formal proofs and algorithms).
Topics Covered in a Typical Linear Optimization Course
Introduction to Linear Programming – basic concepts and examples.
Polyhedra and Their Properties – geometric foundation of LP.
The Simplex Method – main solution algorithm.
Duality Theory – the primal LP has a related dual LP; this yields the dual simplex method.
Network Flow Problems – special LP problems for which the simplex method can be specialized.
Computational Complexity and the Ellipsoid Method – theoretical efficiency.
Prerequisites and Background
A solid understanding of linear algebra is essential, including:
Set-theoretic notation
Vectors and matrices, matrix inversion
Subspaces, bases, affine subspaces
Linear independence, rank of a matrix
Basic proof techniques are also required:
Direct proof, proof by contradiction, proof by induction
Logical concepts like contrapositive
Mathematical notation and symbols should be familiar.
Key Takeaways
Optimization = mathematical decision-making to find the best solution.
Linear programming = optimization with linear objective and linear constraints.
The assignment problem shows that naive algorithms fail spectacularly, but LP solves it efficiently.
The modeling process is iterative: model → analyze → algorithm → solve → validate → repeat.
The simplex method is the cornerstone algorithm for LP.
LP is used across engineering, computer science, physics, biology, finance, economics, and even military operations.
LP also appears as a subproblem in more complex optimization (e.g., integer optimization).

Ask anything
We've read this whole study set, so questions about it get the best answers.