Definition. Given a standard problem (P) min c·x subject to Ax = b, x � 0 we define the dual problem (DP) as max b · y subject to ATy � c.
Lemma. (Ax) · y = x · (ATy).
Lemma. If x ∈ Rn and y ∈ Rm are feasible for (P) and (DP), respectively then b · y � c · x.
Proof.
b· y = (Ax) · y = x · (ATy) � x · c = c · x.
1
2
Strong duality
Theorem 13. If x∗ and y∗ are optimal solutions to (P) and (DP) then b · y∗ = c · x∗.
Proof. We have c · x∗ = c · x for some BFS x. Suppose that x is defined from the basis of columns B(1), . . . , B(m) etc. Define
y = (B−1)TcB.
Then y is feasible for the dual problem:
(?) ATy � c
(?) Ajy � cj for every j
(!) Ajy = Aj · ((B−1)TcB)) = (B−1Aj) · cB � ci because the reduced costs are nonnegative.
Now we check that c · x = b · y:
b· y = b · �(B−1)TcB� = (B−1b) · cB = xB · cB = x · c.
Corollary 14. In the above setting, if x is a basic solu- tion (not necessarily feasible) and the reduced costs are nonnegative then y is a feasible solution of the dual pro- blem.
Duality in nonstandard version
Consider (P) min c · x subject to Ax � b, x � 0. What is the dual problem?
We can change (P) to some standard problem (PS), find its dual (DPS) and read the result. This gives
Definition. The dual problem to
(P ) min c · x subject to Ax � b, x � 0 is
(DP ) max b · y subject to ATy � c, y � 0.
Lemma 15. If x ∈ Rn and y ∈ Rm are feasible for (P) and (DP), respectively then b · y � c · x.
Proof.
b· y � (Ax) · y = x · (ATy) � x · c = c · x.
4
Complementarity
Theorem 16. If x and y are feasible for (P) and (DP), respectively, then x and y are optimal if and only if
(ai · x − bi)yi = 0 for i = 1, 2, . . . , m, and (Aj · y − cj)xj = 0 for j = 1, 2, . . . , n.
Proof. If x and y are optimal then
0 = c · x − b · y = c · x − (ATy) · x + y · (Ax) − b · y =
= (c − ATy) · x + (Ax − b) · y.