Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Linear Optimization

122 missions · 83 completed

Missions

Open39Completed83All122
Operations ResearchOptimizationTheoretical Computer Science·Captain: ORdos

Smale's Ninth Problem: Strongly Polynomial Linear ProgrammingOpen Problem

The problem of solving linear inequalities

The linear feasibility problem takes a matrix A∈Rm×nA \in \mathbb{R}^{m\times n}A∈Rm×n and a vector b∈Rmb \in \mathbb{R}^mb∈Rm and asks whether the system of mmm linear inequalities in nnn real unknowns

{ x∈Rn∣Ax≥b }  ≠  ∅\{\,x \in \mathbb{R}^n \mid Ax \ge b\,\} \;\ne\; \emptyset{x∈Rn∣Ax≥b}=∅

has a solution. By linear programming duality, optimizing a linear objective over such a set reduces to feasibility, so this decision problem carries the whole complexity of linear programming.

What "polynomial time" means here depends on the machine. In the bit model the input is a list of rational numbers, its size LLL counts the bits of all numerators and denominators, and an algorithm is polynomial if it runs in time poly(m,n,L)\mathrm{poly}(m, n, L)poly(m,n,L). In the real-number model the input is a list of mn+mmn + mmn+m exact real numbers, each arithmetic operation (+,−,×,÷+, -, \times, \div+,−,×,÷), comparison, or memory move costs one unit, and a running time may only depend on mmm and nnn. An algorithm polynomial in this second sense is what Smale asks for; the closely related bit-model notion — poly(m,n)\mathrm{poly}(m,n)poly(m,n) arithmetic operations and polynomially bounded intermediate bit sizes — is called strongly polynomial. This mission fixes the real-number model precisely as a Blum–Shub–Smale (BSS) machine (Blum–Shub–Smale 1989): a finite program of instructions acting on a bi-infinite tape Z→R\mathbb{Z} \to \mathbb{R}Z→R of real registers — loads of arbitrary real machine constants, exact field arithmetic at fixed addresses, two-sided tape shifts, a sign-test branch, and accept/reject — with cost equal to the number of executed instructions. The convention that costs something: the program must be uniform, one finite instruction list serving every mmm, nnn, and every real instance. Uniformity is exactly what separates the question from point-location tricks available to non-uniform families of decision trees.

Why it matters

For optimization, the question is the last gap in the complexity of its central problem. Linear programs with combinatorial structure already admit strongly polynomial algorithms — Tardos (1986) solved every LP whose running time may depend on the entries of AAA but not on bbb or ccc, covering network flows and all {0,±1}\{0,\pm1\}{0,±1}-constraint problems — and a positive answer for general LP would extend that unification to the whole class, while explaining why simplex-type methods behave so well in practice (Spielman–Teng 2004).

For the theory of computation over the reals, the problem is a benchmark for what unit-cost exact arithmetic can do: it is Problem 9 on Smale's list of mathematical problems for the twenty-first century (Smale 1998), posed in the BSS model as the real-number analogue of the P-versus-NP style questions of that program, and it interacts with polyhedral combinatorics through the polynomial Hirsch conjecture: a polynomial bound on polytope diameters is a necessary condition for any polynomial pivot rule. A problem that calibrates both the practice of optimization and the foundations of real computation is a subject, not a special case.

The question and what is known

Question (Smale’s 9th).Is there a uniform BSS program deciding {x∣Ax≥b}≠∅ in poly(m,n) steps?\textbf{Question (Smale's 9th).}\quad \text{Is there a uniform BSS program deciding } \{x \mid Ax \ge b\} \ne \emptyset \text{ in } \mathrm{poly}(m,n) \text{ steps?}Question (Smale’s 9th).Is there a uniform BSS program deciding {x∣Ax≥b}=∅ in poly(m,n) steps?

The timeline splits into a negative branch (lower bounds against algorithm classes) and a positive branch (polynomial algorithms in weaker senses).

Lower bounds. Klee–Minty (1972) constructed a deformed cube on which Dantzig's largest-coefficient simplex rule visits all 2n2^n2n vertices; analogous exponential examples were later found for essentially every deterministic pivot rule, and randomized rules were driven to subexponential lower bounds by Friedmann–Hansen–Zwick (2011) — against upper bounds of exp⁡(O(nlog⁡n))\exp(O(\sqrt{n \log n}))exp(O(nlogn​)) from Kalai (1992) and Matoušek–Sharir–Welzl (1996). On the interior-point side, Allamigeon–Benchimol–Gaubert–Joswig (2018) showed by tropical methods that log-barrier path following is not strongly polynomial, and Allamigeon–Gaubert–Vandame (2022) extended this to every self-concordant barrier: no interior-point method of that class can settle the question positively.

Polynomial algorithms in weaker senses. Khachiyan (1979/80) proved LP feasibility is polynomial in the bit model via the ellipsoid method; Karmarkar (1984) and then Renegar (1988) brought interior-point methods to O(n L)O(\sqrt{n}\,L)O(n​L) iterations. Megiddo (1984) solved LP in linear time for every fixed dimension; Tardos (1986) gave the combinatorial strongly polynomial class; Vavasis–Ye (1996) and Dadush–Huiberts–Natura–Végh (2020) replaced the bit size by condition measures of AAA alone; Ye (2011) proved policy iteration strongly polynomial for fixed-discount Markov decision processes.

The central difficulty is visible in every positive result: each known iteration count is controlled by a scale-dependent quantity — bit length, condition number, barrier curvature — that is unbounded over the real instances with m,nm, nm,n fixed. The naive plan, "run the ellipsoid method and round", fails at its first step in the real model: the number of iterations needed to separate a feasible system from an infeasible one grows with the thinness of the feasible set, which is not a function of (m,n)(m, n)(m,n); no data-independent perturbation ε\varepsilonε exists when the data are arbitrary reals. All results above are proved on paper only; none has a machine-checked proof in the literature. What is already formalized, on this platform, is the substrate this mission builds on: the simplex iteration (mission Introduction to Linear Optimization IV), the ellipsoid method with its volume-halving correctness theorem (XI), interior-point path following (XII), and self-concordance with the barrier method (Convex Optimization VI).

A hierarchy of formalization targets

The mission's milestone list realizes this hierarchy in order; each level states what it deliberately leaves open.

Level 0 — the model works. A uniform BSS program decides one-variable feasibility in linear time:

∃ P, C  ∀m, ∀(a,b)∈Rm×Rm: P decides {x∈R∣aix≥bi ∀i}≠∅ within C(m+1) steps.\exists\,P,\,C\ \ \forall m,\ \forall (a,b) \in \mathbb{R}^m \times \mathbb{R}^m:\ P \text{ decides } \{x \in \mathbb{R} \mid a_i x \ge b_i\ \forall i\} \ne \emptyset \text{ within } C(m{+}1) \text{ steps}.∃P,C  ∀m, ∀(a,b)∈Rm×Rm: P decides {x∈R∣ai​x≥bi​ ∀i}=∅ within C(m+1) steps.

It fixes nothing about n≥2n \ge 2n≥2; its role is to certify that the machine model and cost semantics of the goal are non-vacuous.

Level 1 — the classical method is exponential. On the Klee–Minty cube, Dantzig's rule admits a run of

2n−1 pivots2^n - 1 \text{ pivots}2n−1 pivots

from the all-slack basis to the optimum. It leaves open all other pivot rules — extensions to further rules are welcome as strengthenings.

Level 2 — the bit model succeeds. Through the Cramer–Hadamard solution bound ∣xj∣≤n! Un|x_j| \le n!\,U^n∣xj​∣≤n!Un and the perturbation estimates, Khachiyan's theorem: for integer data bounded by UUU, every admissible ellipsoid run decides feasibility within

t∗≤106 (n+2)4(log⁡2U+n+2) iterations.t^* \le 10^6\,(n{+}2)^4(\log_2 U + n + 2) \text{ iterations}.t∗≤106(n+2)4(log2​U+n+2) iterations.

The generous constants are deliberate — only the polynomial order is load-bearing. This level leaves open exactly the dependence on log⁡U\log UlogU.

Level 3 — the goal (open). A uniform program with data-independent polynomial cost:

∃ P, C, d  ∀m,n,A,b: P decides {x∣Ax≥b}≠∅ within C (mn+m+2)d steps.\exists\,P,\,C,\,d\ \ \forall m, n, A, b:\ P \text{ decides } \{x \mid Ax \ge b\} \ne \emptyset \text{ within } C\,(mn + m + 2)^d \text{ steps}.∃P,C,d  ∀m,n,A,b: P decides {x∣Ax≥b}=∅ within C(mn+m+2)d steps.

The statement asserts only the shape of the truth — no hard-coded degree or constant — so it is stable under every future quantitative improvement. These levels do not exhaust the project: Tardos' combinatorial LP theorem, Ye's fixed-discount MDP result, and impossibility statements for restricted program classes in the style of Allamigeon–Gaubert–Vandame are natural later milestones.

Formalization scope

Polyhedra, simplex states, pivots, and ellipsoid runs are the platform's existing LinearOptimization development over Matrix (Fin m) (Fin n) ℝ, with {x∣Ax≥b}\{x \mid Ax \ge b\}{x∣Ax≥b} as polyhedron A b; algorithms with data-dependent iteration counts are formalized as run predicates, as in the parent missions. The new SmaleNinth definitions supply what the goal genuinely needs and the run-predicate style cannot express: a concrete inductive type of BSS programs with operational semantics and unit-cost accounting, the Klee–Minty data with Dantzig's rule, and the explicit Khachiyan constants. One convention closes the degenerate escape hatch: the goal quantifies over finite BSSProgram terms under the fixed encodeLP input convention — formalizing "algorithm" as an arbitrary function Rmn+m→Bool\mathbb{R}^{mn+m} \to \mathrm{Bool}Rmn+m→Bool would make the statement trivially true and is not the theorem. Division is totalized as x/0=0x/0 = 0x/0=0 and the branch test is xi≤0x_i \le 0xi​≤0; both are benign for the class of programs quantified over.

The machine module is infrastructure beyond this mission — any real-number complexity statement (other Smale problems, sums-of-square-roots, BSS-completeness) can reuse it, as can any pivot-rule lower bound reuse the Klee–Minty module. Formalization forces distinctions the literature leaves informal: which machine variant carries the unit-cost claim, how ties in Dantzig's rule are resolved, and which of the interchangeable Khachiyan constants each estimate actually needs. Welcome contributions include proofs of any milestone, alternative exponential instances for other pivot rules, sharper constants in the Khachiyan module, and ports of the known strongly polynomial special cases.

Selected references

  • L. Blum, M. Shub, S. Smale, On a theory of computation and complexity over the real numbers, Bull. AMS 21(1):1–46, 1989. DOI
  • S. Smale, Mathematical problems for the next century, Math. Intelligencer 20(2):7–15, 1998. DOI
  • V. Klee, G. J. Minty, How good is the simplex algorithm?, in Inequalities III, Academic Press, 1972, pp. 159–175.
  • L. G. Khachiyan, Polynomial algorithms in linear programming, USSR Comput. Math. Math. Phys. 20:53–72, 1980. DOI
  • N. Karmarkar, A new polynomial-time algorithm for linear programming, Combinatorica 4:373–395, 1984. DOI
  • J. Renegar, A polynomial-time algorithm, based on Newton's method, for linear programming, Math. Programming 40:59–93, 1988. DOI
  • É. Tardos, A strongly polynomial algorithm to solve combinatorial linear programs, Oper. Res. 34(2):250–256, 1986. DOI
  • N. Megiddo, Linear programming in linear time when the dimension is fixed, J. ACM 31(1):114–127, 1984. DOI
  • G. Kalai, A subexponential randomized simplex algorithm, STOC 1992. DOI
  • O. Friedmann, T. D. Hansen, U. Zwick, Subexponential lower bounds for randomized pivoting rules for the simplex algorithm, STOC 2011. DOI
  • D. A. Spielman, S.-H. Teng, Smoothed analysis of algorithms: why the simplex algorithm usually takes polynomial time, J. ACM 51(3):385–463, 2004. DOI
  • S. A. Vavasis, Y. Ye, A primal-dual interior point method whose running time depends only on the constraint matrix, Math. Programming 74:79–120, 1996. DOI
  • Y. Ye, The simplex and policy-iteration methods are strongly polynomial for the Markov decision problem with a fixed discount rate, Math. Oper. Res. 36(4):593–603, 2011. DOI
  • X. Allamigeon, P. Benchimol, S. Gaubert, M. Joswig, Log-barrier interior point methods are not strongly polynomial, SIAM J. Appl. Algebra Geom. 2(1):140–178, 2018. DOI
  • X. Allamigeon, S. Gaubert, N. Vandame, No self-concordant barrier interior point method is strongly polynomial, STOC 2022. arXiv
  • D. Dadush, S. Huiberts, B. Natura, L. A. Végh, A scaling-invariant algorithm for linear programming whose running time depends only on the constraint matrix, STOC 2020. arXiv
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 (Chapters 3, 8, 9 — formalized in the Introduction to Linear Optimization mission series).
  • B. Korte, J. Vygen, Combinatorial Optimization: Theory and Algorithms, 6th ed., Springer, 2018, §4.1–4.5.
29 thms6 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: mikedeng1

Selected Topics in Column Generation I: Discretization — Every Integer Point of a Rational Polyhedron Is a Generating Integer Point Plus an Integer Combination of Integer RaysResearch Paper

Motivation

Dantzig–Wolfe decomposition and column generation solve large integer programs by replacing a set of "easy" constraints with a description of its feasible points, and then pricing out the points one at a time. For linear programs this rests on the Minkowski–Weyl representation: every point of a polyhedron is a convex combination of its extreme points plus a nonnegative combination of its extreme rays. For integer programs that representation is not enough. Imposing integrality on the convex multipliers of the extreme points of conv(X)\mathrm{conv}(X)conv(X) does not give back the integer program, because an optimal integer point may lie in the interior of conv(X)\mathrm{conv}(X)conv(X).

Lübbecke and Desrosiers, in their survey Selected Topics in Column Generation (Operations Research 53(6), 2005), present discretization (Johnson 1989, Vanderbeck 2000) as the true integer analogue of the decomposition principle. Its basis is their Theorem 1: the integer points of a rational polyhedron are generated by finitely many integer points and finitely many integer rays with integer multipliers. The paper states this result and refers its proof to Nemhauser and Wolsey, Integer and Combinatorial Optimization (1988). It underlies the integer master problem (25) of branch-and-price.

Setting

Let DDD be an m×nm \times nm×n matrix and d\mathbf dd an mmm-vector with rational entries. The polyhedron is

P={x∈Rn∣Dx⩾d, x⩾0},P = \{\mathbf x \in \mathbb R^n \mid D\mathbf x \geqslant \mathbf d,\ \mathbf x \geqslant \mathbf 0\},P={x∈Rn∣Dx⩾d, x⩾0},

and its set of integer points is X=P∩ZnX = P \cap \mathbb Z^nX=P∩Zn, the points of PPP whose coordinates are all integers. Because P⊆R+nP \subseteq \mathbb R^n_+P⊆R+n​, X=P∩Z+nX = P \cap \mathbb Z^n_+X=P∩Z+n​.

The recession cone of PPP is {r∈Rn∣Dr⩾0, r⩾0}\{\mathbf r \in \mathbb R^n \mid D\mathbf r \geqslant \mathbf 0,\ \mathbf r \geqslant \mathbf 0\}{r∈Rn∣Dr⩾0, r⩾0}. An integer ray of PPP is a nonzero vector of Zn\mathbb Z^nZn in this cone. Extreme rays are not required.

In Lean these are polyhedronP D d, integerPoints D d, recessionConeP D and IsIntegerRay D w in the namespace Lubbecke2005.Discretization, with integer vectors cast to real vectors by castVec.

Formalization targets

Goal: Theorem 1 (pp. 1011–1012)

If P≠∅P \neq \emptysetP=∅, there exist a finite set of integer points {pq}q∈Q⊆X\{\mathbf p_q\}_{q \in Q} \subseteq X{pq​}q∈Q​⊆X and a finite set of integer rays {pr}r∈R\{\mathbf p_r\}_{r \in R}{pr​}r∈R​ of PPP such that

X={x∈R+n ∣ x=∑q∈Qpqλq+∑r∈Rprλr, ∑q∈Qλq=1, λ∈Z+∣Q∣+∣R∣}.(24)X = \Bigl\{\mathbf x \in \mathbb R^n_+ \ \Big|\ \mathbf x = \sum_{q \in Q} \mathbf p_q \lambda_q + \sum_{r \in R} \mathbf p_r \lambda_r,\ \sum_{q \in Q} \lambda_q = 1,\ \boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}\Bigr\}. \qquad (24)X={x∈R+n​ ​ x=q∈Q∑​pq​λq​+r∈R∑​pr​λr​, q∈Q∑​λq​=1, λ∈Z+∣Q∣+∣R∣​}.(24)

Since the multipliers are nonnegative integers summing to one over QQQ, (24) says that XXX is the union, over q∈Qq \in Qq∈Q, of the translates pq+Z+{pr}r∈R\mathbf p_q + \mathbb Z_+\{\mathbf p_r\}_{r\in R}pq​+Z+​{pr​}r∈R​ of the monoid generated by the rays. No bound on ∣Q∣|Q|∣Q∣ or ∣R∣|R|∣R∣ is part of the goal.

Milestone: Remark in §3.3 (p. 1012)

If X⊆[0,1]nX \subseteq [0,1]^nX⊆[0,1]n, every point of XXX is a vertex of conv(X)\mathrm{conv}(X)conv(X). In this case convexification and discretization coincide.

Significance

The result. Theorem 1 converts an integer program min⁡{c(x)∣Ax⩾b, x∈X}\min\{c(\mathbf x) \mid A\mathbf x \geqslant \mathbf b,\ \mathbf x \in X\}min{c(x)∣Ax⩾b, x∈X} into the integer master program (25) over the multipliers λ\boldsymbol\lambdaλ, with one column per generating point and per generating ray. When XXX is bounded the rays disappear, exactly one λq\lambda_qλq​ equals one, and (25) is a linear integer program even for a nonlinear cost ccc. The representation is what makes branching on master variables, and the passage between compact and extensive formulations, well defined in branch-and-price.

Formalizing it. The result is classical (Nemhauser–Wolsey 1988, going back to Giles and Pulleyblank and to Meyer's theorem that the integer hull of a rational polyhedron is a polyhedron). On Prove2Me, the real representation (8) is formalized as LinearOptimization.polyhedron_resolution (Bertsimas–Tsitsiklis Thm 4.15) and the integer hull theorem as LinearOptimization.integer_hull_is_polyhedron (Thm 11.3); both are included as reference items. The convexification counterpart of §3.2, that the Lagrangian dual equals the LP over conv(X)\mathrm{conv}(X)conv(X), is LinearOptimization.lagrangean_dual_eq_lp_over_hull. No machine-checked statement of the integer representation (24), with integer multipliers and integer rays, was found on the platform. The mission produces that statement and, once solved, its proof.

Difficulty

The obvious attempt applies the real representation (8) and rounds. It fails twice. First, the extreme points of PPP need not be integral, and an integer point written as a real combination of vertices and rays has no reason to have integer multipliers. Second, the extreme rays of PPP generate the recession cone over R+\mathbb R_+R+​, but the integer points of that cone are not in general nonnegative integer combinations of the (scaled) extreme rays; a generating set of the lattice points of a cone must usually contain non-extreme vectors. The finiteness of QQQ is also not automatic: XXX itself is typically infinite, and taking Q=XQ = XQ=X trivializes the statement.

Rationality of the data is essential. For P={x∈R+2∣2 x1−x2⩾0}P = \{\mathbf x \in \mathbb R^2_+ \mid \sqrt2\,x_1 - x_2 \geqslant 0\}P={x∈R+2​∣2​x1​−x2​⩾0}, every integer ray has slope below 2\sqrt 22​, so finitely many base points and rays generate only points with x2⩽ρx1+Cx_2 \leqslant \rho x_1 + Cx2​⩽ρx1​+C for some ρ<2\rho < \sqrt 2ρ<2​, while XXX contains (k,⌊2k⌋)(k, \lfloor\sqrt2 k\rfloor)(k,⌊2​k⌋) for every kkk.

Formalization scope

  • Vectors are Fin n → ℝ; integer vectors are Fin n → ℤ cast coordinatewise. Both sides of (24) are sets of real vectors.
  • DDD and d\mathbf dd are ℚ-valued and cast to ℝ. This is an addition: the paper names no field, and the theorem is false for irrational data (see Difficulty). The cited source, Nemhauser–Wolsey, works with rational data.
  • The hypothesis P≠∅P \neq \emptysetP=∅ is kept as on the page. XXX may still be empty (e.g. P={1/2}P = \{1/2\}P={1/2}); then Q=∅Q = \emptysetQ=∅ and both sides of (24) are empty. The statement allows this.
  • QQQ and RRR are Fin k and Fin l for existentially chosen k,l∈Nk, l \in \mathbb Nk,l∈N; the finiteness is the content of the theorem. The multiplier vector λ∈Z+∣Q∣+∣R∣\boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}λ∈Z+∣Q∣+∣R∣​ is written as a pair of ℕ-valued vectors.
  • "Integer rays of PPP" is read as nonzero integer vectors in the recession cone {Dr⩾0,r⩾0}\{D\mathbf r \geqslant \mathbf 0, \mathbf r \geqslant \mathbf 0\}{Dr⩾0,r⩾0}; extremality is not required, as the page does not require it (contrast (8), which says "extreme rays").
  • The constraint x∈R+n\mathbf x \in \mathbb R^n_+x∈R+n​ on the right side of (24) is kept although it is implied.
  • In the Remark, "vertices of conv(X)\mathrm{conv}(X)conv(X)" is read as extreme points of the convex hull; XXX is finite there, so the two notions agree.

A formalization with real multipliers would be the resolution theorem (8), already on the platform, and one with QQQ or RRR infinite would be trivial; both are excluded by the statement.

Useful infrastructure: lattice points of rational polyhedral cones (Hilbert bases, Gordan's lemma), the integer hull theorem, and the real resolution theorem. A proof of Gordan's lemma for rational cones in this vocabulary would be reusable well beyond this mission. Contributions toward any of these are welcome.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • G. L. Nemhauser and L. A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1988. https://doi.org/10.1002/9781118627372
  • R. R. Meyer, On the existence of optimal solutions to integer and mixed-integer programming problems, Mathematical Programming 7:223–235, 1974. https://doi.org/10.1007/BF01585518
  • F. Vanderbeck, On Dantzig–Wolfe decomposition in integer programming and ways to perform branching in a branch-and-price algorithm, Operations Research 48(1):111–128, 2000. https://doi.org/10.1287/opre.48.1.111.12453
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986.
5 thms5 active usersReviewed
🏆Completed
Number TheoryOperations ResearchOptimization·Captain: mikedeng1

An Application of Simultaneous Diophantine Approximation in Combinatorial Optimization: A Small Integral Objective with the Same Optimal Solutions and Dual BasesResearch Paper

Motivation

An algorithm for linear programming is strongly polynomial if the number of arithmetic operations it performs is bounded by a polynomial in the dimension of the problem alone (the number of variables and constraints), independently of the bit lengths of the numbers in the input. Many combinatorial optimization problems are linear programs over polyhedra of the form P={x∈Rn:Ax≤b}P = \{x \in \mathbb{R}^n : Ax \le b\}P={x∈Rn:Ax≤b} whose constraint matrix AAA has entries 0,+1,−10, +1, -10,+1,−1, but whose objective vector www is an arbitrary rational weight vector. Polynomial-time algorithms for such problems (for instance the ellipsoid-based algorithms of Grötschel, Lovász and Schrijver for maximum-weight cliques in perfect graphs, submodular flows, and matroid polyhedra) have running times that depend on the length of www.

Frank and Tardos (Combinatorica 1987) remove this dependence once and for all: they replace www by an integral objective w~\tilde ww~ whose entries have O(n3)O(n^3)O(n3) bits and which has exactly the same optimal solutions and the same optimal dual bases as www over every such polyhedron. Any algorithm that is polynomial in nnn and in the length of the objective then becomes strongly polynomial. The tool is simultaneous Diophantine approximation, used through the lattice-basis-reduction algorithm of Lenstra, Lenstra and Lovász (Math. Ann. 1982). The technique extends Tardos's strongly polynomial algorithm for linear programs with small constraint matrices (Oper. Res. 1986), which applies only to explicitly given programs.

Setting

For x∈Rnx \in \mathbb{R}^nx∈Rn write ∥x∥∞=max⁡j∣x(j)∣\|x\|_\infty = \max_j |x(j)|∥x∥∞​=maxj​∣x(j)∣ and ∥x∥1=∑j∣x(j)∣\|x\|_1 = \sum_j |x(j)|∥x∥1​=∑j​∣x(j)∣; sign⁡\operatorname{sign}sign takes the values −1,0,+1-1, 0, +1−1,0,+1.

Decomposition. Fix a positive integer NNN. A decomposition of w∈Rnw \in \mathbb{R}^nw∈Rn is an expression

w=∑i=1kλivi,λi>0, vi∈Zn.w = \sum_{i=1}^k \lambda_i v_i, \qquad \lambda_i > 0,\ v_i \in \mathbb{Z}^n.w=i=1∑k​λi​vi​,λi​>0, vi​∈Zn.

It satisfies condition (iii) if for i=2,…,ki = 2, \dots, ki=2,…,k the vector viv_ivi​ is nonzero and λi/λi−1≤1/(N∥vi∥∞)\lambda_i/\lambda_{i-1} \le 1/(N\|v_i\|_\infty)λi​/λi−1​≤1/(N∥vi​∥∞​): the coefficients decrease so quickly that each term is negligible against the previous one.

Preprocessing. Given a rational www and NNN, the paper's preprocessing algorithm finds a decomposition with k≤nk \le nk≤n, condition (iii), and the size bound (ii)' ∥vi∥∞≤2n2+nNn\|v_i\|_\infty \le 2^{n^2+n}N^n∥vi​∥∞​≤2n2+nNn, and outputs

w~=∑i=1kMk−ivi,M=2n2+nNn+1.\tilde w = \sum_{i=1}^k M^{k-i} v_i, \qquad M = 2^{n^2+n} N^{n+1}.w~=i=1∑k​Mk−ivi​,M=2n2+nNn+1.

Linear programs. Let AAA be an m×nm \times nm×n matrix with entries in {0,±1}\{0, \pm 1\}{0,±1} and b∈Rmb \in \mathbb{R}^mb∈Rm. The primal program is max⁡{wx:Ax≤b}\max\{wx : Ax \le b\}max{wx:Ax≤b} and the dual program is min⁡{yb:yA=w, y≥0}\min\{yb : yA = w,\ y \ge 0\}min{yb:yA=w, y≥0}. A point xˉ∈P\bar x \in Pxˉ∈P is www-maximal if wxˉ=max⁡(wx:x∈P)w\bar x = \max(wx : x \in P)wxˉ=max(wx:x∈P). A dual basis is a maximal set of row indices of AAA whose rows are linearly independent; it determines at most one yyy with yA=wyA = wyA=w supported on it (the basic dual solution), and it is an optimal dual basis if that yyy exists and is optimal for the dual program.

Formalization targets

Goal — Theorem 4.2 (p. 58)

For every w∈Qnw \in \mathbb{Q}^nw∈Qn, with N=(n+1)!+1N = (n+1)! + 1N=(n+1)!+1, there is w~∈Zn\tilde w \in \mathbb{Z}^nw~∈Zn with

∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3} N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2)

such that for every 0,±10, \pm10,±1 matrix AAA with nnn columns and every bbb: (i) x∈Px \in Px∈P is www-maximal if and only if it is w~\tilde ww~-maximal; (ii) a set of rows of AAA is an optimal dual basis for www if and only if it is one for w~\tilde ww~. The vector w~\tilde ww~ depends on www only, not on AAA or bbb.

