A polynomial-time exact LP solver returning primal weights, an optimal dual and the common value
ProvedIntConeFPT.exact_lp_rows_solvercomputational-complexityellipsoid-methodinteger-coneslinear-programming
There is a function , computable in polynomial time (multi-tape Turing machines, complexitylib), with the following property. Its input is a list of points with costs , a target and a weight . Whenever the linear program subject to , , is feasible, returns an optimal , a dual pair with for all , and the common value (strong duality). Exact rational arithmetic throughout.
Preamble
import Mathlib import Definitions.Def_BuhaiPapers_Background_Encoding import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_PolyTime import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_List import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_Pair open Turing.MultiTapeTM
Formal statement
namespace IntConeFPT
theorem exact_lp_rows_solver :
∃ F : ((List (List ℚ × ℚ) × List ℚ) × ℚ) → (ℚ × (List ℚ × ℚ)) × List ℚ,
ComputableInPolyTime F
(encPair (encPair (encList (encPair (encList Encoding.encRat) Encoding.encRat))
(encList Encoding.encRat)) Encoding.encRat)
(encPair (encPair Encoding.encRat (encPair (encList Encoding.encRat) Encoding.encRat))
(encList Encoding.encRat)) ∧
∀ (m k : ℕ) (P : Fin m → Fin k → ℚ) (γ : Fin m → ℚ) (zf : Fin k → ℚ) (n : ℚ), 0 < n →
∀ w : Fin m → ℚ, (∀ i, 0 ≤ w i) → ∑ i, w i = n → (∀ j, ∑ i, w i * P i j = zf j) →
∃ (lam : Fin m → ℚ) (yu : Fin k → ℚ) (y0 V : ℚ),
F ((List.ofFn fun i => (List.ofFn (P i), γ i), List.ofFn zf), n) =
((V, (List.ofFn yu, y0)), List.ofFn lam) ∧
(∀ i, 0 ≤ lam i) ∧ (∀ j, ∑ i, lam i * P i j = zf j) ∧ ∑ i, lam i = n ∧
∑ i, lam i * γ i = V ∧ (∀ i, ∑ j, yu j * P i j + y0 ≤ γ i) ∧
V = ∑ j, yu j * zf j + y0 * n := by sorry
end IntConeFPTSource
Khachiyan (1979) and Grötschel–Lovász–Schrijver, Geometric Algorithms and Combinatorial Optimization (1988), Thm 6.4.9 (exact LP in polynomial time with dual solution); used in Jansen–Ohnesorge–Schumacher, A Constructive FPT Algorithm for Integer Cone Optimization with Convex Costs, arXiv:2609.31328 (preprint), Section 3 (proof of Lemma 13)