Constructing the Dual of a Standard-Form LP
Given a standard-form maximization LP, mechanically write down its dual. The standard primal is subject to , ; its dual is subject to , . Students practice extracting both the full dual and individual pieces (objective, one constraint).
Tutorial
Standard Form and Its Dual
A standard-form linear program (LP) in maximization form is
where is an matrix, , , and the decision variables are required to be nonnegative.
Bounding the primal objective from above amounts to choosing nonnegative multipliers so that the weighted combination of the rows of dominates . The dual LP is the problem of finding the tightest such bound:
There is one dual variable per primal constraint, and one dual constraint per primal variable.
Recipe for converting primal to dual:
- Replace with .
- The primal RHS vector becomes the dual objective coefficients.
- The primal objective coefficients become the dual RHS.
- Transpose the constraint matrix and flip to .
- Both primal and dual variables are nonnegative.
For example, the dual of
is