Theorem 10.7 — Strict Complementary Slackness Theorem
OpenVanderbeiLP.StrictComp.strict_complementary_slacknessConsider the linear program with explicit slacks
and its dual
with , , . If the primal problem has an optimal solution, then there are an optimal primal solution and an optimal dual solution such that
where means that every component of is strictly positive.
By complementary slackness (Theorem 5.3), for every optimal pair and . The theorem says that the optimal pair can be chosen so that in each complementary pair exactly one member vanishes: the complementary slackness is strict. This is the Goldman–Tucker theorem (1956), written for Vanderbei's inequality-form pair.
Formalization Note "Optimal" means feasible and attaining the maximum (primal) or the minimum (dual) over the feasible set. The dual optimum is part of the conclusion: only a primal optimal solution is assumed. The slacks are and . The book's remark after the theorem cites "the complementary slackness theorem (Theorem 5.1)"; the complementary slackness theorem is Theorem 5.3.
import Mathlib import Definitions.Def_VanderbeiLP_StrictComp_PrimalDualPair open Matrix
namespace VanderbeiLP.StrictComp
/-- **Vanderbei, Theorem 10.7 (p. 149), Strict Complementary Slackness Theorem.** If the LP
(10.9) has an optimal solution, then there are a primal optimal `x*` (slack `w* = b - Ax*`) and
a dual optimal `y*` (slack `z* = Aᵀy* - c`) with `x* + z* > 0` and `y* + w* > 0`
componentwise. -/
theorem strict_complementary_slackness {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
(b : Fin m → ℝ) (c : Fin n → ℝ) (hopt : ∃ x : Fin n → ℝ, PrimalOptimal A b c x) :
∃ (xstar : Fin n → ℝ) (ystar : Fin m → ℝ),
PrimalOptimal A b c xstar ∧ DualOptimal A b c ystar ∧
(∀ j, 0 < xstar j + dualSlack A c ystar j) ∧
(∀ i, 0 < ystar i + primalSlack A b xstar i) := by sorry
end VanderbeiLP.StrictComp
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.