GLS lexicographic column generation as an oracle algorithm — strong optimization, dual and basic primal from a pricing oracle
OpenIntConeFPT.gls_lex_oracleLet be a set of generators, , and a primary and a secondary cost. Consider the linear program
and its dual .
For every exponent there are a constant and one oracle machine with the following property. Let be a pricing oracle for a context word : on the query with rational and , it answers a rational generator minimizing over , together with and , the whole answer of length at most . Let be a rational point of the homogenized hull of . Then, on input of length , halts within steps, each oracle call counting as one step. It asks only queries of this form of length at most , and it outputs, with output length at most ,
- the optimal value , a lower bound for the cost of every representation on ;
- a dual pair, feasible on , attaining ;
- an optimal representation by at most distinct generators of with positive multiplicities, which minimizes the secondary cost among all representations on of primary cost at most .
This is the oracle-algorithmic content of the linear-programming step in the proof of Lemma 5. The dual feasible region is a polyhedron whose inequalities, the oracle's answers, have encoding length at most . The ellipsoid method with the pricing oracle as strong separation oracle solves the dual [GLS88, Thm 6.4.9]. An optimal basic primal solution is recovered from the separating columns [GLS88, Lemma 6.5.15]. A second run with the perturbed cost , for computed from the encoding bounds, makes the representation lexicographically optimal.
Formalization Note. The oracle model is IntConeFPT_OracleMachine: the oracle is an arbitrary function on words, specified only on the queries the machine may ask, and the permitted queries and their lengths are fixed by the predicate argument of ORunsWithin. The output is prefixed by and . Columns are ; gives arbitrary rational columns.
import Mathlib import Definitions.Def_OnlineCRS_Combine_Sym import Definitions.Def_OnlineCRS_Combine_encNat import Definitions.Def_OnlineCRS_Combine_encInt import Definitions.Def_OnlineCRS_Combine_encRat import Definitions.Def_OnlineCRS_Combine_encVec import Definitions.Def_IntConeFPT_Machine import Definitions.Def_IntConeFPT_OracleMachine import Definitions.Def_IntConeFPT_Instance import Definitions.Def_IntConeFPT_Problem import Definitions.Def_IntConeFPT_Residue import Definitions.Def_IntConeFPT_Formulation open OnlineCRS.Combine
namespace IntConeFPT
theorem gls_lex_oracle :
∀ K : ℕ, ∃ C : ℕ, ∃ OM : OracleMachine,
∀ (d k : ℕ) (ctx : List Sym) (T A : Set (Gen d k)) (c s : (Fin d → ℝ) → ℝ),
A ⊆ T → ∀ O : List Sym → List Sym,
(∀ (ε : ℚ), 0 ≤ ε → ∀ (ax : Fin d → ℚ) (au : Fin k → ℚ),
∃ (x : Fin d → ℤ) (u : Fin k → ℚ) (cq sq : ℚ),
ratGen x u ∈ A ∧ (cq : ℝ) = c (fun i => (x i : ℝ)) ∧
(sq : ℝ) = s (fun i => (x i : ℝ)) ∧
(∀ g ∈ T, (cq : ℝ) + (ε : ℝ) * sq - pairing (ratPair ax au) (ratGen x u).toReal ≤
c (fun i => (g.1 i : ℝ)) + (ε : ℝ) * s (fun i => (g.1 i : ℝ)) -
pairing (ratPair ax au) g.toReal) ∧
(encGen x u ++ encRat cq ++ encRat sq ++ [3]).length ≤ ctx.length ^ K ∧
O (ctx ++ encRat ε ++ [3] ++ encVec ax ++ encVec au) =
encGen x u ++ encRat cq ++ encRat sq ++ [3]) →
∀ (z : Fin d → ℚ) (w : Fin k → ℚ) (n : ℚ),
((ratPair z w).1, (ratPair z w).2, (n : ℝ)) = 0 ∨
(0 < (n : ℝ) ∧ ((n : ℝ)⁻¹ • (ratPair z w).1, (n : ℝ)⁻¹ • (ratPair z w).2) ∈
convexHull ℝ (Gen.toReal '' T)) →
let inp := encNat d ++ [3] ++ encNat k ++ [3] ++ encVec z ++ encVec w ++ encRat n ++ [3] ++ ctx
∃ o : ℚ × ((Fin d → ℚ) × (Fin k → ℚ)) × ℚ × List ((Fin d → ℤ) × (Fin k → ℚ) × ℚ),
(∀ θ : Gen d k →₀ ℝ, IsFracRep T θ ((ratPair z w).1, (ratPair z w).2, (n : ℝ)) →
(o.1 : ℝ) ≤ fracCost c θ) ∧
(∀ g ∈ T, pairing (ratPair o.2.1.1 o.2.1.2) g.toReal + (o.2.2.1 : ℝ) ≤
c (fun i => (g.1 i : ℝ))) ∧
(o.1 : ℝ) = pairing (ratPair o.2.1.1 o.2.1.2) (ratPair z w) + (o.2.2.1 : ℝ) * n ∧
o.2.2.2.length ≤ d + k + 1 ∧
(o.2.2.2.map fun e => (e.1, e.2.1)).Nodup ∧
(∀ e ∈ o.2.2.2, ratGen e.1 e.2.1 ∈ A ∧ 0 < e.2.2) ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ) • (ratGen e.1 e.2.1).toReal).sum = ratPair z w ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ)).sum = n ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ) * c (fun i => (e.1 i : ℝ))).sum = o.1 ∧
(∀ θ : Gen d k →₀ ℝ, IsFracRep T θ ((ratPair z w).1, (ratPair z w).2, (n : ℝ)) →
fracCost c θ ≤ o.1 →
(o.2.2.2.map fun e => (e.2.2 : ℝ) * s (fun i => (e.1 i : ℝ))).sum ≤ fracCost s θ) ∧
(encOracle o).length ≤ inp.length ^ C ∧
ORunsWithin OM O
(fun q => q.length ≤ inp.length ^ C ∧ ∃ (ε : ℚ) (ax : Fin d → ℚ) (au : Fin k → ℚ),
0 ≤ ε ∧ q = ctx ++ encRat ε ++ [3] ++ encVec ax ++ encVec au)
inp (encNat d ++ [3] ++ encNat k ++ [3] ++ encOracle o) (inp.length ^ C) := by sorry
end IntConeFPT