If has rows and columns, attach a nonnegative dual variable to each of the upper-bound constraints. The dual linear program isHere 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 givesThe first inequality uses and ; the second uses and . This is weak duality.
For every primal feasible solution , weak duality givesThus 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 areTo see their role, decompose the duality gap asEvery 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
There are currently no matching articles.