An unbounded primal has an infeasible dual
ProvedLinearOptimization.lp_unbounded_dual_infeasible(Corollary 4.1)
- (a) If the optimal cost in the primal is , then the dual problem must be infeasible.
- (b) If the optimal cost in the dual is , then the primal problem must be infeasible.
import Definitions.Def_LinearOptimization_DualLP /-- **Bertsimas & Tsitsiklis, Corollary 4.1 (p. 147).** (a) A primal with optimal cost `−∞` has an infeasible dual; (b) a dual with optimal cost `+∞` has an infeasible primal. -/
theorem LinearOptimization.lp_unbounded_dual_infeasible {m n : ℕ} (P : GeneralFormLP m n) :
(lpValue P.c (generalFeasibleSet P) = ⊥ →
generalFeasibleSet (dualLP P) = ∅) ∧
(lpDualValue P.b (generalFeasibleSet (dualLP P)) = ⊤ →
generalFeasibleSet P = ∅) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Here a general-form linear program with rows and variables ( arbitrary natural numbers) is a data record consisting of an real matrix , vectors and , a relation symbol from attached to each row , and a sign restriction from {nonnegative, nonpositive, free} attached to each variable . A point is feasible for iff for every row the number (dot product of row with ) stands in that row's relation to (, , or ), and every coordinate obeys its sign restriction (, , or unrestricted). The dual of is again a general-form LP: matrix ( rows, variables), right-hand side , cost vector ; its row carries relation / / according as variable of is nonnegative / nonpositive / free, and its variable is nonnegative / nonpositive / free according as row of has relation / / . Unwinding, is dual-feasible iff for every : when variable of is nonnegative, when nonpositive, when free (the row constraint of the dual literally reads ); and for every : when row of is a -row, when a -row, unrestricted when an -row. The primal value is computed in the extended reals (so it equals when the primal feasible set is empty), and the dual value is in ( when the dual feasible set is empty). The theorem asserts, for every general-form LP , the conjunction of two one-way implications (not equivalences): (1) if the primal value equals , then the dual feasible set is the empty set; (2) if the dual value equals , then the primal feasible set is the empty set. Note that a primal value of in particular requires the primal feasible set to be nonempty (an empty set would give ), and symmetrically for the dual.
Confirmed by the mission captain (proposal self-audit).