Linear programming (LP) deals with optimization problems where both the objective function and constraints are linear.

Standard Form

A linear programming problem can be expressed as:

Where:

  • and are matrices
  • , and are vectors

Key Characteristics

  • Hessian (and higher derivatives) are zero - unlike quadratic/nonlinear problems
  • Inequality constraints are necessary - without constraints, linear objectives have no minimum/maximum
  • Requires specialized numerical methods - different from those used for nonlinear optimization

Standard Canonical Form

All linear programs can be converted to the standard canonical form:

Where is a matrix, and are vectors, and .

KKT Conditions for Linear Programming

By splitting the Lagrange multiplier into and :

  1. for all

Solution Methods

Graphical Method

  • For small problems (typically 2 variables)
  • Plot the constraints to identify the feasible region
  • The optimal solution will be at a vertex of the feasible region

Simplex Algorithm

  • Start at a vertex of the feasible region
  • Move along edges to adjacent vertices that improve the objective value
  • Continue until reaching the optimal vertex
  • Efficient for most practical problems