If has rows and columns, attach a nonnegative dual variable to each of the upper-bound constraints. The dual linear program is
Here is the transpose of , and all vector inequalities hold componentwise. Nonnegative dual variables preserve the direction of the original inequalities when taking weighted sums.
For feasible solutions , nonnegativity gives
The first inequality uses and ; the second uses and . This is weak duality.
For every primal feasible solution , weak duality gives
Thus no primal feasible solution improves on . Similarly, for every dual feasible solution ,
Therefore both candidates are optimal, with the same objective function value. Equality is a linear programming optimality certificate and does not require a separate existence argument.
The complementary slackness conditions are
To see their role, decompose the duality gap as
Every summand is nonnegative for feasible solutions, so the gap is zero exactly when every displayed product vanishes. Zero gap implies optimality by weak duality. Conversely, strong duality states that primal and dual optima, when both are attained, have equal values, and hence satisfy these conditions.

Articles by others on the same topic (0)

There are currently no matching articles.