We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Linear Programming Duality
Summary
We show an upper bound on an LP problem by finding its dual. We also show some theorems about the relationship between the primal and the dual.
Contents
Example
Optimal at
Can we verify?
We can create an upper bound on the objective function. Then, if we have the same value as the upper-bound, we are optimal.
Dual
The upper-bound is a new LP based on the original
- Because appears in the first and third rows of the original problem.
- Because appears in the second, third, and fourth rows.
- Because appears in the third and fourth rows.
The original form:
Becomes
We go from n vars and m constraints, to m vars and n constraints
The dual of the dual is the original
The original is also called the primal
Weak Duality Theorem
Given a feasible x for primal LP and a feasible y for dual LP:
Weak Duality Corollary
If we find a feasible x and feasible y where , then x and y are optimal.
Weak Duality Corollary 2
If primal LP is unbounded, dual LP is infeasible
- If primal is infinite, how can dual be greater than that?
If dual LP is unbounded, primal LP is infeasible
- If dual is negative infinity, how can primal be less than that?
Feasbility Checks
Given:
We can add a new variable, z, to trivially satisfy all the constraints. Then we check if z is non-negative
Becomes
If , then LP is feasible
Unbounded Checks
Given:
If dual LP is infeasible, then primal is unbounded or infeasible. If the primal is feasible and the dual is infeasible, then primal is unbounded.
Strong Duality Theorem
Primal LP is feasible and bounded dual LP is feasible and bounded.
Primal has optimal dual has optimal