Duality in Linear Programming
Every linear programming problem has a corresponding dual problem. The dual is itself a linear program, and the dual of the dual is the original problem. The optimal solution of the primal can be obtained from the dual; sometimes solving a linear program via duality theory is simpler and reveals the essence of the problem more clearly. Inspired by duality theory, the performance of the simplex method has been improved, and some non-simplex methods for solving linear programs have emerged, which this article does not cover in detail.
The Dual Relationship
Consider a dual problem of the following form
We call this the primal problem, and its corresponding dual form is defined as
where is called the dual vector, and this kind of duality is called the symmetric form of duality. In addition, for the standard form of a linear program, whose constraint is , this is equivalent to
Therefore, a primal problem containing equality constraints can be written as
This has the same structure as the primal problem in symmetric form, so the dual of the above problem is
The dual problem can be rearranged as
Letting , the above problem then becomes
Note that here, since , the nonnegativity constraint is gone. This relationship is called the asymmetric form of duality.
Properties of the Dual Problem
Here we present some basic conclusions about the dual problem, without proof for now. Weak Duality Lemma: Suppose and are feasible solutions of the primal and dual problems of a linear program (in symmetric and asymmetric forms), respectively. Then , that is, “maximum value minimum value.”
Theorem 1: Suppose and are feasible solutions of the primal and dual problems, respectively. If , then and are the optimal solutions of their respective problems.
Theorem 2 (Duality Theorem): If the primal problem has an optimal solution, then its dual problem also has an optimal solution, and the optimal values of their objective functions are equal.
Theorem 3 (Complementary Slackness Conditions): Let and be feasible solutions of the primal and dual problems, respectively. Then a necessary and sufficient condition for them to be the optimal solutions of their respective problems is