Milestones

  1. Dirichlet's theorem (p. 52): for N≥1N \ge 1N≥1 and α∈Rn\alpha \in \mathbb{R}^nα∈Rn there are p∈Znp \in \mathbb{Z}^np∈Zn and 1≤q≤Nn1 \le q \le N^n1≤q≤Nn with ∣qα(i)−p(i)∣<1/N|q\alpha(i) - p(i)| < 1/N∣qα(i)−p(i)∣<1/N for all iii.
  2. Theorem 3.1 (p. 53): every w∈Rnw \in \mathbb{R}^nw∈Rn has a decomposition with k≤nk \le nk≤n, ∥vi∥∞≤Nn\|v_i\|_\infty \le N^n∥vi​∥∞​≤Nn and condition (iii).
  3. Lemma 3.2 (pp. 54–55): under condition (iii), for integral bbb with ∥b∥1≤N−1\|b\|_1 \le N - 1∥b∥1​≤N−1, sign⁡(b⋅w)=sign⁡(b⋅vj)\operatorname{sign}(b \cdot w) = \operatorname{sign}(b \cdot v_j)sign(b⋅w)=sign(b⋅vj​) for the smallest jjj with b⋅vj≠0b \cdot v_j \ne 0b⋅vj​=0, and b⋅w=0b \cdot w = 0b⋅w=0 if there is no such jjj.
  4. Theorem 3.3 (p. 56): the preprocessed w~\tilde ww~ satisfies ∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3}N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2) and sign⁡(w⋅b)=sign⁡(w~⋅b)\operatorname{sign}(w \cdot b) = \operatorname{sign}(\tilde w \cdot b)sign(w⋅b)=sign(w~⋅b) for all integral bbb with ∥b∥1≤N−1\|b\|_1 \le N-1∥b∥1​≤N−1.
  5. The case N=n+1N = n+1N=n+1 (p. 55): an integral w~\tilde ww~ with ∥w~∥∞≤24n3(n+1)n(n+2)\|\tilde w\|_\infty \le 2^{4n^3}(n+1)^{n(n+2)}∥w~∥∞​≤24n3(n+1)n(n+2) and w~(X)≤w~(Y)  ⟺  w(X)≤w(Y)\tilde w(X) \le \tilde w(Y) \iff w(X) \le w(Y)w~(X)≤w~(Y)⟺w(X)≤w(Y) for all subsets X,YX, YX,Y of coordinates.
  6. Lemma 4.1 (i) (p. 57): if sign⁡(w′⋅h)=sign⁡(w′′⋅h)\operatorname{sign}(w' \cdot h) = \operatorname{sign}(w'' \cdot h)sign(w′⋅h)=sign(w′′⋅h) for all integral hhh with ∥h∥1≤(n+1)!\|h\|_1 \le (n+1)!∥h∥1​≤(n+1)!, then w′w'w′ and w′′w''w′′ have the same maximizers over {Ax≤b}\{Ax \le b\}{Ax≤b} for every 0,±10, \pm10,±1 matrix AAA.
  7. Lemma 4.1 (ii) (p. 57): under the same hypothesis, a dual basis is optimal for w′w'w′ if and only if it is optimal for w′′w''w′′.

Significance

The result gives a general reduction: whenever a class of polyhedra with 0,±10, \pm10,±1 constraint matrices admits an optimization algorithm that is polynomial in nnn and in the length of the objective, it admits a strongly polynomial one. The paper applies this to maximum-weight cliques in perfect graphs, optimization over submodular flow polyhedra, and matroid polyhedra membership, and its Section 5 applies the same rounding to the integer programming algorithms of Lenstra and Kannan. The subset-sum corollary (milestone 5) is independently useful: every rational weight function on a finite set can be replaced by an integral one with O(n3)O(n^3)O(n3)-bit entries that orders all subset sums identically.

All statements of this mission have been proved on paper since 1987. None is formalized on Prove2Me, and Mathlib contains only the one-dimensional Dirichlet approximation theorem. The mission produces a machine-checked version of the exact statements, with the explicit constants of the paper; the complexity claims (operation counts, strong polynomiality) are not part of it.

Difficulty

The goal combines two independent parts. The number-theoretic part (milestones 1–5) needs a multidimensional Dirichlet theorem, an induction producing the decomposition, and exact inequality chains with the constants 2n2+nNn2^{n^2+n}N^n2n2+nNn and 24n3Nn(n+2)2^{4n^3}N^{n(n+2)}24n3Nn(n+2). The linear-programming part (milestones 6–7) needs bounds on the entries of inverses of nonsingular 0,±10, \pm10,±1 submatrices, the existence of optimal dual solutions supported on a dual basis, LP duality and complementary slackness. The obvious first idea, scaling www to an integer vector by a common denominator, preserves every sign but gives no bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ in terms of nnn; the bound is the content of the theorem. Likewise, rounding each coordinate of www separately to a fixed precision does not preserve the sign of w⋅bw \cdot bw⋅b when w⋅bw \cdot bw⋅b is tiny but nonzero.

Formalization scope

Vectors are functions on Fin n: the input www is rational (Fin n → ℚ) in the goal, in Theorem 3.3 and in the subset-sum corollary, as in the algorithm's input line; it is real in Theorem 3.1, Lemma 3.2 and Lemma 4.1, as on the page. Integral vectors are Fin n → ℤ, and AAA is a Matrix (Fin m) (Fin n) ℤ with every entry in {−1,0,1}\{-1, 0, 1\}{−1,0,1}, cast to R\mathbb{R}R; b∈Rmb \in \mathbb{R}^mb∈Rm is unrestricted. Decompositions are indexed by i∈{1,…,k}⊆Ni \in \{1, \dots, k\} \subseteq \mathbb{N}i∈{1,…,k}⊆N as in the paper. ∥b∥1\|b\|_1∥b∥1​ is always the explicit sum ∑j∣b(j)∣\sum_j |b(j)|∑j​∣b(j)∣, compared with N−1N - 1N−1 in Z\mathbb{Z}Z; ∥v∥∞\|v\|_\infty∥v∥∞​ of an integer vector is a natural number (supNorm). Sign equality uses SignType.sign and includes the zero case. Condition (iii) is stated multiplicatively together with vi≠0v_i \ne 0vi​=0, which the paper's quotient presupposes; without vi≠0v_i \ne 0vi​=0 Lemma 3.2 fails. An optimal dual basis is a maximal linearly independent set of row indices together with an optimal dual solution supported on it.

Two formalizations would make the goal trivial and are excluded: dropping the bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ (a multiple of www then works), and letting w~\tilde ww~ depend on AAA and bbb (the goal states ∃w~\exists \tilde w∃w~ before ∀A,b\forall A, b∀A,b). The 0,±10, \pm10,±1 assumption on AAA is part of every Section 4 statement.

A complete development needs a multidimensional pigeonhole argument, determinant and adjugate bounds for 0,±10, \pm 10,±1 matrices, and basic LP duality (strong duality, complementary slackness, basic optimal dual solutions); the last two are reusable across linear-programming missions. Proofs of individual milestones, reusable lemmas on LP duality, and alternative proofs of Dirichlet's theorem are all welcome.

Selected references

  • A. Frank and É. Tardos, An application of simultaneous diophantine approximation in combinatorial optimization, Combinatorica 7(1) (1987) 49–65. https://doi.org/10.1007/BF02579200
  • A. K. Lenstra, H. W. Lenstra Jr. and L. Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • É. Tardos, A strongly polynomial algorithm to solve combinatorial linear programs, Operations Research 34(2) (1986) 250–256. https://doi.org/10.1287/opre.34.2.250
  • M. Grötschel, L. Lovász and A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1 (1981) 169–197. https://doi.org/10.1007/BF02579273
  • J. W. S. Cassels, An Introduction to the Theory of Numbers (title as printed in the paper's reference [2]), Springer, Berlin, 1971; cited in the paper as [2, Sect. 1.10] for Dirichlet's theorem.
11 thms5 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems 3: Capacity Scaling for the Hitchcock ProblemResearch Paper

Motivation

The Hitchcock transportation problem asks how to ship a commodity from mmm supply points to nnn demand points at minimum total cost. It was posed by Hitchcock in 1941 and is one of the founding problems of linear programming and network optimization; it is solved routinely in logistics, and its structure (a bipartite network with supplies, demands and per-unit costs) recurs in assignment, optimal transport and matching.

The classical algorithms for it, the Ford–Fulkerson primal–dual method among them, augment flow one path at a time. With integral data their number of augmentations is bounded only by the total supply ∑iai\sum_i a_i∑i​ai​, which is exponential in the number of binary digits used to write the data. Edmonds and Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems (J. ACM 19(2), 1972, doi:10.1145/321694.321699), introduced capacity scaling: solve a coarse version of the problem first, then refine one binary digit at a time. Their Theorem 9 (p. 260) bounds the total number of augmentations by a quantity proportional to max⁡(m,n)\max(m,n)max(m,n) times the number of bits of the data, which made the transportation problem, and through standard reductions the minimum-cost flow problem, one of the first network problems with a polynomial-time ("good") algorithm in the sense of Edmonds.

Timeline. Hitchcock (1941) posed the problem; Ford and Fulkerson (1956–1962) gave the primal–dual labeling method and the optimality conditions by node potentials; Edmonds and Karp (1972) gave the scaling method and the bound formalized here. Strongly polynomial algorithms, independent of the size of the numbers, came later (Tardos 1985; Orlin 1988).

Setting

The network of Figure 1 (p. 259) has a source sss, a sink ttt, supply nodes s1,…,sms_1,\dots,s_ms1​,…,sm​ and demand nodes t1,…,tnt_1,\dots,t_nt1​,…,tn​, with m,n≥1m,n\ge 1m,n≥1. Its arcs are (s,si)(s,s_i)(s,si​) with capacity aia_iai​ and cost 000; (si,tj)(s_i,t_j)(si​,tj​) with capacity +∞+\infty+∞ and cost dij≥0d_{ij}\ge 0dij​≥0; (tj,t)(t_j,t)(tj​,t) with capacity bjb_jbj​ and cost 000; and the return arc (t,s)(t,s)(t,s) with capacity +∞+\infty+∞ and cost 000. The supplies aia_iai​ and demands bjb_jbj​ are positive integers with ∑iai=∑jbj=:B\sum_i a_i=\sum_j b_j=:B∑i​ai​=∑j​bj​=:B.

A flow assigns a nonnegative number to every arc, at most the capacity, with inflow equal to outflow at every node. Write f0i=f(s,si)f_{0i}=f(s,s_i)f0i​=f(s,si​), fij=f(si,tj)f_{ij}=f(s_i,t_j)fij​=f(si​,tj​), fj0=f(tj,t)f_{j0}=f(t_j,t)fj0​=f(tj​,t); the value of fff is f(t,s)f(t,s)f(t,s), and a maximum flow is one of largest value. Its cost is ∑i,jdijfij\sum_{i,j} d_{ij} f_{ij}∑i,j​dij​fij​; a flow is extreme if no flow of the same value is cheaper. A flow is pseudo-extreme if there are real ui,vju_i, v_jui​,vj​ with ui−vj+dij≥0u_i-v_j+d_{ij}\ge 0ui​−vj​+dij​≥0 for all i,ji,ji,j and fij=0f_{ij}=0fij​=0 whenever ui−vj+dij>0u_i-v_j+d_{ij}>0ui​−vj​+dij​>0.

An augmenting path relative to fff is a sequence of distinct nodes from sss to ttt in which each step either follows an arc with spare capacity or traverses backwards an arc carrying positive flow; augmenting pushes the minimum spare amount ε\varepsilonε along it and raises f(t,s)f(t,s)f(t,s) by ε\varepsilonε.

For p≥0p\ge 0p≥0, Problem ppp has the same network and costs, with capacities ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋ and ⌊bj/2p⌋\lfloor b_j/2^p\rfloor⌊bj​/2p⌋. Choose lll with every ai,bj<2la_i,b_j<2^lai​,bj​<2l. The scaling method solves Problems l−1,l−2,…,0l-1,l-2,\dots,0l−1,l−2,…,0 in turn. Each phase performs augmentations keeping every flow pseudo-extreme, until no augmenting path is left. Problem l−1l-1l−1 starts from the zero flow, and Problem p−1p-1p−1 starts from twice the final flow of Problem ppp.

Formalization targets

Goal: Theorem 9

For every run of the scaling method, the total number ∑p<lKp\sum_{p<l} K_p∑p<l​Kp​ of flow augmentations satisfies

∑p=0l−1Kp  ≤  max⁡(m,n)(2+⌊log⁡2∑i=1maimax⁡(m,n)⌋).\sum_{p=0}^{l-1} K_p \;\le\; \max(m,n)\left(2+\left\lfloor \log_2\frac{\sum_{i=1}^m a_i}{\max(m,n)}\right\rfloor\right).p=0∑l−1​Kp​≤max(m,n)(2+⌊log2​max(m,n)∑i=1m​ai​​⌋).

The bound holds for every lll admissible for the data and every choice of costs, and is stated with the paper's constant exactly.

Milestones

  1. §1.1: augmentation preserves feasibility and raises the value by ε>0\varepsilon>0ε>0; a flow is maximum iff no augmenting path exists.
  2. Theorem 8: a maximum flow is extreme iff there are potentials u0,…,umu_0,\dots,u_mu0​,…,um​, v0,…,vnv_0,\dots,v_nv0​,…,vn​ with (5a)–(5f).
  3. §2.2: a pseudo-extreme maximum flow is extreme.
  4. Lemma 3: if fff is pseudo-extreme in Problem ppp, then 2f2f2f is pseudo-extreme in Problem p−1p-1p−1.
  5. The maximum-flow value of Problem ppp is fp∗=min⁡(∑i⌊ai/2p⌋,∑j⌊bj/2p⌋)f_p^*=\min\big(\sum_i\lfloor a_i/2^p\rfloor,\sum_j\lfloor b_j/2^p\rfloor\big)fp∗​=min(∑i​⌊ai​/2p⌋,∑j​⌊bj​/2p⌋).
  6. Eq. (6): ∑pKp≤f0∗−∑p=1l−1fp∗\sum_p K_p\le f_0^*-\sum_{p=1}^{l-1} f_p^*∑p​Kp​≤f0∗​−∑p=1l−1​fp∗​.
  7. fp∗≥max⁡(0, B/2p−max⁡(m,n))f_p^*\ge\max\big(0,\,B/2^p-\max(m,n)\big)fp∗​≥max(0,B/2p−max(m,n)).

Significance

The result. Theorem 9 shows that scaling reduces the number of augmentations from order BBB to order max⁡(m,n)log⁡2(B/max⁡(m,n))\max(m,n)\log_2(B/\max(m,n))max(m,n)log2​(B/max(m,n)), which is roughly the length of the binary encoding of the data. Combined with the O(mn)O(mn)O(mn) cost of one augmentation it gives a polynomial-time algorithm for the transportation problem; through the reduction of minimum-cost flow to transportation (p. 261) it gives one for minimum-cost flow. Capacity and cost scaling became standard techniques in network optimization and in combinatorial optimization generally. Theorem 8 and the pseudo-extreme criterion are the optimality certificates for transportation, a special case of linear-programming complementary slackness.

Formalizing it. The theorem has been proved since 1972. This mission produces a machine-checked version of the bound, of the exact counting argument (eq. (6)) and of the arithmetic estimate that turns it into the stated constant, together with the potential-based optimality conditions for the transportation network. To our knowledge no machine-checked bound on the number of augmentations of a flow algorithm exists on the platform.

Difficulty

The obvious argument bounds the number of augmentations by the increase in flow value, since each augmentation raises the value by a positive integer. Applied to Problem 0 directly this gives only BBB. The scaling bound needs three things that the naive count does not supply. First, doubling the final flow of Problem ppp must give a feasible, still pseudo-extreme, starting flow for Problem p−1p-1p−1 (Lemma 3). Second, the gap between that start and the optimum of Problem p−1p-1p−1 must be small, which requires the exact maximum-flow value fp∗f_p^*fp∗​ of each scaled problem. Third, the telescoping sum of the gaps must be estimated against log⁡2(B/max⁡(m,n))\log_2(B/\max(m,n))log2​(B/max(m,n)) with the floors handled exactly. Integrality of every intermediate flow is not assumed; it has to be carried along the run from the integral capacities and the zero start.

Formalization scope

Everything lives in the namespace EdmondsKarp.Scaling. Nodes form an inductive type (s, t, src i, dst j). A flow is a structure with components f0, fx, fz, ret for the four arc families, real valued; the infinite capacities are encoded by the absence of an upper bound. IsMaxFlow is a predicate comparing values with every flow, not a supremum. Problem ppp uses natural-number division for ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋. Augmenting paths are lists of distinct nodes from s to t whose consecutive pairs have positive residual amount (resCap, valued in WithTop ℝ); they never use the return arc.

A run of the scaling method (IsScalingRun) is a family of phases F p 0,…,F p (K p)F\,p\,0,\dots,F\,p\,(K\,p)Fp0,…,Fp(Kp) for p<lp<lp<l. It starts from 000 in Problem l−1l-1l−1, restarts from 2F p (K p)2F\,p\,(K\,p)2Fp(Kp) in Problem p−1p-1p−1, and advances by one augmentation per step. Every flow is pseudo-extreme, and each phase ends with no augmenting path left. The paper's path-selection rule (minimum weight for the modified reduced costs Δˉ\bar\DeltaΔˉ) is abstracted to this invariant, which the paper states for it, so every run of the paper's method is covered.

The goal compares the count, cast to Z\mathbb{Z}Z, with max⁡(m,n) (2+⌊log⁡2(B/max⁡(m,n))⌋)\max(m,n)\,(2+\lfloor\log_2(B/\max(m,n))\rfloor)max(m,n)(2+⌊log2​(B/max(m,n))⌋), using Real.logb 2 and Int.floor. The constant is the printed one; neither O(⋅)O(\cdot)O(⋅) nor a weaker constant is acceptable. Positivity of all ai,bja_i,b_jai​,bj​ is a hypothesis, because without it the printed bound is false (for m=5m=5m=5, n=1n=1n=1, a=(1,0,0,0,0)a=(1,0,0,0,0)a=(1,0,0,0,0), b=(1)b=(1)b=(1) one augmentation is needed and the bound is negative). A formalization in which runs could be empty or never reach a maximum flow would trivialize the goal; the run predicate forbids this, and it is satisfiable (for instance with m=n=1m=n=1m=n=1, a=b=(1)a=b=(1)a=b=(1), l=1l=1l=1 and one augmentation).

A complete development needs max-flow/min-cut for the bipartite network, integrality of flows along a run, the exact value of fp∗f_p^*fp∗​, the telescoping identity and floor/logarithm estimates. LP duality or complementary slackness is needed only for Theorem 8. The augmenting-path and max-flow lemmas are reusable for other bipartite flow problems. Contributions welcome: proofs of any milestone, and a formalization of the paper's exact Δˉ\bar\DeltaΔˉ path rule showing that it satisfies the invariant.

Selected references

  • J. Edmonds, R. M. Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems, Journal of the ACM 19(2):248–264, 1972. https://doi.org/10.1145/321694.321699
  • F. L. Hitchcock, The Distribution of a Product from Several Sources to Numerous Localities, Journal of Mathematics and Physics 20:224–230, 1941. https://doi.org/10.1002/sapm1941201224
  • L. R. Ford, D. R. Fulkerson, Flows in Networks, Princeton University Press, 1962. https://doi.org/10.1515/9781400875184
  • É. Tardos, A strongly polynomial minimum cost circulation algorithm, Combinatorica 5:247–255, 1985. https://doi.org/10.1007/BF02579369
  • J. B. Orlin, A faster strongly polynomial minimum cost flow algorithm, Proc. STOC 1988, 377–387. https://doi.org/10.1145/62212.62249
12 thms5 active usersReviewed
Computational GeometryOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Linear Programming in Linear Time When the Dimension Is Fixed: Fixed-Dimension LP Feasibility Decided in Linear Time on the Real RAMResearch Paper

Motivation

A linear program asks for a point x∈Rdx\in\mathbb{R}^dx∈Rd minimizing cTxc^TxcTx subject to nnn linear inequalities ∑j=1daijxj≥bi\sum_{j=1}^d a_{ij}x_j\ge b_i∑j=1d​aij​xj​≥bi​. Many problems in computational geometry and statistics are linear programs with few variables and very many constraints: separating two point sets by a line or plane, fitting a line in the Chebyshev (L∞L_\inftyL∞​) norm, finding the smallest disk or ball containing a point set (a related convex problem). For these problems the number of variables ddd is a small constant, and what matters is how the running time grows with nnn.

Nimrod Megiddo showed that for every fixed ddd the problem can be solved in time C(d)⋅nC(d)\cdot nC(d)⋅n (J. ACM 31(1), 1984).

Timeline.

  • 1983. Megiddo (SIAM J. Comput. 12) and, independently, Dyer (SIAM J. Comput. 13 (1984)) give linear-time algorithms for d=2d=2d=2 and d=3d=3d=3.
  • 1984. Megiddo extends the method to every fixed ddd, with C(d)<22d+2C(d)<2^{2^{d+2}}C(d)<22d+2 (the paper formalized here).
  • 1988–1991. Clarkson (J. ACM 42 (1995), conference version 1988) gives a randomized algorithm with expected time O(d2n)+dO(d)log⁡nO(d^2n)+d^{O(\sqrt d)}\log nO(d2n)+dO(d​)logn. Seidel (Discrete Comput. Geom. 6 (1991)) gives a simple randomized O(d! n)O(d!\,n)O(d!n) algorithm.
  • 1992–1996. Matoušek, Sharir and Welzl and, independently, Kalai give subexponential randomized bounds. Chazelle and Matoušek derandomize the linear dependence with C(d)=dO(d)C(d)=d^{O(d)}C(d)=dO(d) (J. Algorithms 21 (1996)).

Setting

Fix ddd. An instance is a matrix A∈Rn×dA\in\mathbb{R}^{n\times d}A∈Rn×d and a vector b∈Rnb\in\mathbb{R}^nb∈Rn, and its feasible region is the polyhedron P(A,b)={x∈Rd:Ax≥b}P(A,b)=\{x\in\mathbb{R}^d: Ax\ge b\}P(A,b)={x∈Rd:Ax≥b}. Here nnn is the number of constraints and ddd the number of variables.

The model of computation is the real RAM. A program is a finite list of instructions acting on real registers, integer pointer registers and a memory Z→R\mathbb{Z}\to\mathbb{R}Z→R. It performs exact +,−,×,/+,-,\times,/+,−,×,/ on reals at unit cost, tests the sign of a real, sets, copies, increments, decrements and compares pointers, and loads and stores through pointers. The input is the standard encoding of (A,b)(A,b)(A,b) in memory: the numbers nnn and ddd, then AAA row by row, then bbb. A program decides an instance within TTT steps with output β∈{accept,reject}\beta\in\{\text{accept},\text{reject}\}β∈{accept,reject} if it halts on that output after at most TTT steps.

Megiddo's method rests on multidimensional search. There is an unknown point x∗∈Rdx^*\in\mathbb{R}^dx∗∈Rd and an oracle that, for any hyperplane {x:aTx=b}\{x: a^Tx=b\}{x:aTx=b}, answers whether aTx∗<ba^Tx^*<baTx∗<b, =b=b=b or >b>b>b. Given hyperplanes Hi={aiTx=bi}H_i=\{a_i^Tx=b_i\}Hi​={aiT​x=bi​} with ai≠0a_i\ne0ai​=0, the question is how many oracle calls determine the position of x∗x^*x∗ relative to all of them. A search strategy is a ternary decision tree: inner nodes are hyperplane queries, leaves carry outputs, and the tree is built from the data alone. For linear programming, x∗x^*x∗ is an optimal solution, or a minimizer of the infeasibility function f(x)=max⁡i(bi−aiTx)f(x)=\max_i(b_i-a_i^Tx)f(x)=maxi​(bi​−aiT​x) when the system is infeasible. The oracle is implemented by solving problems in d−1d-1d−1 variables.

Formalization targets

Goal: linear-time feasibility on the real RAM

∀d ∃R ∃C ∀n ∀A∈Rn×d, b∈Rn:R decides within C (n+1) steps whether {x:Ax≥b}≠∅.\forall d\ \exists R\ \exists C\ \forall n\ \forall A\in\mathbb{R}^{n\times d},\,b\in\mathbb{R}^n:\quad R\text{ decides within }C\,(n+1)\text{ steps whether } \{x: Ax\ge b\}\neq\emptyset.∀d ∃R ∃C ∀n ∀A∈Rn×d,b∈Rn:R decides within C(n+1) steps whether {x:Ax≥b}=∅.

The program and the constant depend on ddd only. No explicit form of C(d)C(d)C(d) is fixed.

Milestones

  1. One query settles half of nnn hyperplanes on the line (A(1)=1A(1)=1A(1)=1, B(1)=12B(1)=\tfrac12B(1)=21​).
  2. v(ϵ)=(1,ϵ,…,ϵd−1)v(\epsilon)=(1,\epsilon,\dots,\epsilon^{d-1})v(ϵ)=(1,ϵ,…,ϵd−1) is orthogonal to some aia_iai​ for at most n(d−1)n(d-1)n(d−1) values of ϵ\epsilonϵ, so there is a basis in which all aij≠0a_{ij}\ne0aij​=0.
  3. For hyperplanes of opposite slopes in the (x1,x2)(x_1,x_2)(x1​,x2​) plane, the answers for Hik(1)H^{(1)}_{ik}Hik(1)​ and Hik(2)H^{(2)}_{ik}Hik(2)​ settle one of HiH_iHi​, HkH_kHk​.
  4. A linearly dependent pair of opposite slopes has ai1=ak1=0a_{i1}=a_{k1}=0ai1​=ak1​=0, and the middle hyperplane settles one of them.
  5. Approach I: 2d−12^{d-1}2d−1 queries settle at least ⌊21−2dn⌋\lfloor 2^{1-2^d}n\rfloor⌊21−2dn⌋ hyperplanes.
  6. C(d)log⁡nC(d)\log nC(d)logn queries settle all nnn hyperplanes.
  7. If a hyperplane contains no optimal point, all optimal points lie on one side of it.
  8. The oracle, Case I: at an optimum relative to {xd=0}\{x_d=0\}{xd​=0}, two auxiliary systems decide the side or certify global optimality.
  9. The oracle, Case II: at a minimizer of fff on {xd=0}\{x_d=0\}{xd​=0}, systems (1) and (2) decide the side or certify infeasibility.

Significance

The result. For every fixed dimension, linear programming is solvable in time linear in the number of constraints. The algorithm is also strongly polynomial in fixed dimension: its operation count does not depend on the bit size of the data. Deciding whether the optimum is at most ttt is feasibility of Ax≥bAx\ge bAx≥b together with −cTx≥−t-c^Tx\ge-t−cTx≥−t, so the goal also covers the decision form of optimization. The prune-and-search technique of the paper, which discards a constant fraction of the constraints per round, became a standard tool of computational geometry.

Formalizing it. The result is proved and classical. The platform already has the cases d=1d=1d=1 (linear time) and d=2d=2d=2 (quadratic time, by Fourier–Motzkin elimination) on the same machine and input encoding (SmaleNinth.real_ram_decides_one_variable_lp_linear, SmaleNinth.real_ram_decides_two_variable_lp_quadratic). No machine-checked proof of the general statement is known. The work consists of the query-complexity layer (milestones 1–6), the convex-analytic correctness of the oracle (milestones 7–9), and a real-RAM implementation with a step count linear in nnn, including linear-time median selection. Alternative proofs, for example through Clarkson's or Seidel's algorithms made deterministic, are welcome for the goal.

Difficulty

The obvious approach is to find the optimum by testing constraints one by one or by eliminating variables. Fourier–Motzkin elimination produces Θ(n2)\Theta(n^2)Θ(n2) constraints after one step. Pivoting methods have no known bound linear in nnn. The key difficulty is to discard a constant fraction of the constraints using only a constant number of recursive calls in dimension d−1d-1d−1, when no single hyperplane test gives information about more than one constraint. The multidimensional search layer gives this, and it is where the pairing of hyperplanes by slope and the degenerate cases (dependent pairs, zero coefficients) have to be handled exactly. At the machine level, the step count must stay linear in nnn for a fixed program, so every median selection and every recursive call must be implemented within the budget, with the recursion depth depending on ddd only.

Formalization scope

  • Machine and input. The machine is the platform's real RAM SmaleNinth.RAMProgram with RAMDecidesInTime, and the input convention is SmaleNinth.encodeLP (published definitions, reused unchanged). No instruction is added: there is no LP, median, floor or sort primitive. Time is the number of machine steps.
  • Quantifier order. ∀d ∃R ∃C ∀n,A,b\forall d\ \exists R\ \exists C\ \forall n, A, b∀d ∃R ∃C ∀n,A,b. The bound is C(n+1)C(n+1)C(n+1) in the number nnn of constraints, so that the machine can halt at n=0n=0n=0. The paper's C(d)<22d+2C(d)<2^{2^{d+2}}C(d)<22d+2 counts unspecified units of "effort" with an unquantified θ(nd)\theta(nd)θ(nd) term, and it is not transferred to machine steps. Where a milestone's proof fixes a constant exactly, the constant is stated: 2d−12^{d-1}2d−1 queries and ⌊n/22d−1⌋\lfloor n/2^{2^d-1}\rfloor⌊n/22d−1⌋ settled hyperplanes in milestone 5.
  • Feasibility only. The machine outputs accept or reject. Returning an optimizer, "unbounded", or a minimizer of fff is not part of the goal. The case d=0d=0d=0 is included.
  • Query trees. Nodes are queries compare (a ⬝ᵥ x) b and nothing else, leaves hold fixed values, and correctness is required for every xxx. A tree over arbitrary tests of xxx would make milestones 5 and 6 empty, and it is excluded by the definition.
  • Indices. The paper's x1,x2x_1,x_2x1​,x2​ are indices 0, 1 of Fin (d + 2), and its xdx_dxd​ is Fin.last d of Fin (d + 1).
  • Corrections. Two passages of §4 are stated in corrected form. The Case I auxiliary objective includes the ±cd\pm c_d±cd​ term of the direction. In Case II, feasibility of (1) puts improvement in {xd>0}\{x_d>0\}{xd​>0}, where the page's last sentence says {xd<0}\{x_d<0\}{xd​<0}. The pairing claim carries ak1ai2−ak2ai1≠0a_{k1}a_{i2}-a_{k2}a_{i1}\ne0ak1​ai2​−ak2​ai1​=0, the hypothesis its argument uses, since linear independence alone does not give it.
  • Not included. Approach II and its bound O(n(log⁡n)d2)O(n(\log n)^{d^2})O(n(logn)d2), the remarks on slowly growing ddd, the randomized variants, and the applications of §1.
  • Reusable parts. The query-tree definition and milestones 1–6 apply to any prune-and-search problem with a hyperplane oracle. The oracle lemmas (7–9) are statements about convex piecewise-linear functions and polyhedra.

Selected references

  • N. Megiddo, Linear programming in linear time when the dimension is fixed, J. ACM 31(1):114–127, 1984. https://doi.org/10.1145/2422.322418
  • N. Megiddo, Linear-time algorithms for linear programming in R3R^3R3 and related problems, SIAM J. Comput. 12(4):759–776, 1983. https://doi.org/10.1137/0212052
  • M. E. Dyer, Linear time algorithms for two- and three-variable linear programs, SIAM J. Comput. 13(1):31–45, 1984. https://doi.org/10.1137/0213003
  • K. L. Clarkson, Las Vegas algorithms for linear and integer programming when the dimension is small, J. ACM 42(2):488–499, 1995. https://doi.org/10.1145/201019.201036
  • R. Seidel, Small-dimensional linear programming and convex hulls made easy, Discrete Comput. Geom. 6:423–434, 1991. https://doi.org/10.1007/BF02574699
  • B. Chazelle, J. Matoušek, On linear-time deterministic algorithms for optimization problems in fixed dimension, J. Algorithms 21(3):579–597, 1996. https://doi.org/10.1006/jagm.1996.0046
16 thms5 active usersReviewed
Combinatorics·Captain: Shuze Chen

The Polynomial Hirsch ConjectureOpen Problem

Motivation

The simplex method walks along edges of a polytope from vertex to vertex. Whether any pivot rule could ever make that walk short in the worst case is governed by a prior, purely geometric question: how far apart, in the edge graph, can two vertices of a polytope be? Warren Hirsch conjectured in 1957 that the diameter of a ddd-dimensional polytope with nnn facets is at most n−dn - dn−d. Half a century of upper bounds stalled at quasi-polynomial, and Santos disproved the conjecture itself in 2012 — but only by a constant factor. The surviving question, the subject of the Polymath 3 project, is the polynomial Hirsch conjecture: is the diameter bounded by a polynomial in nnn and ddd?

Timeline

  • 1957. Hirsch states the conjecture diam≤n−d\mathrm{diam} \le n - ddiam≤n−d in a letter to Dantzig, who publishes it in Linear Programming and Extensions (1963).
  • 1964–1966. Klee determines the exact maximum diameter of 333-polytopes with nnn facets, ⌊2n/3⌋−1\lfloor 2n/3\rfloor - 1⌊2n/3⌋−1 — the Hirsch bound holds up to dimension three.
  • 1967. Klee and Walkup (Acta Math.) refute the unbounded-polyhedron version, prove the bounded conjecture for n−d≤5n - d \le 5n−d≤5, and reduce the general case to the ddd-step conjecture (n=2dn = 2dn=2d).
  • 1970. Larman (Proc. LMS) proves diam≤n 2d−3\mathrm{diam} \le n\,2^{d-3}diam≤n2d−3 — linear in the number of facets for each fixed dimension, still the best bound of that shape.
  • 1989. Naddef (Math. Programming) proves 0/10/10/1-polytopes satisfy the Hirsch bound, with diameter at most ddd.
  • 1992. Kalai and Kleitman (Bull. AMS) prove diam≤nlog⁡2d+2\mathrm{diam} \le n^{\log_2 d + 2}diam≤nlog2​d+2 in under a page — the quasi-polynomial barrier every later bound refines. The same year brings subexponential pivot rules (Kalai; Matoušek–Sharir–Welzl), the algorithmic counterpart.
  • 2010. Eisenbrand, Hähnle, Razborov, and Rothvoß (Math. OR) show the known upper-bound arguments survive in a purely combinatorial abstraction — which admits almost-quadratic lower bounds, so a polynomial bound must use real geometry. Kalai launches Polymath 3 on the polynomial version.
  • 2010–2012. Santos (Annals of Math.) disproves the Hirsch conjecture: a 434343-dimensional polytope with 868686 facets and diameter at least 444444, via spindles of large width.
  • 2014–2019. Todd (SIAM J. Discrete Math.) sharpens Kalai–Kleitman to (n−d)log⁡2d(n-d)^{\log_2 d}(n−d)log2​d; Sukegawa refines further. Matschke, Santos, and Weibel (Proc. LMS 2015) shrink the counterexample to dimension 202020 with 404040 facets and diameter 212121. All known violations remain constant-factor; all known bounds remain quasi-polynomial.

Setting

Work in Rd\mathbb{R}^dRd. An H-polytope is a set cut out by finitely many linear inequalities: given vectors a1,…,an∈Rda_1, \dots, a_n \in \mathbb{R}^da1​,…,an​∈Rd and reals b1,…,bnb_1, \dots, b_nb1​,…,bn​, it is

P  =  { x∈Rd∣⟨ai,x⟩≤bi for i=1,…,n },P \;=\; \{\, x \in \mathbb{R}^d \mid \langle a_i, x\rangle \le b_i \text{ for } i = 1, \dots, n \,\},P={x∈Rd∣⟨ai​,x⟩≤bi​ for i=1,…,n},

where ⟨ai,x⟩=∑j=1daijxj\langle a_i, x\rangle = \sum_{j=1}^d a_{ij} x_j⟨ai​,x⟩=∑j=1d​aij​xj​ is the standard inner (dot) product — so each condition ⟨ai,x⟩≤bi\langle a_i, x\rangle \le b_i⟨ai​,x⟩≤bi​ is one linear inequality, with normal vector aia_iai​ and offset bib_ibi​. Throughout, PPP is assumed nonempty and bounded. The parameter nnn counts the inequalities in the given description; since every polytope with fff facets admits a description by exactly fff inequalities, bounds stated in terms of nnn over all descriptions are equivalent to bounds in terms of facet counts.

A vertex of PPP is an extreme point. Two vertices u≠vu \ne vu=v are adjacent when the segment [u,v][u, v][u,v] is an extreme subset of PPP; for a polytope the convex extreme subsets are exactly the faces, so this says precisely that [u,v][u,v][u,v] is a one-dimensional face — an edge. The combinatorial diameter of PPP is the diameter of the graph of vertices and edges. Throughout, "diameter at most BBB" is expressed as: every two vertices are joined by a walk of BBB steps, each step staying put or crossing an edge — a form that is monotone in BBB and asserts connectivity of the graph (Balinski's theorem) as part of the claim.

Formalization targets

Goal — the polynomial Hirsch conjecture

∃ c,k∈N: every nonempty bounded P={x∈Rd∣⟨ai,x⟩≤bi, i≤n} has diameter≤c (n+d)k.\exists\, c, k \in \mathbb{N}:\ \text{every nonempty bounded } P = \{x \in \mathbb{R}^d \mid \langle a_i, x \rangle \le b_i,\ i \le n\} \text{ has diameter} \le c\,(n + d)^k.∃c,k∈N: every nonempty bounded P={x∈Rd∣⟨ai​,x⟩≤bi​, i≤n} has diameter≤c(n+d)k.

Every polynomial in nnn and ddd is dominated by some c(n+d)kc(n+d)^kc(n+d)k and conversely, so this is exactly polynomiality, with no committed degree — the form that survives any future sharpening of constants or exponents.

Milestones — the known ladder

Six classical results over the same definitions: the Hirsch bound n−dn - dn−d in dimension d≤3d \le 3d≤3 (Klee; Klee–Walkup); Larman's bound n⋅2d−3n \cdot 2^{d-3}n⋅2d−3; Naddef's bound ddd for 0/10/10/1-polytopes; the Kalai–Kleitman bound nlog⁡2d+2n^{\log_2 d + 2}nlog2​d+2; Todd's bound (n−d)log⁡2d(n-d)^{\log_2 d}(n−d)log2​d for full-dimensional PPP with n≥d≥3n \ge d \ge 3n≥d≥3; and — in the other direction — the Santos counterexample: a nonempty bounded H-polytope whose diameter exceeds n−dn - dn−d.

Significance

A polynomial diameter bound is necessary for any pivot rule of the simplex method to run in polynomial time in the worst case: if vertices can be super-polynomially far apart, no edge-following algorithm can connect them quickly. A refutation would close off one of the main hoped-for routes to a strongly polynomial linear programming algorithm (Smale's ninth problem). The conjecture is also the test question of polyhedral graph theory: the Kalai–Kleitman argument uses so little about polytopes that it holds for far more general set systems, and Eisenbrand, Hähnle, Razborov, and Rothvoß (Math. OR 2010) showed such abstractions admit almost-quadratic lower bounds — so a proof of the conjecture must use geometry the abstract setting lacks, and a disproof must beat the abstraction barrier's constructions with actual polytopes.

None of these results has been formalized in any proof assistant; Mathlib has extreme points and faces of convex sets, but no polytope combinatorics — no vertex-edge graph, no diameter, no facet counting. This mission builds that layer: an H-polytope model, adjacency via faces, and walk-based diameter bounds, against which both the upper-bound ladder and the Santos disproof can be machine-checked. The Kalai–Kleitman proof is one page from first principles and is the natural summit; the Santos construction is a concrete finite object whose verification is a different, computational kind of challenge.

Difficulty

The naive approach — walk toward the target vertex by always improving some linear objective — is exactly the simplex method, and proving any polynomial bound on such walks is open for every known pivot rule; monotone variants of the diameter question have exponential lower bounds. The obvious inductive strategy (bound the diameter by recursing on facets) is precisely what Kalai–Kleitman optimizes, and it provably cannot go below quasi-polynomial without using metric or topological properties of actual polytopes, by the abstraction lower bound above. On the other side, making diameters large is blocked by the wedge/spindle calculus only producing constant-factor violations. The problem sits in a genuine gap: no technique on either side is known to reach polynomial.

Formalization scope

The Lean model commits to: ambient space EuclideanSpace ℝ (Fin d); the polytope as Hpoly a b = {x | ∀ i, ⟪a i, x⟫ ≤ b i} for a : Fin n → EuclideanSpace ℝ (Fin d), b : Fin n → ℝ, with nonemptiness and Bornology.IsBounded as explicit hypotheses (boundedness is essential: Klee–Walkup's unbounded counterexample would otherwise trivialize the Santos milestone); vertices as Set.extremePoints ℝ; adjacency as u ≠ v ∧ IsExtreme ℝ P (segment ℝ u v); and diameter bounds as the walk predicate DiamLE, whose stationary steps make it monotone in the bound. Real-exponent bounds enter through Real.logb and the natural floor. In larman_bound and the two Hirsch-form bounds the subtraction is natural-number (truncated) subtraction, which only weakens nothing: the stated forms are true as written for all n,dn, dn,d in scope. The dimension parameter ddd is the ambient dimension; lower-dimensional polytopes are included, and every milestone is stated so as to remain true for them, with todd_bound requiring full-dimensionality ((interior P).Nonempty) as in its source.

Welcome contributions: any milestone in any order (dimension_three_bound for d≤1d \le 1d≤1 cases and structural lemmas about Adj and DiamLE are natural entry points, and kalai_kleitman_bound is the summit); reusable infrastructure — polytopes have finitely many extreme points, faces of H-polytopes, Balinski connectivity — published as platform theorems; and, as a separate expedition, the explicit Santos or Matschke–Santos–Weibel polytope. Statements about unbounded polyhedra, the simplex method itself, and subexponential pivot rules are left to future missions.

Selected references

  • V. Klee, D. Walkup, The d-step conjecture for polyhedra of dimension d < 6, Acta Math. 117 (1967). doi:10.1007/BF02392971
  • D. Larman, Paths on polytopes, Proc. London Math. Soc. 20 (1970). doi:10.1112/plms/s3-20.2.249
  • D. Naddef, The Hirsch conjecture is true for (0,1)-polytopes, Math. Programming 45 (1989). doi:10.1007/BF01589418
  • G. Kalai, D. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra, Bull. AMS 26 (1992). arXiv:math/9204233
  • F. Santos, A counterexample to the Hirsch conjecture, Annals of Mathematics 176 (2012). arXiv:1006.2814
  • M. Todd, An improved Kalai–Kleitman bound for the diameter of a polyhedron, SIAM J. Discrete Math. 28 (2014). arXiv:1402.3579
  • B. Matschke, F. Santos, C. Weibel, The width of five-dimensional prismatoids, Proc. London Math. Soc. 110 (2015). arXiv:1202.4701
  • F. Eisenbrand, N. Hähnle, A. Razborov, T. Rothvoß, Diameter of polyhedra: limits of abstraction, Math. Oper. Res. 35 (2010). doi:10.1287/moor.1100.0470
  • F. Santos, Recent progress on the combinatorial diameter of polytopes and simplicial complexes, TOP 21 (2013) (survey). arXiv:1307.5900
81 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Introduction to Linear Optimization X: Max-Flow Min-CutTextbook

How much flow can be sent from a source sss to a sink ttt through a network with arc capacities uij∈(0,∞]u_{ij}\in(0,\infty]uij​∈(0,∞] — and what certifies that no more is possible? This mission formalizes §7.4-7.5 of Bertsimas & Tsitsiklis. The circulation calculus of §7.4 supplies the two structural tools: the flow decomposition theorem (Lemma 7.1 — every nonzero nonnegative circulation is a positive combination f=∑iaifi\mathbf{f}=\sum_i a_i\mathbf{f}^if=∑i​ai​fi of simple circulations with only forward arcs, with integer aia_iai​ when f\mathbf{f}f is integer) and the optimality criterion for the minimum cost network flow problem (Theorem 7.6 — a feasible flow is optimal if and only if there is no unsaturated cycle with negative cost). Section 7.5 then formulates the maximum flow problem (max⁡bs\max b_smaxbs​ s.t. Af=b\mathbf{A}\mathbf{f}=\mathbf{b}Af=b, bt=−bsb_t=-b_sbt​=−bs​, bi=0b_i=0bi​=0 for i≠s,ti\ne s,ti=s,t, 0≤f≤u0\le\mathbf{f}\le\mathbf{u}0≤f≤u), defines augmenting paths (Definition 7.2: fij<uijf_{ij}<u_{ij}fij​<uij​ on forward arcs, fij>0f_{ij}>0fij​>0 on backward arcs) and the Ford–Fulkerson algorithm, and proves integer invariance and finite termination for integer capacities (Theorem 7.8). The goal is Theorem 7.10:

(a) if the Ford–Fulkerson algorithm terminates because no augmenting path can be found, the current flow is optimal;

(b) the value of the maximum flow equals the minimum cut capacity

C(S)=∑{(i,j)∈A∣i∈S, j∉S}uijC(S)=\sum_{\{(i,j)\in\mathcal{A}\mid i\in S,\,j\notin S\}}u_{ij}C(S)={(i,j)∈A∣i∈S,j∈/S}∑​uij​

— the archetypal combinatorial min-max theorem, which the book notes can also be read as LP duality (pp. 311-312).

14 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Linear Programming: Foundations and Extensions I: Degeneracy and Termination of the Simplex Method under Bland's RuleTextbook

Motivation

The simplex method is the standard algorithm for linear programming, and its correctness rests on one question: does it stop? Each pivot of the method moves from one dictionary to another without decreasing the objective value, but a pivot can leave the objective unchanged. When that happens repeatedly, the method can return to a dictionary it has already visited and loop forever. This behaviour, cycling, is not hypothetical: Vanderbei's Chapter 3 exhibits a problem with four decision variables and three constraints on which the "largest coefficient" entering rule with a natural tie-breaking rule cycles through six dictionaries (Vanderbei 2014, pp. 26–27).

The chapter answers the question with two pivoting rules under which the simplex method provably terminates, and then draws the consequence that makes linear programming a finite theory: the fundamental theorem of linear programming. This mission formalizes the chapter's four numbered theorems in Vanderbei's own setting of standard-form problems with slack variables.

Timeline. Hoffman (1953) and Beale (1955) gave the first examples of cycling. The perturbation and lexicographic methods go back to Charnes (1952) and to Dantzig, Orden and Wolfe (1955). Bland (1977) introduced the smallest-index rule and proved that the simplex method terminates under it (Bland 1977).

Setting

A linear program in standard form has mmm constraints and nnn decision variables:

maximize ∑j=1ncjxjsubject to∑j=1naijxj≤bi (i=1,…,m),xj≥0 (j=1,…,n).\text{maximize } \sum_{j=1}^n c_j x_j \quad\text{subject to}\quad \sum_{j=1}^n a_{ij}x_j \le b_i\ (i=1,\dots,m),\qquad x_j \ge 0\ (j=1,\dots,n).maximize j=1∑n​cj​xj​subject toj=1∑n​aij​xj​≤bi​ (i=1,…,m),xj​≥0 (j=1,…,n).

A solution xxx is feasible if it satisfies every constraint, and optimal if in addition it maximizes the objective among feasible solutions. The problem is infeasible if no feasible solution exists, and unbounded if it has feasible solutions with arbitrarily large objective values.

The slack variables wi=bi−∑jaijxjw_i = b_i - \sum_j a_{ij}x_jwi​=bi​−∑j​aij​xj​ are appended to the list of variables as xn+i=wix_{n+i} = w_ixn+i​=wi​, so that the constraints become the linear system [A I] x=b[A\ I]\,x = b[A I]x=b with x≥0x \ge 0x≥0 in Rn+m\mathbb{R}^{n+m}Rn+m. A dictionary is given by a set B\mathcal BB of mmm basic indices whose columns of [A I][A\ I][A I] are linearly independent; the remaining indices N\mathcal NN are nonbasic. Solving for the basic variables gives

ζ=ζˉ+∑j∈Ncˉjxj,xi=bˉi−∑j∈Naˉijxj(i∈B).\zeta = \bar\zeta + \sum_{j\in\mathcal N}\bar c_j x_j,\qquad x_i = \bar b_i - \sum_{j\in\mathcal N}\bar a_{ij}x_j\quad (i\in\mathcal B).ζ=ζˉ​+j∈N∑​cˉj​xj​,xi​=bˉi​−j∈N∑​aˉij​xj​(i∈B).

The basic solution of the dictionary sets the nonbasic variables to zero. The dictionary is feasible if bˉi≥0\bar b_i \ge 0bˉi​≥0 for every i∈Bi\in\mathcal Bi∈B, and degenerate if bˉi=0\bar b_i = 0bˉi​=0 for some i∈Bi\in\mathcal Bi∈B.

The simplex method (Phase II) starts at a feasible dictionary and repeats a pivot: an entering variable xkx_kxk​ is chosen among the nonbasic variables with cˉk>0\bar c_k > 0cˉk​>0, and a leaving variable xlx_lxl​ among the basic variables with aˉlk>0\bar a_{lk} > 0aˉlk​>0 that minimize the ratio bˉl/aˉlk\bar b_l/\bar a_{lk}bˉl​/aˉlk​; then xkx_kxk​ becomes basic and xlx_lxl​ nonbasic. The method stops when no cˉj\bar c_jcˉj​ is positive (the dictionary is optimal) or when the entering column has no positive aˉik\bar a_{ik}aˉik​ (the problem is unbounded). A pivoting rule resolves the remaining choices. Bland's rule chooses both the entering and the leaving variable as the candidate with the smallest index. The lexicographic rule perturbs the right-hand sides by symbols 0<ϵm≪⋯≪ϵ1≪0<\epsilon_m\ll\dots\ll\epsilon_1\ll0<ϵm​≪⋯≪ϵ1​≪ all data and chooses the leaving variable by the perturbed ratio test.

Formalization targets

Goal: Theorem 3.3 (termination under Bland's rule, p. 31)

From every feasible dictionary D0D_0D0​, there is no infinite sequence of pivots

D0→D1→D2→⋯D_0\to D_1\to D_2\to\cdotsD0​→D1​→D2​→⋯

in which both the entering and the leaving variable follow Bland's rule; and a finite sequence of such pivots reaches a dictionary DTD_TDT​ at which the method stops, optimal or exhibiting unboundedness.

Milestones

  • Theorem 3.1 (p. 27): if the simplex method fails to terminate, it must cycle, i.e. an infinite run visits some dictionary twice.
  • Theorem 3.2 (p. 30): the simplex method always terminates when the leaving variable is selected by the lexicographic rule.
  • Theorem 3.4 (p. 33), the fundamental theorem: (1) with no optimal solution the problem is infeasible or unbounded; (2) if a feasible solution exists, a basic feasible solution exists; (3) if an optimal solution exists, a basic optimal solution exists.

Significance

The result. Termination under Bland's rule is what turns the simplex method from a heuristic into an algorithm. Combined with Phase I, it yields the fundamental theorem of linear programming, which reduces the search for an optimum to finitely many basic solutions and underlies the duality theory of the following chapters. Bland's rule also needs no perturbation or extra bookkeeping, and it is the anticycling rule used in many correctness proofs of simplex-type and combinatorial pivoting algorithms, including oriented-matroid programming.

Formalizing it. All four theorems are classical and proved. The Prove2Me library has the lexicographic rule and a nondegenerate termination theorem in the tableau setting of Bertsimas and Tsitsiklis (equality form Ax=bAx=bAx=b, x≥0x\ge 0x≥0, full row rank), and the existence of basic feasible and optimal solutions in that form. It has no statement of Bland's theorem, and none of Vanderbei's dictionary formulation over [A I][A\ I][A I]. This mission produces a machine-checkable model of dictionaries and pivoting rules in that formulation, and targets Bland's theorem, whose proof is a genuine combinatorial argument rather than a monotonicity argument.

Difficulty

The natural argument for termination is monotonicity: each pivot increases the objective, so no dictionary repeats. It fails exactly at degenerate pivots, where the step length bˉl/aˉlk\bar b_l/\bar a_{lk}bˉl​/aˉlk​ is zero and the objective and the basic solution do not change. Bland's rule gives no potential function that strictly increases along degenerate pivots, so the proof has to reason about a hypothetical cycle as a whole: which variables enter and leave the basis within it, and how two dictionaries of the cycle, in which the same variable leaves and later enters, constrain each other's coefficients. Relating the coefficients of two different dictionaries of the same problem is the step that has no counterpart in the model's definitions and has to be developed.

For Theorem 3.2, the symbols ϵi\epsilon_iϵi​ cannot be replaced by a fixed small real number: the method treats them as formal quantities on separate scales, and the statement is about that symbolic rule.

Formalization scope

Vectors are Fin n → ℝ, Fin m → ℝ, and the constraint matrix is Matrix (Fin m) (Fin n) ℝ. The n+mn+mn+m variables are indexed by Fin (n + m) with the decision variables first and the slacks after them, which is the order x1,…,xn,xn+1=w1,…,xn+m=wmx_1,\dots,x_n,x_{n+1}=w_1,\dots,x_{n+m}=w_mx1​,…,xn​,xn+1​=w1​,…,xn+m​=wm​ that Bland's rule compares. A dictionary is a structure holding its basic set, a proof that it has mmm elements and a proof that its columns of [A I][A\ I][A I] are linearly independent; the coefficients bˉ,aˉ,cˉ,ζˉ\bar b,\bar a,\bar c,\bar\zetabˉ,aˉ,cˉ,ζˉ​ are computed as coordinates in the basis of basic columns. A dictionary is therefore determined by its basic set, as the proof of Theorem 3.1 uses. "Basic solution" is defined through such a dictionary, not as a support condition.

Termination is stated as the nonexistence of an infinite run from a feasible dictionary, for Theorems 3.2 and 3.3. The goal adds that a finite Bland run reaches a stopping dictionary, so that it cannot hold because pivots fail to exist. The lexicographic rule is encoded by lexicographic comparison of the coefficient vectors (bˉi,ri1,…,rim)/aˉik(\bar b_i, r_{i1},\dots,r_{im})/\bar a_{ik}(bˉi​,ri1​,…,rim​)/aˉik​ of the perturbed ratios; the symbol ϵp\epsilon_pϵp​ is attached in the starting dictionary to its ppp-th basic variable in increasing index order, which for the initial dictionary is the ppp-th constraint. Unboundedness in Theorem 3.4 is "for every MMM a feasible solution with objective >M>M>M", as defined on p. 7. The statements carry no explicit constants.

A formalization that stated Theorem 3.3 for arbitrary pivot sequences with pairwise distinct bases would be Theorem 3.1's counting argument, not Bland's theorem; the goal is stated for pivots that follow Bland's rule and only those.

A complete development needs: the pivot update of a dictionary and the invariance of the solution set under it, feasibility preservation by the ratio test, the relation between the objective rows of two dictionaries, and finiteness of the set of bases. These are reusable for any later formalization of simplex-type algorithms. Proofs of the milestones, alternative proofs of Theorem 3.3, and Phase I (to connect Theorem 3.4 with the algorithm) are welcome.

Selected references

  • R. J. Vanderbei, Linear Programming: Foundations and Extensions, 4th ed., International Series in Operations Research & Management Science 196, Springer, 2014, Chapter 3. https://doi.org/10.1007/978-1-4614-7630-6
  • R. G. Bland, New finite pivoting rules for the simplex method, Mathematics of Operations Research 2(2):103–107, 1977. https://doi.org/10.1287/moor.2.2.103
  • G. B. Dantzig, A. Orden, P. Wolfe, The generalized simplex method for minimizing a linear form under linear inequality restraints, Pacific Journal of Mathematics 5(2):183–195, 1955. https://doi.org/10.2140/pjm.1955.5.183
  • E. M. L. Beale, Cycling in the dual simplex algorithm, Naval Research Logistics Quarterly 2(4):269–275, 1955. https://doi.org/10.1002/nav.3800020406
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §3.4 (lexicographic rule and Bland's rule in tableau form).
10 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryConvex OptimizationOperations Research·Captain: mikedeng1

Theory of Games and Economic Behavior III: Mixed Strategies, the Minimax Theorem and Good StrategiesTextbook

Motivation

A zero-sum two-person game in normalized form is a real matrix H(τ1,τ2)\mathcal H(\tau_1, \tau_2)H(τ1​,τ2​): player 1 chooses a row τ1\tau_1τ1​, player 2 simultaneously chooses a column τ2\tau_2τ2​, and player 2 pays player 1 the amount H(τ1,τ2)\mathcal H(\tau_1, \tau_2)H(τ1​,τ2​). Matrix games are the base case of non-cooperative game theory, the prototype of every minimax statement in optimization, statistics (Wald's decision theory) and online learning, and, through their equivalence with linear programming, a standard tool of operations research.

Chapter III of von Neumann and Morgenstern's Theory of Games and Economic Behavior (1944; third edition 1953) gives the book's complete solution of these games. Timeline:

  • 1928. J. von Neumann, "Zur Theorie der Gesellschaftsspiele", Math. Annalen 100, proves that every matrix game has a value in mixed strategies (the minimax theorem), by a topological argument. https://doi.org/10.1007/BF01448847
  • 1937. von Neumann's growth-model paper gives a second proof via a fixed-point argument, later generalized by Kakutani (1941).
  • 1938. J. Ville gives the first elementary proof, based on convexity.
  • 1944. The Theory of Games presents Ville's route: a theorem of the alternative for matrices (§16) yields the minimax theorem (17:6), from which §17 derives the structure of the sets of good strategies.
  • 1951. Gale, Kuhn and Tucker, and Dantzig, relate matrix games to linear-programming duality.

Setting

Player 1 has β1≥1\beta_1 \ge 1β1​≥1 pure strategies τ1\tau_1τ1​, player 2 has β2≥1\beta_2 \ge 1β2​≥1 pure strategies τ2\tau_2τ2​, and H\mathcal HH is an arbitrary real β1×β2\beta_1 \times \beta_2β1​×β2​ matrix (14.1.1). A mixed strategy of player 1 is a probability vector ξ\xiξ in the simplex

Sβ1={ξ∈Rβ1:ξτ1≥0, ∑τ1ξτ1=1},S_{\beta_1} = \Big\{ \xi \in \mathbb R^{\beta_1} : \xi_{\tau_1} \ge 0,\ \sum_{\tau_1} \xi_{\tau_1} = 1 \Big\},Sβ1​​={ξ∈Rβ1​:ξτ1​​≥0, τ1​∑​ξτ1​​=1},

and similarly η∈Sβ2\eta \in S_{\beta_2}η∈Sβ2​​ for player 2. The pure strategy τ\tauτ is the coordinate vector δτ\delta^{\tau}δτ. The expected payoff is the bilinear form (17:2)

K(ξ,η)=∑τ1=1β1∑τ2=1β2H(τ1,τ2) ξτ1ητ2.K(\xi, \eta) = \sum_{\tau_1=1}^{\beta_1} \sum_{\tau_2=1}^{\beta_2} \mathcal H(\tau_1, \tau_2)\, \xi_{\tau_1} \eta_{\tau_2}.K(ξ,η)=τ1​=1∑β1​​τ2​=1∑β2​​H(τ1​,τ2​)ξτ1​​ητ2​​.

The good strategies of player 1 form the set Aˉ\bar AAˉ of those ξ∈Sβ1\xi \in S_{\beta_1}ξ∈Sβ1​​ at which Min⁡ηK(ξ,η)\operatorname{Min}_\eta K(\xi, \eta)Minη​K(ξ,η) assumes its maximum; those of player 2 form the set Bˉ\bar BBˉ of those η∈Sβ2\eta \in S_{\beta_2}η∈Sβ2​​ at which Max⁡ξK(ξ,η)\operatorname{Max}_\xi K(\xi, \eta)Maxξ​K(ξ,η) assumes its minimum ((17:B:a), (17:B:b)). A saddle point of KKK is a pair with K(ξ′,η)≤K(ξ,η)≤K(ξ,η′)K(\xi', \eta) \le K(\xi, \eta) \le K(\xi, \eta')K(ξ′,η)≤K(ξ,η)≤K(ξ,η′) for all ξ′,η′\xi', \eta'ξ′,η′. With pure strategies alone one has v1=Max⁡τ1Min⁡τ2Hv_1 = \operatorname{Max}_{\tau_1}\operatorname{Min}_{\tau_2}\mathcal Hv1​=Maxτ1​​Minτ2​​H and v2=Min⁡τ2Max⁡τ1Hv_2 = \operatorname{Min}_{\tau_2}\operatorname{Max}_{\tau_1}\mathcal Hv2​=Minτ2​​Maxτ1​​H; the game is specially strictly determined when v1=v2v_1 = v_2v1​=v2​.

For a general real function ϕ(x,y)\phi(x, y)ϕ(x,y) (§13) the same notions are Max⁡xMin⁡yϕ\operatorname{Max}_x \operatorname{Min}_y \phiMaxx​Miny​ϕ, Min⁡yMax⁡xϕ\operatorname{Min}_y \operatorname{Max}_x \phiMiny​Maxx​ϕ, saddle points, and the sets AϕA^\phiAϕ (maximizers of Min⁡yϕ\operatorname{Min}_y \phiMiny​ϕ) and BϕB^\phiBϕ (minimizers of Max⁡xϕ\operatorname{Max}_x \phiMaxx​ϕ), always under the book's standing hypothesis that these maxima and minima exist.

Formalization targets

Goal: (17:D), good strategies characterized by their supports

For all ξ∈Sβ1\xi \in S_{\beta_1}ξ∈Sβ1​​ and η∈Sβ2\eta \in S_{\beta_2}η∈Sβ2​​: ξ∈Aˉ\xi \in \bar Aξ∈Aˉ and η∈Bˉ\eta \in \bar Bη∈Bˉ if and only if

ξτ1=0 whenever ∑τ2H(τ1,τ2)ητ2<max⁡τ1′∑τ2H(τ1′,τ2)ητ2,\xi_{\tau_1} = 0 \text{ whenever } \sum_{\tau_2} \mathcal H(\tau_1, \tau_2)\eta_{\tau_2} < \max_{\tau_1'} \sum_{\tau_2} \mathcal H(\tau_1', \tau_2)\eta_{\tau_2},ξτ1​​=0 whenever τ2​∑​H(τ1​,τ2​)ητ2​​<τ1′​max​τ2​∑​H(τ1′​,τ2​)ητ2​​, ητ2=0 whenever ∑τ1H(τ1,τ2)ξτ1>min⁡τ2′∑τ1H(τ1,τ2′)ξτ1.\eta_{\tau_2} = 0 \text{ whenever } \sum_{\tau_1} \mathcal H(\tau_1, \tau_2)\xi_{\tau_1} > \min_{\tau_2'} \sum_{\tau_1} \mathcal H(\tau_1, \tau_2')\xi_{\tau_1}.ητ2​​=0 whenever τ1​∑​H(τ1​,τ2​)ξτ1​​>τ2′​min​τ1​∑​H(τ1​,τ2′​)ξτ1​​.

The statement fixes no value and no constant; it says which pairs of mixed strategies are optimal.

Milestones, in attack order

  1. (13:A*) Max⁡xMin⁡yϕ≤Min⁡yMax⁡xϕ\operatorname{Max}_x \operatorname{Min}_y \phi \le \operatorname{Min}_y \operatorname{Max}_x \phiMaxx​Miny​ϕ≤Miny​Maxx​ϕ.
  2. (13:D*) If Max⁡Min⁡=Min⁡Max⁡\operatorname{Max}\operatorname{Min} = \operatorname{Min}\operatorname{Max}MaxMin=MinMax, the saddle points of ϕ\phiϕ are exactly Aϕ×BϕA^\phi \times B^\phiAϕ×Bϕ.
  3. (17:A) Min⁡ηK(ξ,η)=Min⁡τ2∑τ1H(τ1,τ2)ξτ1\operatorname{Min}_\eta K(\xi, \eta) = \operatorname{Min}_{\tau_2} \sum_{\tau_1} \mathcal H(\tau_1, \tau_2)\xi_{\tau_1}Minη​K(ξ,η)=Minτ2​​∑τ1​​H(τ1​,τ2​)ξτ1​​, and dually for Max⁡ξ\operatorname{Max}_\xiMaxξ​.
  4. (16:C) For every matrix a(i,j)a(i, j)a(i,j) exactly one of: some x∈Smx \in S_mx∈Sm​ with ∑ja(i,j)xj≤0\sum_j a(i,j)x_j \le 0∑j​a(i,j)xj​≤0 for all iii; some w∈Snw \in S_nw∈Sn​ with ∑ia(i,j)wi>0\sum_i a(i,j)w_i > 0∑i​a(i,j)wi​>0 for all jjj.
  5. (16:F) The weak form with ≥0\ge 0≥0 in place of >0> 0>0.
  6. (17:6) The minimax theorem: a saddle point of KKK exists (already on the platform as AGT.zero_sum_minimax, proved).
  7. (17:C:f) ξ∈Aˉ\xi \in \bar Aξ∈Aˉ and η∈Bˉ\eta \in \bar Bη∈Bˉ iff ξ,η\xi, \etaξ,η is a saddle point of KKK.

After the goal: (17:E) the game is specially strictly determined iff each player has a pure good strategy.

Significance

(17:D) is the complementary-slackness description of the optimal strategy pairs of a matrix game: a good strategy puts weight only on pure strategies that are best replies to the opponent's good strategy, and conversely any pair of mutually supported best replies is optimal. It is the basis of support-enumeration methods for matrix games, of the equalizing arguments used to solve small games by hand (the book's Chapter IV applies it to Matching Pennies, Stone–Paper–Scissors and Poker), and of the rectangular structure Aˉ×Bˉ\bar A \times \bar BAˉ×Bˉ of the set of optimal pairs. (17:E) connects the mixed-strategy solution to the pure-strategy theory of §14 and to the perfect-information games of §15.

The results are classical and proved in the book. The minimax theorem itself is already machine-checked on the platform (AGT.zero_sum_minimax), and Mathlib contains Sion's minimax theorem and the basic saddle-point lemmas for extended-real functions on sets. This mission adds the book's own chain: the §13 saddle-point calculus under its standing attainment hypothesis, the theorems of the alternative (16:C) and (16:F) in the simplex-normalized form the book uses, the reduction (17:A) to pure strategies, and the characterizations (17:C:f), (17:D), (17:E) of good strategies, which are not on the platform in any form.

Difficulty

The "if" direction of (17:D) cannot be proved from the support conditions alone by local reasoning: that a pair of mutual best replies consists of good strategies uses that the value Max⁡ξMin⁡ηK\operatorname{Max}_\xi \operatorname{Min}_\eta KMaxξ​Minη​K equals Min⁡ηMax⁡ξK\operatorname{Min}_\eta \operatorname{Max}_\xi KMinη​Maxξ​K, i.e. the minimax theorem. Without that equality the "if" direction of (13:D*) fails (points of Aϕ×BϕA^\phi \times B^\phiAϕ×Bϕ exist but are not saddle points), so the calculus of §13 alone does not suffice. Likewise (16:C) is not a direct instance of the Farkas lemma forms on the platform: its alternatives are normalized to the simplex and the second one is strict, and both the existence and the mutual exclusion must be shown.

Formalization scope

Lean conventions, fixed throughout:

  • Pure strategies are Fin β₁, Fin β₂ (numbered from 000), the matrix is H : Fin β₁ → Fin β₂ → ℝ, and SβS_\betaSβ​ is Mathlib's stdSimplex ℝ (Fin β).
  • Nonempty strategy sets (β≥1\beta \ge 1β≥1, from "τ = 1, …, β" in 14.1.1): every theorem assumes 0 < β₁, 0 < β₂, or mixed strategies ξ∈Sβ1\xi \in S_{\beta_1}ξ∈Sβ1​​, η∈Sβ2\eta \in S_{\beta_2}η∈Sβ2​​, which force it. The theorems of the alternative assume n,m≥1n, m \ge 1n,m≥1 (a matrix with rows and columns).
  • Standing hypothesis of 13.2.1 ("we are restricting our considerations to such functions, for which Max and Min exist"): the §13 results (13:A*), (13:D*) are stated for an arbitrary ϕ:X×Y→R\phi : X \times Y \to \mathbb Rϕ:X×Y→R under the predicate MaxMinAttained φ, which says that Min⁡yϕ(x,y)\operatorname{Min}_y \phi(x, y)Miny​ϕ(x,y), Max⁡xϕ(x,y)\operatorname{Max}_x \phi(x, y)Maxx​ϕ(x,y), Max⁡xMin⁡yϕ\operatorname{Max}_x \operatorname{Min}_y \phiMaxx​Miny​ϕ and Min⁡yMax⁡xϕ\operatorname{Min}_y \operatorname{Max}_x \phiMiny​Maxx​ϕ are attained. (13:D*) also carries the hypothesis of 13.5.2 that saddle points exist, stated as Max⁡xMin⁡yϕ=Min⁡yMax⁡xϕ\operatorname{Max}_x \operatorname{Min}_y \phi = \operatorname{Min}_y \operatorname{Max}_x \phiMaxx​Miny​ϕ=Miny​Maxx​ϕ.
  • Max⁡\operatorname{Max}Max and Min⁡\operatorname{Min}Min are the real ⨆, ⨅; they are the book's attained values under the hypotheses above (compactness of the simplex and continuity of KKK for the mixed game). (17:A) asserts attainment explicitly (IsLeast, IsGreatest). "Does not assume its maximum at τ1\tau_1τ1​" in the goal is written without any Max operator.
  • Aˉ\bar AAˉ, Bˉ\bar BBˉ are defined as maximizers and minimizers directly from KKK, not through an assumed value v′v'v′.

A trivializing formalization is ruled out: Aˉ\bar AAˉ and Bˉ\bar BBˉ are not taken as hypotheses or defined through the support conditions, strategy sets cannot be empty, and no Max over an empty or unbounded set occurs.

Contributions welcome: proofs of the milestones, especially (16:C) (from Mathlib's convex separation or from a platform Farkas lemma) and the bridge from AGT.zero_sum_minimax to (17:C:f). The §13 lemmas and the (17:A) reduction are reusable by any mission about matrix games or bilinear saddle points.

Selected references

  • J. von Neumann and O. Morgenstern, Theory of Games and Economic Behavior, 60th-anniversary edition, Princeton University Press, 2007 (reprint of the 3rd edition, 1953), §§13, 16, 17. https://doi.org/10.1515/9781400829460
  • J. von Neumann, "Zur Theorie der Gesellschaftsspiele", Mathematische Annalen 100 (1928), 295–320. https://doi.org/10.1007/BF01448847
  • J. Ville, "Sur la théorie générale des jeux où intervient l'habileté des joueurs", in É. Borel, Traité du calcul des probabilités et de ses applications, IV.2, Gauthier-Villars, 1938, 105–113.
  • S. Kakutani, "A generalization of Brouwer's fixed point theorem", Duke Mathematical Journal 8 (1941), 457–459. https://doi.org/10.1215/S0012-7094-41-00838-4
  • D. Gale, H. W. Kuhn and A. W. Tucker, "Linear programming and the theory of games", in Activity Analysis of Production and Allocation, Wiley, 1951, 317–329.
11 thms4 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization I: Edmundson–Madansky Bounds for Independent Random Data and Simple RecourseTextbook

Motivation

In a two-stage stochastic linear program a decision xxx is taken before random data ξ\xiξ are observed, and a corrective recourse decision yyy is taken afterwards at a cost. The objective contains the expectation of an optimal value of a linear program, ∫Q(x,ξ(ω)) P(dω)\int Q(x,\xi(\omega))\,P(d\omega)∫Q(x,ξ(ω))P(dω), and for continuous or high-dimensional ξ\xiξ that integral cannot be evaluated exactly. Practical methods therefore replace ξ\xiξ by a discrete random vector and control the error by computable lower and upper bounds on the expected recourse cost. Chapter 2 of Ermoliev and Wets (eds.), Numerical Techniques for Stochastic Optimization (Springer 1988), by P. Kall, A. Ruszczyński and K. Frauendorfer, surveys these bounds as they were used in the codes of the time: Jensen's inequality from below, the Edmundson–Madansky inequality from above, and the special structure of simple recourse, where the expected cost is available in closed form.

Timeline. Jensen's inequality (1906) gives the lower bound for a convex integrand. A. Madansky, "Bounds on the expectation of a convex function of a multivariate random variable", Ann. Math. Statist. 30 (1959), and H. P. Edmundson (RAND report, 1956) gave the upper bound by the two-point law on the endpoints of an interval, and its product version for independent components. Kall and Stoyan (1982), Huang, Ziemba and Ben-Tal (1977), Frauendorfer and Kall (1988) developed partition refinement of both bounds, the scheme this chapter describes; Frauendorfer (1988) extended the upper bound to dependent data on boxes.

Setting

The two-stage problem (2.11) is: minimize ψ(x)=cTx+∫ΩQ(x,ξ(ω)) P(dω)\psi(x)=c^Tx+\int_\Omega Q(x,\xi(\omega))\,P(d\omega)ψ(x)=cTx+∫Ω​Q(x,ξ(ω))P(dω) subject to Ax=bAx=bAx=b, x≥0x\ge 0x≥0. The recourse cost Q(x,ξ)Q(x,\xi)Q(x,ξ) is the optimal value of the second-stage problem (2.12),

Q(x,ξ)=min⁡{qTy:Wy=h−Tx, y≥0},ξ=(q,h,T),Q(x,\xi)=\min\{q^Ty : Wy=h-Tx,\ y\ge 0\},\qquad \xi=(q,h,T),Q(x,ξ)=min{qTy:Wy=h−Tx, y≥0},ξ=(q,h,T),

with a deterministic m2×n2m_2\times n_2m2​×n2​ matrix WWW (fixed recourse), and Q=+∞Q=+\inftyQ=+∞ when (2.12) is infeasible. Throughout the chapter the book assumes complete recourse, {Wy:y≥0}=Rm2\{Wy:y\ge0\}=\mathbb R^{m_2}{Wy:y≥0}=Rm2​, and dual feasibility: for every realization of qqq some uuu satisfies WTu≤qW^Tu\le qWTu≤q. Under these assumptions QQQ is finite. The expected recourse function is Q(x)=∫Q(x,ξ(ω)) P(dω)\mathcal Q(x)=\int Q(x,\xi(\omega))\,P(d\omega)Q(x)=∫Q(x,ξ(ω))P(dω).

The Edmundson–Madansky law of an interval [a,b][a,b][a,b], a<ba<ba<b, with mean ξ0\xi^0ξ0 puts mass p1=(b−ξ0)/(b−a)p_1=(b-\xi^0)/(b-a)p1​=(b−ξ0)/(b−a) at aaa and p2=(ξ0−a)/(b−a)p_2=(\xi^0-a)/(b-a)p2​=(ξ0−a)/(b−a) at bbb (2.32). For a box Ξ=×j=1m[aj,bj]\Xi=\times_{j=1}^m[a_j,b_j]Ξ=×j=1m​[aj​,bj​] and means ξj0\xi^0_jξj0​, the vector ξ^\hat\xiξ^​ with independent components of these two-point laws sits at the vertex vvv with probability ∏jpj(vj)\prod_j p_j(v_j)∏j​pj​(vj​).

Simple recourse is the case W=[I,−I]W=[I,-I]W=[I,−I], q=[q+,q−]q=[q^+,q^-]q=[q+,q−] with qj++qj−≥0q^+_j+q^-_j\ge0qj+​+qj−​≥0, deterministic TTT and random hhh only. With χ=Tx\chi=Txχ=Tx the recourse cost splits into one-row costs Qj(χj,hj)=qj+(hj−χj)Q_j(\chi_j,h_j)=q^+_j(h_j-\chi_j)Qj​(χj​,hj​)=qj+​(hj​−χj​) if hj≥χjh_j\ge\chi_jhj​≥χj​, and qj−(χj−hj)q^-_j(\chi_j-h_j)qj−​(χj​−hj​) otherwise.

Formalization targets

Goal: the Edmundson–Madansky bound for independent components (p. 46)

If ξ\xiξ has independent components ξj∈[aj,bj]\xi_j\in[a_j,b_j]ξj​∈[aj​,bj​] with means ξj0\xi^0_jξj0​, and φ\varphiφ is convex on Ξ=×j[aj,bj]\Xi=\times_j[a_j,b_j]Ξ=×j​[aj​,bj​], then

Eφ(ξ)≤∑v∈vert Ξ(∏j=1mpj(vj))φ(v).E\varphi(\xi)\le\sum_{v\in\mathrm{vert}\,\Xi}\Big(\prod_{j=1}^m p_j(v_j)\Big)\varphi(v).Eφ(ξ)≤v∈vertΞ∑​(j=1∏m​pj​(vj​))φ(v).

The book applies it to φ=Q(x,⋅)\varphi=Q(x,\cdot)φ=Q(x,⋅); the goal is stated for every convex φ\varphiφ, with the explicit weights of (2.32).

Milestones

  1. Properties (b), (d), (e) of p. 40: Q(x,⋅)Q(x,\cdot)Q(x,⋅) is piecewise linear and convex in (h,T)(h,T)(h,T); Q(⋅,ξ)Q(\cdot,\xi)Q(⋅,ξ) is convex piecewise linear in xxx; the expected recourse function is finite and convex under finite second moments.
  2. The Jensen lower bound (2.26)–(2.27) on a partition (a published, proved theorem, reused).
  3. The dual-multiplier lower bound (2.30)–(2.31).
  4. The one-dimensional Edmundson–Madansky inequality (2.32)–(2.34).
  5. For simple recourse: separability (2.46)–(2.49), the closed form (2.51) of EQjEQ_jEQj​, and the bounds (2.55)–(2.56) from the one-block problem.

Significance

The upper bound is the half of the bounding scheme that is not automatic. Jensen's inequality needs only a mean; an upper bound on the expectation of a convex function needs a bounded support and, in the product form, independence. Together they give a certified interval for the optimal value of a two-stage problem, and repeated partitioning of the support shrinks that interval; this is the basis of the sequential approximation methods of §2.2.4 and of later codes. The dual-multiplier bound and the simple-recourse formulas are the pieces that make those intervals cheap to compute.

The results are classical and proved in the literature cited on the page. The one-dimensional Edmundson–Madansky inequality and the general extreme-point form of the upper bound (a measure on the extreme points reproducing the barycentre) are already formalized on Prove2Me in the Introduction to Stochastic Programming series, as is the partition Jensen bound. The product form for independent components is not: deriving it from the extreme-point form requires constructing the product kernel, which is the content of this mission. The recourse properties (b), (d), (e) for a general distribution with finite second moments, the dual-multiplier bound and the simple-recourse formulas are not formalized anywhere known to this mission.

Difficulty

The obvious argument inducts on the dimension, applying the one-dimensional inequality in one coordinate while the others are held fixed. That step needs the conditional law of the remaining coordinates given the first to be their unconditional law, i.e. independence expressed as a product decomposition of the joint law, and it needs φ\varphiφ with one coordinate replaced by an endpoint to remain convex on the lower-dimensional box and integrable. For dependent components the inequality is false with these weights: on [0,1]2[0,1]^2[0,1]2 with means (12,12)(\tfrac12,\tfrac12)(21​,21​) and φ(x,y)=(x−y)2\varphi(x,y)=(x-y)^2φ(x,y)=(x−y)2, the product law gives 12\tfrac1221​ while mass 12\tfrac1221​ at (1,0)(1,0)(1,0) and at (0,1)(0,1)(0,1) gives 111. The book's remark that the product law is extremal among all laws on Ξ\XiΞ with the given mean fails for this reason when m≥2m\ge2m≥2, and is not part of this mission.

For the recourse properties the difficulty is bookkeeping: QQQ is an extended-real optimal value, and finiteness, measurability in ω\omegaω and integrability must be derived from complete recourse, dual feasibility and the moment hypothesis rather than assumed.

Formalization scope

Vectors are functions from finite index types to R\mathbb RR (ι → ℝ), matrices are Mathlib Matrix, and random data live on a probability space (Ω, P). The recourse cost is an EReal infimum over the feasible set, so infeasibility gives +∞+\infty+∞ and unboundedness −∞-\infty−∞ exactly as on p. 39; theorems that integrate it carry complete recourse and dual feasibility, which make it finite. The expected recourse function integrates the real part of the recourse cost. Independence of the components is ProbabilityTheory.iIndepFun; the box is Set.pi univ (fun j => Icc (a j) (b j)), with aj<bja_j<b_jaj​<bj​, and values in the box are required almost surely. The upper bound is the explicit sum over Boolean vertex labels of products of the weights (2.32); no abstract extremal measure is used.

Conventions fixed where the page is silent or ambiguous:

  • Properties (b), (d), (e) are stated on all of Rn1\mathbb R^{n_1}Rn1​: under the standing complete-recourse assumption K2=Rn1K_2=\mathbb R^{n_1}K2​=Rn1​. "Convex piecewise linear" is rendered as a maximum of finitely many affine functions.
  • The book's hypothesis of finite second moments in (e) is kept as stated, componentwise.
  • The book writes QQQ for both Q(x,ξ)Q(x,\xi)Q(x,ξ) and Q(x)\mathcal Q(x)Q(x), and reuses Q~\tilde QQ~​, ψ~\tilde\psiψ~​ for different functions in (2.27) and (2.30)–(2.31); the Lean names are recourseCost, expectedRecourse and dualLowerBound.
  • In (2.51) a conditional mean on a null event is 000 in Lean; it always appears multiplied by that event's probability, so the formula is unchanged.
  • In (2.56) the minimum is a real infimum over the nonempty first-stage feasible set; attainment is not claimed.
  • No constant of the chapter is hidden behind O(⋅)O(\cdot)O(⋅); all bounds are explicit.

A goal stated for affine φ\varphiφ (where it is an equality), or with ξ^\hat\xiξ^​ allowed to be any discrete law with the right mean, would be trivial or a different theorem; the weights are the products of (2.32), and independence of the components is a hypothesis.

A complete development needs: finite-dimensional LP duality with extended-real values (reusable across all recourse missions), measurability and integrability of optimal-value functions, the conditional-independence step for product measures, and the one-dimensional chord inequality. The partitioned upper bound (2.37) and the discrete reformulation (2.21), (2.28) are natural follow-up statements on the same definitions.

Selected references

  • P. Kall, A. Ruszczyński, K. Frauendorfer, "Approximation Techniques in Stochastic Programming", in Yu. Ermoliev and R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 2, pp. 33–64. https://doi.org/10.1007/978-3-642-61370-8
  • A. Madansky, "Bounds on the expectation of a convex function of a multivariate random variable", Annals of Mathematical Statistics 30 (1959), 743–746. https://doi.org/10.1214/aoms/1177706203
  • P. Kall, Stochastic Linear Programming, Springer 1976. https://doi.org/10.1007/978-3-642-66252-2
  • R. J-B Wets, "Stochastic programs with fixed recourse: the equivalent deterministic program", SIAM Review 16 (1974), 309–339. https://doi.org/10.1137/1016053
  • K. Frauendorfer, "Solving SLP recourse problems with arbitrary multivariate distributions — the dependent case", Mathematics of Operations Research 13 (1988), 377–394. https://doi.org/10.1287/moor.13.3.377
  • J. R. Birge, F. Louveaux, Introduction to Stochastic Programming, Springer 1997, Ch. 8. https://doi.org/10.1007/b97617
13 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Selected Topics in Column Generation III: Ryan–Foster Branching — a Fractional Basic Set-Partitioning Solution Covers Some Row Pair FractionallyResearch Paper

Motivation

Column generation solves linear programs with far too many variables to list: one works with a small subset J′⊆JJ' \subseteq JJ′⊆J of the columns, the restricted master problem (RMP), and adds columns of negative reduced cost as a pricing problem finds them (Lübbecke and Desrosiers 2005, §2.1). Many integer programs from vehicle routing, crew scheduling and crew pairing are reformulated so that the master problem is a set-partitioning problem: every row (a customer, a flight leg, a task) must be covered by exactly one selected column (a route, a pairing, a schedule). The linear relaxation of such a master is solved by column generation, and an integer solution is then sought by branch-and-price, branch-and-bound with column generation at every node.

Branching in branch-and-price is not free. Fixing a master variable λj\lambda_jλj​ to 000 does not stop the pricing problem from regenerating the same column, and handling that complicates the pricing problem. The rule that avoids this for set partitioning goes back to Ryan and Foster (1981): branch on a pair of rows, requiring them to be covered either by the same column or by two different columns. Both requirements are constraints the pricing problem can respect directly. Lübbecke and Desrosiers call it "the most common scheme in conjunction with column generation" (§7.3, p. 1020) and state the proposition that makes it well defined as their Proposition 3.

Timeline:

  • 1981: Ryan and Foster introduce the pair-of-rows branching rule for set partitioning in crew scheduling.
  • 1998: the branch-and-price survey of Barnhart et al. (1998) presents the rule as the branching scheme for set-partitioning masters.
  • 2005: Lübbecke and Desrosiers state it as Proposition 3 of their survey, attributing it to Ryan and Foster without proof.

Setting

Rows are indexed by {1,…,m}\{1, \dots, m\}{1,…,m} and columns by a finite set J′J'J′. A matrix A=(arj)∈{0,1}m×∣J′∣A = (a_{rj}) \in \{0,1\}^{m \times |J'|}A=(arj​)∈{0,1}m×∣J′∣ has every entry equal to 000 or 111; column jjj covers row rrr when arj=1a_{rj} = 1arj​=1. The set-partitioning system of the RMP's linear relaxation is

Aλ=1,λ≥0,λ∈RJ′.A\lambda = \mathbf 1, \qquad \lambda \ge \mathbf 0, \qquad \lambda \in \mathbb R^{J'} .Aλ=1,λ≥0,λ∈RJ′.

A vector λ\lambdaλ is a basic feasible solution of this system when it satisfies all its constraints and, among the constraints active at λ\lambdaλ (the mmm equality rows, and the constraints λj≥0\lambda_j \ge 0λj​≥0 with λj=0\lambda_j = 0λj​=0), there are ∣J′∣|J'|∣J′∣ linearly independent ones. Equivalently, λ\lambdaλ is feasible and the columns of AAA in the support of λ\lambdaλ are linearly independent. A solution is fractional when it is not a 0/10/10/1 vector, λ∉{0,1}∣J′∣\lambda \notin \{0,1\}^{|J'|}λ∈/{0,1}∣J′∣.

For two rows r,sr, sr,s the Ryan–Foster quantity is ∑j∈J′arjasjλj\sum_{j \in J'} a_{rj} a_{sj} \lambda_j∑j∈J′​arj​asj​λj​, written pairCover A lam r s in Lean: the total weight on the columns that cover both rows. For r=sr = sr=s it is the row sum, equal to 111 on every feasible λ\lambdaλ.

Formalization targets

Goal: Proposition 3 (p. 1020)

For every 0/10/10/1 matrix AAA and every fractional basic feasible solution λ\lambdaλ of Aλ=1A\lambda = \mathbf 1Aλ=1, λ≥0\lambda \ge \mathbf 0λ≥0,

∃ r,s∈{1,…,m}:0<∑j∈J′arj asj λj<1.\exists\, r, s \in \{1, \dots, m\}: \qquad 0 < \sum_{j \in J'} a_{rj}\, a_{sj}\, \lambda_j < 1 .∃r,s∈{1,…,m}:0<j∈J′∑​arj​asj​λj​<1.

The two rows are automatically distinct. The statement concerns every fractional basic solution, not only an optimal one, and no cost vector enters it.

Milestone: the branches keep every integer solution (§7.3, p. 1020)

For every 0/10/10/1 solution λ∈{0,1}∣J′∣\lambda \in \{0,1\}^{|J'|}λ∈{0,1}∣J′∣ of Aλ=1A\lambda = \mathbf 1Aλ=1 and every pair of rows r,sr, sr,s,

∑j∈J′arj asj λj∈{0,1}.\sum_{j \in J'} a_{rj}\, a_{sj}\, \lambda_j \in \{0, 1\} .j∈J′∑​arj​asj​λj​∈{0,1}.

This is the paper's requirement that "integer solutions remain intact" (p. 1019), specialised to the two branches "=1= 1=1" and "=0= 0=0" of the paragraph after Proposition 3.

Significance

Proposition 3 is what makes Ryan–Foster branching a valid branching scheme in the sense of §7.3: the current fractional solution violates both branches for the chosen pair, so it is excluded from both children, while by the milestone every integer solution survives in one of them. The same pair-of-rows idea underlies branching in bin packing, graph colouring, vehicle routing and crew scheduling codes, where it is used because both branches translate into constraints on the pricing problem rather than on individual master variables.

The paper states the result and refers its proof to Ryan and Foster (1981); no machine-checked version of the proposition is known. This mission produces a formal statement tied to a standard, representation-aware definition of basic solutions (Bertsimas–Tsitsiklis Definition 2.9, already on the platform) and, once proved, a verified lemma that any formal development of branch-and-price for set partitioning can cite.

Difficulty

An argument that uses only feasibility and a fractional coordinate cannot work. Without basicness the claim is false: with one row and two identical columns, A=[1 1]A = [1\ 1]A=[1 1], the vector λ=(12,12)\lambda = (\tfrac12, \tfrac12)λ=(21​,21​) is feasible and fractional, yet the only pair of rows is r=sr = sr=s, whose quantity is 111. The difficulty is to turn basicness, a linear-algebra condition, into a combinatorial statement about which rows the fractional columns cover. A set-partitioning matrix need not have full row rank, so the familiar description of basic solutions through an invertible basis matrix is not available in general.

Formalization scope

  • Rows are Fin m and columns Fin n, so J′J'J′ is identified with {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1}. AAA is a real matrix Matrix (Fin m) (Fin n) ℝ with the hypothesis IsZeroOneMatrix A (every entry 000 or 111); λ\lambdaλ is lam : Fin n → ℝ, since λ is a Lean keyword. Columns are 0/10/10/1 vectors; the equivalent reading as subsets of the rows is only prose.
  • "Basic solution" is not defined in the paper. It is read as Bertsimas–Tsitsiklis Definition 2.9 for the standard-form constraint family: LinearOptimization.IsBasicFeasibleSolution (LinearOptimization.stdFormSystem A (fun _ => 1)) lam, from the platform definitions BasicSolution and ActiveConstraints. This definition needs no full-row-rank assumption, which a set-partitioning matrix need not satisfy, and it is not replaced by an ad hoc support condition.
  • Typo correction. The paper writes "i.e., λ∉{0,1}m\lambda \notin \{0,1\}^mλ∈/{0,1}m". Since λ\lambdaλ has one coordinate per column, the statement reads it as λ∉{0,1}∣J′∣\lambda \notin \{0,1\}^{|J'|}λ∈/{0,1}∣J′∣: ¬ IsZeroOneVector lam.
  • The rows r,sr, sr,s range over all of {1,…,m}\{1, \dots, m\}{1,…,m}, including r=sr = sr=s, as on the page; no distinctness is assumed or required.
  • "Fractional basic solution" is any such solution, not the RMP optimum; no costs or optimality hypothesis enter.
  • The milestone reads the paragraph after Proposition 3, together with the validity requirement "integer solutions remain intact" (p. 1019), as the dichotomy for all 0/10/10/1 solutions of Aλ=1A\lambda = \mathbf 1Aλ=1. The sentence about transferring the branching information to the pricing problem is not formalized.
  • Edge cases: for m=0m = 0m=0 basicness forces λ=0\lambda = 0λ=0, and for n=0n = 0n=0 the vector is empty; in both cases no fractional basic solution exists and the goal is vacuous, as on the page.
  • A trivializing formalization is ruled out: dropping basicness makes the goal false (the [1 1][1\ 1][1 1] example above), dropping the 0/10/10/1 hypothesis on AAA changes the meaning of the quantity, and replacing "fractional basic" by an unsatisfiable hypothesis would make it empty; the hypotheses are satisfied, for instance, by three rows, the columns {1,2},{2,3},{1,3}\{1,2\}, \{2,3\}, \{1,3\}{1,2},{2,3},{1,3} and λ=(12,12,12)\lambda = (\tfrac12, \tfrac12, \tfrac12)λ=(21​,21​,21​).

A complete development needs linear-algebra facts about basic solutions of standard-form systems without a rank assumption (support columns linearly independent), which are reusable beyond this mission. Contributions welcome: that characterization as a lemma, and proofs of the milestone and of the goal.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • D. M. Ryan and B. A. Foster, An integer programming approach to scheduling, in A. Wren (ed.), Computer Scheduling of Public Transport, North-Holland, 1981, pp. 269–280.
  • C. Barnhart, E. L. Johnson, G. L. Nemhauser, M. W. P. Savelsbergh and P. H. Vance, Branch-and-Price: Column Generation for Solving Huge Integer Programs, Operations Research 46(3):316–329, 1998. https://doi.org/10.1287/opre.46.3.316
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Definition 2.9.
5 thms4 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: mikedeng1

Elementare Theorie der konvexen Polyeder II: Finitely Many Linear Inequalities Define a Convex Polytope Iff Their Normals Positively Span and the Region Has an Interior PointResearch Paper

Motivation

A convex polytope has two standard descriptions: as the convex hull of finitely many points, and as the intersection of finitely many half-spaces. Linear programming uses both at once. The feasible region of a linear program is given by inequalities, while the simplex method and the theory of basic solutions work with its vertices. That the two descriptions define the same class of sets is the Minkowski–Weyl theorem.

Hermann Weyl's 1935 paper Elementare Theorie der konvexen Polyeder (Comment. Math. Helv., 1935, pp. 290–306) gave an elementary, self-contained proof of this equivalence. An English translation appeared in Contributions to the Theory of Games I (Annals of Mathematics Studies 24, 1950), where it served as the polyhedral foundation for the minimax theorem and linear inequality theory in early game theory and linear programming.

Timeline:

  • Minkowski (1896, 1910): convex bodies, supporting planes and polyhedra in Geometrie der Zahlen, the setting Weyl's paper takes up.
  • Farkas (1902): the lemma on homogeneous linear inequalities that is Weyl's Satz 3.
  • Weyl (1935): the finite-basis theorem for cones (Hauptsatz, Satz 1), the duality between a cone and its extreme supports (§3), and the two descriptions of a convex polyhedron (§4). The paper states explicit conditions under which a finite system of inequalities defines a polytope.
  • Motzkin (1936), Gale, Kuhn, Tucker (1951): systematic treatments of linear inequalities built on this foundation.

Setting

Write (ax)=a1x1+⋯+anxn(a x) = a_1 x_1 + \dots + a_n x_n(ax)=a1​x1​+⋯+an​xn​ for vectors of Rn\mathbb{R}^nRn. A point system is a finite set S⊆RnS \subseteq \mathbb{R}^nS⊆Rn. It is non-degenerate if no α≠0\alpha \neq 0α=0 has (αs)=0(\alpha s) = 0(αs)=0 for all s∈Ss \in Ss∈S. A vector α≠0\alpha \neq 0α=0 is a support of SSS if (αs)≥0(\alpha s) \ge 0(αs)≥0 for all s∈Ss \in Ss∈S. A support is an extreme support if equality holds at n−1n-1n−1 linearly independent points of SSS. A point xxx is representable by SSS if x=∑s∈Scssx = \sum_{s \in S} c_s sx=∑s∈S​cs​s with all cs≥0c_s \ge 0cs​≥0.

Read as inequalities (aξ)≥0(a \xi) \ge 0(aξ)≥0, a∈Sa \in Sa∈S, the same SSS defines the cone (S)(S)(S) of solutions. An extreme solution is a nonzero ξ∈(S)\xi \in (S)ξ∈(S) at which n−1n-1n−1 linearly independent inequalities of SSS are tight. The dual system Σ\SigmaΣ consists of the inequalities (αx)≥0(\alpha x) \ge 0(αx)≥0, one for each extreme solution α\alphaα, and (Σ)(\Sigma)(Σ) is the cone it defines.

For polytopes, Weyl passes to the hyperplane xn=−1x_n = -1xn​=−1, identified with Rm\mathbb{R}^mRm, m=n−1m = n-1m=n−1. A convex polyhedron is conv⁡S\operatorname{conv} SconvS for a finite S⊆RmS \subseteq \mathbb{R}^mS⊆Rm whose affine span is all of Rm\mathbb{R}^mRm. Given a finite index set JJJ, normals Aj∈RmA_j \in \mathbb{R}^mAj​∈Rm and constants bj∈Rb_j \in \mathbb{R}bj​∈R, the inequalities Aj⋅x−bj≥0A_j \cdot x - b_j \ge 0Aj​⋅x−bj​≥0 cut out a region

H={x∈Rm:Aj⋅x−bj≥0 for all j∈J}.H = \{x \in \mathbb{R}^m : A_j \cdot x - b_j \ge 0 \ \text{for all } j \in J\}.H={x∈Rm:Aj​⋅x−bj​≥0 for all j∈J}.

In Weyl's notation, row jjj is (αx)≡α1x1+⋯+αn−1xn−1−αn≥0(\alpha x) \equiv \alpha_1 x_1 + \dots + \alpha_{n-1}x_{n-1} - \alpha_n \ge 0(αx)≡α1​x1​+⋯+αn−1​xn−1​−αn​≥0, with Aj=(α1,…,αn−1)A_j = (\alpha_1,\dots,\alpha_{n-1})Aj​=(α1​,…,αn−1​) and bj=αnb_j = \alpha_nbj​=αn​.

Formalization targets

Goal: §4 II (pp. 302–303)

Assume no row is identically zero (Aj≠0A_j \ne 0Aj​=0 or bj≠0b_j \ne 0bj​=0). Then

H is a convex polyhedron  ⟺  (∀π′∈Rm ∃ν≥0: π′=∑jνjAj) ∧ (∃c: Aj⋅c−bj>0 ∀j).H \text{ is a convex polyhedron} \iff \Big(\forall \pi' \in \mathbb{R}^m\ \exists \nu \ge 0:\ \pi' = \sum_j \nu_j A_j\Big) \ \wedge\ \Big(\exists c:\ A_j \cdot c - b_j > 0 \ \forall j\Big).H is a convex polyhedron⟺(∀π′∈Rm ∃ν≥0: π′=j∑​νj​Aj​) ∧ (∃c: Aj​⋅c−bj​>0 ∀j).

In words, the normals must positively span Rm\mathbb{R}^mRm and HHH must contain an inner point. The goal is the equivalence, not either half alone.

Milestones, in the order the proof of §4 II uses them

  1. Satz 1 (Hauptsatz), p. 291: for a non-degenerate SSS, every xxx with (αx)≥0(\alpha x) \ge 0(αx)≥0 for all extreme supports α\alphaα is representable by SSS.
  2. Zusatz, pp. 294–295: a non-degenerate SSS has no extreme support iff 0=∑scss0 = \sum_s c_s s0=∑s​cs​s with all cs>0c_s > 0cs​>0.
  3. Satz 3, p. 296 (Farkas): if (pξ)≥0(p\xi) \ge 0(pξ)≥0 on all of (S)(S)(S), then ppp is a nonnegative combination of SSS. This milestone is the published platform theorem LinearOptimization.farkas_cone_corollary.
  4. Satz 6, p. 297: for non-degenerate SSS, p∈(Σ)p \in (\Sigma)p∈(Σ) iff (pξ)≥0(p\xi) \ge 0(pξ)≥0 for all ξ∈(S)\xi \in (S)ξ∈(S).
  5. §3 II, p. 298: for non-degenerate SSS, every π∈(S)\pi \in (S)π∈(S) is a nonnegative combination of finitely many extreme solutions.
  6. Satz 9, p. 299: if SSS is non-degenerate and (S)(S)(S) has an inner point, then Σ\SigmaΣ is non-degenerate.
  7. §4 I, p. 301: a convex polyhedron conv⁡S\operatorname{conv} SconvS has an extreme support and equals the set cut out by its extreme supports.

Significance

The result. §4 II gives both directions of the Minkowski–Weyl theorem for full-dimensional polytopes, together with a test on the data (A,b)(A, b)(A,b): positive spanning of the normals is equivalent to boundedness, and a strictly feasible point is equivalent to full dimension. Several parts of LP theory start from this equivalence: finiteness of the vertex set of a bounded feasible region, the existence of an optimal vertex, and the passage between the primal (inequality) and dual (generator) descriptions used in polyhedral combinatorics.

Formalizing it. The theorem has been proved since 1935; the work here is formalization. Mathlib has convex hulls, extreme points, and pointed cones with their duals, but no Minkowski–Weyl theorem for polytopes or for cones. On this platform, Farkas-type lemmas (LinearOptimization.farkas_cone_corollary) and the statement that a nonempty bounded polyhedron is the hull of its extreme points (Bertsimas–Tsitsiklis Thm 2.9) are published. Neither gives the "only if" direction, the positive-spanning criterion, or full-dimensionality.

Difficulty

The "only if" direction and the reduction from a strictly feasible bounded region to cones are routine. The hard step is the finiteness statement: why a finite set of inequalities has only finitely many generators, and why these generate the whole region. Mathlib's compactness results give "a compact convex set is the closed hull of its extreme points" (Krein–Milman). That result does not show that the extreme points are finite in number, nor that there are finitely many of them in a form that can be computed from the inequalities. Weyl's route avoids topology. It goes through the Hauptsatz, proved by induction on dimension, and the duality between SSS and Σ\SigmaΣ. Each step of that duality needs non-degeneracy, and keeping that hypothesis alive through the dualization (Satz 9) is where care is needed.

Formalization scope

  • The homogeneous space is Fin n → ℝ, with dot product ⬝ᵥ. Point systems are Finsets; the zero vector is allowed in them. "Representable" is an explicit nonnegative sum over the Finset.
  • Non-degeneracy is the literal condition "(αs)=0(\alpha s)=0(αs)=0 for all s∈Ss \in Ss∈S implies α=0\alpha = 0α=0", not span = ⊤.
  • Extreme supports and extreme solutions quantify over all vectors with the property. Positive multiples are not identified, and no representatives are chosen.
  • Extreme solutions are required to be nonzero and to lie in (S)(S)(S). This is implicit in the paper.
  • §4 is stated in affine form on Fin m → ℝ, a point xxx standing for Weyl's (x,−1)(x,-1)(x,−1). Linear independence of n−1n-1n−1 homogenized points becomes affine independence of mmm points, and non-degeneracy becomes affineSpan ℝ S = ⊤.
  • A "convex polyhedron" is the hull of a finite set with full affine span. Dropping full-dimensionality would make the "only if" false, since a segment in R2\mathbb{R}^2R2 has no inner point.
  • Added hypotheses: no zero row in the goal (Weyl's half-spaces have nonzero normal (α1,…,αn)(\alpha_1,\dots,\alpha_n)(α1​,…,αn​), p. 291). Non-degeneracy of SSS in Satz 6 and in the p. 298 representation, where it is inherited from Satz 4.
  • Condition (i) of the goal is positive spanning, i.e. nonnegative coefficients. Linear spanning of Rm\mathbb{R}^mRm would be strictly weaker and would make the statement false.
  • A trivializing formalization is ruled out: the goal is an equivalence, "convex polyhedron" is an existential over finite point sets with full affine span, and no hypothesis restricts JJJ, mmm or the data beyond the nonzero rows. For m=0m = 0m=0 the statement is true and non-vacuous.
  • Useful infrastructure, reusable beyond this mission: a Minkowski–Weyl theorem for polyhedral cones in Fin n → ℝ, extreme rays of pointed polyhedral cones, and the homogenization dictionary between cones in Rm+1\mathbb{R}^{m+1}Rm+1 and polytopes in Rm\mathbb{R}^mRm. Proofs of any milestone, and alternative routes to the goal (e.g. via Fourier–Motzkin elimination), are welcome.

Selected references

  • H. Weyl, Elementare Theorie der konvexen Polyeder, Commentarii Mathematici Helvetici (1935), 290–306. https://doi.org/10.1007/bf01292722
  • H. Weyl, The elementary theory of convex polyhedra, in: H. W. Kuhn, A. W. Tucker (eds.), Contributions to the Theory of Games I, Annals of Mathematics Studies 24, Princeton University Press, 1950.
  • J. Farkas, Theorie der einfachen Ungleichungen, Journal für die reine und angewandte Mathematik 124 (1902), 1–27. https://doi.org/10.1515/crll.1902.124.1
  • H. Minkowski, Geometrie der Zahlen, Teubner, Leipzig, 1896/1910.
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986, §7.2 (Minkowski–Weyl).
13 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Robust solutions of Linear Programming problems contaminated with uncertain data: A Violation-Probability Bound for the Robust CounterpartResearch Paper

Motivation

Linear programs solved in practice carry data that are measured, estimated or rounded. Ben-Tal and Nemirovski (Math. Program. 88, 2000) examined the NETLIB collection of real-world LPs and found that in 13 of them a relative perturbation of only 0.01% in the "ugly" coefficients of the inequality constraints can make the nominal optimal solution more than 50% infeasible (§2.3). Their remedy is the robust counterpart methodology: replace the nominal problem by a deterministic problem whose feasible solutions remain nearly feasible for every, or for all but a small probability of, data realizations.

The paper made the approach concrete for entry-wise uncertainty and gave the probabilistic guarantee that became a standard tool of robust and chance-constrained optimization. The main steps of the history are:

  • 1973, A. L. Soyster: the interval (worst-case, "box") counterpart, here called (IRC).
  • 1998–1999, Ben-Tal and Nemirovski (Math. Oper. Res. 23; Oper. Res. Lett. 25), and independently El Ghaoui and co-authors: robust optimization with ellipsoidal uncertainty sets.
  • 2000, this paper: the ellipsoid-plus-box counterpart (RC[ε, δ, Ω]) and Proposition 1, which bounds each constraint's violation probability by exp⁡{−Ω2/2}\exp\{-\Omega^2/2\}exp{−Ω2/2} under independent symmetric perturbations.
  • 2004, Bertsimas and Sim (Oper. Res. 52): the budgeted counterpart, with an analogous probability bound.

Setting

An uncertain linear program is

minimize cTxs.t.Ex=e,Ax≤b,ℓ≤x≤u,(LP)\text{minimize } c^Tx\quad\text{s.t.}\quad Ex=e,\qquad Ax\le b,\qquad \ell\le x\le u,\tag{LP}minimize cTxs.t.Ex=e,Ax≤b,ℓ≤x≤u,(LP)

with x∈Rnx\in\mathbb{R}^nx∈Rn, E∈Rp×nE\in\mathbb{R}^{p\times n}E∈Rp×n, A=(aij)∈Rm×nA=(a_{ij})\in\mathbb{R}^{m\times n}A=(aij​)∈Rm×n, and bounds ℓj∈R∪{−∞}\ell_j\in\mathbb{R}\cup\{-\infty\}ℓj​∈R∪{−∞}, uj∈R∪{+∞}u_j\in\mathbb{R}\cup\{+\infty\}uj​∈R∪{+∞}. For each inequality row iii a set Ji⊆{1,…,n}J_i\subseteq\{1,\dots,n\}Ji​⊆{1,…,n} lists the uncertain entries aija_{ij}aij​, j∈Jij\in J_ij∈Ji​. Only these entries are uncertain; E,e,b,ℓ,u,cE,e,b,\ell,u,cE,e,b,ℓ,u,c are exact.

Given an uncertainty level ϵ>0\epsilon>0ϵ>0 and a feasibility tolerance δ>0\delta>0δ>0, write bi+=bi+δmax⁡[1,∣bi∣]b_i^+=b_i+\delta\max[1,|b_i|]bi+​=bi​+δmax[1,∣bi​∣].

  • xxx is reliable if it is feasible for (LP) and ∑j∉Jiaijxj+∑j∈Jia~ijxj≤bi+\sum_{j\notin J_i}a_{ij}x_j+\sum_{j\in J_i}\tilde a_{ij}x_j\le b_i^+∑j∈/Ji​​aij​xj​+∑j∈Ji​​a~ij​xj​≤bi+​ for every iii and every choice of a~ij\tilde a_{ij}a~ij​ with ∣a~ij−aij∣≤ϵ∣aij∣|\tilde a_{ij}-a_{ij}|\le\epsilon|a_{ij}|∣a~ij​−aij​∣≤ϵ∣aij​∣.
  • In the random symmetric uncertainty model, the true coefficients are a~ij=(1+ϵξij)aij\tilde a_{ij}=(1+\epsilon\xi_{ij})a_{ij}a~ij​=(1+ϵξij​)aij​, where ξij=0\xi_{ij}=0ξij​=0 for j∉Jij\notin J_ij∈/Ji​ and, for each row iii, {ξij}j∈Ji\{\xi_{ij}\}_{j\in J_i}{ξij​}j∈Ji​​ are independent random variables, each symmetrically distributed in [−1,1][-1,1][−1,1].
  • xxx is almost reliable with level κ\kappaκ if it is feasible for (LP) and Pr⁡{∑ja~ijxj>bi+}≤κ\Pr\{\sum_j\tilde a_{ij}x_j>b_i^+\}\le\kappaPr{∑j​a~ij​xj​>bi+​}≤κ for every iii.

The robust counterpart (RC[ε, δ, Ω]), with a safety parameter Ω>0\Omega>0Ω>0, has variables xjx_jxj​, yijy_{ij}yij​, zijz_{ij}zij​ and constraints Ex=eEx=eEx=e, Ax≤bAx\le bAx≤b, ℓ≤x≤u\ell\le x\le uℓ≤x≤u, −yij≤xj−zij≤yij-y_{ij}\le x_j-z_{ij}\le y_{ij}−yij​≤xj​−zij​≤yij​ for all i,ji,ji,j, and

∑jaijxj+ϵ[∑j∈Ji∣aij∣yij+Ω∑j∈Jiaij2zij2]≤bi+∀i.\sum_j a_{ij}x_j+\epsilon\Big[\sum_{j\in J_i}|a_{ij}|y_{ij}+\Omega\sqrt{\sum_{j\in J_i}a_{ij}^2z_{ij}^2}\Big]\le b_i^+\qquad\forall i.j∑​aij​xj​+ϵ[j∈Ji​∑​∣aij​∣yij​+Ωj∈Ji​∑​aij2​zij2​​]≤bi+​∀i.

The interval robust counterpart (IRC[ε, δ]) has variables xj,yjx_j,y_jxj​,yj​ and the constraint ∑jaijxj+ϵ∑j∈Ji∣aij∣yj≤bi+\sum_ja_{ij}x_j+\epsilon\sum_{j\in J_i}|a_{ij}|y_j\le b_i^+∑j​aij​xj​+ϵ∑j∈Ji​​∣aij​∣yj​≤bi+​ with −yj≤xj≤yj-y_j\le x_j\le y_j−yj​≤xj​≤yj​, besides the nominal ones. Problem (∗) is the same with yjy_jyj​ replaced by ∣xj∣|x_j|∣xj​∣.

Formalization targets

Goal: Proposition 1 (pp. 418–419)

If xxx extends to a feasible solution (x,y,z)(x,y,z)(x,y,z) of (RC[ε, δ, Ω]), then xxx is feasible for (LP) and, for every iii,

Pr⁡{∑j(1+ϵξij)aijxj>bi+δmax⁡[1,∣bi∣]}≤exp⁡{−Ω2/2}.\Pr\Big\{\sum_j(1+\epsilon\xi_{ij})a_{ij}x_j>b_i+\delta\max[1,|b_i|]\Big\}\le\exp\{-\Omega^2/2\}.Pr{j∑​(1+ϵξij​)aij​xj​>bi​+δmax[1,∣bi​∣]}≤exp{−Ω2/2}.

Milestones

  1. The reduction in the proof of Proposition 1 (p. 419), in corrected pointwise form: a violation of row iii forces ∑j∈Jiξijaijzij>Ω∑j∈Jiaij2zij2\sum_{j\in J_i}\xi_{ij}a_{ij}z_{ij}>\Omega\sqrt{\sum_{j\in J_i}a_{ij}^2z_{ij}^2}∑j∈Ji​​ξij​aij​zij​>Ω∑j∈Ji​​aij2​zij2​​.
  2. Eq. (1), p. 419: for independent symmetric ηj∈[−1,1]\eta_j\in[-1,1]ηj​∈[−1,1] and reals pjp_jpj​,
Pr⁡{∑jηjpj>Ω∑jpj2}≤exp⁡{−Ω2/2}.\Pr\Big\{\sum_j\eta_jp_j>\Omega\sqrt{\textstyle\sum_jp_j^2}\Big\}\le\exp\{-\Omega^2/2\}.Pr{j∑​ηj​pj​>Ω∑j​pj2​​}≤exp{−Ω2/2}.
  1. xxx is reliable iff it is feasible for (∗) (p. 417).
  2. (∗) is equivalent to (IRC[ε, δ]) (pp. 417–418).
  3. Every feasible solution of (IRC) yields one of (RC) with yij=yjy_{ij}=y_jyij​=yj​, zij=0z_{ij}=0zij​=0 (p. 420).
  4. Feasibility for (LP) together with ∑jaijxj+ϵβi(x)≤bi+\sum_ja_{ij}x_j+\epsilon\beta_i(x)\le b_i^+∑j​aij​xj​+ϵβi​(x)≤bi+​, βi(x)=Ω∑j∈Jiaij2xj2\beta_i(x)=\Omega\sqrt{\sum_{j\in J_i}a_{ij}^2x_j^2}βi​(x)=Ω∑j∈Ji​​aij2​xj2​​, suffices to extend xxx to (RC) (p. 420).
  5. The ratio αi(x)/βi(x)\alpha_i(x)/\beta_i(x)αi​(x)/βi​(x), αi(x)=∑j∈Ji∣aij∣∣xj∣\alpha_i(x)=\sum_{j\in J_i}|a_{ij}||x_j|αi​(x)=∑j∈Ji​​∣aij​∣∣xj​∣, is at most card(Ji)/Ω\sqrt{\mathrm{card}(J_i)}/\Omegacard(Ji​)​/Ω, with equality attained (p. 420, corrected).

Significance

Proposition 1 turns a probabilistic requirement, which is hard to handle directly, into a single convex (second-order-cone) program. The bound exp⁡{−Ω2/2}\exp\{-\Omega^2/2\}exp{−Ω2/2} does not depend on the dimension, on the number of uncertain entries, or on which symmetric distributions the perturbations follow, so Ω\OmegaΩ can be chosen from the desired reliability level alone. Together with milestones 3–6, the mission certifies the whole chain: the worst-case notion of reliability is exactly Soyster's linear program (IRC), and (RC) is never more conservative than (IRC), with an advantage that can reach the factor card(Ji)/Ω\sqrt{\mathrm{card}(J_i)}/\Omegacard(Ji​)​/Ω.

The results are proved in the paper; to our knowledge none of them is machine-checked. A formal development produces a reusable model of entry-wise uncertain LPs, the counterparts (∗), (IRC) and (RC) as Lean predicates, and a Hoeffding-type bound for weighted sums of symmetric bounded variables in the exact form (1). The platform's HighDimProb.Concentration.hoeffding_rademacher covers the Rademacher special case only.

Difficulty

The deterministic parts (milestones 1, 3–7) are elementary: worst cases of interval perturbations, and the Cauchy–Schwarz inequality. The obstacle lies in the probabilistic step. The printed proof passes from ξijaij\xi_{ij}a_{ij}ξij​aij​ to ξij∣aij∣\xi_{ij}|a_{ij}|ξij​∣aij​∣ with an equality that holds only in distribution, and contains index misprints, so it cannot be transcribed line by line; the reduction has to be restated pointwise. Eq. (1) is a tail bound for general symmetric variables in [−1,1][-1,1][−1,1], not only for random signs; the step (c) of the printed proof of (1) is written as an equality that holds only for random signs, so that proof too needs repair. The degenerate case ∑jpj2=0\sum_jp_j^2=0∑j​pj2​=0 must be handled rather than assumed away.

Formalization scope

  • Data are a structure UncertainLP n p m over Fin indices (0-based), with A : Matrix (Fin m) (Fin n) ℝ, J : Fin m → Finset (Fin n) arbitrary, and EReal bounds so that infinite bounds are expressible. The objective ccc is omitted: no statement involves it.
  • The probability space is (S,P)(S,\mathbb P)(S,P) with IsProbabilityMeasure; the name SSS avoids a clash with the safety parameter Ω\OmegaΩ. Symmetry is equality of the laws of ξij\xi_{ij}ξij​ and −ξij-\xi_{ij}−ξij​; values lie in [−1,1][-1,1][−1,1] at every outcome; independence is required within each row only, with no identical distribution (§3.1 says only "independent", which is weaker than the "iid" of §2.2). Probabilities are P.real.
  • The hypotheses ϵ>0\epsilon>0ϵ>0, δ>0\delta>0δ>0, Ω>0\Omega>0Ω>0 are the paper's standing assumptions and are carried by every theorem that mentions the parameter.
  • Corrections of the printed text: aijxi→aijxja_{ij}x_i\to a_{ij}x_jaij​xi​→aij​xj​ in (IRC); ∑j∈J→∑j∈Ji\sum_{j\in J}\to\sum_{j\in J_i}∑j∈J​→∑j∈Ji​​ in (RC); the reduction of milestone 1 is stated with aija_{ij}aij​ and zijz_{ij}zij​ in place of the printed ∣aij∣|a_{ij}|∣aij​∣, xi−yijx_i-y_{ij}xi​−yij​ and yjy_jyj​, yijy_{ij}yij​; and the ratio of milestone 7 carries the factor 1/Ω1/\Omega1/Ω that the printed "card(Ji)\sqrt{\mathrm{card}(J_i)}card(Ji​)​" omits.
  • Ruling out trivializations: the violation event uses the signed multiplicative model (1+ϵξij)aij(1+\epsilon\xi_{ij})a_{ij}(1+ϵξij​)aij​, never ∣aij∣|a_{ij}|∣aij​∣ or an additive perturbation; the goal concludes both nominal feasibility (i) and the probability bound (ii′) for every row; no hypothesis excludes the degenerate case ∑j∈Jiaij2zij2=0\sum_{j\in J_i}a_{ij}^2z_{ij}^2=0∑j∈Ji​​aij2​zij2​=0; and the probability model is satisfiable (e.g. by ξ≡0\xi\equiv0ξ≡0 or by Rademacher signs), so the goal is not vacuous.
  • The numerical remarks of the paper (0.92, 5.24, 10−610^{-6}10−6, "at least 30") and the NETLIB case study are not formalized.
  • Reusable beyond this mission: the uncertain-LP model and the three counterparts, and the tail bound (1). Contributions of general lemmas about symmetric bounded random variables are welcome.

Selected references

  • A. Ben-Tal, A. Nemirovski, Robust solutions of Linear Programming problems contaminated with uncertain data, Math. Program. Ser. A 88 (2000) 411–424. https://doi.org/10.1007/s101070000163
  • A. L. Soyster, Convex programming with set-inclusive constraints and applications to inexact linear programming, Oper. Res. 21 (1973) 1154–1157. https://doi.org/10.1287/opre.21.5.1154
  • A. Ben-Tal, A. Nemirovski, Robust convex optimization, Math. Oper. Res. 23 (1998) 769–805. https://doi.org/10.1287/moor.23.4.769
  • A. Ben-Tal, A. Nemirovski, Robust solutions of uncertain linear programs, Oper. Res. Lett. 25 (1999) 1–13. https://doi.org/10.1016/S0167-6377(99)00016-4
  • D. Bertsimas, M. Sim, The price of robustness, Oper. Res. 52 (2004) 35–53. https://doi.org/10.1287/opre.1030.0065
  • W. Hoeffding, Probability inequalities for sums of bounded random variables, J. Amer. Statist. Assoc. 58 (1963) 13–30. https://doi.org/10.1080/01621459.1963.10500830
12 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

The Assignment Game I: The Core 2: The High-Price and Low-Price Corners of the CoreResearch Paper

Motivation

A two-sided market in which each seller owns one indivisible good (a house, in the paper's example) and each buyer wants at most one is the simplest model in which prices emerge from bargaining between individuals rather than from a supply curve. Shapley and Shubik, The Assignment Game I: The Core (Int. J. Game Theory 1 (1971)), treat this market as a cooperative game with transferable utility and describe its core, the set of payoff divisions that no group of traders can improve upon by trading among themselves. The paper is the foundation of the literature on assignment markets, auctions of heterogeneous items, and two-sided matching with money.

This mission formalizes the paper's structural result on the shape of the core, Theorem 3 (p. 121): among all core outcomes there is a high-price corner in which every seller simultaneously receives the highest payoff available in the core and every buyer the lowest, and a low-price corner with the roles reversed; these two corners are the farthest-apart pair of core points. The authors note (p. 121, footnote 2) that a similar theorem for markets without money is proved by Gale and Shapley (1962), where it becomes the existence of seller-optimal and buyer-optimal stable matchings.

Setting

Let MMM be a finite set of sellers and NNN a finite set of buyers, with m=∣M∣m = |M|m=∣M∣ and n=∣N∣n = |N|n=∣N∣ not necessarily equal. For each seller iii and buyer jjj a number aij≥0a_{ij} \ge 0aij​≥0 is given: the gain the pair can realize by trading (Eq. (2.5), p. 114; Sec. 2.3, p. 116).

A coalition S⊆M∪NS \subseteq M \cup NS⊆M∪N is described by its seller part A=S∩MA = S \cap MA=S∩M and buyer part B=S∩NB = S \cap NB=S∩N. A matching inside (A,B)(A, B)(A,B) is a set P⊆A×BP \subseteq A \times BP⊆A×B of seller–buyer pairs in which no player occurs twice. The characteristic function (Eq. (2.6), p. 115) gives the coalition the best total gain it can realize by pairing its members:

worth⁡(A,B)=max⁡P matching in (A,B)∑(i,j)∈Paij.\operatorname{worth}(A, B) = \max_{P \text{ matching in } (A,B)} \sum_{(i,j) \in P} a_{ij}.worth(A,B)=P matching in (A,B)max​(i,j)∈P∑​aij​.

A matching of the whole market attaining worth⁡(M,N)\operatorname{worth}(M, N)worth(M,N) is an optimal assignment.

A payoff vector is a pair (u,v)(u, v)(u,v) with u∈RMu \in \mathbb{R}^Mu∈RM (sellers' payoffs) and v∈RNv \in \mathbb{R}^Nv∈RN (buyers' payoffs). The core (p. 118) consists of the payoff vectors with

∑i∈Mui+∑j∈Nvj=worth⁡(M,N)(3.5),∑i∈Aui+∑j∈Bvj≥worth⁡(A,B)  for all A⊆M, B⊆N(3.6).\sum_{i \in M} u_i + \sum_{j \in N} v_j = \operatorname{worth}(M, N) \quad (3.5), \qquad \sum_{i \in A} u_i + \sum_{j \in B} v_j \ge \operatorname{worth}(A, B) \ \text{ for all } A \subseteq M,\ B \subseteq N \quad (3.6).i∈M∑​ui​+j∈N∑​vj​=worth(M,N)(3.5),i∈A∑​ui​+j∈B∑​vj​≥worth(A,B)  for all A⊆M, B⊆N(3.6).

Singleton coalitions have worth 000, so core vectors are nonnegative; the paper calls them "imputations in the core".

For a seller iii, write ui∗u^*_iui∗​ and u∗iu_{*i}u∗i​ for the highest and lowest value of uiu_iui​ over the core; for a buyer jjj, write vj∗v^*_jvj∗​ and v∗jv_{*j}v∗j​ likewise.

Formalization targets

Goal: Theorem 3 (p. 121)

The low-price corner (u∗,v∗)(u_*, v^*)(u∗​,v∗) and the high-price corner (u∗,v∗)(u^*, v_*)(u∗,v∗​) are in the core, and for all core vectors (u′,v′)(u', v')(u′,v′), (u′′,v′′)(u'', v'')(u′′,v′′),

∑i∈M(ui′−ui′′)2+∑j∈N(vj′−vj′′)2≤∑i∈M(u∗i−ui∗)2+∑j∈N(vj∗−v∗j)2.\sum_{i \in M} (u'_i - u''_i)^2 + \sum_{j \in N} (v'_j - v''_j)^2 \le \sum_{i \in M} (u_{*i} - u^*_i)^2 + \sum_{j \in N} (v^*_j - v_{*j})^2 .i∈M∑​(ui′​−ui′′​)2+j∈N∑​(vj′​−vj′′​)2≤i∈M∑​(u∗i​−ui∗​)2+j∈N∑​(vj∗​−v∗j​)2.

Milestones, in attack order

  1. Sec. 3.2, p. 118 — the core is nonempty.
  2. Sec. 3.3, p. 120 — the core is closed, convex and bounded (a polytope).
  3. Sec. 3.3, proof of the Lemma, p. 121 — on an optimal assignment PPP, every core vector has ui+vj=aiju_i + v_j = a_{ij}ui​+vj​=aij​ for (i,j)∈P(i, j) \in P(i,j)∈P and pays 000 to players PPP leaves unassigned.
  4. Lemma, p. 121 — for core vectors (u′,v′)(u', v')(u′,v′), (u′′,v′′)(u'', v'')(u′′,v′′), the vectors (min⁡(u′,u′′),max⁡(v′,v′′))(\min(u', u''), \max(v', v''))(min(u′,u′′),max(v′,v′′)) and (max⁡(u′,u′′),min⁡(v′,v′′))(\max(u', u''), \min(v', v''))(max(u′,u′′),min(v′,v′′)) (coordinatewise) are in the core.
  5. Sec. 3.3, p. 122 — any two core vectors satisfy ∣ui′−ui′′∣≤ui∗−u∗i|u'_i - u''_i| \le u^*_i - u_{*i}∣ui′​−ui′′​∣≤ui∗​−u∗i​ and ∣vj′−vj′′∣≤vj∗−v∗j|v'_j - v''_j| \le v^*_j - v_{*j}∣vj′​−vj′′​∣≤vj∗​−v∗j​ for every iii and jjj.

Milestone 5 is the strongest form of the distance clause of the goal: it gives the same conclusion for every distance that depends only on the absolute values of the coordinate differences, as the paper remarks on p. 122.

Significance

The result. Theorem 3 says that the core of an assignment market is elongated along the direction of market-wide price movements: "intergroup allocations are relatively indeterminate, intragroup allocations are relatively precise" (p. 121). The high-price corner is the outcome most favourable to all sellers at once, and the low-price corner the one most favourable to all buyers; that such simultaneous optima exist is a property of this game, not of cores in general. The low-price corner, the buyers' optimum, is the outcome reached by the ascending multi-item auction of Demange, Gale and Sotomayor (J. Polit. Econ. 94 (1986)), and the lattice structure underlies the incentive analysis of assignment mechanisms.

Formalizing it. The theorem is classical and fully proved in the paper; Prove2Me has no formalization of it, and nothing on the platform treats transferable-utility assignment games (the platform's stable-matching material concerns the non-transferable-utility model). The mission produces a reusable definition of the assignment game and its core, the lattice property of the core, and the extremal-corner theorem, stated with the core's extrema defined intrinsically rather than as parameters.

Difficulty

The proof in the paper takes a finite family of core vectors realizing all the extremal values and applies the Lemma repeatedly (p. 122). That argument presupposes that each extremum ui∗u^*_iui∗​, u∗iu_{*i}u∗i​, vj∗v^*_jvj∗​, v∗jv_{*j}v∗j​ is attained by some core vector, which the paper takes from the core being a nonempty polytope without stating it separately. Nonemptiness is itself the substantive result of the paper's linear-programming analysis (Theorem 2, via the duality theorem and the integrality of the assignment polytope), and it is not available here as a black box. The other nontrivial point is the Lemma's efficiency claim: that the coordinatewise min/max vectors still distribute exactly worth⁡(M,N)\operatorname{worth}(M, N)worth(M,N), which depends on the structure of an optimal assignment and fails for the naive combination (max⁡(u′,u′′),max⁡(v′,v′′))(\max(u', u''), \max(v', v''))(max(u′,u′′),max(v′,v′′)).

Formalization scope

  • Players and matrix. MMM and NNN are arbitrary finite types (Fintype); either may be empty and m≠nm \ne nm=n is allowed. The matrix is a : M → N → ℝ, and every theorem carries the paper's standing assumption aij≥0a_{ij} \ge 0aij​≥0 as a hypothesis. No other hypothesis is added.
  • Coalitions are pairs (A, B) : Finset M × Finset N. Matchings are finsets of pairs with injective projections. The paper maximizes over exactly k=min⁡(∣S∩M∣,∣S∩N∣)k = \min(|S \cap M|, |S \cap N|)k=min(∣S∩M∣,∣S∩N∣) disjoint pairs; the formalization maximizes over matchings of every size, which gives the same value because aij≥0a_{ij} \ge 0aij​≥0.
  • Naming. The characteristic function is worth, since v denotes buyers' payoffs.
  • Core is a Set ((M → ℝ) × (N → ℝ)) defined by (3.5) and (3.6) over all coalitions, with no separate nonnegativity clause (it follows from singleton coalitions).
  • Extremal payoffs uHi, uLo, vHi, vLo are sSup/sInf in ℝ of the image of the core under a coordinate. On an empty or unbounded set these return 000; the goal does not assume the core nonempty or bounded, so it is not vacuous and does not hide milestones 1–2 as hypotheses. The goal's membership clauses imply attainment of the extrema.
  • Distance. The goal uses the Euclidean distance on RM×RN\mathbb{R}^M \times \mathbb{R}^NRM×RN through sums of squared coordinate differences. Lean's default dist on a product of function types is the sup-distance and is not used.
  • Ruled out. A formalization in which u∗,u∗,v∗,v∗u^*, u_*, v^*, v_*u∗,u∗​,v∗,v∗​ are free parameters constrained only by the conclusion, or in which the goal assumes a nonempty bounded core, would trivialize or weaken Theorem 3; the extrema here are computed from the core.
  • Not formalized. The dimension statements of p. 120 ("typically equal to min(m,n)") are informal. The LP characterization of the core (Theorem 2) is the subject of the companion mission of this series and is not restated.
  • Welcome contributions. Lemmas about matchings inside coalitions (injectivity, sums over images), the implication "dual feasible ⇒\Rightarrow⇒ coalitionally rational", and general facts about sSup/sInf of compact coordinate images are reusable for any assignment-market or TU-matching development.

Selected references

  • L. S. Shapley and M. Shubik, The Assignment Game I: The Core, International Journal of Game Theory 1 (1971), 111–130. https://doi.org/10.1007/BF01753437
  • D. Gale and L. S. Shapley, College Admissions and the Stability of Marriage, American Mathematical Monthly 69 (1962), 9–15. https://doi.org/10.2307/2312726
  • G. Demange, D. Gale and M. Sotomayor, Multi-Item Auctions, Journal of Political Economy 94 (1986), 863–872. https://doi.org/10.1086/261393
  • G. B. Dantzig, Linear Programming and Extensions, Princeton University Press, 1963. https://doi.org/10.1515/9781400884179
7 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

A Branch and Bound Algorithm for the Generalized Assignment Problem: The Knapsack Penalty Bound Equals the Lagrangean Bound at Second-Smallest CostsResearch Paper

Motivation

The generalized assignment problem (GAP) asks for the cheapest way to give each of nnn tasks to exactly one of mmm agents when every agent has a limited amount of a resource and different agents consume different amounts of it for the same task. It models assigning jobs to machines or computers, software tasks to programmers, commercials to time slots, and customers to single-source plants in capacitated facility location. The problem is NP-hard, so exact methods rely on lower bounds that are cheap to compute and strong enough to prune a branch and bound tree.

G. Terry Ross and Richard M. Soland (Mathematical Programming 8, 1975) gave such a bound. The relaxation that ignores the resource limits is solved by giving every task to its cheapest agent; the overloaded agents are then repaired by one small binary knapsack problem each, whose optimal values are added as penalties. Their paper then shows that this repaired bound is not an ad hoc heuristic: it is exactly the value of a Lagrangean relaxation of the GAP at an explicit choice of multipliers. This identity made the Ross–Soland bound the reference point for the later Lagrangean and column-generation methods for the GAP (for example Fisher, Jaikumar and Van Wassenhove, Management Science 1986 and Savelsbergh, Operations Research 1997).

Setting

Agents are I={1,…,m}I=\{1,\dots,m\}I={1,…,m} and tasks J={1,…,n}J=\{1,\dots,n\}J={1,…,n}. Giving task jjj to agent iii costs cijc_{ij}cij​ and uses rij≥0r_{ij}\ge 0rij​≥0 units of agent iii's resource; agent iii has bi>0b_i>0bi​>0 units. The problem is

(P)min⁡ ∑i∈I∑j∈Jcijxijs.t.∑j∈Jrijxij≤bi (i∈I),∑i∈Ixij=1 (j∈J),xij∈{0,1}.\text{(P)}\qquad \min\ \sum_{i\in I}\sum_{j\in J}c_{ij}x_{ij}\quad\text{s.t.}\quad\sum_{j\in J}r_{ij}x_{ij}\le b_i\ (i\in I),\quad\sum_{i\in I}x_{ij}=1\ (j\in J),\quad x_{ij}\in\{0,1\}.(P)min i∈I∑​j∈J∑​cij​xij​s.t.j∈J∑​rij​xij​≤bi​ (i∈I),i∈I∑​xij​=1 (j∈J),xij​∈{0,1}.

Dropping the resource constraints gives the relaxation (PR). It is solved by choosing, for each task jjj, a cheapest agent iji_jij​ with cijj=min⁡icijc_{i_jj}=\min_{i}c_{ij}cij​j​=mini​cij​ and setting xijj=1x_{i_jj}=1xij​j​=1; its value is Z=∑jcijjZ=\sum_jc_{i_jj}Z=∑j​cij​j​. Let Ji={j:ij=i}J_i=\{j: i_j=i\}Ji​={j:ij​=i} be the tasks this solution gives to agent iii, I′={i:∑j∈Jirij>bi}I'=\{i:\sum_{j\in J_i}r_{ij}>b_i\}I′={i:∑j∈Ji​​rij​>bi​} the overloaded agents, and di=∑j∈Jirij−bid_i=\sum_{j\in J_i}r_{ij}-b_idi​=∑j∈Ji​​rij​−bi​ the excess of agent iii. The penalty of moving task jjj away from iji_jij​ is pj=min⁡k≠ij(ckj−cijj)p_j=\min_{k\ne i_j}(c_{kj}-c_{i_jj})pj​=mink=ij​​(ckj​−cij​j​). For i∈I′i\in I'i∈I′ the binary knapsack problem

(PKi)min⁡ zi=∑j∈Jipjyijs.t.∑j∈Jirijyij≥di,yij∈{0,1}\text{(PK}_i)\qquad\min\ z_i=\sum_{j\in J_i}p_jy_{ij}\quad\text{s.t.}\quad\sum_{j\in J_i}r_{ij}y_{ij}\ge d_i,\quad y_{ij}\in\{0,1\}(PKi​)min zi​=j∈Ji​∑​pj​yij​s.t.j∈Ji​∑​rij​yij​≥di​,yij​∈{0,1}

chooses the cheapest set of tasks to move off agent iii; call its optimal value zi∗z^*_izi∗​. The knapsack bound is

LB=Z+∑i∈I′zi∗.\mathrm{LB}=Z+\sum_{i\in I'}z^*_i .LB=Z+i∈I′∑​zi∗​.

Dualizing the assignment constraints with multipliers λj\lambda_jλj​ gives the Lagrangean relaxation

(PRλ)min⁡ ∑i∈I∑j∈Jcijxij+∑j∈Jλj(1−∑i∈Ixij)s.t.∑j∈Jrijxij≤bi (i∈I),xij∈{0,1}.\text{(PR}_\lambda)\qquad\min\ \sum_{i\in I}\sum_{j\in J}c_{ij}x_{ij}+\sum_{j\in J}\lambda_j\Bigl(1-\sum_{i\in I}x_{ij}\Bigr)\quad\text{s.t.}\quad\sum_{j\in J}r_{ij}x_{ij}\le b_i\ (i\in I),\quad x_{ij}\in\{0,1\}.(PRλ​)min i∈I∑​j∈J∑​cij​xij​+j∈J∑​λj​(1−i∈I∑​xij​)s.t.j∈J∑​rij​xij​≤bi​ (i∈I),xij​∈{0,1}.

Finally c1jc_{1j}c1j​ and c2jc_{2j}c2j​ are the smallest and second smallest of c1j,…,cmjc_{1j},\dots,c_{mj}c1j​,…,cmj​, counted with multiplicity.

Formalization targets

Goal: the knapsack bound is the Lagrangean bound at λ=c2\lambda=c_2λ=c2​

For every cheapest-agent choice j↦ijj\mapsto i_jj↦ij​ and every choice of optimal knapsack solutions,

LB=min⁡{∑i∑jcijxij+∑jc2j(1−∑ixij) : x feasible for (PRλ)},\mathrm{LB}=\min\Bigl\{\sum_{i}\sum_{j}c_{ij}x_{ij}+\sum_{j}c_{2j}\Bigl(1-\sum_{i}x_{ij}\Bigr)\ :\ x\ \text{feasible for (PR}_\lambda)\Bigr\},LB=min{i∑​j∑​cij​xij​+j∑​c2j​(1−i∑​xij​) : x feasible for (PRλ​)},

the minimum being attained, and consequently LB≤∑i∑jcijxij\mathrm{LB}\le\sum_i\sum_jc_{ij}x_{ij}LB≤∑i​∑j​cij​xij​ for every xxx feasible for (P). This is the paper's "principal result of this Lagrangean analysis" (§2, p. 96). It has no constants to improve; it is an identity between two optimization problems.

Milestones

In the paper's order of use: (PR) is solved by the cheapest agents (pp. 93–94); every lower bound on (PRλ_\lambdaλ​) is a lower bound on (P) (p. 95); (PRλ_\lambdaλ​) separates into one binary knapsack per agent (p. 95); at λ=c2\lambda=c_2λ=c2​ the variables that are zero in the (PR) solution can be fixed at zero, the substitution yij=1−xijy_{ij}=1-x_{ij}yij​=1−xij​ turns agent iii's part into (PKi_ii​), pj=c2j−c1jp_j=c_{2j}-c_{1j}pj​=c2j​−c1j​, and agent iii's part has value −∑j∈Jipj+zi∗-\sum_{j\in J_i}p_j+z^*_i−∑j∈Ji​​pj​+zi∗​ (p. 96). Two side results close the section: the solution obtained by moving the tasks the knapsacks select has cost exactly LB, so it is optimal whenever it is feasible (pp. 94–95); and the optimal dual multipliers of the bounded-variable linear program (PRL_LL​) are exactly the vectors with c1j≤λj≤c2jc_{1j}\le\lambda_j\le c_{2j}c1j​≤λj​≤c2j​ (pp. 95–96).

Significance

The identity says that a bound computed from one sorting pass and a handful of small knapsacks equals a Lagrangean dual bound at a closed-form multiplier. Validity of LB for (P) then follows from weak Lagrangean duality alone, and the multiplier c2c_2c2​ is the upper end of the range of optimal dual multipliers of the linear program (PRL_LL​), which the paper singles out as a suitable choice of multipliers. The rebuilt solution gives the algorithm a feasible incumbent at no extra cost whenever the knapsack repairs happen to respect all budgets.

The result is proved in the paper, in one sentence. The mission turns that sentence into checked statements: the separation of (PRλ_\lambdaλ​), the reduction of each agent's subproblem to (PKi_ii​), the handling of ties among cheapest agents, and the role of nonnegative resources. As far as a search of the platform shows, nothing about the generalized assignment problem or its Lagrangean bounds has been formalized; the definitions here (assignment relaxations, per-agent knapsacks, bounded-variable duals) are reusable for other GAP and facility-location missions.

Difficulty

The Lagrangean relaxation at λ=c2\lambda=c_2λ=c2​ is a larger problem than the knapsack bound suggests: a feasible xxx may give a task to several agents or to none, and may use any agent, not only the cheapest one. The knapsack bound, by contrast, only looks at the tasks each agent receives in the (PR) solution. The paper bridges the two in one sentence of three observations, and each observation depends on a condition the sentence does not state: the sign of the resource coefficients, the treatment of agents that are not overloaded (for which no knapsack is solved), and ties among cheapest agents, which make some penalties zero and require the statement to hold for every tie-break. An inequality in one direction only (LB is a valid bound) is not the claim; the equality needs a feasible point of (PRλ_\lambdaλ​) whose value is exactly LB.

Formalization scope

Agents are Fin m and tasks Fin n, indexed from 0. Costs, resources, budgets, multipliers and variables are real numbers; a 0-1 variable is a real equal to 0 or 1, so the paper's sums are literal. The cheapest-agent selection is an arbitrary function a : Fin n → Fin m with IsCheapest c a, so every statement holds for every tie-break. pjp_jpj​ and c2jc_{2j}c2j​ are minima over the other agents, which requires m≥2m\ge2m≥2 (hm : 1 < m); c2jc_{2j}c2j​ is proved to be the second smallest cost with multiplicity. Optimal values are never encoded as sInf: zi∗z^*_izi∗​ is the objective of a given optimal knapsack solution, and "the bound provided by (PRλ_\lambdaλ​)" is stated as a lower bound over all feasible points that is attained.

Standing hypotheses: bi>0b_i>0bi​>0 (printed on p. 92), rij≥0r_{ij}\ge0rij​≥0 (implicit in "the resource required", and necessary: with a negative rijr_{ij}rij​ both (PRλ_\lambdaλ​) and (P) can fall below LB), and m≥2m\ge2m≥2. All costs are finite; the "not permissible" pairs of the paper's numerical example are outside the model.

A formalization that states only LB≤\mathrm{LB}\leLB≤ every (PRλ_\lambdaλ​) value, or that restricts the (PRλ_\lambdaλ​) competitors to the (PR) support or to at most one agent per task, would be a weaker theorem and does not meet the goal. The (PRL_LL​) dual is written out explicitly with multipliers uij≥0u_{ij}\ge0uij​≥0 for the bounds xij≤1x_{ij}\le1xij​≤1; "each optimal dual multiplier lies anywhere in the range c1j≤λj≤c2jc_{1j}\le\lambda_j\le c_{2j}c1j​≤λj​≤c2j​" is read as "the optimal multipliers are exactly this box".

Needed infrastructure is only finite sums over Fin and Finset.inf'. Proofs of the milestones, and lemmas on separable binary programs that could serve other Lagrangean-relaxation missions, are welcome.

Selected references

  • G. T. Ross and R. M. Soland, A branch and bound algorithm for the generalized assignment problem, Mathematical Programming 8 (1975) 91–103. https://doi.org/10.1007/BF01580430
  • A. M. Geoffrion, Lagrangean relaxation for integer programming, Mathematical Programming Study 2 (1974) 82–114. https://doi.org/10.1007/BFb0120690
  • M. L. Fisher, R. Jaikumar and L. N. Van Wassenhove, A multiplier adjustment method for the generalized assignment problem, Management Science 32 (1986) 1095–1103. https://doi.org/10.1287/mnsc.32.9.1095
  • M. Savelsbergh, A branch-and-price algorithm for the generalized assignment problem, Operations Research 45 (1997) 831–841. https://doi.org/10.1287/opre.45.6.831
10 thms4 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

On Polyhedral Approximations of the Second-Order Cone I: A Compact Polyhedral Approximation of the Lorentz ConeResearch Paper

Motivation

Conic quadratic programs (second-order cone programs) minimize a linear objective subject to linear constraints and constraints of the form ∥Aℓx−bℓ∥2≤cℓTx−dℓ\|A_\ell x-b_\ell\|_2\le c_\ell^Tx-d_\ell∥Aℓ​x−bℓ​∥2​≤cℓT​x−dℓ​. They model robust linear programs with ellipsoidal uncertainty, truss topology design, contact problems with Coulomb friction, and convex quadratically constrained quadratic programs. In theory they are no harder than linear programs of the same size; in practice, linear programming software handles far larger instances than conic quadratic solvers did at the time of writing (Ben-Tal & Nemirovski 2001, pp. 193–195). This raises a question about geometry rather than algorithms: can a second-order cone be replaced by a polyhedral cone of moderate size without losing much accuracy?

The obvious answer — circumscribe the cone by a polyhedral cone with many facets — fails: the number of facets must grow exponentially in the dimension, even for constant accuracy. Ben-Tal and Nemirovski showed that auxiliary variables change the picture completely: a projection of a polyhedral cone can approximate the Lorentz cone with size only O(kln⁡(1/ε))O(k\ln(1/\varepsilon))O(kln(1/ε)). The construction is now standard; it underlies, for instance, the lifted linear-programming branch-and-bound algorithm for mixed-integer conic quadratic programs of Vielma, Ahmed & Nemhauser 2008.

Setting

For y∈Rky\in\mathbb R^ky∈Rk let ∥y∥2=y12+⋯+yk2\|y\|_2=\sqrt{y_1^2+\dots+y_k^2}∥y∥2​=y12​+⋯+yk2​​. The (k+1)(k+1)(k+1)-dimensional Lorentz cone is

Lk={(y,t)∈Rk×R∣t≥∥y∥2}.L^k=\{(y,t)\in\mathbb R^k\times\mathbb R\mid t\ge\|y\|_2\}.Lk={(y,t)∈Rk×R∣t≥∥y∥2​}.

Fix ε>0\varepsilon>0ε>0. A polyhedral ε\varepsilonε-approximation of LkL^kLk is a linear map

Π(y,t,u):Rk×R×Rp→Rq\Pi(y,t,u):\mathbb R^k\times\mathbb R\times\mathbb R^{p}\to\mathbb R^{q}Π(y,t,u):Rk×R×Rp→Rq

such that

  1. if (y,t)∈Lk(y,t)\in L^k(y,t)∈Lk, there is u∈Rpu\in\mathbb R^pu∈Rp with Π(y,t,u)≥0\Pi(y,t,u)\ge0Π(y,t,u)≥0 (componentwise);
  2. if Π(y,t,u)≥0\Pi(y,t,u)\ge0Π(y,t,u)≥0 for some uuu, then ∥y∥2≤(1+ε)t\|y\|_2\le(1+\varepsilon)t∥y∥2​≤(1+ε)t.

Equivalently, the polyhedral cone {(y,t,u)∣Π(y,t,u)≥0}\{(y,t,u)\mid\Pi(y,t,u)\ge0\}{(y,t,u)∣Π(y,t,u)≥0} projects onto a cone lying between LkL^kLk and its (1+ε)(1+\varepsilon)(1+ε)-extension. The size of the approximation is p+qp+qp+q: the number of auxiliary variables plus the number of linear inequalities (an equation counts as two).

The construction in the paper uses a tower of variables: for k=2θk=2^\thetak=2θ, the coordinates y1,…,yky_1,\dots,y_ky1​,…,yk​ form generation 000, each consecutive pair of generation ℓ−1\ell-1ℓ−1 has a successor in generation ℓ\ellℓ (yiℓy_i^\ellyiℓ​ has parents y2i−1ℓ−1,y2iℓ−1y_{2i-1}^{\ell-1},y_{2i}^{\ell-1}y2i−1ℓ−1​,y2iℓ−1​), and the single variable of generation θ\thetaθ is ttt. It also uses an explicit linear system (8) in variables ξj,ηj\xi^j,\eta^jξj,ηj, j=0,…,νj=0,\dots,\nuj=0,…,ν, with trigonometric coefficients cos⁡(π/2j+1)\cos(\pi/2^{j+1})cos(π/2j+1), sin⁡(π/2j+1)\sin(\pi/2^{j+1})sin(π/2j+1), tan⁡(π/2ν+1)\tan(\pi/2^{\nu+1})tan(π/2ν+1), whose accuracy is δ(ν)=1/cos⁡(π/2ν+1)−1\delta(\nu)=1/\cos(\pi/2^{\nu+1})-1δ(ν)=1/cos(π/2ν+1)−1.

Formalization targets

Goal: Theorem 1.1

There is an absolute constant CCC such that for every positive integer kkk and every ε∈(0,1]\varepsilon\in(0,1]ε∈(0,1], LkL^kLk admits a polyhedral ε\varepsilonε-approximation with

pk+qk≤C kln⁡2ε.p_k+q_k\le C\,k\ln\frac{2}{\varepsilon}.pk​+qk​≤Cklnε2​.

The constant is not fixed; the goal asserts only the order of growth, which is what the paper claims.

Milestones

  1. §2, Eq. (5). For k=2θk=2^\thetak=2θ, θ≥1\theta\ge1θ≥1: (y,t)(y,t)(y,t) extends to a tower solving [y2i−1ℓ−1]2+[y2iℓ−1]2≤yiℓ\sqrt{[y_{2i-1}^{\ell-1}]^2+[y_{2i}^{\ell-1}]^2}\le y_i^\ell[y2i−1ℓ−1​]2+[y2iℓ−1​]2​≤yiℓ​ for all i,ℓi,\elli,ℓ if and only if ∥y∥2≤t\|y\|_2\le t∥y∥2​≤t.
  2. §2, Eqs. (6)–(7). Placing polyhedral εℓ\varepsilon_\ellεℓ​-approximations of L2L^2L2 on every level of the tower yields a polyhedral approximation of LkL^kLk with 1+ε=∏ℓ=1θ(1+εℓ)1+\varepsilon=\prod_{\ell=1}^\theta(1+\varepsilon_\ell)1+ε=∏ℓ=1θ​(1+εℓ​).
  3. Proposition 2.1 (i), (ii) and Eq. (9). System (8) is a polyhedral δ(ν)\delta(\nu)δ(ν)-approximation of L2L^2L2, and δ(ν)=O(4−ν)\delta(\nu)=O(4^{-\nu})δ(ν)=O(4−ν).
  4. Proof of Theorem 1.1, system (10), property 3. System (8) with parameter νℓ\nu_\ellνℓ​ on level ℓ\ellℓ of the tower approximates L2θL^{2^\theta}L2θ with quality β=∏ℓ=1θ1/cos⁡(π/2νℓ+1)−1\beta=\prod_{\ell=1}^\theta 1/\cos(\pi/2^{\nu_\ell+1})-1β=∏ℓ=1θ​1/cos(π/2νℓ​+1)−1.
  5. Proof of Theorem 1.1, choice of νℓ\nu_\ellνℓ​. With νℓ=⌊c ℓln⁡(2/ε)⌋\nu_\ell=\lfloor c\,\ell\ln(2/\varepsilon)\rfloorνℓ​=⌊cℓln(2/ε)⌋: β≤ε\beta\le\varepsilonβ≤ε and ∑ℓ2θ−ℓνℓ≤C 2θln⁡(2/ε)\sum_\ell 2^{\theta-\ell}\nu_\ell\le C\,2^\theta\ln(2/\varepsilon)∑ℓ​2θ−ℓνℓ​≤C2θln(2/ε).

Significance

The theorem shows that conic quadratic constraints are, up to a factor logarithmic in the accuracy, no more expensive to express as linear constraints than they are in their native form. Consequences listed in the paper include approximating convex quadratically constrained quadratic programs, robust counterparts of linear programs with ellipsoidal uncertainty, and problems with low-dimensional cones (Coulomb friction, k≤3k\le3k≤3; truss design, k≤2k\le2k≤2) by linear programs of comparable size. Together with the matching lower bound of §3 of the same paper (a separate mission of this series), it pins down the size of the best polyhedral approximation up to constants. The recursive halving of dimensions through the tower of 3-dimensional cones is a reusable device for other rotation-invariant cones.

The result is proved in the paper; as far as is known it has not been machine-checked. This mission produces a formal proof of the construction, including the trigonometric estimate δ(ν)=O(4−ν)\delta(\nu)=O(4^{-\nu})δ(ν)=O(4−ν) and the explicit linear encoding with its size count. Explicit values of the absolute constants are welcome as additional results.

Difficulty

The planar estimate is the core. Part (ii) of Proposition 2.1 must hold for every solution of the inequality system (8), not only for the solution one would write down for a given point of L2L^2L2; an argument that tracks only the intended solution proves part (i) and nothing about part (ii). The accuracy must also come out as 1/cos⁡(π/2ν+1)−11/\cos(\pi/2^{\nu+1})-11/cos(π/2ν+1)−1, geometric in ν\nuν; a bound that decays only polynomially in ν\nuν would give size poly(1/ε)\mathrm{poly}(1/\varepsilon)poly(1/ε) instead of ln⁡(1/ε)\ln(1/\varepsilon)ln(1/ε). The naive idea of approximating LkL^kLk directly by tangent hyperplanes is ruled out by the exponential facet count mentioned above; the auxiliary variables are indispensable. The second difficulty is bookkeeping: packaging k−1k-1k−1 copies of system (8) on a tower of depth θ=log⁡2k\theta=\log_2 kθ=log2​k into a single linear map, counting its variables and inequalities exactly, handling kkk that is not a power of two, and summing the accuracies so that the total size is O(kln⁡(2/ε))O(k\ln(2/\varepsilon))O(kln(2/ε)) rather than O(kln⁡kln⁡(1/ε))O(k\ln k\ln(1/\varepsilon))O(klnkln(1/ε)).

Formalization scope

  • Vectors of Rk\mathbb R^kRk are Fin k → ℝ. The norm ∥y∥2\|y\|_2∥y∥2​ is written out as eucNorm y = Real.sqrt (∑ i, y i ^ 2); the norm Mathlib attaches to Fin k → ℝ is the sup norm, under which the cone would be polyhedral and the theorem trivial.
  • A polyhedral approximation is an R\mathbb RR-linear map (Fin k → ℝ) × ℝ × (Fin p → ℝ) →ₗ[ℝ] (Fin q → ℝ) and ≥0\ge0≥0 is the componentwise order. Linearity is essential: with an arbitrary map, Π(y,t)=t−∥y∥2\Pi(y,t)=t-\|y\|_2Π(y,t)=t−∥y∥2​ would be an exact approximation with p=0p=0p=0, q=1q=1q=1. Affine maps are not allowed either; the paper's approximations are homogeneous.
  • The paper's absolute constants O(1)O(1)O(1) are existential constants quantified before kkk, ε\varepsilonε and θ\thetaθ. The goal requires k≥1k\ge1k≥1 and ε∈(0,1]\varepsilon\in(0,1]ε∈(0,1], as in the paper; ln⁡\lnln is Real.log.
  • System (8) and system (10) are stated as propositions with the absolute values written out; their parameters ν\nuν, νℓ\nu_\ellνℓ​ are required to be positive integers, as in the paper (at ν=0\nu=0ν=0 the coefficient tan⁡(π/2)\tan(\pi/2)tan(π/2) would be evaluated as 000 by Lean).
  • Tower variables are indexed Y ℓ i with 0-based i, so the parents of Y ℓ i are Y (ℓ-1) (2i) and Y (ℓ-1) (2i+1); the milestones on (6)–(7) and (10) are stated on solution sets rather than on an explicit linear map. The size counts of (10) (properties 1–2) are not separate milestones; the arithmetic milestone on νℓ\nu_\ellνℓ​ records the bound on ∑ℓ2θ−ℓνℓ\sum_\ell 2^{\theta-\ell}\nu_\ell∑ℓ​2θ−ℓνℓ​ to which they reduce.
  • δ(ν)=O(1/4ν)\delta(\nu)=O(1/4^\nu)δ(ν)=O(1/4ν) is stated as ∃C>0, ∀ν≥1, δ(ν)≤C/4ν\exists C>0,\ \forall\nu\ge1,\ \delta(\nu)\le C/4^\nu∃C>0, ∀ν≥1, δ(ν)≤C/4ν.

A complete development needs: elementary trigonometry of π/2j\pi/2^{j}π/2j (available in Mathlib), rotations in the plane, finite products and sums over {1,…,θ}\{1,\dots,\theta\}{1,…,θ}, and a way to assemble many small linear systems into one linear map with an exact count of rows and columns. The last piece, and the tower of variables with the reduction from arbitrary kkk to a power of two, are reusable for other lifted polyhedral approximations. Contributions of any milestone, of explicit linear encodings of (8) and (10), and of the extension from k=2θk=2^\thetak=2θ to all kkk are welcome.

Selected references

  • A. Ben-Tal and A. Nemirovski, On Polyhedral Approximations of the Second-Order Cone, Mathematics of Operations Research 26(2):193–205, 2001. https://doi.org/10.1287/moor.26.2.193.10561
  • J. P. Vielma, S. Ahmed and G. L. Nemhauser, A lifted linear programming branch-and-bound algorithm for mixed-integer conic quadratic programs, INFORMS Journal on Computing 20(3):438–450, 2008. https://doi.org/10.1287/ijoc.1070.0256
  • A. Ben-Tal and A. Nemirovski, Robust convex optimization, Mathematics of Operations Research 23(4):769–805, 1998. https://doi.org/10.1287/moor.23.4.769
  • A. Ben-Tal and A. Nemirovski, Lectures on Modern Convex Optimization, SIAM, 2001. https://doi.org/10.1137/1.9780898718829
13 thms4 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Introduction to Stochastic Programming I: Convexity, Attainment and Optimality of the Two-Stage Recourse ProblemTextbook

Motivation

Two-stage stochastic linear programming with recourse models a decision made before uncertainty resolves (the first-stage variables xxx) followed by a corrective decision made after (the second-stage, or recourse, variables yyy). Solving such a program means minimizing cTx+Q(x)c^{\mathsf T}x + Q(x)cTx+Q(x), where Q(x)Q(x)Q(x) is the expected cost of the best recourse action given xxx -- an object defined only implicitly, as the value of an embedded linear program that must be solved (or bounded) for every realization of the uncertain data. Before any algorithm for this problem can be justified -- the L-shaped method, stochastic decomposition, scenario decomposition, all developed in later chapters of Birge & Louveaux, Introduction to Stochastic Programming (Springer, 2011) -- one needs to know that QQQ is well-behaved enough to optimize over at all: that the feasible region is closed and convex, that QQQ itself is a finite, Lipschitz, convex function on it, that an optimal solution is actually attained rather than only approached in the limit, and finally what an optimality condition for the resulting nonsmooth convex program even looks like. This mission formalizes exactly that foundational layer, Chapter 3, Section 3.1 of the book.

Setting

Fix natural numbers n1,n2,m1,m2n_1, n_2, m_1, m_2n1​,n2​,m1​,m2​ and a finite scenario count KKK. A two-stage recourse instance consists of first-stage data A∈Rm1×n1A \in \mathbb{R}^{m_1 \times n_1}A∈Rm1​×n1​, b∈Rm1b \in \mathbb{R}^{m_1}b∈Rm1​, c∈Rn1c \in \mathbb{R}^{n_1}c∈Rn1​, a fixed recourse matrix W∈Rm2×n2W \in \mathbb{R}^{m_2 \times n_2}W∈Rm2​×n2​, and, for each scenario k=1,…,Kk = 1,\dots,Kk=1,…,K, a cost vector qk∈Rn2q_k \in \mathbb{R}^{n_2}qk​∈Rn2​, a right-hand side hk∈Rm2h_k \in \mathbb{R}^{m_2}hk​∈Rm2​, a technology matrix Tk∈Rm2×n1T_k \in \mathbb{R}^{m_2 \times n_1}Tk​∈Rm2​×n1​, and a probability pk≥0p_k \ge 0pk​≥0 with ∑kpk=1\sum_k p_k = 1∑k​pk​=1 (Eq. (1.1)). The first-stage feasible region is K1={x∣Ax=b, x≥0}K_1 = \{x \mid Ax = b,\ x \ge 0\}K1​={x∣Ax=b, x≥0}.

For a fixed xxx and scenario kkk, the second-stage value is

Q(x,ξk)=min⁡y{qkTy∣Wy=hk−Tkx, y≥0}Q(x,\xi_k) = \min_{y}\{q_k^{\mathsf T}y \mid Wy = h_k - T_k x,\ y \ge 0\}Q(x,ξk​)=ymin​{qkT​y∣Wy=hk​−Tk​x, y≥0}

(Eq. (1.6)), taken as an extended real: +∞+\infty+∞ if no feasible yyy exists, −∞-\infty−∞ if the inner program is unbounded below. The expected recourse value is Q(x)=∑kpk Q(x,ξk)Q(x) = \sum_k p_k\, Q(x,\xi_k)Q(x)=∑k​pk​Q(x,ξk​) (Eq. (1.3)), combined so that +∞+(−∞)=+∞+\infty + (-\infty) = +\infty+∞+(−∞)=+∞ -- the book's own convention (p. 109): infeasibility in one scenario is treated as fatal even if another scenario is unboundedly favorable. The second-stage feasibility set is K2={x∣Q(x)<∞}K_2 = \{x \mid Q(x) < \infty\}K2​={x∣Q(x)<∞}, and the deterministic-equivalent objective is z(x)=cTx+Q(x)z(x) = c^{\mathsf T}x + Q(x)z(x)=cTx+Q(x) (Eq. (1.2)). For xxx with Q(x)Q(x)Q(x) finite, the subdifferential ∂Q(x)\partial Q(x)∂Q(x) is the set of η\etaη satisfying Q(x)+ηT(y−x)≤Q(y)Q(x) + \eta^{\mathsf T}(y-x) \le Q(y)Q(x)+ηT(y−x)≤Q(y) for every yyy (p. 115).

A simple-recourse instance is the special case W=[I,−I]W = [I,-I]W=[I,−I]: the recourse cost splits as q=(q+,q−)q = (q^+,q^-)q=(q+,q−), and Q(x)Q(x)Q(x) decomposes componentwise via the closed form of Eq. (1.9)-(1.10) using the (left- and right-limit) distribution functions Fi−,Fi+F_i^-, F_i^+Fi−​,Fi+​ of each hih_ihi​.

Formalization targets

Goal -- Chapter 3, Theorem 9 (p. 116)

x∗∈K1 is optimal in (1.2)  ⟺  ∃ λ∗∈Rm1, μ∗∈R≥0n1, (μ∗)Tx∗=0,  s.t. −c+ATλ∗+μ∗∈∂Q(x∗),x^* \in K_1 \text{ is optimal in (1.2)} \iff \exists\, \lambda^* \in \mathbb{R}^{m_1},\ \mu^* \in \mathbb{R}^{n_1}_{\ge 0},\ (\mu^*)^{\mathsf T}x^* = 0,\ \text{ s.t. } -c + A^{\mathsf T}\lambda^* + \mu^* \in \partial Q(x^*),x∗∈K1​ is optimal in (1.2)⟺∃λ∗∈Rm1​, μ∗∈R≥0n1​​, (μ∗)Tx∗=0,  s.t. −c+ATλ∗+μ∗∈∂Q(x∗),

given that (1.2) has a finite optimal value. This is the KKT-style necessary and sufficient optimality condition for the two-stage recourse LP, and the weakest of the mission's targets in the sense that everything else supports it: convexity and finiteness of QQQ (Theorem 6) are what make the left-to-right implication meaningful, closedness/convexity of K2K_2K2​ (Theorem 5) makes the feasible region well-posed, and attainment (Theorem 8) is what makes "x∗x^*x∗ is optimal" a statement about a point that exists rather than an infimum that may not be reached.

Supporting milestones

  • Theorem 5(a) (p. 111): K2K_2K2​ is closed and convex.
  • Theorem 6(a) (p. 112): QQQ is finite on K2K_2K2​, and Lipschitzian and convex there.
  • Theorem 8 (p. 115): under boundedness of K1∩K2K_1 \cap K_2K1​∩K2​ or eventual linearity of QQQ along recession directions, a finite optimal value is attained.
  • Corollary 10 (p. 116): Theorem 9 specialized to simple recourse, with ∂Q(x∗)\partial Q(x^*)∂Q(x∗) replaced by its explicit componentwise description.

Significance

Theorem 9 is the hinge on which the rest of the book's algorithmic chapters turn. The L-shaped method (Chapter 5) is a cutting-plane scheme whose cuts are literally elements of ∂Q(x)\partial Q(x)∂Q(x); stochastic decomposition and sampling-based methods use the same subdifferential structure with estimated cuts; the differentiable specialization (Eq. (1.14), c+∇Q(x∗)=ATλ∗+μ∗c + \nabla Q(x^*) = A^{\mathsf T}\lambda^* + \mu^*c+∇Q(x∗)=ATλ∗+μ∗) underlies nonlinear-programming approaches to the smooth case. None of this is meaningful without first knowing QQQ is convex, finite where it needs to be, and that a minimizer exists to characterize. Formalizing this mission's four milestones from the actual definition of QQQ as an embedded linear program's value -- rather than assuming these properties -- is exactly the content the book itself proves (or, for Theorem 6, explicitly cites to Wets [1972] and Kall [1976] rather than proving); this mission asks for genuine Lean proofs of Theorems 5, 8, 9 and Corollary 10 from the LP structure of QQQ, and records Theorem 6 as a stated (not re-derived) input, matching the book's own presentation.

Difficulty

The obvious shortcut is to treat QQQ as an opaque convex function and apply a textbook convex-KKT theorem off the shelf. This fails to capture what Theorem 9 actually is: a statement about the specific function Q(x)=∑kpkmin⁡y{qkTy∣Wy=hk−Tkx, y≥0}Q(x) = \sum_k p_k \min_y\{q_k^{\mathsf T}y \mid Wy = h_k - T_k x,\ y \ge 0\}Q(x)=∑k​pk​miny​{qkT​y∣Wy=hk​−Tk​x, y≥0}, built from finitely many parametric linear programs, each of which can be infeasible (Q(x,ξk)=+∞Q(x,\xi_k) = +\inftyQ(x,ξk​)=+∞) or unbounded (Q(x,ξk)=−∞Q(x,\xi_k) = -\inftyQ(x,ξk​)=−∞) depending on xxx. Convexity of QQQ must come from convexity of the value function of a parametric LP in its right-hand side (the book's Theorem 2 argument: a convex combination of optimal solutions at two right-hand sides is feasible, hence suboptimal, at the combined right-hand side) -- not from an assumed hypothesis. Handling ±∞\pm\infty±∞ correctly is a second, easy-to-miss source of error: the book fixes an explicit, non-default convention (+∞+\infty+∞ dominates −∞-\infty−∞) for combining per-scenario values, the opposite of the convention Mathlib's own extended-real arithmetic uses, so any formalization that reaches for EReal's built-in addition to aggregate QQQ silently states a different theorem. Theorem 8's attainment condition is a genuine existence result, not an automatic consequence of convexity: continuity alone does not give attainment on an unbounded feasible region, and the book's own counterexample (Eq. (1.11), a negative-exponential tail with infimum 000 attained by no finite xxx) shows the boundedness/recession hypotheses are load-bearing.

Formalization scope

The scenario set is modeled as Fin K, a finite discrete random variable, matching Section 3.1b's development; under this model "ξ\xiξ has finite second moments" (the standing hypothesis of Theorems 4-11 in the general, possibly-continuous case) holds automatically and so does not appear as a separate hypothesis anywhere in this mission. Q(x,\xi_k) is defined as an EReal via sInf of the second-stage LP's feasible objective values -- sInf of the empty set is ⊤, and of a set unbounded below is ⊥ -- and is genuinely derived from that inner minimization rather than assumed convex; this rules out the chapter's trivializing formalization, which the paper-level triage explicitly warns against: taking Q(x) as an opaque convex-function hypothesis instead of deriving its properties from the inner LP's structure. Aggregating the KKK per-scenario values into Q(x)Q(x)Q(x) uses a bespoke bookAdd operation implementing the book's stated convention +∞+(−∞)=+∞+\infty+(-\infty)=+\infty+∞+(−∞)=+∞, since Mathlib's EReal addition is defined with the opposite convention (⊥+⊤=⊤+⊥=⊥\bot+\top=\top+\bot=\bot⊥+⊤=⊤+⊥=⊥). ∂Q(x)\partial Q(x)∂Q(x) is the ordinary subgradient-inequality set for this extended-real-valued function.

Theorem 8's condition (b) is stated with the book's own quantifier structure: the threshold λˉ\bar\lambdaλˉ and the recession value depend on the point xxx and direction vvv exactly as written, with no strengthening. Theorem 6(a)'s Lipschitz bound is stated, not derived -- the book itself cites it to Wets [1972] and Kall [1976] without proof -- so a faithful Lean proof of that milestone is expected to remain out of scope for this mission. Corollary 10 similarly takes the closed form of ∂Qi(x)\partial Q_i(x)∂Qi​(x) from Eq. (1.10) as a hypothesis on an abstract QQQ, matching how the book itself uses (1.10) as an already-established fact rather than re-deriving it from the second-stage LP in the corollary's own proof. Theorem 11's subdifferential-decomposition result (∂Q(x)=Eω[∂Q(x,ξ(ω))]+N(K2,x)\partial Q(x) = E_\omega[\partial Q(x,\xi(\omega))] + N(K_2,x)∂Q(x)=Eω​[∂Q(x,ξ(ω))]+N(K2​,x)) is deliberately left out of this mission's scope: it is not needed by Theorem 9's own proof, and its normal-cone term would require relatively-complete-recourse machinery this mission does not otherwise need. No prior-art match was found on the platform: VectorSpaceOpt.fenchel_duality and the Luenberger-derived VectorSpaceOpt.generalized_kuhn_tucker / kkt_complementary_slackness family use a differentiable (Gateaux-derivative) or conjugate-function KKT model over general normed spaces, not this chapter's finite-dimensional, possibly-nondifferentiable subgradient formulation over the specific polyhedral set K1K_1K1​, so none is a faithful match and all items here are original drafts.

Selected references

  • J.R. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer Series in Operations Research and Financial Engineering, Springer, 2011. https://doi.org/10.1007/978-1-4614-0237-4
  • R.J-B. Wets, "Programming Under Uncertainty: The Equivalent Convex Program," SIAM Journal on Applied Mathematics 14 (1966), 89-105 (Lipschitz continuity of the recourse function, cited by the book as Wets [1972] for the closely related result used in Theorem 6). https://doi.org/10.1137/0114008
  • D.P. Walkup and R.J-B. Wets, "Stochastic Programs with Recourse," SIAM Journal on Applied Mathematics 15 (1967), 1299-1314 (finiteness of the recourse function and coincidence of the possibility and expectation feasibility sets, underlying Proposition 3 and Theorem 4). https://doi.org/10.1137/0115113
8 thms4 active usersReviewed
🏆Completed
OptimizationTheoretical Computer Science·Captain: moutei

Primal-Dual Online Algorithms II: Finite LP Duality and Complementary SlacknessTextbook

Motivation

Almost every competitive online algorithm built by the primal-dual method rests on the same two facts about a pair of linear programs. The first is weak duality: any feasible solution of the dual is a lower bound on any feasible solution of the primal. The second is complementary slackness: if a feasible primal-dual pair satisfies a local, per-coordinate tightness condition, the pair is optimal — and if it satisfies that condition only up to factors α\alphaα and β\betaβ, the primal is within αβ\alpha\betaαβ of optimal.

The second fact in its approximate form is the engine of the whole method. An online algorithm cannot compute an optimum; what it can do is maintain a primal solution and a dual solution side by side so that each new request preserves an approximate tightness invariant. The approximate complementary slackness theorem then converts that local invariant into a global competitive ratio, with no reference to the optimum at all. Chapter 2 of Buchbinder's thesis states it as the background result on which the rest of the work is built.

Setting

Fix finite index types III (primal variables) and JJJ (primal constraints), a matrix A:I×J→RA : I \times J \to \mathbb{R}A:I×J→R, a cost vector c:I→Rc : I \to \mathbb{R}c:I→R and a right-hand side b:J→Rb : J \to \mathbb{R}b:J→R. The covering primal and packing dual are

(P)min⁡∑icixi  s.t.  ∑iAijxi ≥ bj  (∀j),x≥0,(P)\quad \min \sum_{i} c_i x_i \ \text{ s.t. } \ \sum_{i} A_{ij} x_i \ \ge\ b_j \ \ (\forall j), \qquad x \ge 0,(P)mini∑​ci​xi​  s.t.  i∑​Aij​xi​ ≥ bj​  (∀j),x≥0, (D)max⁡∑jbjyj  s.t.  ∑jAijyj ≤ ci  (∀i),y≥0.(D)\quad \max \sum_{j} b_j y_j \ \text{ s.t. } \ \sum_{j} A_{ij} y_j \ \le\ c_i \ \ (\forall i), \qquad y \ge 0.(D)maxj∑​bj​yj​  s.t.  j∑​Aij​yj​ ≤ ci​  (∀i),y≥0.

Note the index convention: AijA_{ij}Aij​ carries the primal-variable index first, so the primal constraint indexed by jjj sums over iii and the dual constraint indexed by iii sums over jjj.

Given α,β≥1\alpha, \beta \ge 1α,β≥1, the pair (x,y)(x,y)(x,y) satisfies approximate complementary slackness when

  • primal side: for every iii with xi>0x_i > 0xi​>0, ci/α ≤ ∑jAijyj ≤ ci\quad c_i/\alpha \ \le\ \sum_j A_{ij} y_j \ \le\ c_ici​/α ≤ ∑j​Aij​yj​ ≤ ci​;
  • dual side: for every jjj with yj>0y_j > 0yj​>0, bj ≤ ∑iAijxi ≤ β bj\quad b_j \ \le\ \sum_i A_{ij} x_i \ \le\ \beta\, b_jbj​ ≤ ∑i​Aij​xi​ ≤ βbj​.

Formalization targets

Goal — approximate complementary slackness

For a primal-feasible xxx, a dual-feasible yyy, and α,β≥1\alpha,\beta \ge 1α,β≥1 satisfying the two conditions above,

∑icixi ≤ αβ∑jbjyj.\sum_{i} c_i x_i \ \le\ \alpha\beta \sum_{j} b_j y_j .i∑​ci​xi​ ≤ αβj∑​bj​yj​.

Taking α=β=1\alpha = \beta = 1α=β=1 recovers exact complementary slackness and hence optimality of both members of the pair. The goal is stated with the source's hypotheses, including the two-sided bounds, rather than the weakest hypotheses that make the inequality go through; a separate item records the minimal-hypothesis strengthening.

Weak duality

∑jbjyj ≤ ∑icixifor every feasible x and y,\sum_j b_j y_j \ \le\ \sum_i c_i x_i \quad \text{for every feasible } x \text{ and } y,j∑​bj​yj​ ≤ i∑​ci​xi​for every feasible x and y,

with no nonnegativity assumption on AAA, bbb or ccc beyond feasibility itself.

Strong duality — imported, not reproved

Strong duality is not proved in this mission. The platform already carries LinearOptimization.lp_strong_duality, proved in this exact environment, for linear programs in Bertsimas–Tsitsiklis general form over Fin-indexed data. This mission's contribution is an adapter: from a primal optimum of (P)(P)(P), produce a dual optimum of (D)(D)(D) of equal value, for Fin-indexed instances. Reference items point at the imported theorem, its dual construction, and the dual-of-dual identity.

The biconditional — a dual optimum exists if and only if a primal optimum does — is deliberately left open. Weak duality does not derive the existence of a primal optimum from the existence of a dual one; the reverse implication needs strong duality applied to the dual program together with the dual-of-dual identity, and that reduction is not yet compiled. It is offered as a parallel target rather than claimed as established.

Significance

This mission is the foundation of the series. Every later mission — set cover, ski rental, and the online covering and packing problems that follow — states its approximation or competitiveness result as an instance of approximate complementary slackness. Formalizing it once, over arbitrary finite index types, is what makes the later missions short.

It also fills a real gap. Mathlib currently has no linear-programming duality: four separate attempts were closed unmerged. Approximate (α,β)(\alpha,\beta)(α,β) complementary slackness appears not to be formalized in any public library, so the goal theorem is, as far as we can determine, first of its kind.

Difficulty

The goal is a summation argument, not a deep theorem: the work is in handling the per-coordinate case split on xi>0x_i > 0xi​>0 versus xi=0x_i = 0xi​=0 and in interchanging a double sum. Three mechanical milestones isolate exactly those steps. The strong-duality adapter is the hard item, because it must reconcile two different presentations of the same program — index types, matrix orientation, and bundling all differ between our definitions and the imported theorem's.

Formalization scope

Definitions cover §2.1 of the source. Four distinct notions of "the program has a finite optimum" are separated on purpose — attained optimum, nonempty feasible set, bounded objective, and the conjunction — because the source's informal word "bounded" conflates them. The definitions are stated over arbitrary finite index types; the strong-duality items are stated only for Fin, because that is the only index type for which the imported dependency path exists.

Selected references

  • Niv Buchbinder, Designing Competitive Online Algorithms via a Primal-Dual Approach, PhD thesis, Tel Aviv University, 2008, §2.1, pp. 7–9. https://www.tau.ac.il/~nivb/download/phd-thsis.pdf
  • Dimitris Bertsimas and John N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 — the general form used by the imported strong-duality theorem.
11 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Introduction to Linear Optimization XIII: Lagrangean Duality and Integer ProgrammingTextbook

Linear programming has a complete duality theory; integer programming does not — and the Lagrangean dual measures exactly how far duality reaches. This mission formalizes the duality theory of integer programming from Section 11.4 of Bertsimas–Tsitsiklis, built on the general linear programming duality of Section 4.10. For the integer program

ZIP=min⁡{c′x:Ax≥b, Dx≥d, x integer}Z_{IP} = \min\{c'x : Ax \ge b,\ Dx \ge d,\ x \text{ integer}\}ZIP​=min{c′x:Ax≥b, Dx≥d, x integer}

with integer data, the complicating constraints Ax≥bAx \ge bAx≥b are dualized with multipliers p≥0p \ge 0p≥0 over the tractable set X={x integer∣Dx≥d}X = \{x \text{ integer} \mid Dx \ge d\}X={x integer∣Dx≥d}: the dual function is

Z(p)=min⁡x∈X(c′x+p′(b−Ax))Z(p) = \min_{x \in X}\big(c'x + p'(b - Ax)\big)Z(p)=x∈Xmin​(c′x+p′(b−Ax))

and the Lagrangean dual is ZD=max⁡p≥0Z(p)Z_D = \max_{p \ge 0} Z(p)ZD​=maxp≥0​Z(p). Weak duality ZD≤ZIPZ_D \le Z_{IP}ZD​≤ZIP​ (Theorem 11.2) always holds, but strong duality can fail. The convex hull CH(X)CH(X)CH(X) of the integer points of a polyhedron with integer data is itself a polyhedron (Theorem 11.3, Meyer's theorem), and the capstone — Theorem 11.4, the central result of Section 11.4 — identifies the Lagrangean dual exactly: ZDZ_DZD​ equals the optimal cost of the linear program

min⁡{c′x:Ax≥b, x∈CH(X)}\min\{c'x : Ax \ge b,\ x \in CH(X)\}min{c′x:Ax≥b, x∈CH(X)}

. This is the geometric explanation of the strength of Lagrangean relaxation, yields the bound ordering ZLP≤ZD≤ZIPZ_{LP} \le Z_D \le Z_{IP}ZLP​≤ZD​≤ZIP​, and Corollary 11.1 characterizes exactly when the bounds collapse. The polyhedral engine is the general weak/strong duality pair (Theorems 4.17/4.18) over a primal min⁡c′x\min c'xminc′x s.t. Ax≥bAx \ge bAx≥b, x∈P={x∣Dx≥d}x \in P = \{x \mid Dx \ge d\}x∈P={x∣Dx≥d}, and the formulation-strength comparison Psub⊆PcutP_{sub} \subseteq P_{cut}Psub​⊆Pcut​ of Theorem 10.1 supplies the motivating principle that tighter relaxations of the same integer set give sharper bounds.

18 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Introduction to Linear Optimization VII: Cones, Extreme Rays, and the Resolution TheoremTextbook

How can an unbounded polyhedron be described by finitely many geometric objects? Sections 4.8-4.9 of Bertsimas-Tsitsiklis build the cone machinery: recession cones {d∣Ad≥0}\{d \mid Ad \ge 0\}{d∣Ad≥0} and their rays, extreme rays (defined, like basic solutions, by n−1n-1n−1 linearly independent active constraints), the pointedness criterion (Theorem 4.12: 000 is an extreme point of a polyhedral cone iff the cone contains no line iff nnn of the constraint vectors are linearly independent), and the characterization of unbounded linear programs (Theorems 4.13-4.14: over a pointed polyhedral cone, and then over any polyhedron with an extreme point, the optimal cost is −∞-\infty−∞ iff some extreme ray ddd has c′d<0c'd < 0c′d<0). The capstone is the resolution theorem (Theorem 4.15): a nonempty polyhedron PPP with at least one extreme point equals Q={∑iλixi+∑jθjwj∣λi≥0,θj≥0,∑iλi=1}Q = \{\sum_i \lambda_i x^i + \sum_j \theta_j w^j \mid \lambda_i \ge 0, \theta_j \ge 0, \sum_i \lambda_i = 1\}Q={∑i​λi​xi+∑j​θj​wj∣λi​≥0,θj​≥0,∑i​λi​=1} — the convex hull of its extreme points plus the cone generated by a complete set of its extreme rays. It specializes to Theorem 2.9 / Corollary 4.4 (a nonempty bounded polyhedron is the convex hull of its extreme points) and Corollary 4.5 (a pointed polyhedral cone is generated by its extreme rays). The converse, Theorem 4.16, states that every finitely generated set is a polyhedron — in particular the convex hull of finitely many vectors is a polyhedron. Together these form the Minkowski-Weyl equivalence of the two representations of polyhedra, verified absent from Mathlib and the genuine content of this mission.

21 thms4 active usersReviewed
Machine LearningProbabilityStatistics·Captain: mikedeng1

The Dantzig Selector: Statistical Estimation When p Is Much Larger than n 2: Oracle Inequality within a Logarithmic Factor of the Ideal Mean Squared ErrorResearch Paper

Motivation

Many regression problems have far more unknown coefficients ppp than observations nnn: gene expression studies with tens of samples and thousands of genes, imaging from few measurements, nonparametric curve recovery from a finite number of noisy samples. Estimation is hopeless in general, but becomes possible when the parameter is sparse, that is, has few nonzero entries. Candès and Tao (arXiv:math/0506081; Ann. Statist. 35(6), 2007, doi:10.1214/009053606000001523) proposed the Dantzig selector, an estimator computed by a single linear program, and showed that its squared error is within a logarithmic factor of what an oracle that knew which coefficients matter could achieve.

The estimator became one of the two standard ℓ1\ell_1ℓ1​ methods for high-dimensional regression, alongside the Lasso; the comparison of the two by Bickel, Ritov and Tsybakov (arXiv:0801.1095, 2009) is built on it. This mission targets the paper's main result, the oracle inequality (Theorem 1.2). A companion mission covers the simpler ℓ2\ell_2ℓ2​ bound for sparse parameters (Theorem 1.1).

Setting

Observations follow the linear model

y=Xβ+z,y = X\beta + z,y=Xβ+z,

where X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p is a deterministic design matrix with columns X1,…,XpX_1,\dots,X_pX1​,…,Xp​, each of Euclidean norm ∥Xj∥ℓ2=1\|X_j\|_{\ell_2}=1∥Xj​∥ℓ2​​=1; β∈Rp\beta\in\mathbb R^pβ∈Rp is an unknown deterministic parameter; and z=(z1,…,zn)z=(z_1,\dots,z_n)z=(z1​,…,zn​) has independent N(0,σ2)N(0,\sigma^2)N(0,σ2) coordinates, σ>0\sigma>0σ>0. The vector β\betaβ is SSS-sparse if at most SSS of its entries are nonzero.

Two constants of XXX measure how close sparse sets of columns are to being orthonormal. The restricted isometry constant δS\delta_SδS​ is the smallest δ≥0\delta\ge0δ≥0 such that (1−δ)∥c∥ℓ22≤∥Xc∥ℓ22≤(1+δ)∥c∥ℓ22(1-\delta)\|c\|_{\ell_2}^2\le\|Xc\|_{\ell_2}^2\le(1+\delta)\|c\|_{\ell_2}^2(1−δ)∥c∥ℓ2​2​≤∥Xc∥ℓ2​2​≤(1+δ)∥c∥ℓ2​2​ for every ccc supported on at most SSS indices. The restricted orthogonality constant θS,S′\theta_{S,S'}θS,S′​ (defined for S+S′≤pS+S'\le pS+S′≤p) is the smallest θ≥0\theta\ge0θ≥0 with ∣⟨Xc,Xc′⟩∣≤θ∥c∥ℓ2∥c′∥ℓ2|\langle Xc,Xc'\rangle|\le\theta\|c\|_{\ell_2}\|c'\|_{\ell_2}∣⟨Xc,Xc′⟩∣≤θ∥c∥ℓ2​​∥c′∥ℓ2​​ whenever c,c′c,c'c,c′ are supported on disjoint sets of sizes at most SSS and S′S'S′. Below δ:=δ2S\delta:=\delta_{2S}δ:=δ2S​ and θ:=θS,2S\theta:=\theta_{S,2S}θ:=θS,2S​.

For a tuning level λp>0\lambda_p>0λp​>0, a Dantzig selector β^\hat\betaβ^​ is any solution of

min⁡β~∈Rp∥β~∥ℓ1subject to∥X∗(y−Xβ~)∥ℓ∞=sup⁡1≤j≤p∣⟨y−Xβ~,Xj⟩∣≤λpσ.\min_{\tilde\beta\in\mathbb R^p}\|\tilde\beta\|_{\ell_1}\quad\text{subject to}\quad\|X^*(y-X\tilde\beta)\|_{\ell_\infty}=\sup_{1\le j\le p}|\langle y-X\tilde\beta,X_j\rangle|\le\lambda_p\sigma .β~​∈Rpmin​∥β~​∥ℓ1​​subject to∥X∗(y−Xβ~​)∥ℓ∞​​=1≤j≤psup​∣⟨y−Xβ~​,Xj​⟩∣≤λp​σ.

The ideal mean squared error is ∑i=1pmin⁡(βi2,σ2)\sum_{i=1}^p\min(\beta_i^2,\sigma^2)∑i=1p​min(βi2​,σ2): the risk of an oracle that keeps exactly the coordinates above the noise level.

Formalization targets

Goal: Theorem 1.2 (pp. 8–9)

Let t>0t>0t>0, a≥0a\ge0a≥0, and λp:=(1+a+t−1)2log⁡p\lambda_p:=(\sqrt{1+a}+t^{-1})\sqrt{2\log p}λp​:=(1+a​+t−1)2logp​. If β\betaβ is SSS-sparse and δ2S+θS,2S<1−t\delta_{2S}+\theta_{S,2S}<1-tδ2S​+θS,2S​<1−t, then with probability exceeding 1−(πlog⁡p⋅pa)−11-(\sqrt{\pi\log p}\cdot p^a)^{-1}1−(πlogp​⋅pa)−1 every Dantzig selector obeys

∥β^−β∥ℓ22≤C22⋅λp2⋅(σ2+∑i=1pmin⁡(βi2,σ2)),\|\hat\beta-\beta\|_{\ell_2}^2\le C_2^2\cdot\lambda_p^2\cdot\Big(\sigma^2+\sum_{i=1}^p\min(\beta_i^2,\sigma^2)\Big),∥β^​−β∥ℓ2​2​≤C22​⋅λp2​⋅(σ2+i=1∑p​min(βi2​,σ2)),

with the explicit constant (1.14)

C2=2C01−δ−θ+2θ(1+δ)(1−δ−θ)2+1+δ1−δ−θ,C0=22(1+1−δ21−δ−θ)+(1+12)(1+δ)21−δ−θ.C_2=\frac{2C_0}{1-\delta-\theta}+\frac{2\theta(1+\delta)}{(1-\delta-\theta)^2}+\frac{1+\delta}{1-\delta-\theta},\qquad C_0=2\sqrt2\Big(1+\frac{1-\delta^2}{1-\delta-\theta}\Big)+\Big(1+\frac1{\sqrt2}\Big)\frac{(1+\delta)^2}{1-\delta-\theta}.C2​=1−δ−θ2C0​​+(1−δ−θ)22θ(1+δ)​+1−δ−θ1+δ​,C0​=22​(1+1−δ−θ1−δ2​)+(1+2​1​)1−δ−θ(1+δ)2​.

Milestones

  1. Lemma 3.2: ∥Xβ∥ℓ2≤1+δ (∥β∥ℓ2+(2S)−1/2∥β∥ℓ1)\|X\beta\|_{\ell_2}\le\sqrt{1+\delta}\,(\|\beta\|_{\ell_2}+(2S)^{-1/2}\|\beta\|_{\ell_1})∥Xβ∥ℓ2​​≤1+δ​(∥β∥ℓ2​​+(2S)−1/2∥β∥ℓ1​​) for every β\betaβ.
  2. Lemma A.1 (dual sparse reconstruction, ℓ2\ell_2ℓ2​ version): for ccc supported on ∣T∣≤2S|T|\le2S∣T∣≤2S, a vector β\betaβ on TTT whose correlations ⟨Xβ,Xj⟩\langle X\beta,X_j\rangle⟨Xβ,Xj​⟩ equal cjc_jcj​ on TTT and are small off TTT except on an exceptional set of size at most SSS, with bounds (6.1)–(6.6).
  3. Corollary A.2 (ℓ∞\ell_\inftyℓ∞​ version): the same without exceptional set, constants 1/(1−δ−θ)1/(1-\delta-\theta)1/(1−δ−θ).
  4. Corollary A.3 (constrained thresholding): an SSS-sparse β\betaβ with ∥β∥ℓ2<λS\|\beta\|_{\ell_2}<\lambda\sqrt S∥β∥ℓ2​​<λS​ splits as β′+β′′\beta'+\beta''β′+β′′ with β′\beta'β′ small in ℓ2\ell_2ℓ2​ and ℓ1\ell_1ℓ1​ and ∥X∗Xβ′′∥ℓ∞<1−δ21−δ−θλ\|X^*X\beta''\|_{\ell_\infty}<\frac{1-\delta^2}{1-\delta-\theta}\lambda∥X∗Xβ′′∥ℓ∞​​<1−δ−θ1−δ2​λ.
  5. Gaussian tail bound (Section 3, p. 15): P(sup⁡j∣⟨z,Xj⟩∣>u)≤2p φ(u)/uP(\sup_j|\langle z,X_j\rangle|>u)\le2p\,\varphi(u)/uP(supj​∣⟨z,Xj​⟩∣>u)≤2pφ(u)/u for standard Gaussian noise.
  6. Lemma 3.1: the ℓ2\ell_2ℓ2​ mass of hhh on T0T_0T0​ and its top SSS positions outside T0T_0T0​ is controlled by ∥XT01TXh∥ℓ2\|X^T_{T_{01}}Xh\|_{\ell_2}∥XT01​T​Xh∥ℓ2​​ and ∥h∥ℓ1(T0c)\|h\|_{\ell_1(T_0^c)}∥h∥ℓ1​(T0c​)​.

Significance

The result. Theorem 1.2 says that a single linear program, which knows neither the support of β\betaβ nor which coefficients exceed the noise, matches the oracle risk ∑imin⁡(βi2,σ2)\sum_i\min(\beta_i^2,\sigma^2)∑i​min(βi2​,σ2) up to a factor O(log⁡p)O(\log p)O(logp), uniformly over SSS-sparse parameters and with explicit, nonasymptotic constants. For coefficients well below the noise level it is far sharper than the σ2Slog⁡p\sigma^2 S\log pσ2Slogp bound of Theorem 1.1. It is the template for later oracle inequalities for ℓ1\ell_1ℓ1​-penalized estimators under restricted isometry or restricted eigenvalue conditions.

Formalizing it. The theorem is proved in the paper, but parts of the argument are only sketched: Corollary A.2 refers to the 2005 Decoding by Linear Programming paper for its convergence argument, and Corollary A.3's ℓ1\ell_1ℓ1​ bound is printed with a constant its own proof does not deliver. A machine-checked proof settles these steps. The restricted isometry and orthogonality constants used here are already published on the platform from the decoding series; the appendix lemmas on dual vectors are reusable for any compressed-sensing result in that framework. No formalization of the Dantzig selector's oracle inequality is known to us.

Difficulty

The natural proof compares β^\hat\betaβ^​ with the hard-thresholded parameter β(1)\beta^{(1)}β(1) that keeps only the large coefficients: if β(1)\beta^{(1)}β(1) were feasible for the Dantzig constraint, the analysis of Theorem 1.1 would apply directly. It is not feasible in general, because the small coefficients β(2)\beta^{(2)}β(2), though individually below the noise level, can add up to a large correlation X∗Xβ(2)X^*X\beta^{(2)}X∗Xβ(2). The central difficulty is to split β(2)\beta^{(2)}β(2) into a part with controlled ℓ1\ell_1ℓ1​ and ℓ2\ell_2ℓ2​ norm and a part invisible to the constraint; this requires constructing dual vectors with prescribed correlations (Lemma A.1, Corollary A.2), via an iterative, geometrically convergent correction. The probabilistic part is a Gaussian tail estimate plus a union bound, and the bookkeeping of constants must be carried through exactly.

Formalization scope

Vectors are functions Fin p → ℝ, the design is Matrix (Fin n) (Fin p) ℝ, and the noise is a family z : Fin n → Ω → ℝ of mutually independent random variables (iIndepFun) each with law gaussianReal 0 σ². δ2S\delta_{2S}δ2S​ and θS,2S\theta_{S,2S}θS,2S​ are the published CandesTao.Decoding.restrictedIsometryConst X (2*S) and restrictedOrthogonalityConst X S (2*S) (infima, absolute value in the orthogonality condition). Domain: S≥1S\ge1S≥1 and 3S≤p3S\le p3S≤p (the paper defines θS,S′\theta_{S,S'}θS,S′​ for S+S′≤pS+S'\le pS+S′≤p), which forces p≥3p\ge3p≥3 and log⁡p>0\log p>0logp>0. A Dantzig selector is any ℓ1\ell_1ℓ1​ minimizer over the feasible set; the ℓ∞\ell_\inftyℓ∞​ constraint is a bound on every coordinate.

The goal bounds from above the (outer) probability of the bad event "no Dantzig selector exists, or some Dantzig selector violates (1.13)". Because the event includes non-existence, a definition no vector satisfies cannot make the theorem vacuous; and the constant C2C_2C2​ is the printed (1.14), evaluated at δ2S\delta_{2S}δ2S​, θS,2S\theta_{S,2S}θS,2S​ of XXX, not a free constant chosen after the fact.

Corrected constant: Corollary A.3 is stated with ∥β′∥ℓ1≤21+δ1−δ−θ∥β∥ℓ22/λ\|\beta'\|_{\ell_1}\le2\frac{1+\delta}{1-\delta-\theta}\|\beta\|_{\ell_2}^2/\lambda∥β′∥ℓ1​​≤21−δ−θ1+δ​∥β∥ℓ2​2​/λ, the bound its proof gives once Corollary A.2 is applied at an integer sparsity level; the printed statement omits the factor 222. Corollary A.2 carries Lemma A.1's standing hypothesis δ+θ<1\delta+\theta<1δ+θ<1. The deterministic lemmas (3.1, 3.2, A.1–A.3) assume nothing about column norms, since their statements do not need it.

Useful infrastructure: monotonicity of δS\delta_SδS​ and θS,S′\theta_{S,S'}θS,S′​ in their indices (the proof applies the lemmas at a smaller sparsity level), the Gaussian tail bound 1−Φ(u)<φ(u)/u1-\Phi(u)<\varphi(u)/u1−Φ(u)<φ(u)/u, existence of minimizers of the Dantzig linear program, and a sorting/blocking toolkit for "the SSS largest positions". Proofs of individual milestones are welcome independently.

Selected references

  • E. Candès and T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6):2313–2351, 2007. arXiv:math/0506081v3, doi:10.1214/009053606000001523
  • E. Candès and T. Tao, Decoding by linear programming, IEEE Trans. Inform. Theory 51(12):4203–4215, 2005. arXiv:math/0502327, doi:10.1109/TIT.2005.858979
  • P. Bickel, Y. Ritov and A. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4):1705–1732, 2009. arXiv:0801.1095, doi:10.1214/08-AOS620
  • D. Donoho and I. Johnstone, Ideal spatial adaptation by wavelet shrinkage, Biometrika 81(3):425–455, 1994. doi:10.1093/biomet/81.3.425
11 thms3 active usersReviewed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

On Sequential Decisions and Markov Chains 2: Under Irreducibility, an Optimal Solution of a Linear Program over State-Action Frequencies Yields an Optimal Stationary ProcedureResearch Paper

Linear programming for Markov decision problems

A Markov decision problem asks how to control a system that moves at random between finitely many states, where each decision changes the probabilities of the next move and incurs a cost. Cyrus Derman's 1962 paper On Sequential Decisions and Markov Chains (Management Science 9(1):16–24) treats two criteria: the long-run average cost per period, and the total cost of driving the system into an absorbing state. Its Theorem 2 shows that, once attention is restricted to stationary procedures, each problem can be solved as a linear program over the state-action frequencies of the procedure. This mission formalizes that theorem, its supporting displays (3)–(10) and its Lemma on linear-fractional programs.

The linear programming formulation is now the standard computational and theoretical tool for constrained Markov decision processes, and its variables, the occupation measures, are the objects of most later work on that topic. Derman's paper is among the first to state it for the average-cost criterion. Manne (Linear Programming and Sequential Decisions, Management Science, 1960) gave an earlier average-cost formulation for an inventory model. The reduction of a ratio of linear functions to a linear program in Derman's Lemma is the transformation published in the same year by Charnes and Cooper (Programming with Linear Fractional Functionals, Naval Research Logistics Quarterly, 1962).

Setting

There are finitely many states 0,…,L0, \dots, L0,…,L and decisions d1,…,dKd_1, \dots, d_Kd1​,…,dK​, all available in every state. Making decision dkd_kdk​ in state iii sends the system to state jjj with probability qij(k)≥0q_{ij}(k) \ge 0qij​(k)≥0, where ∑jqij(k)=1\sum_j q_{ij}(k) = 1∑j​qij​(k)=1, and costs wikw_{ik}wik​.

A procedure of class C′C'C′ is stationary randomized: in state iii it makes decision dkd_kdk​ with probability DikD_{ik}Dik​, where Dik≥0D_{ik} \ge 0Dik​≥0 and ∑kDik=1\sum_k D_{ik} = 1∑k​Dik​=1, independently of the past and of the time. Under such a procedure the states form a Markov chain with transition probabilities pij=∑kqij(k)Dikp_{ij} = \sum_k q_{ij}(k) D_{ik}pij​=∑k​qij​(k)Dik​. Write WtW_tWt​ for the expected cost at time ttt when X0=iX_0 = iX0​=i.

  • Problem 1 (average cost): minimize QR(i)=lim sup⁡T→∞1T∑t=0TWtQ_R(i) = \limsup_{T\to\infty} \frac{1}{T}\sum_{t=0}^{T} W_tQR​(i)=limsupT→∞​T1​∑t=0T​Wt​. Here wik>0w_{ik} > 0wik​>0, and Assumption A says that under every procedure of C′C'C′ all states belong to one class.
  • Problem 2 (total cost): the state LLL is absorbing under every decision and wLk=0w_{Lk} = 0wLk​=0. Minimize SR(i)=∑t=0∞WtS_R(i) = \sum_{t=0}^{\infty} W_tSR​(i)=∑t=0∞​Wt​, the expected cost of reaching LLL. Assumption B says that under every procedure of C′C'C′, LLL is reached from every state with probability one.

The state-action frequencies of a procedure D∈C′D \in C'D∈C′ with stationary distribution π\piπ are xjk=πjDjkx_{jk} = \pi_j D_{jk}xjk​=πj​Djk​. They satisfy the linear constraints

(10)xjk≥0,∑kxjk−∑i∑kxik qij(k)=0  (j),∑j∑kxjk=1.\text{(10)}\qquad x_{jk} \ge 0,\qquad \sum_k x_{jk} - \sum_{i}\sum_k x_{ik}\, q_{ij}(k) = 0 \ \ (j),\qquad \sum_j\sum_k x_{jk} = 1 .(10)xjk​≥0,k∑​xjk​−i∑​k∑​xik​qij​(k)=0  (j),j∑​k∑​xjk​=1.

For Problem 2, Derman adjoins a state −1-1−1 that restarts the chain uniformly on 0,…,L0, \dots, L0,…,L and is entered from LLL. The expected total cost then becomes a ratio of two linear functions of the frequencies of this augmented chain, (9).

Formalization targets

Goal: Theorem 2, pinned-down reading

The printed statement, "If Assumption A (B) holds, then problem 1 (2) can be formulated as a linear programming problem", is not a mathematical statement as it stands. The goal is the reading established by its proof (pp. 20–23).

Under Assumption A with w>0w > 0w>0, the program

min⁡ ∑j,kxjkwjksubject to (10)\min \ \sum_{j,k} x_{jk} w_{jk} \quad \text{subject to (10)}min j,k∑​xjk​wjk​subject to (10)

has an optimal solution. For every optimal x∗x^*x∗, every row sum ∑kxjk∗\sum_k x^*_{jk}∑k​xjk∗​ is positive, and Djk∗=xjk∗/∑kxjk∗D^*_{jk} = x^*_{jk}/\sum_k x^*_{jk}Djk∗​=xjk∗​/∑k​xjk∗​ satisfies QD∗(i)≤QD(i)Q_{D^*}(i) \le Q_D(i)QD∗​(i)≤QD​(i) for all D∈C′D \in C'D∈C′ and all iii.

Under Assumption B with the Problem 2 costs, the linear program obtained from (9) by the Lemma's transformation, min⁡∑wjkzjk\min \sum w_{jk} z_{jk}min∑wjk​zjk​ subject to (12), has an optimal solution. For every optimal (z∗,zn+1∗)(z^*, z^*_{n+1})(z∗,zn+1∗​) one has zn+1∗>0z^*_{n+1} > 0zn+1∗​>0, and the procedure decoded from x∗=z∗/zn+1∗x^* = z^*/z^*_{n+1}x∗=z∗/zn+1∗​ satisfies SD∗(i)≤SD(i)S_{D^*}(i) \le S_D(i)SD∗​(i)≤SD​(i) for all D∈C′D \in C'D∈C′ and all iii.

Milestones

In the order the proof uses them: the Cesàro limit and the unique positive stationary distribution of a one-class chain ((3), (5)); the taboo-probability identity (4); the formula (6) for QRQ_RQR​; the cycle formula (7) for the averaged total cost; the remark that minimizing the average of the SR(i)S_R(i)SR​(i) minimizes each one; the correspondence between C′C'C′ and the solutions of (10); and the Lemma reducing a linear-fractional program under conditions (i) and (ii) to the linear program (12).

Significance

The theorem replaces a search over infinitely many randomized procedures by a single finite linear program. It also yields the structural fact that an optimal stationary procedure can be read off from any optimal solution. The variables xjkx_{jk}xjk​ make constraints on long-run frequencies of actions expressible as linear constraints. That is the origin of the theory of constrained Markov decision processes, and of the dual linear programs whose variables are value functions. The Lemma is the classical linear-fractional reduction, used well beyond this setting.

All of these results are proved in the paper and in later textbooks (for example Puterman, Markov Decision Processes, 1994, §8.8 and §9.5). None of them has been formalized: Mathlib has Perron–Frobenius-type facts for irreducible matrices but no linear programming theory, no taboo probabilities and no Markov decision model. The mission produces machine-checked versions of the proof's chain of equalities and of the decoding step, written so that they can be reused for occupation-measure arguments.

Difficulty

Several steps fail in the naive argument. The correspondence between procedures and solutions of (10) needs every row sum ∑kxjk\sum_k x_{jk}∑k​xjk​ to be positive. That uses Assumption A for a procedure obtained by completing the decoded rows arbitrarily, together with the uniqueness and positivity of the stationary distribution. Positivity of the stationary vector of an irreducible but possibly periodic chain, and the Cesàro (not ordinary) convergence of PtP^tPt, have no ready-made form in Mathlib. The total-cost identity (7) needs the regenerative identity (4), whose sums must first be shown to converge, and needs the augmented chain to be irreducible, which follows from Assumption B but is not assumed. Problem 2 needs one more step: a minimizer of the averaged total cost is optimal from every starting state, which uses the finiteness of all SR(i)S_R(i)SR​(i).

Formalization scope

States and decisions are finite Lean types S and Act. Probabilities and costs are real numbers, a procedure of C′C'C′ is a nonnegative real matrix with unit row sums, and the chain is chainMatrix q D. Assumption A is irreducibility (Matrix.IsIrreducible) of every such chain matrix. Assumption B is reachability of LLL from every state; for a finite chain in which LLL is absorbing, this is equivalent to absorption with probability one. QR(i)Q_R(i)QR​(i) is a real limsup of a bounded sequence, with the paper's sum over t=0,…,Tt = 0, \dots, Tt=0,…,T. SR(i)S_R(i)SR​(i) takes values in [0,∞][0, \infty][0,∞]. The paper requires wik>0w_{ik} > 0wik​>0 on p. 17 and wLk=0w_{Lk} = 0wLk​=0 in Problem 2. The formalization uses wik>0w_{ik} > 0wik​>0 for i≠Li \ne Li=L in Problem 2, and keeps the two problems as separate implications. The adjoined state −1-1−1 is none : Option S, with the transition law that produces Derman's p−1,i=1/(L+1)p_{-1,i} = 1/(L+1)p−1,i​=1/(L+1), pL,−1=1p_{L,-1} = 1pL,−1​=1 for every procedure. The published JewellMRP.InfiniteStep definitions of an ergodic matrix and of a stationary vector are reused.

The goal states optimality of the decoded procedure against every competitor in C′C'C′, for every optimal solution of the linear program, with existence of an optimal solution as a separate clause. A statement that only identifies feasible sets, or that only asserts that some optimal procedure exists, does not count as Theorem 2. Optimality over all history-dependent procedures is Theorem 1, a separate mission of this series.

Welcome contributions: the stationary-distribution facts for irreducible finite stochastic matrices (reusable across Markov chain work), a small linear-programming existence lemma (a linear function attains its minimum on a nonempty compact polytope), and the Lemma's transformation, which is self-contained.

Selected references

  • C. Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • A. Charnes and W. W. Cooper, Programming with Linear Fractional Functionals, Naval Research Logistics Quarterly 9(3–4):181–186, 1962. https://doi.org/10.1002/nav.3800090303
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, Springer, 1960. https://doi.org/10.1007/978-3-642-49686-8
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
11 thms3 active usersReviewed
Machine LearningProbabilityStatistics·Captain: mikedeng1

The Dantzig Selector: Statistical Estimation When p Is Much Larger than n 1: ℓ2 Error Bound for Sparse Parameters under the Uniform Uncertainty PrincipleResearch Paper

Motivation

In many statistical applications the number of unknown parameters ppp is far larger than the number of observations nnn: gene-expression studies with tens of samples and thousands of genes, imaging problems with fewer measurements than pixels, and nonparametric curve estimation from finitely many noisy samples. Least squares is useless in this regime, since the system Xβ=yX\beta=yXβ=y is underdetermined. If the parameter is sparse (only a few of its entries are nonzero), estimation becomes possible, and the question is how accurate a computationally tractable estimator can be.

Candès and Tao (arXiv:math/0506081; Ann. Statist. 35(6), 2007, doi:10.1214/009053606000001523) introduced the Dantzig selector, an estimator computed by a linear program, and proved that its squared error is within a factor of order log⁡p\log plogp of the error of an oracle that knows where the nonzero entries are. The paper, with its discussion in the same issue, is one of the founding results of high-dimensional sparse regression, alongside the Lasso analysis of Bickel, Ritov and Tsybakov (arXiv:0801.1095).

Timeline. Candès and Tao (2005, arXiv:math/0502327) showed that ℓ1\ell_1ℓ1​ minimization recovers a sparse vector exactly from noiseless data when the restricted isometry constants of the design satisfy δS+θS,S+θS,2S<1\delta_S+\theta_{S,S}+\theta_{S,2S}<1δS​+θS,S​+θS,2S​<1. The Dantzig selector paper (first posted 2005, published 2007) carried this to Gaussian noise, with the ℓ2\ell_2ℓ2​ error bound formalized here (Theorem 1.1) and an oracle inequality (Theorem 1.2). Bickel, Ritov and Tsybakov (2009) replaced the restricted isometry hypothesis by weaker restricted eigenvalue conditions and showed that the Lasso and the Dantzig selector behave alike.

Setting

Observe y∈Rny\in\mathbb R^ny∈Rn from the linear model

y=Xβ+z,y=X\beta+z ,y=Xβ+z,

where X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p is a deterministic design matrix with columns X1,…,XpX_1,\dots,X_pX1​,…,Xp​, each of Euclidean norm ∥Xj∥ℓ2=1\|X_j\|_{\ell_2}=1∥Xj​∥ℓ2​​=1; β∈Rp\beta\in\mathbb R^pβ∈Rp is an unknown deterministic parameter; and z=(z1,…,zn)z=(z_1,\dots,z_n)z=(z1​,…,zn​) is a vector of independent N(0,σ2)N(0,\sigma^2)N(0,σ2) random variables with σ>0\sigma>0σ>0. The vector β\betaβ is SSS-sparse if at most SSS of its entries are nonzero.

For T⊆{1,…,p}T\subseteq\{1,\dots,p\}T⊆{1,…,p} let XTX_TXT​ be the submatrix of the columns indexed by TTT. The restricted isometry constant δS\delta_SδS​ is the smallest δ≥0\delta\ge0δ≥0 with

(1−δ)∥c∥ℓ22≤∥XTc∥ℓ22≤(1+δ)∥c∥ℓ22(1-\delta)\|c\|_{\ell_2}^2\le\|X_Tc\|_{\ell_2}^2\le(1+\delta)\|c\|_{\ell_2}^2(1−δ)∥c∥ℓ2​2​≤∥XT​c∥ℓ2​2​≤(1+δ)∥c∥ℓ2​2​

for all ∣T∣≤S|T|\le S∣T∣≤S and all coefficient vectors ccc; the restricted orthogonality constant θS,S′\theta_{S,S'}θS,S′​ (for S+S′≤pS+S'\le pS+S′≤p) is the smallest θ≥0\theta\ge0θ≥0 with ∣⟨XTc,XT′c′⟩∣≤θ∥c∥ℓ2∥c′∥ℓ2|\langle X_Tc,X_{T'}c'\rangle|\le\theta\|c\|_{\ell_2}\|c'\|_{\ell_2}∣⟨XT​c,XT′​c′⟩∣≤θ∥c∥ℓ2​​∥c′∥ℓ2​​ for all disjoint T,T′T,T'T,T′ with ∣T∣≤S|T|\le S∣T∣≤S, ∣T′∣≤S′|T'|\le S'∣T′∣≤S′.

Given a tuning parameter λp>0\lambda_p>0λp​>0, the Dantzig selector β^\hat\betaβ^​ is any solution of

min⁡β~∈Rp∥β~∥ℓ1subject to∥X∗(y−Xβ~)∥ℓ∞=max⁡1≤j≤p∣⟨y−Xβ~,Xj⟩∣≤λp⋅σ.\min_{\tilde\beta\in\mathbb R^p}\|\tilde\beta\|_{\ell_1}\quad\text{subject to}\quad\|X^*(y-X\tilde\beta)\|_{\ell_\infty}=\max_{1\le j\le p}|\langle y-X\tilde\beta,X_j\rangle|\le\lambda_p\cdot\sigma .β~​∈Rpmin​∥β~​∥ℓ1​​subject to∥X∗(y−Xβ~​)∥ℓ∞​​=1≤j≤pmax​∣⟨y−Xβ~​,Xj​⟩∣≤λp​⋅σ.

Formalization targets

Goal: Theorem 1.1

Let S≥1S\ge1S≥1, 3S≤p3S\le p3S≤p, β\betaβ SSS-sparse, and δ2S+θS,2S<1\delta_{2S}+\theta_{S,2S}<1δ2S​+θS,2S​<1. For every a≥0a\ge0a≥0, with λp=2(1+a)log⁡p\lambda_p=\sqrt{2(1+a)\log p}λp​=2(1+a)logp​, with probability exceeding 1−(πlog⁡p⋅pa)−11-(\sqrt{\pi\log p}\cdot p^a)^{-1}1−(πlogp​⋅pa)−1 the program has a solution and every solution satisfies

∥β^−β∥ℓ22≤C12⋅λp2⋅S⋅σ2,C1=41−δ2S−θS,2S.\|\hat\beta-\beta\|_{\ell_2}^2\le C_1^2\cdot\lambda_p^2\cdot S\cdot\sigma^2,\qquad C_1=\frac{4}{1-\delta_{2S}-\theta_{S,2S}} .∥β^​−β∥ℓ2​2​≤C12​⋅λp2​⋅S⋅σ2,C1​=1−δ2S​−θS,2S​4​.

For a=0a=0a=0 this is ∥β^−β∥ℓ22≤C12⋅(2log⁡p)⋅S⋅σ2\|\hat\beta-\beta\|_{\ell_2}^2\le C_1^2\cdot(2\log p)\cdot S\cdot\sigma^2∥β^​−β∥ℓ2​2​≤C12​⋅(2logp)⋅S⋅σ2, display (1.10) of the paper. The constant is the one the paper's proof establishes (see Formalization scope).

Milestones

  1. The cone constraint (3.2): if ∥β+h∥ℓ1≤∥β∥ℓ1\|\beta+h\|_{\ell_1}\le\|\beta\|_{\ell_1}∥β+h∥ℓ1​​≤∥β∥ℓ1​​ and β\betaβ vanishes off T0T_0T0​, then ∥hT0c∥ℓ1≤∥hT0∥ℓ1\|h_{T_0^c}\|_{\ell_1}\le\|h_{T_0}\|_{\ell_1}∥hT0c​​∥ℓ1​​≤∥hT0​​∥ℓ1​​.
  2. The tube constraint (3.3): with unit-normed columns, if ∣⟨z,Xj⟩∣≤λp|\langle z,X_j\rangle|\le\lambda_p∣⟨z,Xj​⟩∣≤λp​ for all jjj and β^\hat\betaβ^​ is feasible, then ∥X∗X(β^−β)∥ℓ∞≤2λp\|X^*X(\hat\beta-\beta)\|_{\ell_\infty}\le2\lambda_p∥X∗X(β^​−β)∥ℓ∞​​≤2λp​.
  3. Lemma 3.1 (under the section’s unit-column assumption): an ℓ2\ell_2ℓ2​ bound on hhh over T0∪T1T_0\cup T_1T0​∪T1​ (T1T_1T1​ the SSS largest entries of hhh off T0T_0T0​) in terms of ∥XT01TXh∥ℓ2\|X_{T_{01}}^TXh\|_{\ell_2}∥XT01​T​Xh∥ℓ2​​ and ∥h∥ℓ1(T0c)\|h\|_{\ell_1(T_0^c)}∥h∥ℓ1​(T0c​)​, and ∥h∥ℓ22≤∥h∥ℓ2(T01)2+S−1∥h∥ℓ1(T0c)2\|h\|_{\ell_2}^2\le\|h\|_{\ell_2(T_{01})}^2+S^{-1}\|h\|_{\ell_1(T_0^c)}^2∥h∥ℓ2​2​≤∥h∥ℓ2​(T01​)2​+S−1∥h∥ℓ1​(T0c​)2​.
  4. The deterministic core: with σ=1\sigma=1σ=1, on the event ∣⟨z,Xj⟩∣≤λp|\langle z,X_j\rangle|\le\lambda_p∣⟨z,Xj​⟩∣≤λp​ for all jjj, every Dantzig selector satisfies ∥β^−β∥ℓ22≤C12λp2S\|\hat\beta-\beta\|_{\ell_2}^2\le C_1^2\lambda_p^2S∥β^​−β∥ℓ2​2​≤C12​λp2​S.
  5. The Gaussian tail bound: for standard normal zzz and Zj=⟨z,Xj⟩Z_j=\langle z,X_j\rangleZj​=⟨z,Xj​⟩, P(sup⁡j∣Zj∣>u)≤2p φ(u)/u\mathbb P(\sup_j|Z_j|>u)\le2p\,\varphi(u)/uP(supj​∣Zj​∣>u)≤2pφ(u)/u with φ(u)=(2π)−1/2e−u2/2\varphi(u)=(2\pi)^{-1/2}e^{-u^2/2}φ(u)=(2π)−1/2e−u2/2.

Significance

The result. Theorem 1.1 shows that an estimator computable by linear programming reaches, up to the factor 2log⁡p2\log p2logp and the constant C12C_1^2C12​, the squared error Sσ2S\sigma^2Sσ2 that least squares would attain if the support of β\betaβ were known in advance, even when p≫np\gg np≫n. The factor log⁡p\log plogp is the price of not knowing the support; the paper argues (p. 5) that, apart from this factor, (1.10) is unimprovable in general. The bound is non-asymptotic, with an explicit constant and an explicit failure probability, and it holds for every SSS-sparse β\betaβ simultaneously in the sense that the good event (the noise being nearly orthogonal to every column) does not depend on β\betaβ. Its deterministic part, Lemma 3.1, is reused verbatim in the proof of the paper's oracle inequality (Theorem 1.2) and became a standard tool in compressed sensing.

Formalizing it. The result is proved, and to our knowledge no machine-checked proof exists. A formalization produces a checked version of the cone-and-tube argument behind most ℓ1\ell_1ℓ1​-recovery guarantees, a Lean statement of the restricted isometry machinery for noisy data, and a checked Gaussian maximal inequality usable for other high-dimensional estimators. It also settles the exact constant: the paper prints C1=4/(1−δS−θS,2S)C_1=4/(1-\delta_S-\theta_{S,2S})C1​=4/(1−δS​−θS,2S​), while its proof gives δ2S\delta_{2S}δ2S​ in place of δS\delta_SδS​.

Difficulty

Lemma 3.1 is the main obstacle. The obvious approach bounds ∥h∥ℓ2\|h\|_{\ell_2}∥h∥ℓ2​​ directly through restricted isometry, and it fails because the error hhh is not sparse: it spreads over all ppp coordinates, and restricted isometry controls XXX only on vectors with at most 2S2S2S nonzero entries. The two constraints (3.2) and (3.3) only say that hhh is concentrated in ℓ1\ell_1ℓ1​ on the SSS coordinates of T0T_0T0​ and that X∗XhX^*XhX∗Xh is small coordinatewise, and turning that into an ℓ2\ell_2ℓ2​ bound on all of hhh is where the work lies. In Lean this requires bookkeeping that is routine on paper: ordering the coordinates of hhh off T0T_0T0​ by magnitude, with ties and a possibly incomplete last group of coordinates, and working with the span of a selected set of columns. On the probabilistic side, the tail bound needs the law of ⟨z,Xj⟩\langle z,X_j\rangle⟨z,Xj​⟩ (a weighted sum of independent Gaussians), a sharp Gaussian tail estimate of Mills-ratio type, and a union over ppp events. A cruder sub-Gaussian bound 2e−u2/22e^{-u^2/2}2e−u2/2 would not give the stated failure probability.

Formalization scope

Indices are Fin n and Fin p; vectors are functions into ℝ. The norms, the column XjX_jXj​ and the constants δS\delta_SδS​, θS,S′\theta_{S,S'}θS,S′​ are the published definitions CandesTao_Decoding_Norms and CandesTao_Decoding_RestrictedIsometry (the smallest admissible constants, via sInf), from the formalization of Candès and Tao's Decoding by Linear Programming. The noise is a family z : Fin n → Ω → ℝ on a probability space, mutually independent (iIndepFun), each coordinate with law gaussianReal 0 σ². The ℓ∞\ell_\inftyℓ∞​ constraint is coordinatewise. A Dantzig selector is any minimizer; uniqueness is not assumed. Section 3 works with σ=1\sigma=1σ=1; the goal is stated for general σ>0\sigma>0σ>0.

Committed conventions and corrections:

  • Corrected constant. Theorem 1.1 is printed with C1=4/(1−δS−θS,2S)C_1=4/(1-\delta_S-\theta_{S,2S})C1​=4/(1−δS​−θS,2S​), but the proof (pp. 18–19) applies Lemma 3.1, whose δ\deltaδ is δ2S\delta_{2S}δ2S​. Since δS≤δ2S\delta_S\le\delta_{2S}δS​≤δ2S​, the printed constant is stronger than what is proved. The goal and the deterministic core are stated with C1=4/(1−δ2S−θS,2S)C_1=4/(1-\delta_{2S}-\theta_{S,2S})C1​=4/(1−δ2S​−θS,2S​).
  • Domain. 1≤S1\le S1≤S and 3S≤p3S\le p3S≤p, because θS,2S\theta_{S,2S}θS,2S​ is defined only for S+2S≤pS+2S\le pS+2S≤p. This forces p≥3p\ge3p≥3 and log⁡p>0\log p>0logp>0.
  • Failure event. The probability bounded is that of the set where no Dantzig selector exists or some Dantzig selector violates the bound. A version that only constrains existing solutions, or that assumes the feasible set is nonempty, would be weaker. The bound is strict, as in the paper's "exceeding", and is on the outer measure, so no measurability of the event is assumed.
  • Standing assumptions are binders: unit-normed columns, independent Gaussian noise, deterministic XXX and β\betaβ.

A trivializing formalization is excluded: the hypothesis δ2S+θS,2S<1\delta_{2S}+\theta_{S,2S}<1δ2S​+θS,2S​<1 is on the actual least constants of XXX, not on free parameters, and it is satisfiable (for instance by X=IpX=I_pX=Ip​, where both constants vanish).

Needed infrastructure: sums of independent real Gaussians (Mathlib has gaussianReal and its convolution), a Mills-ratio tail bound, a sorting-based block decomposition of a Finset, and orthogonal projection onto the span of finitely many columns. The block decomposition and the tail bound are reusable beyond this mission. Proofs of any milestone are welcome, as are alternative proofs of Lemma 3.1.

Selected references

  • E. Candès and T. Tao, The Dantzig selector: statistical estimation when p is much larger than n, Ann. Statist. 35(6) (2007), 2313–2351. arXiv:math/0506081, doi:10.1214/009053606000001523
  • E. Candès and T. Tao, Decoding by linear programming, IEEE Trans. Inform. Theory 51(12) (2005), 4203–4215. arXiv:math/0502327
  • P. Bickel, Y. Ritov and A. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4) (2009), 1705–1732. arXiv:0801.1095
9 thms3 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: mikedeng1

Optimization of Multiclass Queueing Networks: Polyhedral and Nonlinear Characterizations of Achievable Performance II: An O(n²) Extended Formulation of the Multiclass M/M/1 Performance PolymatroidResearch Paper

Motivation

A single server shared by several classes of customers is the basic model of scheduling under uncertainty: jobs of different types arrive at random, need random amounts of work, and a scheduler decides at every moment which type to serve. A classical way to optimize such a system, the achievable region approach, describes the set of all performance vectors that some scheduling policy can attain, and optimizes a linear cost over that set with linear programming. For the multiclass M/M/1 queue under preemptive, work-conserving scheduling, this set is a polyhedron described by conservation laws (Coffman and Mitrani, 1980; Gelenbe and Mitrani, 1980; Shanthikumar and Yao, 1992): it is the base of a polymatroid, its vertices are the performance vectors of the n!n!n! strict priority rules, and minimizing a linear cost over it is solved greedily, which recovers the cμc\mucμ rule.

That description uses one inequality for every nonempty set of classes, 2n−12^n-12n−1 constraints in all. Bertsimas, Paschalidis and Tsitsiklis (working paper 1992, Annals of Applied Probability 1994) derived performance bounds for general multiclass networks from quadratic potential functions. Specialized to one station, their nonparametric method produces a different polyhedron, in O(n2)O(n^2)O(n2) variables with O(n2)O(n^2)O(n2) constraints, and they show that its projection is exactly the conservation-law polyhedron (Theorem 8.4). The paper remarks that this confirms, for this polymatroid, the belief that problems solvable in polynomial time admit polynomial-size formulations.

Setting

There are nnn customer classes E={1,…,n}E=\{1,\dots,n\}E={1,…,n}. Class iii has arrival rate λi>0\lambda_i>0λi​>0 and service rate μi>0\mu_i>0μi​>0; its traffic intensity is ρi=λi/μi\rho_i=\lambda_i/\mu_iρi​=λi​/μi​, and the queue is stable: ∑i∈Eρi<1\sum_{i\in E}\rho_i<1∑i∈E​ρi​<1. For S⊆ES\subseteq ES⊆E define

b(S)=∑i∈Sρi/μi1−∑i∈Sρi,b(∅)=0.b(S)=\frac{\sum_{i\in S}\rho_i/\mu_i}{1-\sum_{i\in S}\rho_i},\qquad b(\emptyset)=0 .b(S)=1−∑i∈S​ρi​∑i∈S​ρi​/μi​​,b(∅)=0.

In the queue, nin_ini​ is the steady-state mean number of class iii customers and ni/μin_i/\mu_ini​/μi​ their mean remaining work; b(S)b(S)b(S) is the mean work of the classes in SSS when those classes have preemptive priority over the rest.

The performance polymatroid P1 (Theorem 8.3) is the set of (ni)∈R+n(n_i)\in\mathbb R_+^n(ni​)∈R+n​ with

∑i∈Sniμi≥b(S)(S⊂E),∑i∈Eniμi=b(E).\sum_{i\in S}\frac{n_i}{\mu_i}\ge b(S)\quad (S\subset E),\qquad \sum_{i\in E}\frac{n_i}{\mu_i}=b(E).i∈S∑​μi​ni​​≥b(S)(S⊂E),i∈E∑​μi​ni​​=b(E).

For a permutation π=(π1,…,πn)\pi=(\pi_1,\dots,\pi_n)π=(π1​,…,πn​) of EEE, the vector v(π)v(\pi)v(π) is the solution of the triangular system ∑j=1kxπj/μπj=b({π1,…,πk})\sum_{j=1}^{k}x_{\pi_j}/\mu_{\pi_j}=b(\{\pi_1,\dots,\pi_k\})∑j=1k​xπj​​/μπj​​=b({π1​,…,πk​}), k=1,…,nk=1,\dots,nk=1,…,n (Eq. (58) with fiS=1/μif_i^S=1/\mu_ifiS​=1/μi​).

The extended formulation P2 (Theorem 8.4) is the set of nonnegative (ni)i∈E(n_i)_{i\in E}(ni​)i∈E​ and (Iij)i,j∈E(I_{ij})_{i,j\in E}(Iij​)i,j∈E​ satisfying

μiIii−λini=λi,μiIij+μjIji−λjni−λinj=0 (i≠j),∑i∈EIij=nj.\mu_iI_{ii}-\lambda_in_i=\lambda_i,\qquad \mu_iI_{ij}+\mu_jI_{ji}-\lambda_jn_i-\lambda_in_j=0\ (i\neq j),\qquad \sum_{i\in E}I_{ij}=n_j .μi​Iii​−λi​ni​=λi​,μi​Iij​+μj​Iji​−λj​ni​−λi​nj​=0 (i=j),i∈E∑​Iij​=nj​.

In the queue, IijI_{ij}Iij​ is the steady-state mean of the number of class jjj customers on the event that the server is busy with class iii. The projection P2′\mathrm{P2}'P2′ of P2 is the set of (ni)(n_i)(ni​) for which some (Iij)(I_{ij})(Iij​) makes ((ni),(Iij))((n_i),(I_{ij}))((ni​),(Iij​)) a point of P2.

Formalization targets

Goal: Theorem 8.4

P2′=P1.\mathrm{P2}'=\mathrm{P1}.P2′=P1.

Both inclusions are part of the goal. The statement fixes no constants and holds for every nnn, every positive rate vector and every stable load.

Milestones

  1. §8.2, proof of Theorem 8.3. The extreme points of P1 are exactly the vectors v(π)v(\pi)v(π), and P1 is their convex hull:
ext⁡P1={v(π)},P1=conv⁡{v(π)}.\operatorname{ext}\mathrm{P1}=\{v(\pi)\},\qquad \mathrm{P1}=\operatorname{conv}\{v(\pi)\}.extP1={v(π)},P1=conv{v(π)}.
  1. §8.2, proof of Theorem 8.4. The easy inclusion, which the paper obtains from its Theorem 4.4:
P2′⊆P1.\mathrm{P2}'\subseteq\mathrm{P1}.P2′⊆P1.

Significance

The result. Theorem 8.4 replaces 2n−12^n-12n−1 constraints by O(n2)O(n^2)O(n2) constraints in O(n2)O(n^2)O(n2) variables without changing the projected set. Any linear program over the M/M/1 performance region, including problems with side constraints where the greedy cμc\mucμ rule no longer applies, can then be solved with a polynomial-size LP. It also identifies the paper's nonparametric method as exact at a single station: the method loses nothing there, which is the baseline against which its gaps in networks are measured.

Formalizing it. The result is proved in the paper, but the reverse inclusion P1⊆P2′\mathrm{P1}\subseteq\mathrm{P2}'P1⊆P2′ is argued through achievability: every point of P1 is the performance of some (randomized) policy, and every policy's performance satisfies the equations of P2. That argument rests on stochastic objects (invariant distributions under arbitrary policies, and time-0 randomizations over priority rules) that the paper does not define precisely. The paper points to a purely combinatorial derivation in Paschalidis' thesis, which we have not seen. A machine-checked proof of the polyhedral identity is therefore new content: it supplies the deterministic argument the paper delegates. The polymatroid structure of P1 (Milestone 1) is classical for supermodular set functions; this mission requires it for this specific bbb. We know of no formalization of either result.

Difficulty

The inclusion P2′⊆P1\mathrm{P2}'\subseteq\mathrm{P1}P2′⊆P1 only combines the equations of P2 with nonnegativity. The reverse inclusion is the hard half: for each point of P1 one must exhibit a nonnegative matrix (Iij)(I_{ij})(Iij​) satisfying n2n^2n2 linear equations, and the inequalities of P1 say nothing directly about the off-diagonal entries IijI_{ij}Iij​. The paper's own argument does not help here, since it produces III as a steady-state expectation under a scheduling policy, an object defined through a Markov chain and given in no closed form. The sign constraints Iij≥0I_{ij}\ge0Iij​≥0 are where the 2n−12^n-12n−1 inequalities of P1 are encoded, and a proof has to explain how O(n2)O(n^2)O(n2) sign conditions on auxiliary variables carry exactly the information of exponentially many inequalities in the original ones.

Formalization scope

Classes are Fin n; rates are real functions lam mu : Fin n → ℝ with 0 < lam i, 0 < mu i and ∑ i, lam i / mu i < 1. The paper's nin_ini​ is written x i, because n is the number of classes. A point of P2 is a pair (x, I) with I i j =Iij=I_{ij}=Iij​, including the diagonal entries. P1 is the platform definition AllocationIndices.achievablePolytope with the matrix AiS=1/μiA^S_i=1/\mu_iAiS​=1/μi​: inequality for every S≠ES\neq ES=E, equality at S=ES=ES=E, nonnegativity. The paper writes NNN for the class set EEE in (65) and (71); every such sum runs over all classes. The constraints (64)–(65) bound ni/μin_i/\mu_ini​/μi​, not nin_ini​. v(π)v(\pi)v(π) is given by its closed form, v(π)πk=μπk(b({π1,…,πk})−b({π1,…,πk−1}))v(\pi)_{\pi_k}=\mu_{\pi_k}\bigl(b(\{\pi_1,\dots,\pi_k\})-b(\{\pi_1,\dots,\pi_{k-1}\})\bigr)v(π)πk​​=μπk​​(b({π1​,…,πk​})−b({π1​,…,πk−1​})), which solves (58). The standing hypothesis λi>0\lambda_i>0λi​>0 is presupposed by the model (Poisson arrivals at rate λi\lambda_iλi​); the load condition is the paper's stability condition and keeps every denominator of bbb positive.

No statement involves a policy, a Markov chain or an expectation; the queueing meaning above is motivation only. In particular, neither "P1 is the achievable region" nor "the performance vector of each priority rule is achievable" is formalized. The goal is the full set identity: stating only P2′⊆P1\mathrm{P2}'\subseteq\mathrm{P1}P2′⊆P1, or assuming P1=conv⁡{v(π)}\mathrm{P1}=\operatorname{conv}\{v(\pi)\}P1=conv{v(π)} as a hypothesis of the goal, would not be Theorem 8.4.

A complete development needs: supermodularity of bbb under the load condition; the greedy (Edmonds) description of base polytopes of supermodular functions, which is reusable well beyond this mission; and a nonnegative solution of the P2 system at each v(π)v(\pi)v(π). Contributions of any of these as separate lemmas are welcome.

Selected references

  • D. Bertsimas, I. Ch. Paschalidis, J. N. Tsitsiklis, Optimization of Multiclass Queueing Networks: Polyhedral and Nonlinear Characterizations of Achievable Performance, MIT Sloan School WP #3509-92-MSA, 1992; Annals of Applied Probability 4(1):43–75, 1994. https://doi.org/10.1214/aoap/1177005200
  • E. G. Coffman, I. Mitrani, A characterization of waiting time performance realizable by single-server queues, Operations Research 28(3):810–821, 1980. https://doi.org/10.1287/opre.28.3.810
  • J. G. Shanthikumar, D. D. Yao, Multiclass queueing systems: polymatroidal structure and optimal scheduling control, Operations Research 40(S2):S293–S299, 1992. https://doi.org/10.1287/opre.40.3.S293
  • D. Bertsimas, J. Niño-Mora, Conservation laws, extended polymatroids and multiarmed bandit problems; a polyhedral approach to indexable systems, Mathematics of Operations Research 21(2):257–306, 1996. https://doi.org/10.1287/moor.21.2.257
  • J. Edmonds, Submodular functions, matroids, and certain polyhedra, in Combinatorial Structures and Their Applications, Gordon and Breach, 1970, pp. 69–87.
5 thms3 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Air Travel Demand and Airline Seat Inventory Management I: Marginal Seat Allocation Among Distinct Fare ClassesTextbook

Why airlines allocate seats by fare class

An airline sells the seats of one flight leg at several prices. Low fares fill seats that would otherwise fly empty; high fares are bought by passengers who book late and cannot be predicted exactly. Seat inventory control decides how many seats each fare class may sell. Peter Belobaba's 1987 MIT dissertation (MIT Flight Transportation Laboratory Report R87-7) gave the probabilistic treatment of this problem that became the expected marginal seat revenue (EMSR) method, which was in use across the airline industry for decades.

This mission formalizes the first, simplest model of the thesis: distinct (non-nested) fare-class inventories on a single leg, where a seat assigned to a class may be sold only in that class or not at all. The thesis surveys this model in Sect. 4.2 (pp. 84–94), where an integer-programming formulation from McDonnell-Douglas and its solution by ranking marginal values are described (p. 90), and develops it probabilistically in Sect. 5.1 (pp. 102–107).

Setting

A leg has capacity nnn seats (the thesis also writes CCC). There are finitely many fare classes iii. Class iii has an average fare fi≥0f_i \ge 0fi​≥0 and receives a random number of requests ri∈{0,1,2,… }r_i \in \{0,1,2,\dots\}ri​∈{0,1,2,…}, with law pip_ipi​. The seats are split into allocations Si∈NS_i \in \mathbb{N}Si​∈N, one per class.

With SSS seats, a class books requests until its seats run out, so its bookings and spill (refused requests) are

b=min⁡(r,S),l=(r−S)+(Eq. (5.3)).b = \min(r, S), \qquad l = (r - S)^+ \qquad \text{(Eq. (5.3))}.b=min(r,S),l=(r−S)+(Eq. (5.3)).

The expected revenue of class iii is Rˉi(Si)=fi⋅bˉi(Si)\bar R_i(S_i) = f_i \cdot \bar b_i(S_i)Rˉi​(Si​)=fi​⋅bˉi​(Si​) with bˉi(Si)=E[min⁡(ri,Si)]\bar b_i(S_i) = E[\min(r_i,S_i)]bˉi​(Si​)=E[min(ri​,Si​)], and the leg's expected revenue is Rˉ=∑iRˉi(Si)\bar R = \sum_i \bar R_i(S_i)Rˉ=∑i​Rˉi​(Si​) (Eq. (5.9)). Write

Pˉi(S)=P[ri≥S],EMSRi(S)=fi⋅Pˉi(S)(Eqs. (5.11), (6.1), (6.2)),\bar P_i(S) = P[r_i \ge S], \qquad \mathrm{EMSR}_i(S) = f_i \cdot \bar P_i(S) \qquad \text{(Eqs. (5.11), (6.1), (6.2))},Pˉi​(S)=P[ri​≥S],EMSRi​(S)=fi​⋅Pˉi​(S)(Eqs. (5.11), (6.1), (6.2)),

the expected marginal seat revenue of the SSS-th seat of class iii. The value of the kkk-th seat of class iii in the integer program of p. 90 is mi(k)=EMSRi(k)m_i(k) = \mathrm{EMSR}_i(k)mi​(k)=EMSRi​(k), k=1,…,nk = 1, \dots, nk=1,…,n.

Formalization targets

Goal: the nnn largest marginal values give the optimal booking limits (p. 90)

Let TTT be any set of nnn pairs (i,k)(i,k)(i,k), 1≤k≤n1 \le k \le n1≤k≤n, such that every mi(k)m_i(k)mi​(k) with (i,k)∈T(i,k) \in T(i,k)∈T is at least every mj(l)m_j(l)mj​(l) with (j,l)∉T(j,l) \notin T(j,l)∈/T, and let SiT=#{k:(i,k)∈T}S^T_i = \#\{k : (i,k) \in T\}SiT​=#{k:(i,k)∈T}. Then ∑iSiT=n\sum_i S^T_i = n∑i​SiT​=n and

∑ifi E[min⁡(ri,Si)]  ≤  ∑ifi E[min⁡(ri,SiT)]for every S with ∑iSi≤n.\sum_i f_i\, E[\min(r_i, S_i)] \;\le\; \sum_i f_i\, E[\min(r_i, S^T_i)] \qquad \text{for every } S \text{ with } \textstyle\sum_i S_i \le n .i∑​fi​E[min(ri​,Si​)]≤i∑​fi​E[min(ri​,SiT​)]for every S with ∑i​Si​≤n.

The goal fixes no distribution, number of classes or fare ordering, and it holds for every tie-breaking among equal marginal values.

Milestones

  1. Eq. (5.6): bˉi(S)+lˉi(S)=rˉi\bar b_i(S) + \bar l_i(S) = \bar r_ibˉi​(S)+lˉi​(S)=rˉi​ for requests of finite mean.
  2. Eq. (5.11): Rˉi(S)−Rˉi(S−1)=fi⋅P[ri≥S]\bar R_i(S) - \bar R_i(S-1) = f_i \cdot P[r_i \ge S]Rˉi​(S)−Rˉi​(S−1)=fi​⋅P[ri​≥S] for S≥1S \ge 1S≥1.
  3. Eqs. (6.1)–(6.2): Pˉi\bar P_iPˉi​ and EMSRi\mathrm{EMSR}_iEMSRi​ are non-increasing in SSS.
  4. Eq. (4.5): the 0–1 vector equal to 111 on a set of nnn largest mi(k)m_i(k)mi​(k) is an optimal solution of the linear program max⁡∑i,kXikmi(k)\max \sum_{i,k} X_{ik} m_i(k)max∑i,k​Xik​mi​(k) subject to ∑Xik≤n\sum X_{ik} \le n∑Xik​≤n, 0≤Xik≤10 \le X_{ik} \le 10≤Xik​≤1.
  5. Eq. (5.13), discrete form: an allocation of exactly CCC seats maximises Rˉ\bar RRˉ among such allocations if and only if some λ\lambdaλ satisfies EMSRi(Si)≥λ\mathrm{EMSR}_i(S_i) \ge \lambdaEMSRi​(Si​)≥λ whenever Si≥1S_i \ge 1Si​≥1 and EMSRi(Si+1)≤λ\mathrm{EMSR}_i(S_i + 1) \le \lambdaEMSRi​(Si​+1)≤λ, for all iii.

Significance

The goal is the reason distinct-inventory allocation is computationally easy: a revenue-maximising allocation is obtained by sorting n×(number of classes)n \times (\text{number of classes})n×(number of classes) numbers, with no search over allocations. The same marginal-value principle underlies the EMSR rules for nested classes in the rest of the thesis, and the identity (5.11) is the link between an expected-revenue function and its marginal seat values used throughout revenue management. Milestone 5 is the integer form of the Lagrangian condition of Eq. (5.13); the thesis states it only for a continuous relaxation, and its equality form is generally unattainable with integer seats.

These results are classical and their proofs are elementary; to our knowledge none of them has been machine-checked. The mission produces a reusable formal model of a single-leg, distinct-inventory allocation problem with integer demand (bookings, spill, revenue and marginal values of a PMF ℕ), and checked statements of the marginal-allocation principle for it.

Difficulty

The thesis argues with continuous densities and derivatives, setting ∂Rˉ/∂Si\partial \bar R / \partial S_i∂Rˉ/∂Si​ equal across classes. That argument does not transfer to integer seats: the derivative of a step-shaped expected-revenue function does not exist, equality of marginal values across classes generally fails at every integer allocation, and the tail probability must be P[r≥S]P[r \ge S]P[r≥S] rather than the P[r>S]P[r > S]P[r>S] of Eq. (5.2) for the marginal identity to hold. The integer statements need their own exchange argument. A second subtlety is ties: "the nnn largest values" is not unique, and the goal must hold for every admissible choice, including choices in which a class's selected seat numbers are not an initial segment {1,…,Si}\{1, \dots, S_i\}{1,…,Si​}.

Formalization scope

All declarations live in the namespace SeatInventory.Distinct. Conventions:

  • Integer demand. The law of class iii's requests is d i : PMF ℕ; expectations are series over N\mathbb{N}N. The thesis's continuous densities are replaced by this discrete model, which the thesis itself requires for seat allocations (p. 103).
  • Tail convention. Pˉ(S)=P[r≥S]\bar P(S) = P[r \ge S]Pˉ(S)=P[r≥S], as in Eq. (6.2) and the prose of Eq. (5.11) ("the probability of selling SiS_iSi​ or more seats"), not the P[r>S]P[r > S]P[r>S] of Eq. (5.2).
  • Seat numbers start at 1, and the pairs (i,k)(i,k)(i,k) range over k∈{1,…,n}k \in \{1, \dots, n\}k∈{1,…,n}, as the 600 variables of a 150-seat, four-class problem on p. 90 indicate.
  • Nonnegative fares fi≥0f_i \ge 0fi​≥0 are assumed in every statement that needs them; with a negative fare the capacity constraint ∑Si≤n\sum S_i \le n∑Si​≤n would not bind and the claims fail.
  • Finite mean of the requests is assumed explicitly for Eq. (5.6); the thesis assumes it silently. Expected bookings are bounded and need no assumption.
  • Capacity. The goal and the LP compare against allocations with ∑iSi≤n\sum_i S_i \le n∑i​Si​≤n (the LP's constraint); milestone 5 compares allocations of exactly CCC seats (Eq. (5.8)).
  • No independence assumption. Expected revenue of distinct inventories depends only on each class's marginal law, so the statements take one law per class.
  • "Decreasing" is non-increasing. The thesis's justification in Sect. 6.1.1 gives only monotonicity; strict decrease fails for bounded demand.
  • LP integrality. "The solution will be integer" is stated as: the indicator of every set of nnn largest values is optimal. With ties the LP also has fractional optima.

The expected revenue in the goal is computed from the booking rule min⁡(ri,Si)\min(r_i, S_i)min(ri​,Si​); it is not defined as a sum of marginal values, and the optimal allocation is not defined as an argmax of Rˉ\bar RRˉ. Either shortcut would make the goal a tautology and is ruled out.

Needed infrastructure: tail sums of a PMF ℕ, telescoping of E[min⁡(r,S)]E[\min(r, S)]E[min(r,S)], and a finite exchange argument for sums of the nnn largest values of a function on a finite set; the last two are reusable for any separable concave resource-allocation problem. Contributions of proofs of any milestone, and of a verified sorting routine that produces a set of nnn largest values, are welcome.

Selected references

  • P. P. Belobaba, Air Travel Demand and Airline Seat Inventory Management, PhD thesis, MIT Flight Transportation Laboratory Report R87-7, 1987 (no DOI).
  • P. P. Belobaba, Airline yield management: an overview of seat inventory control, Transportation Science 21(2), 63–73, 1987. https://doi.org/10.1287/trsc.21.2.63
  • P. P. Belobaba, Application of a probabilistic decision model to airline seat inventory control, Operations Research 37(2), 183–197, 1989. https://doi.org/10.1287/opre.37.2.183
  • K. Littlewood, Forecasting and control of passenger bookings, AGIFORS Symposium Proceedings 12, 1972; reprinted in Journal of Revenue and Pricing Management 4(2), 111–123, 2005. https://doi.org/10.1057/palgrave.rpm.5170134
8 thms3 active usersReviewed
PreviousPage 1 of 5Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me