Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Linear Optimization

330 missions · 199 completed

Missions

Open131Completed199All330
Operations ResearchOptimization·Captain: mikedeng1

Constrained Assortment Optimization for the Nested Logit Model 4: Under Space Constraints, O(n²) Rounded Knapsack-Relaxation Assortments Include a min{2, 1/(1−ε)}-Approximate Solution for Every u ≥ 0Research Paper

Why space-constrained assortments matter

A retailer choosing which products to display faces a physical limit: different products consume different amounts of shelf space. Under a nested logit choice model, the value of an assortment also depends on how customers substitute among products within a nest and on whether they leave without buying. Gallego and Topaloglu study this combination of choice and feasibility constraints in Constrained Assortment Optimization for the Nested Logit Model. Their authors' manuscript of September 11, 2013 is the numbered source for this mission. Its §5 isolates a finite family of candidate assortments for each nest, despite the per-nest space-constrained problem being a knapsack problem. A small family matters because the paper's earlier Theorem 4 can then combine the families across nests while controlling expected revenue.

The paper contrasts this case with cardinality constraints. When every product consumes one unit, the per-nest optimization can be solved exactly by a short list of candidates. General space requirements turn it into a knapsack problem, so the paper gives quantitative approximation factors instead. The factor improves when no single product occupies much of a nest's capacity. These statements and their dependencies occur in §§5.1–5.2, pp. 19–22 of the manuscript.

Products, nests, and the parameterized problem

There is a finite set of nests MMM and a nonempty finite product set N={1,…,n}N=\{1,\ldots,n\}N={1,…,n} in each nest. In nest iii, product jjj has preference weight vij>0v_{ij}>0vij​>0, real revenue rijr_{ij}rij​, and space requirement wij>0w_{ij}>0wij​>0. The nest's capacity is cic_ici​, and each product fits by itself: wij≤ciw_{ij}\le c_iwij​≤ci​. An assortment Si⊆NS_i\subseteq NSi​⊆N is feasible when its total space requirement is at most cic_ici​. The empty assortment is feasible and gives zero revenue. The full nested logit model has a no-purchase preference weight v0v_0v0​ and a dissimilarity parameter γi∈(0,1]\gamma_i\in(0,1]γi​∈(0,1] for each nest; these parameters are relevant to the cross-nest expected revenue, but the local problem of this mission uses only one nest's product data.

For an assortment SiS_iSi​, write Vi(Si)=∑j∈SivijV_i(S_i)=\sum_{j\in S_i}v_{ij}Vi​(Si​)=∑j∈Si​​vij​ and Ri(Si)=∑j∈Sivijrij/Vi(Si)R_i(S_i)=\sum_{j\in S_i}v_{ij}r_{ij}/V_i(S_i)Ri​(Si​)=∑j∈Si​​vij​rij​/Vi​(Si​), with Ri(∅)=0R_i(\varnothing)=0Ri​(∅)=0. The paper's parameterized local problem, problem (7), maximizes Vi(Si)(Ri(Si)−u)V_i(S_i)(R_i(S_i)-u)Vi​(Si​)(Ri​(Si​)−u) over feasible assortments for each u≥0u\ge0u≥0. Since the within-nest no-purchase weight is zero, equation (8) gives its equivalent sum of product utilities:

Vi(Si)(Ri(Si)−u)=∑j∈Sivij(rij−u).V_i(S_i)(R_i(S_i)-u)=\sum_{j\in S_i}v_{ij}(r_{ij}-u).Vi​(Si​)(Ri​(Si​)−u)=j∈Si​∑​vij​(rij​−u).

Problem (10) is this objective written as a zero-one knapsack: each product decision is zero or one and ∑jwijxij≤ci\sum_jw_{ij}x_{ij}\le c_i∑j​wij​xij​≤ci​. Its LP relaxation permits 0≤xij≤10\le x_{ij}\le10≤xij​≤1. At parameter uuu, the product's utility-to-space ratio is fij(u)=vij(rij−u)/wijf_{ij}(u)=v_{ij}(r_{ij}-u)/w_{ij}fij​(u)=vij​(rij​−u)/wij​. Rounding a relaxation solution down retains precisely the products with xij=1x_{ij}=1xij​=1. The candidate family also contains each singleton assortment {j}\{j\}{j}.

Formalization targets

Theorem 6 asserts that a collection Ai\mathcal A_iAi​ of at most quadratic size includes a two-approximate solution to problem (7) for every u≥0u\ge0u≥0. Here an assortment SSS is α\alphaα-approximate at uuu if it is feasible and αVi(S)(Ri(S)−u)\alpha V_i(S)(R_i(S)-u)αVi​(S)(Ri​(S)−u) is at least the objective of every feasible assortment. The O(n2)O(n^2)O(n2) statement is pinned to the explicit bound ∣Ai∣≤(n+1)2|\mathcal A_i|\le(n+1)^2∣Ai​∣≤(n+1)2.

∀u≥0,∃S∈Ai:∀T∈Ci,Vi(T)(Ri(T)−u)≤2Vi(S)(Ri(S)−u).\forall u\ge0,\quad \exists S\in\mathcal A_i:\quad \forall T\in C_i,\quad V_i(T)(R_i(T)-u)\le 2V_i(S)(R_i(S)-u).∀u≥0,∃S∈Ai​:∀T∈Ci​,Vi​(T)(Ri​(T)−u)≤2Vi​(S)(Ri​(S)−u).

The §5.2 target keeps the same collection and adds the finer guarantee whenever each product is small relative to capacity. For every ϵ∈[0,1)\epsilon\in[0,1)ϵ∈[0,1) such that wij≤ϵciw_{ij}\le\epsilon c_iwij​≤ϵci​ for all jjj, and for every u≥0u\ge0u≥0, some member of Ai\mathcal A_iAi​ satisfies

∀T∈Ci,Vi(T)(Ri(T)−u)≤11−ϵVi(S)(Ri(S)−u).\forall T\in C_i,\quad V_i(T)(R_i(T)-u)\le\frac{1}{1-\epsilon}V_i(S)(R_i(S)-u).∀T∈Ci​,Vi​(T)(Ri​(T)−u)≤1−ϵ1​Vi​(S)(Ri​(S)−u).

The two members need not be the same, but the finite family is fixed before uuu and ϵ\epsilonϵ are chosen. Together the claims yield the paper's factor min⁡{2,1/(1−ϵ)}\min\{2,1/(1-\epsilon)\}min{2,1/(1−ϵ)}. The main goal formalizes both parts; Theorem 6 and the paper's intermediate statements are milestones.

What the guarantees supply

The local result converts infinitely many parameter values into a finite search domain. Theorem 4 of the same paper says that if each nest has candidates containing an α\alphaα-approximate local solution for every u≥0u\ge0u≥0, then some cross-nest combination obtains at least the optimal expected revenue divided by α\alphaα. Theorem 2 relates the best combination of candidates to a linear program. Thus the finite collection in this mission supplies the local ingredient needed for the paper's global factor two, or the smaller factor under the product-size condition. These consequences are stated in the paragraphs immediately following Theorem 6 and the §5.2 conclusion.

The paper already proves these mathematical results. This mission asks for machine-checked proofs of its specific knapsack relaxation, rounding inequality, and approximation statements. It also creates reusable finite-knapsack definitions and explicit interfaces between the paper's local objective and the published nested logit model. The goal and milestones here remain open Lean statements until solvers provide proofs; compiling a statement with sorry checks its syntax and types, not its mathematical validity.

Where the argument is delicate

The parameter uuu ranges over a continuum, yet one family of bounded size must work for all of it. Different values of uuu change the objective coefficients and may change which products belong in an LP optimum. At ties or sign changes, the optimum need not be unique, so a statement about a particular chosen solution requires care. A second difficulty is the fractional LP coordinate: its value can exceed the rounded set's objective, and the refined factor uses a comparison between its utility and the space already occupied. The displayed chain in §5.2 contains quotients that can have zero denominators; the formal milestone states its endpoint inequality directly. A fractional product with zero utility need not force capacity to be filled, which is why the capacity-consumption milestone states positive utility explicitly.

Formalization scope

The existing NestedLogitVariants.LP.Model supplies the nested logit instance and its ViV_iVi​ and RiR_iRi​ functions. A general finite continuous-knapsack definition is separate from the paper-specific assortment data. Products use Fin n, nests use a finite type, and assortments use finite sets. The empty finite set represents 0ˉ\bar 00ˉ. The model's within-nest no-purchase weight is fixed to zero, as in the manuscript's main local formulation. Revenues remain arbitrary real numbers; there is no assumption that they are nonnegative or sorted. The capacity and product space requirements are real numbers, with wij>0w_{ij}>0wij​>0 and wij≤ciw_{ij}\le c_iwij​≤ci​. Positive preference weights and nonempty NNN are explicit. No condition on γi\gamma_iγi​ or v0v_0v0​ is needed for this local problem (7).

The candidate family is a finite set of rounded LP optima and all singletons. Its size is bounded before uuu and ϵ\epsilonϵ are quantified. Each approximation compares against feasible integer assortments using problem (7), including the empty assortment. The LP optimum itself is never substituted for the integer comparator. General unequal space requirements remain in scope. Contributions that formalize the parametric LP behavior, its one-fractional-coordinate optimum, and the paper's two rounding guarantees fit this mission.

Selected references

  • Guillermo Gallego and Huseyin Topaloglu, Constrained Assortment Optimization for the Nested Logit Model, Management Science 60(10), 2014, DOI 10.1287/mnsc.2014.1931. Authors' manuscript, September 11, 2013, especially pp. 7–8 and 19–22.
10 thms1 active userReviewed
Complexity TheoryTheoretical Computer Science·Captain: mikedeng1

The Power of the Combined Basic LP and Affine Relaxation for Promise CSPs I: BLP+Affine Correctly Solves Every PCSP with Symmetric Polymorphisms of Arbitrarily Large AritiesResearch Paper

Motivation

A constraint satisfaction problem (CSP) asks whether variables can be assigned values from a finite domain so that every constraint, drawn from a fixed list of allowed relations, is satisfied. A promise CSP (PCSP) relaxes the question: given two templates A\mathbf AA and B\mathbf BB with a homomorphism A→B\mathbf A\to\mathbf BA→B, distinguish instances satisfiable in A\mathbf AA from instances not even satisfiable in the weaker B\mathbf BB. Approximate graph colouring (colour a graph with more colours than its chromatic number) is the standard example. For CSPs, the resolution of the Feder–Vardi dichotomy conjecture by Bulatov and Zhuk (FOCS 2017) ties tractability to the existence of polymorphisms satisfying non-trivial identities; for PCSPs no such dichotomy is known, and the question of which polymorphism families yield algorithms is open in general.

A polymorphism of a PCSP is a function f:AL→Bf:A^L\to Bf:AL→B mapping tuples of rows satisfying the strict constraints to columns satisfying the weak ones. Brakensiek, Guruswami, Wrochna and Živný (arXiv:1907.04383v3, SIAM J. Comput. 2020) give a single algorithm, BLP+Affine, that decides every PCSP with infinitely many symmetric polymorphisms, and extend it to block-symmetric polymorphisms. As a corollary the same algorithm solves all tractable Boolean CSPs of Schaefer's dichotomy (2-SAT, Horn-SAT and its dual, linear equations mod 2).

Timeline, as recorded in the paper's introduction:

  • 2012: Kun, O'Donnell, Tamaki, Yoshida and Zhou (ITCS 2012): with symmetric polymorphisms of all arities, the Basic LP alone decides the CSP; with only some arities (e.g. odd majorities) it does not.
  • 2017: Austrin, Guruswami and Håstad classify (2+ϵ)(2+\epsilon)(2+ϵ)-SAT and introduce polymorphisms for PCSPs (SIAM J. Comput. 46(5), 2017).
  • 2018–2019: Brakensiek and Guruswami study PCSPs through polymorphisms; their SODA 2019 algorithm (arXiv:1807.05194) solves the search version for PCSPs with structured symmetric polymorphisms (threshold, threshold-periodic, regional), combining an LP over Z[2]\mathbb Z[\sqrt2]Z[2​] with an affine relaxation over a finite ring.
  • 2019: Barto, Bulín, Krokhin and Opršal (arXiv:1811.00970) show that the identities satisfied by polymorphisms, captured by minion homomorphisms, determine the complexity of a PCSP.
  • 2019–2020: the present paper. Theorem 2 needs only that fff be symmetric, with no structure beyond that; Theorem 3 handles any number of blocks; Theorem 4 characterizes exactly the PCSPs that BLP+Affine solves.

Setting

A signature τ\tauτ is a set of symbols RRR with arities ar(R)\mathrm{ar}(R)ar(R). A relational structure A\mathbf AA on a finite domain AAA gives, for each RRR, a relation RA⊆Aar(R)R^{\mathbf A}\subseteq A^{\mathrm{ar}(R)}RA⊆Aar(R). A homomorphism A→B\mathbf A\to\mathbf BA→B is a map σ:A→B\sigma:A\to Bσ:A→B sending every tuple of RAR^{\mathbf A}RA, componentwise, into RBR^{\mathbf B}RB; (A,B)(\mathbf A,\mathbf B)(A,B) is a promise template when one exists.

An instance XXX has variables x1,…,xnx_1,\dots,x_nx1​,…,xn​ and constraints cj=(Rj,xˉj)c_j=(R_j,\bar x_j)cj​=(Rj​,xˉj​), j∈[m]j\in[m]j∈[m], where xˉj\bar x_jxˉj​ is a tuple of ar(Rj)\mathrm{ar}(R_j)ar(Rj​) variables. XXX is satisfiable in A\mathbf AA if some assignment sends every xˉj\bar x_jxˉj​ into RjAR_j^{\mathbf A}RjA​.

A polymorphism of (A,B)(\mathbf A,\mathbf B)(A,B) of arity LLL is f:AL→Bf:A^L\to Bf:AL→B such that for every RRR and every L×ar(R)L\times\mathrm{ar}(R)L×ar(R) matrix whose rows lie in RAR^{\mathbf A}RA, applying fff to each column gives a tuple in RBR^{\mathbf B}RB. It is symmetric if it is invariant under all permutations of its LLL arguments.

The Basic LP LPQ(X,A)\mathrm{LP}_{\mathbb Q}(X,\mathbf A)LPQ​(X,A) has rational unknowns wi(a)≥0w_i(a)\ge0wi​(a)≥0, a distribution on AAA for each variable, and pj(y)≥0p_j(y)\ge0pj​(y)≥0, a distribution on RjAR_j^{\mathbf A}RjA​ for each constraint, linked by the marginal conditions ∑y: yk=apj(y)=wi(a)\sum_{y:\,y_k=a}p_j(y)=w_i(a)∑y:yk​=a​pj​(y)=wi​(a) when xix_ixi​ is the kkk-th variable of xˉj\bar x_jxˉj​. The affine relaxation AffZ(X,A)\mathrm{Aff}_{\mathbb Z}(X,\mathbf A)AffZ​(X,A) is the same system of equations in integer unknowns ri(a)r_i(a)ri​(a), qj(y)q_j(y)qj​(y), with no sign constraints.

The BLP+Affine algorithm (Figure 1) finds a relative interior point (w,p)(w,p)(w,p) of LPQ(X,A)\mathrm{LP}_{\mathbb Q}(X,\mathbf A)LPQ​(X,A), rejecting if there is none; restricts the affine system to AffZ′(X,A)\mathrm{Aff}'_{\mathbb Z}(X,\mathbf A)AffZ′​(X,A) by forcing ri(a)=0r_i(a)=0ri​(a)=0 wherever wi(a)=0w_i(a)=0wi​(a)=0 and qj(y)=0q_j(y)=0qj​(y)=0 wherever pj(y)=0p_j(y)=0pj​(y)=0; and accepts if and only if the restricted system has an integer solution. It correctly solves PCSP-Decision(A,B)\mathrm{PCSP\text{-}Decision}(\mathbf A,\mathbf B)PCSP-Decision(A,B) (Definition 1) if it accepts every instance satisfiable in A\mathbf AA and rejects every instance unsatisfiable in B\mathbf BB.

Formalization targets

Goal: Theorem 2 (p. 6)

(∀N ∃L≥N ∃f:AL→B symmetric polymorphism of (A,B)) ⟹ BLP+Affine correctly solves PCSP-Decision(A,B).\Bigl(\forall N\ \exists L\ge N\ \exists f:A^L\to B \text{ symmetric polymorphism of } (\mathbf A,\mathbf B)\Bigr)\ \Longrightarrow\ \text{BLP+Affine correctly solves } \mathrm{PCSP\text{-}Decision}(\mathbf A,\mathbf B).(∀N ∃L≥N ∃f:AL→B symmetric polymorphism of (A,B)) ⟹ BLP+Affine correctly solves PCSP-Decision(A,B).

The hypothesis is a property of the template alone; the conclusion quantifies over all instances.

Milestones, in attack order

  1. Footnote 1 (p. 5): a feasible LPQ(X,A)\mathrm{LP}_{\mathbb Q}(X,\mathbf A)LPQ​(X,A) has a solution of maximal support.
  2. Completeness (p. 6): an instance satisfiable in A\mathbf AA is accepted.
  3. Rounding of variables (pp. 6–7): Wi(a)=uℓwi(a)+vri(a)W_i(a)=u\ell w_i(a)+v r_i(a)Wi​(a)=uℓwi​(a)+vri​(a) are non-negative integers with ∑aWi(a)=L\sum_a W_i(a)=L∑a​Wi​(a)=L, for L=uℓ+v≥Mℓ2L=u\ell+v\ge M\ell^2L=uℓ+v≥Mℓ2, 0≤v<ℓ0\le v<\ell0≤v<ℓ.
  4. Rounding of constraints (p. 7): Pj(y)=uℓpj(y)+vqj(y)P_j(y)=u\ell p_j(y)+v q_j(y)Pj​(y)=uℓpj​(y)+vqj​(y) are non-negative integers with ∑yPj(y)=L\sum_y P_j(y)=L∑y​Pj​(y)=L.
  5. Eq. (9) (p. 7): Wi(a)=∑y: y∣i=aPj(y)W_i(a)=\sum_{y:\,y|i=a}P_j(y)Wi​(a)=∑y:y∣i=a​Pj​(y).
  6. Satisfying assignment (p. 7): Xi:=f(a,…,a [Wi(a) times])X_i:=f(a,\dots,a\ [W_i(a)\text{ times}])Xi​:=f(a,…,a [Wi​(a) times]) satisfies XXX in B\mathbf BB.

Companion: Theorem 3 (p. 8)

The same conclusion when Pol(A,B)\mathrm{Pol}(\mathbf A,\mathbf B)Pol(A,B) contains block-symmetric polymorphisms of arbitrarily large width: [L][L][L] is split into blocks, each of size at least NNN, within which fff is invariant.

Significance

Theorem 2 gives one algorithm that decides every PCSP with an infinite family of symmetric polymorphisms, without knowing or evaluating the polymorphisms; it subsumes the BLP-then-AIP algorithm of Brakensiek and Guruswami for Boolean templates and applies over any finite domain. Theorem 3 extends this to block-symmetric families, which covers nearly all known tractable Boolean PCSPs, including 1-in-3-SAT versus NAE-SAT, whose alternating threshold polymorphisms are block-symmetric but not symmetric.

The results are proved in the paper. No machine-checked formalization of PCSPs, polymorphisms or the Basic LP is known to exist; Mathlib has no theory of constraint satisfaction. This mission produces a formal model of promise templates, instances, polymorphisms, the two relaxations and the algorithm's acceptance condition, together with a formal proof of the correctness theorem. The same model is the starting point for the characterization theorem (Theorem 4) treated in the companion mission.

Difficulty

Completeness is routine. Soundness is the substance: from a rational LP solution and an integer solution of the refined affine system one must produce an actual assignment in B\mathbf BB, using a polymorphism whose arity is chosen only after the instance is known. The natural first idea, clearing denominators of the LP solution and feeding the resulting multiplicities to a polymorphism, needs a polymorphism of exactly the arity the denominators dictate; with polymorphisms of only some arities it fails, and the paper's introduction notes that the LP alone does not suffice there. An integer affine solution, on the other hand, may have negative entries, which are not multiplicities. The paper stresses that the affine system must be the one refined by the support of a relative interior point: an arbitrary solution of the unrefined lattice gives no control on where the negative entries sit. In the formalization, the counting step (the columns of the matrix built from the constraint multiplicities have the variable multiplicities) and the passage from equal multiplicities to equal values of a symmetric function require explicit combinatorics on finite tuples, and the existence of a maximal-support LP solution requires an averaging argument over the finite set of coordinates.

Formalization scope

All declarations are in the namespace PCSPBLPAff.Symmetric. Conventions:

  • Domains are Lean types with Fintype and DecidableEq; variables are Fin n, constraints Fin m, and a constraint's scope is a function Fin (ar R_j) → Fin n, possibly repeating variables.
  • Arities are any natural numbers (the page asks for positive arities; every statement remains true for arity 0).
  • The LP is over Q\mathbb QQ and the affine system over Z\mathbb ZZ. The weights pjp_jpj​, qjq_jqj​ are total functions on Aar(Rj)A^{\mathrm{ar}(R_j)}Aar(Rj​) required to vanish off RjAR_j^{\mathbf A}RjA​.
  • The marginal conditions (5) and (8) are imposed per position of the scope.
  • The relative interior point is encoded by its only property the algorithm uses (footnote 1): a solution whose support contains the support of every solution. Acceptance requires such a solution and an affine solution vanishing outside its support.
  • A block-symmetric function of width at least NNN has at least one block, each block of size at least NNN.
  • The polynomial-time claims of the paper, and the Remark on Z[2]\mathbb Z[\sqrt2]Z[2​], are out of scope: the algorithm is formalized by its acceptance condition.

The acceptance condition must not be replaced by "the LP is feasible and AffZ(X,A)\mathrm{Aff}_{\mathbb Z}(X,\mathbf A)AffZ​(X,A) has a solution", nor by an affine solution vanishing outside the support of an arbitrary LP solution; the first is a different algorithm and the second bypasses footnote 1.

Contributions welcome: proofs of the milestones, in particular the combinatorial lemma that a symmetric function takes the same value on tuples with the same multiplicities, and the averaging argument for maximal-support solutions; the block-wise version for Theorem 3.

Selected references

  • J. Brakensiek, V. Guruswami, M. Wrochna, S. Živný, The Power of the Combined Basic Linear Programming and Affine Relaxation for Promise Constraint Satisfaction Problems, SIAM J. Comput. 49(6), 2020; arXiv:1907.04383v3. https://arxiv.org/abs/1907.04383v3
  • J. Brakensiek, V. Guruswami, An Algorithmic Blend of LPs and Ring Equations for Promise CSPs, SODA 2019. https://arxiv.org/abs/1807.05194
  • J. Brakensiek, V. Guruswami, Promise Constraint Satisfaction: Structure Theory and a Symmetric Boolean Dichotomy, SODA 2018. https://arxiv.org/abs/1704.01937
  • L. Barto, J. Bulín, A. Krokhin, J. Opršal, Algebraic Approach to Promise Constraint Satisfaction, J. ACM 68(4), 2021. https://arxiv.org/abs/1811.00970
8 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

Constrained Assortment Optimization for the Nested Logit Model 1: The Assortment Stitched from the Linear Program (4) Is the Best Among All Combinations of the Candidate AssortmentsResearch Paper

Motivation

An assortment planner chooses which products to offer to arriving customers. When products are grouped into nests, a customer's choice of nest depends on all the assortments offered at once. A planner may nevertheless be able to generate only a short list of promising assortments for each nest. The remaining task is to choose one assortment from each list so that their combined expected revenue is as large as possible. Testing every combination requires a number of evaluations equal to the product of the list sizes. Gallego and Topaloglu show that the choice can instead be described through a linear program whose number of constraints grows with the sum of those sizes; this is Theorem 2 of their 2014 paper, in the authors' September 11, 2013 manuscript, pp. 10–12.

This mission isolates that selection result. Later parts of the paper address how to construct useful candidate lists under cardinality, space, and pricing constraints. Here the candidates are already given, and the question is which combination earns the most. The result matters whenever the candidate lists are much smaller than the space of all assortments: it makes the last step of those algorithms an exact optimization over the candidates, without enumerating their Cartesian product.

Setting

Let MMM be a finite set of nests and NNN a finite set of products available in each nest. An assortment Si⊆NS_i\subseteq NSi​⊆N is the set offered in nest iii. Product jjj in nest iii has preference weight vij>0v_{ij}>0vij​>0 and revenue rij∈Rr_{ij}\in\mathbb Rrij​∈R. The empty assortment is allowed. The main model has no within-nest no-purchase option, so its total offered weight is Vi(Si)=∑j∈SivijV_i(S_i)=\sum_{j\in S_i}v_{ij}Vi​(Si​)=∑j∈Si​​vij​. The conditional revenue in nest iii is Ri(Si)=∑j∈Sivijrij/Vi(Si)R_i(S_i)=\sum_{j\in S_i}v_{ij}r_{ij}/V_i(S_i)Ri​(Si​)=∑j∈Si​​vij​rij​/Vi​(Si​), with Ri(∅)=0R_i(\varnothing)=0Ri​(∅)=0 under the paper's 0/0=00/0=00/0=0 convention.

The weight of no purchase outside the nests is v0>0v_0>0v0​>0. Each nest has a dissimilarity parameter γi∈(0,1]\gamma_i\in(0,1]γi​∈(0,1]. Its attraction weight is Vi(Si)γiV_i(S_i)^{\gamma_i}Vi​(Si​)γi​. The expected revenue of a combined assortment S=(Si)i∈MS=(S_i)_{i\in M}S=(Si​)i∈M​ is

Π(S)=∑i∈MVi(Si)γiRi(Si)v0+∑i∈MVi(Si)γi.\Pi(S)=\frac{\sum_{i\in M}V_i(S_i)^{\gamma_i}R_i(S_i)} {v_0+\sum_{i\in M}V_i(S_i)^{\gamma_i}}.Π(S)=v0​+∑i∈M​Vi​(Si​)γi​∑i∈M​Vi​(Si​)γi​Ri​(Si​)​.

For each nest, AiA_iAi​ is a finite nonempty collection of candidate assortments. The paper obtains these from a feasible set CiC_iCi​, which may impose a cardinality or space constraint; Theorem 2 compares only combinations drawn from the supplied candidates. Equation (2) defines a real scalar z^\widehat zz through the maximum, over AiA_iAi​ separately, of Vi(Si)γi(Ri(Si)−z)V_i(S_i)^{\gamma_i}(R_i(S_i)-z)Vi​(Si​)γi​(Ri​(Si​)−z). Problem (3) selects a maximizing candidate S^i\widehat S_iSi​ in each nest at that scalar. Linear program (4) has decision variables (z,yi)i∈M(z,y_i)_{i\in M}(z,yi​)i∈M​, minimizes zzz, and imposes v0z≥∑iyiv_0z\ge\sum_i y_iv0​z≥∑i​yi​ and yi≥Vi(Si)γi(Ri(Si)−z)y_i\ge V_i(S_i)^{\gamma_i}(R_i(S_i)-z)yi​≥Vi​(Si​)γi​(Ri​(Si​)−z) for every iii and every Si∈AiS_i\in A_iSi​∈Ai​.

Formalization targets

The goal is the exact candidate-selection claim of Theorem 2. If (z^,y^)(\widehat z,\widehat y)(z,y​) minimizes zzz among all feasible pairs of program (4), and every S^i\widehat S_iSi​ solves problem (3) at z^\widehat zz, then

Π(S1,…,Sm)≤Π(S^1,…,S^m)for every Si∈Ai.\Pi(S_1,\ldots,S_m)\le\Pi(\widehat S_1,\ldots,\widehat S_m) \qquad\text{for every }S_i\in A_i.Π(S1​,…,Sm​)≤Π(S1​,…,Sm​)for every Si​∈Ai​.

The milestones record three statements from pp. 11–12: equation (2) has a unique real root; the balance equation and its inequality form characterize the expected revenue of a fixed assortment; and Lemma 1 identifies the root as the best revenue attainable from candidate combinations while showing that local maximizers attain it. They separate the paper's numerical characterization of the best candidate revenue from its LP formulation. The target does not prescribe how the candidate lists were generated or claim that the selected combination is best among assortments outside those lists.

Significance

The theorem gives an exact, compact choice rule for assembling nestwise candidates. If the lists contain useful assortments under the original constraints, their best combination can be selected through program (4). The rest of the paper establishes candidate-generation and approximation results under particular constraint families; the stitching theorem supplies the common final selection step for those results. A larger candidate list may improve the obtainable revenue, but its Cartesian product need not be searched explicitly. The authors' manuscript, p. 12, states that program (4) has 1+m1+m1+m variables and 1+∑i∣Ti∣1+\sum_i|T_i|1+∑i​∣Ti​∣ constraints when the candidates are indexed by TiT_iTi​.

Formalizing the theorem yields a reusable statement about the interaction of a fractional revenue objective, independent nestwise candidate families, and a shared scalar LP. The published Prove2Me definition NestedLogitVariants.LP.Model already supplies the instance, ViV_iVi​, RiR_iRi​, Π\PiΠ, and the feasibility and optimality predicates for program (4). Its previously proved lp4_opt_binding concerns an equality at an LP optimum under ordered, nonnegative revenues; it does not contain Theorem 2's maximality claim under this paper's revenue assumptions. The four statements in this mission are draft targets awaiting machine-checked proofs.

Difficulty

Optimizing a candidate independently in every nest at an arbitrary value of zzz does not generally optimize the combined revenue: the revenue denominator couples all nests. Likewise, an LP-feasible value need not be its minimum, and using such a value in problem (3) does not establish the theorem. The substantive assertion is that choosing the local maximizers at the optimal LP value solves the combined selection problem. The unique-root statement also needs care at empty assortments, where a nest contributes zero attraction and the conditional revenue uses the paper's 0/00/00/0 convention.

Formalization scope

Nests are represented by any finite type, and products by Fin n, indexed 0,…,n−10,\ldots,n-10,…,n−1 rather than the paper's 1,…,n1,\ldots,n1,…,n. A Boolean offer vector is represented by Finset (Fin n); 0‾\overline 00 is the empty finset. Each AiA_iAi​ is a finite set of such assortments. There is no single-nest or γi=1\gamma_i=1γi​=1 specialization, and no substitution of all possible assortments for the supplied candidates. The LP assumption is its full minimum objective property, not merely feasibility. The imported LP4Optimal predicate uses a set of candidates, supplied by coercing each finite AiA_iAi​ to a set.

The source's main model is selected from the imported general instance by setting vi0=0v_{i0}=0vi0​=0. In the paper's later extension, Vi(Si)=vi01(Si≠0‾)+∑jvijSijV_i(S_i)=v_{i0}\mathbf1(S_i\ne\overline0)+\sum_jv_{ij}S_{ij}Vi​(Si​)=vi0​1(Si​=0)+∑j​vij​Sij​; this is different from the imported unmodified vi0+∑jvijSijv_{i0}+\sum_jv_{ij}S_{ij}vi0​+∑j​vij​Sij​ when Si=0‾S_i=\overline0Si​=0, so the extension is outside this mission. Positive v0v_0v0​ and product weights are stated explicitly to keep the probability denominator positive and to match the model's preference interpretation. Revenues remain arbitrary real numbers: neither an order nor nonnegativity is assumed. The dissimilarities satisfy the paper's (0,1](0,1](0,1] range. The paper states candidate feasibility Ait∈CiA_i^t\in C_iAit​∈Ci​; this mission's claim holds for arbitrary candidate collections because no step compares against CiC_iCi​. The definitions of revenue and LP feasibility are imported, so useful contributions include proofs of the balance characterization, the root result, Lemma 1, and the final LP statement.

Selected references

  • Guillermo Gallego and Huseyin Topaloglu, Constrained Assortment Optimization for the Nested Logit Model, Management Science, 2014. DOI: 10.1287/mnsc.2014.1931; authors' manuscript, September 11, 2013, pp. 7–12.
  • James Davis, Guillermo Gallego, and Huseyin Topaloglu, Assortment Optimization under Variants of the Nested Logit Model, Operations Research, 2014. DOI: 10.1287/opre.2014.1256. The published Prove2Me model definition used here comes from this line of work.
5 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

An Exact Algorithm for the Two-Echelon Capacitated Vehicle Routing Problem 2: The Best Lagrangean Bound of the Integer Relaxation RF Is at Least the LP Relaxation Bound, Sometimes StrictlyResearch Paper

Motivation

In two-echelon distribution goods travel from a central depot to intermediate facilities, called satellites, on large first-level vehicles, and from the satellites to customers on smaller second-level vehicles. City logistics schemes that keep heavy trucks out of urban centres are the standard example. The two-echelon capacitated vehicle routing problem (2E-CVRP) asks for the cheapest set of routes on both levels that serves every customer while respecting vehicle, fleet and satellite capacities.

Exact methods for problems of this kind are branch-and-bound or enumeration schemes whose speed depends on the quality of the lower bounds they use. Baldacci, Mingozzi, Roberti and Wolfler Calvo (Oper. Res. 61(2), 2013) built their exact algorithm on a Lagrangean-type relaxation RFRFRF of a set-partitioning formulation FFF, rather than on the LP relaxation LFLFLF of that formulation. Their Theorem 2 is the justification for that design choice: the best bound RFRFRF can deliver is never weaker than z(LF)z(LF)z(LF), and can be strictly stronger. This mission formalizes that comparison.

Setting

An instance has a depot 000, satellites NSN_SNS​ and customers NCN_CNC​, a symmetric travel cost duvd_{uv}duv​ (in which the fixed vehicle costs U1,U2U_1, U_2U1​,U2​ have already been folded into the depot–satellite and satellite–customer entries), positive integer demands qiq_iqi​, capacities Q1>Q2>0Q_1 > Q_2 > 0Q1​>Q2​>0 for first- and second-level vehicles, a bound m1m^1m1 on first-level vehicles, mkm_kmk​ second-level vehicles at satellite kkk, a global bound m2≤∑kmkm^2 \le \sum_k m_km2≤∑k​mk​ on second-level vehicles, a capacity BkB_kBk​ and a unit handling cost HkH_kHk​ for each satellite.

A first-level route r∈Mr \in \mathcal Mr∈M leaves the depot, visits a set RrR_rRr​ of satellites and returns; its cost grg_rgr​ is the cost of that closed walk. A second-level route l∈Rkl \in \mathcal R_kl∈Rk​ leaves satellite kkk, visits a set RklR_{kl}Rkl​ of customers and returns; its load is wkl=∑i∈Rklqi≤Q2w_{kl} = \sum_{i \in R_{kl}} q_i \le Q_2wkl​=∑i∈Rkl​​qi​≤Q2​, aikla_{ikl}aikl​ counts its visits to customer iii, and its cost cklc_{kl}ckl​ is its closed-walk cost plus HkwklH_k w_{kl}Hk​wkl​.

Formulation FFF uses binaries xklx_{kl}xkl​ (route lll of satellite kkk is used), binaries yry_ryr​, and nonnegative integers qkrq_{kr}qkr​ (quantity route rrr delivers to satellite k∈Rrk \in R_rk∈Rr​). It minimizes ∑cklxkl+∑gryr\sum c_{kl}x_{kl} + \sum g_r y_r∑ckl​xkl​+∑gr​yr​ subject to: each customer is covered exactly once (2); at most mkm_kmk​ routes at satellite kkk (3) and m2m^2m2 overall (4); the load delivered from satellite kkk is at most BkB_kBk​ (5); at most m1m^1m1 first-level routes (6); what first-level routes bring to satellite kkk equals what its second-level routes carry (7); and ∑k∈Rrqkr≤Q1yr\sum_{k \in R_r} q_{kr} \le Q_1 y_r∑k∈Rr​​qkr​≤Q1​yr​ (8).

The LP relaxation LFLFLF replaces the integrality of x,y,qx, y, qx,y,q by 0≤x,y≤10 \le x, y \le 10≤x,y≤1, q≥0q \ge 0q≥0. Its value is z(LF)z(LF)z(LF), equal to +∞+\infty+∞ when LFLFLF is infeasible.

The relaxation RF(β,λ,μ)RF(\beta, \lambda, \mu)RF(β,λ,μ) relaxes (2)–(4) with penalties λ∈RNC\lambda \in \mathbb{R}^{N_C}λ∈RNC​, μk≤0\mu_k \le 0μk​≤0 and μ0≤0\mu_0 \le 0μ0​≤0, and replaces the second-level routes by marginal routing costs βik\beta_{ik}βik​ that must satisfy, for every route l∈Rkl \in \mathcal R_kl∈Rk​,

∑iaiklβik≤ckl−∑iaiklλi−μk−μ0.(12)\sum_{i} a_{ikl}\beta_{ik} \le c_{kl} - \sum_i a_{ikl}\lambda_i - \mu_k - \mu_0. \tag{12}i∑​aikl​βik​≤ckl​−i∑​aikl​λi​−μk​−μ0​.(12)

Its variables are binaries ξik\xi_{ik}ξik​ (customer iii is supplied from satellite kkk), yry_ryr​ and qkrq_{kr}qkr​; it minimizes

∑k,iβikξik+∑rgryr+∑iλi+∑kmkμk+m2μ0\sum_{k,i}\beta_{ik}\xi_{ik} + \sum_r g_r y_r + \sum_i \lambda_i + \sum_k m_k\mu_k + m^2\mu_0k,i∑​βik​ξik​+r∑​gr​yr​+i∑​λi​+k∑​mk​μk​+m2μ0​

subject to single assignment of each customer, flow balance ∑r∈Mkqkr=∑iqiξik\sum_{r \in \mathcal M_k} q_{kr} = \sum_i q_i\xi_{ik}∑r∈Mk​​qkr​=∑i​qi​ξik​, satellite capacity ∑iqiξik≤Bk\sum_i q_i \xi_{ik} \le B_k∑i​qi​ξik​≤Bk​, and (6), (8). A choice (β,λ,μ,μ0)(\beta,\lambda,\mu,\mu_0)(β,λ,μ,μ0​) with μ,μ0≤0\mu, \mu_0 \le 0μ,μ0​≤0 and (12) is admissible.

Formalization targets

Goal: Theorem 2

max⁡β,λ,μ z(RF(β,λ,μ)) ≥ z(LF),and the inequality can be strict.\max_{\beta,\lambda,\mu}\, z(RF(\beta,\lambda,\mu)) \ \ge\ z(LF), \quad\text{and the inequality can be strict.}β,λ,μmax​z(RF(β,λ,μ)) ≥ z(LF),and the inequality can be strict.

Formally: (1) for every instance and route families whose LFLFLF is feasible, some admissible (β,λ,μ,μ0)(\beta,\lambda,\mu,\mu_0)(β,λ,μ,μ0​) satisfies z(LF)≤z(RF(β,λ,μ))z(LF) \le z(RF(\beta,\lambda,\mu))z(LF)≤z(RF(β,λ,μ)); (2) some instance, route families and admissible choice give z(LF)<z(RF(β,λ,μ))<+∞z(LF) < z(RF(\beta,\lambda,\mu)) < +\inftyz(LF)<z(RF(β,λ,μ))<+∞.

Milestones

  • §3, remark on LFLFLF: if every gr>0g_r > 0gr​>0, every optimal LFLFLF solution has yr=(∑k∈Rrqkr)/Q1y_r = (\sum_{k \in R_r} q_{kr})/Q_1yr​=(∑k∈Rr​​qkr​)/Q1​.
  • Theorem 2, first clause: the bound, for every instance with LFLFLF feasible.
  • Theorem 2, second clause: the strict instance.

Significance

Theorem 2 places the relaxation RFRFRF in the hierarchy of bounds for the 2E-CVRP. The remark on LFLFLF explains its weakness: in the LP relaxation each first-level route is paid for only in proportion to the load it carries, so z(LF)z(LF)z(LF) degrades as first-level routing costs grow. RFRFRF keeps yry_ryr​ binary and therefore pays the full cost of every first-level route used, while the second-level routing is priced through β\betaβ. The theorem guarantees that optimizing over penalties never loses against the LP bound, which is what makes the bounds LD1 and the further relaxation RF‾\overline{RF}RF of the paper worth computing.

The paper's proof is in its electronic companion and is not reproduced in the article. A formal proof makes the comparison checkable, and fixes the exact conditions under which it holds: the remark on LFLFLF needs positive first-level route costs, and the "max" in Theorem 2 is attained only when LFLFLF is feasible. Neither part is formalized elsewhere. Linear programming strong duality is available on the platform as LinearOptimization.lp_strong_duality (Bertsimas and Tsitsiklis, Theorem 4.4, Proved); a related but different statement is LinearOptimization.lagrangean_dual_eq_lp_over_hull (Theorem 11.4 there), which concerns the Lagrangean dual of a generic integer program rather than RFRFRF.

Difficulty

RFRFRF is not the Lagrangean dual of FFF in the textbook sense: it changes the variables (customer-to-satellite assignments ξ\xiξ instead of routes xxx), keeps the assignment constraints, and couples the multipliers through the inequalities (12). So the general fact that a Lagrangean dual is at least the LP bound does not apply directly; one must construct, from the data of LFLFLF, an admissible β\betaβ that is compatible with the flow-balance and capacity constraints of RFRFRF. For the strict clause, the instance must satisfy every structural requirement of the model (positive demands, Q2<Q1Q_2 < Q_1Q2​<Q1​, route loads at most Q2Q_2Q2​, m2≤∑kmkm^2 \le \sum_k m_km2≤∑k​mk​), and RFRFRF must be feasible, so that the gap is a genuine gap between finite bounds.

Formalization scope

Satellites and customers are Fin ns and Fin nc (0-based). The travel cost is an arbitrary symmetric real matrix; the triangle inequality is not assumed. Demands are positive integers. Route families M\mathcal MM, R\mathcal RR are arbitrary finite families of nonempty elementary routes (repetitions allowed), with costs computed from ddd along the closed walk, so the statements cover the paper's families of all routes as a special case. Binary variables are Bool, integer quantities ℕ, LFLFLF variables real. Optimal values are infima over the feasible set in EReal, +∞+\infty+∞ for an infeasible problem; there is no junk value 000.

Part 1 of the goal assumes LFLFLF feasible: when LFLFLF is infeasible the printed relation would read "sup⁡=+∞\sup = +\inftysup=+∞", which is not attained by any single choice of penalties. Part 2 requires z(RF)<+∞z(RF) < +\inftyz(RF)<+∞, which rules out the trivial witness of an instance with RFRFRF infeasible; admissibility includes μ,μ0≤0\mu, \mu_0 \le 0μ,μ0​≤0, without which the supremum is +∞+\infty+∞ for trivial reasons.

The definitions (instance, route systems, FFF, LFLFLF, (12), RFRFRF) are shared in shape with the two companion missions of this series and are intended for consolidation. Proofs of the bound will need finite-dimensional LP duality; contributions that connect LFLFLF to the platform's general-form LP and its strong duality theorem are welcome.

Selected references

  • R. Baldacci, A. Mingozzi, R. Roberti, R. Wolfler Calvo, An Exact Algorithm for the Two-Echelon Capacitated Vehicle Routing Problem, Operations Research 61(2), 298–314, 2013. https://doi.org/10.1287/opre.1120.1153
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 (Theorem 4.4, strong duality; Theorem 11.4, Lagrangean duality).
7 thms1 active userReviewed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

AdWords and Generalized On-line Matching I: The Tradeoff Algorithm with ψ_k(i) = Σ_{j≥i} y*_j Is (1 − 1/e)-Competitive as k → ∞ When Bids Are SmallResearch Paper

Motivation

Search engines sell advertising space query by query. Each advertiser states a bid for each keyword and a daily budget; queries arrive one at a time, and each must be assigned to an advertiser immediately, without knowledge of the queries still to come. The revenue-maximizing assignment of the day can only be computed offline. The adwords problem asks how close an online rule can get to it. It generalizes online bipartite matching, for which Karp, Vazirani and Vazirani (KVV 1990) showed that randomized ranking attains ratio 1−1/e1-1/e1−1/e, and bbb-matching, for which Kalyanasundaram and Pruhs (KP 2000) showed that the deterministic BALANCE algorithm attains 1−1/e1-1/e1−1/e as the budget grows.

Mehta, Saberi, Vazirani and Vazirani (J. ACM 2007) gave a deterministic algorithm for arbitrary bids that weighs each bid by a function of the fraction of budget already spent, and proved that it is (1−1/e)(1-1/e)(1−1/e)-competitive when bids are small compared to budgets. The algorithm and its tradeoff function became the reference point for the online budgeted-allocation literature, including the primal-dual analysis of Buchbinder, Jain and Naor (ESA 2007).

Setting

There are NNN bidders, each with budget 111, and a sequence of MMM queries q1,…,qMq_1,\dots,q_Mq1​,…,qM​. Bidder bbb bids cb,t≥0c_{b,t}\ge0cb,t​≥0 for the query at position ttt. An allocation σ\sigmaσ assigns each query to at most one bidder. Bidder bbb's spend before position ttt is min⁡(1,∑s<t, σ(s)=bcb,s)\min(1,\sum_{s<t,\,\sigma(s)=b}c_{b,s})min(1,∑s<t,σ(s)=b​cb,s​), and bbb is alive while its spend is below 111. The revenue of σ\sigmaσ is rev(σ)=∑bmin⁡(1,∑t:σ(t)=bcb,t)\mathrm{rev}(\sigma)=\sum_b\min(1,\sum_{t:\sigma(t)=b}c_{b,t})rev(σ)=∑b​min(1,∑t:σ(t)=b​cb,t​).

Fix an integer kkk and split each budget into kkk equal slabs; a spent fraction s∈((j−1)/k,j/k]s\in((j-1)/k,j/k]s∈((j−1)/k,j/k] lies in slab jjj, and s=0s=0s=0 in slab 111. Given a tradeoff function ψ\psiψ on slabs, the discrete tradeoff algorithm assigns each arriving query to an alive bidder maximizing

cb,t ψ(slab(b)),c_{b,t}\,\psi(\mathrm{slab}(b)),cb,t​ψ(slab(b)),

ties broken arbitrarily. Every allocation produced this way, for any tie-breaking, is a run.

The analysis uses the factor-revealing LP LLL: maximize ∑i=1k−1k−ikxi\sum_{i=1}^{k-1}\frac{k-i}{k}x_i∑i=1k−1​kk−i​xi​ subject to ∑j=1i(1+i−jk)xj≤ikN\sum_{j=1}^{i}(1+\frac{i-j}{k})x_j\le\frac ikN∑j=1i​(1+ki−j​)xj​≤ki​N and x≥0x\ge0x≥0, written max⁡c⋅x\max c\cdot xmaxc⋅x, Ax≤bAx\le bAx≤b, x≥0x\ge0x≥0, and its dual DDD. Its optimal dual solution is yi∗=1k(1−1k)k−i−1y^*_i=\frac1k(1-\frac1k)^{k-i-1}yi∗​=k1​(1−k1​)k−i−1, and Theorem 8's tradeoff function is

ψk(i)=∑j=ik−1yj∗.\psi_k(i)=\sum_{j=i}^{k-1}y^*_j .ψk​(i)=j=i∑k−1​yj∗​.

Formalization targets

Goal: Theorem 8 (p. 12)

For every δ>0\delta>0δ>0 there is k0k_0k0​ such that for every k≥k0k\ge k_0k≥k0​ there is η>0\eta>0η>0 such that, for every instance with bids in [0,η][0,\eta][0,η], every run σ\sigmaσ of the algorithm with ψk\psi_kψk​, and every allocation τ\tauτ,

rev(σ) ≥ (1−1e−δ)rev(τ).\mathrm{rev}(\sigma)\ \ge\ \Bigl(1-\frac1e-\delta\Bigr)\mathrm{rev}(\tau).rev(σ) ≥ (1−e1​−δ)rev(τ).

The goal fixes no rate in kkk or η\etaη: it asserts only that the ratio tends to 1−1/e1-1/e1−1/e.

Milestones

  1. Proof of Lemma 3 (pp. 8–9): xi∗=Nk(1−1k)i−1x^*_i=\frac Nk(1-\frac1k)^{i-1}xi∗​=kN​(1−k1​)i−1 and y∗y^*y∗ are optimal for LLL and DDD, with value N(1−1/k)kN(1-1/k)^kN(1−1/k)k.
  2. Lemma 3 (p. 8): the value of LLL and DDD tends to N/eN/eN/e.
  3. Lemma 4 (p. 10): for every nonnegative aaa and l=Aal=Aal=Aa, y∗y^*y∗ minimizes l⋅yl\cdot yl⋅y over the constraints of DDD.
  4. Lemma 5 (p. 10): l=b+Δl=b+\Deltal=b+Δ under the relation βi=N/k−(α1+⋯+αi−1)/k\beta_i=N/k-(\alpha_1+\dots+\alpha_{i-1})/kβi​=N/k−(α1​+⋯+αi−1​)/k.
  5. Lemma 6 (p. 11): OPT(q)ψ(type(q))≤ALG(q)ψ(slab(q))\mathrm{OPT}(q)\psi(\mathrm{type}(q))\le\mathrm{ALG}(q)\psi(\mathrm{slab}(q))OPT(q)ψ(type(q))≤ALG(q)ψ(slab(q)) when 1≤type(q)≤k−11\le\mathrm{type}(q)\le k-11≤type(q)≤k−1.
  6. Lemma 7 (p. 11): ∑i=1k−1ψ(i)(αi−βi)≤N/k\sum_{i=1}^{k-1}\psi(i)(\alpha_i-\beta_i)\le N/k∑i=1k−1​ψ(i)(αi​−βi​)≤N/k, for a monotonically decreasing nonnegative ψ\psiψ with ψ(k)=0\psi(k)=0ψ(k)=0 (such as ψk\psi_kψk​).

Significance

Theorem 8 gives an online algorithm for budgeted allocation with arbitrary bids whose revenue is within a factor 1−1/e1-1/e1−1/e of the offline optimum, the best possible ratio even for randomized algorithms (Theorem 9 of the same paper, the second mission of this series). It reduces to BALANCE when all bids are equal, and its tradeoff function 1−ex−11-e^{x-1}1−ex−1 in the limit is the function used in later work on online budgeted allocation and display-ad allocation.

The result is proved in the paper; none of it is formalized. The work here is to formalize the proof in a version that holds for actual runs. The paper's argument makes two simplifications with "negligible error": bidders of type jjj spend exactly j/kj/kj/k of their budget, and the offline optimum exhausts every budget. A formal proof must carry the bid size through the slab boundaries and compare with an arbitrary offline allocation. The LP lemmas (Lemmas 3–5) are self-contained statements about one triangular linear program and are reusable for factor-revealing analyses of BALANCE.

Difficulty

The milestones are short: Lemmas 3–5 are finite linear algebra with geometric sums, Lemma 6 is one application of the assignment rule plus monotonicity of spend, and Lemma 7 regroups finite sums. The difficulty is in Theorem 8. The paper's proof chains Lemmas 4, 5 and 7 through the LP L(π,ψ)L(\pi,\psi)L(π,ψ), whose right-hand side is computed from the numbers αj\alpha_jαj​ of bidders of each type under the assumption that a bidder of type jjj spends exactly j/kj/kj/k. In an actual run this identity fails: a single bid can straddle a slab boundary, and types are intervals, not points. So the chain does not compose literally, and the natural first attempt, instantiating Lemma 5 with the run's quantities, does not apply. The slab-wise inequalities that do hold, with an error of order kηk\etakη, have to replace the equalities, and the comparison with an offline allocation that does not exhaust budgets has to be made through capped revenues.

Formalization scope

Bidders are Fin N and query positions Fin M, zero-based; slabs and LP coordinates keep the paper's 1-based ranges, with vectors as functions N→R\mathbb N\to\mathbb RN→R read on 1≤i≤k−11\le i\le k-11≤i≤k−1. Budgets are 111 (the paper's standing simplification of §2). Bids are real and nonnegative.

A run is a predicate on the whole allocation: at position ttt, if some bidder is alive the query goes to an alive maximizer of bid × ψ(slab)\times\,\psi(\text{slab})×ψ(slab), where spends are computed from earlier positions only; the query is unassigned only when all budgets are exhausted. Every tie-breaking rule gives a run, and the goal holds for all of them. ALG(q)\mathrm{ALG}(q)ALG(q) is the full bid of the chosen bidder; revenue is capped at the budget.

Conventions the statements commit to:

  • ψk\psi_kψk​ is the defining sum of Theorem 8. The closed form printed beside it, 1−(1−1/k)k−i+11-(1-1/k)^{k-i+1}1−(1−1/k)k−i+1, is off by one in the exponent; the sum equals 1−(1−1/k)k−i1-(1-1/k)^{k-i}1−(1−1/k)k−i and vanishes at slab kkk.
  • "As k→∞k\to\inftyk→∞" is ∀δ ∃k0 ∀k≥k0\forall\delta\,\exists k_0\,\forall k\ge k_0∀δ∃k0​∀k≥k0​; "bids small compared to budgets" is a bound η\etaη chosen after kkk, never depending on the instance.
  • The comparator is every allocation τ\tauτ, not an optimum that exhausts all budgets; the paper says the proof extends without that assumption (§4, §6 item 2). Only the lower bound on the ratio is stated.
  • Lemma 4 quantifies over every nonnegative vector aaa, through which alone the instance and ψ\psiψ enter D(π,ψ)D(\pi,\psi)D(π,ψ). Lemma 5 takes the paper's relation for βi\beta_iβi​ as a hypothesis. Lemma 7 defines αi,βi\alpha_i,\beta_iαi​,βi​ as the query sums of its proof, and adds ψ(k)=0\psi(k)=0ψ(k)=0 in place of the paper's bound on the slab-kkk term, which rests on its exact-spend simplification.

Trivializing formalizations are ruled out: a run cannot leave a query unassigned while a bidder has budget, so the empty allocation is not a run; no hypothesis of the form "bidders of type jjj spend exactly j/kj/kj/k" or "the optimum exhausts every budget" is imposed, since either would make the goal vacuous on most instances.

All definitions are local to the namespace AdWordsMSVV.Tradeoff. Related platform items analyse a different algorithm: BJNAdAuctions.Basic.* and OnlinePrimalDual.AdAuctions.* formalize the Buchbinder–Jain–Naor primal-dual algorithm, which updates a covering variable multiplicatively and has ratio (1−1/c)(1−Rmax⁡)(1-1/c)(1-R_{\max})(1−1/c)(1−Rmax​); they are not reused. Proofs of any milestone, and lemmas carrying the bid-size error through slab boundaries, are welcome.

Selected references

  • A. Mehta, A. Saberi, U. Vazirani, V. Vazirani, AdWords and generalized on-line matching, J. ACM 54(5), 2007. https://doi.org/10.1145/1284320.1284321
  • B. Kalyanasundaram, K. Pruhs, An optimal deterministic algorithm for online b-matching, Theoretical Computer Science 233, 2000. https://doi.org/10.1016/S0304-3975(99)00140-1
  • R. M. Karp, U. V. Vazirani, V. V. Vazirani, An optimal algorithm for on-line bipartite matching, STOC 1990. https://doi.org/10.1145/100216.100262
  • N. Buchbinder, K. Jain, J. Naor, Online primal-dual algorithms for maximizing ad-auctions revenue, ESA 2007. https://doi.org/10.1007/978-3-540-75520-3_24
9 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

A Re-Solving Heuristic with Bounded Revenue Loss for Network Revenue Management with Customer Choice: Mid-Point PAC Has Constant Revenue Loss Against the DLP, Uniformly in the Problem Size kResearch Paper

Motivation

Network revenue management decides, over a finite selling horizon, which products to offer to arriving customers when the products share limited resources: seats on flight legs, hotel room-nights, rental capacity. The exact dynamic program is intractable for realistic networks, so practice relies on heuristics built from a deterministic linear program (DLP), the fluid relaxation that replaces random demand by its mean. Its value is an upper bound on the revenue of every policy, and the quality of a heuristic is measured by its revenue loss against it.

For the fluid-based heuristics, the loss grows with the size of the system: a static policy derived from one DLP solution loses order k\sqrt{k}k​ when capacities and demand rates are both scaled by kkk (Gallego and van Ryzin, 1997; Talluri and van Ryzin, 1998). Re-solving the DLP during the horizon is common practice, but for a long time it was unclear whether re-solving helps asymptotically; Cooper (2002) showed that naive re-solving can even hurt. Jasin and Kumar (Math. Oper. Res. 37(2), 2012, doi:10.1287/moor.1120.0537) proved that a re-solving heuristic with probabilistic allocation control (PAC) has a loss bounded by a constant independent of kkk, in a model that also covers customer choice through random resource consumption. Later work (Bumpensanti and Wang, 2020, arXiv:1802.06192) removed the nondegeneracy assumption with a different re-solving rule.

Setting

The horizon is [0,1][0,1][0,1]. Customer types qqq arrive as independent Poisson processes of rates λq≥0\lambda_q \ge 0λq​≥0. Each of the nnn offers jjj belongs to one type q(j)q(j)q(j); Pq,j=1P_{q,j} = 1Pq,j​=1 iff q=q(j)q = q(j)q=q(j), and Sq={j:q(j)=q}S_q = \{j : q(j) = q\}Sq​={j:q(j)=q}. Presenting offer jjj consumes a random vector Aj≥0A^j \ge 0Aj≥0 of the mmm resources, i.i.d. across presentations, and earns revenue rj(Aj)r_j(A^j)rj​(Aj), with rj(0)=0r_j(0) = 0rj​(0)=0; Aj=0A^j = 0Aj=0 models a customer who buys nothing. Resource iii starts with capacity CiC_iCi​, and ξj\xi_jξj​ bounds every AijA_{ij}Aij​. Write Aˉ=E[A]\bar A = \mathbb E[A]Aˉ=E[A] and rˉj=E[rj(Aj)]\bar r_j = \mathbb E[r_j(A^j)]rˉj​=E[rj​(Aj)]. The DLP is

DLP[C,λ]:max⁡ rˉ⊤xs.t.Aˉx≤C, Px≤λ, x≥0.\mathrm{DLP}[C,\lambda]:\quad \max\ \bar r^\top x\quad\text{s.t.}\quad \bar A x \le C,\ Px \le \lambda,\ x \ge 0.DLP[C,λ]:max rˉ⊤xs.t.Aˉx≤C, Px≤λ, x≥0.

Assumption 2.1 requires DLP[C,λ]\mathrm{DLP}[C,\lambda]DLP[C,λ] to be nondegenerate with a unique optimal solution YYY; Assumption 2.2 requires that every optimum zzz of the LP without capacity constraints violates Aˉz≤C\bar A z \le CAˉz≤C.

PAC re-solves at times 0=t0<t1<⋯<tM<10 = t_0 < t_1 < \dots < t_M < 10=t0​<t1​<⋯<tM​<1. At tℓt_\elltℓ​ it solves DLP[C(tℓ),(1−tℓ)λ]\mathrm{DLP}[C(t_\ell), (1-t_\ell)\lambda]DLP[C(tℓ​),(1−tℓ​)λ] with the remaining capacity, obtaining Y(tℓ)Y(t_\ell)Y(tℓ​); until tℓ+1t_{\ell+1}tℓ+1​ it picks offer j∈Sqj \in S_qj∈Sq​ for an arriving type-qqq customer with probability Yj(tℓ)/((1−tℓ)λq)Y_j(t_\ell)/((1-t_\ell)\lambda_q)Yj​(tℓ​)/((1−tℓ​)λq​) and presents it only if the remaining capacity is at least ξj\xi_jξj​ on every resource. In the kkk-th system capacities are kCkCkC and rates kλk\lambdakλ; VDLPkV^k_{\mathrm{DLP}}VDLPk​ is the DLP value and RPACkR^k_{\mathrm{PAC}}RPACk​ the revenue of PAC. Mid-point PAC re-solves at tl=1−2−lt_l = 1 - 2^{-l}tl​=1−2−l, l=1,…,Mkl = 1,\dots,M^kl=1,…,Mk, with MkM^kMk the smallest integer such that 2−Mk≤1/k2^{-M^k} \le 1/k2−Mk≤1/k: about log⁡2k\log_2 klog2​k re-solves.

Formalization targets

Goal: Theorem 5.2

There is ρ>0\rho > 0ρ>0, independent of kkk, such that mid-point PAC satisfies

VDLPk−E[RPACk]≤ρfor all k≥1.V^k_{\mathrm{DLP}} - \mathbb E[R^k_{\mathrm{PAC}}] \le \rho \quad\text{for all } k \ge 1.VDLPk​−E[RPACk​]≤ρfor all k≥1.

The goal fixes no constant: it asserts only that the loss is bounded uniformly in kkk.

Milestones

  • Observations B.1 and B.2: the fractional part JyJ_yJy​ of YYY is nonempty, and the augmented matrix W=[AˉB,y;PB2,y]W = [\bar A_{B,y}; P_{B_2,y}]W=[AˉB,y​;PB2​,y​] is square and invertible.
  • App. B.2: the perturbed point YΔ=Y−HΔBY_\Delta = Y - H\Delta_BYΔ​=Y−HΔB​ is the unique optimum of DLP[C−Δ,λ]\mathrm{DLP}[C-\Delta,\lambda]DLP[C−Δ,λ] under explicit feasibility conditions.
  • Lemma C.4: the window deviation of the consumption has a sub-Gaussian exponential moment, E[erΔ~i]≤ekφ(t−s)r2\mathbb E[e^{r\tilde\Delta_i}] \le e^{k\varphi(t-s)r^2}E[erΔ~i​]≤ekφ(t−s)r2 for ∣rξmax⁡∣≤1|r\xi_{\max}| \le 1∣rξmax​∣≤1.
  • Theorem 5.3, the general bound for any schedule:
VDLPk−E[RPACk]≤ρ+ρ^k∫01min⁡{1,ρ′F(k,t)} dt.V^k_{\mathrm{DLP}} - \mathbb E[R^k_{\mathrm{PAC}}] \le \rho + \hat\rho k\int_0^1 \min\{1, \rho' F(k,t)\}\,dt.VDLPk​−E[RPACk​]≤ρ+ρ^​k∫01​min{1,ρ′F(k,t)}dt.
  • App. C.6: for mid-point re-solving, G(k,t)≤4(1−t)G(k,t) \le 4(1-t)G(k,t)≤4(1−t) before the last re-solve.
  • Further consequences: Theorem 5.1 (periodic PAC, loss ≤ρ+ρ^kh\le \rho + \hat\rho\sqrt{kh}≤ρ+ρ^​kh​) and Corollary 5.1 (any schedule, loss ≤ρ+ρ^k\le \rho + \hat\rho\sqrt k≤ρ+ρ^​k​).

Significance

The result shows that O(log⁡k)O(\log k)O(logk) re-solves suffice for a loss that does not grow with the size of the system, against an upper bound that is valid for every policy; so PAC is within a constant of the optimal policy, and the DLP bound, the optimal value and PAC are asymptotically equivalent to order O(1)O(1)O(1). Theorem 5.3 makes the trade-off between re-solving frequency and loss explicit for any schedule, and Corollary 5.1 guarantees that re-solving in this form never worsens the static O(k)O(\sqrt k)O(k​) bound.

The result is proved on paper. No part of it is formalized: the mission produces a machine-checked model of a Poisson network with random consumption and a re-solving policy, a statement of LP perturbation theory for nondegenerate programs, and compound-Poisson moment bounds, each reusable for other re-solving and fluid-approximation results in revenue management.

Difficulty

The obvious argument compares PAC with its fluid path and bounds the deviation of the remaining capacity by a martingale estimate over the whole horizon. That gives only O(k)O(\sqrt k)O(k​): deviations late in the horizon cannot be corrected. A constant bound needs re-solving to correct earlier deviations, which in turn needs the re-solved DLP solution to depend linearly and stably on the capacity deviation (the perturbation analysis of App. B) and a hitting-time estimate for when that linear regime fails. The capacity check and the coupling between the re-solved solutions and the random consumption make the process non-Markovian in the obvious state variables.

Formalization scope

Types are Fin NT, offers Fin n, resources Fin m. The model is a structure holding q(j)q(j)q(j), λ\lambdaλ, CCC, the consumption laws DjD_jDj​ (measures on Rm\mathbb R^mRm), ξ\xiξ and the revenue functions. Standing readings (IsValid): λ≥0\lambda \ge 0λ≥0 and C≥0C \ge 0C≥0; each DjD_jDj​ is a probability measure with 0≤Aij≤ξj0 \le A_{ij} \le \xi_j0≤Aij​≤ξj​ almost surely (the page has ξj≥Aij\xi_j \ge A_{ij}ξj​≥Aij​ on p. 317 and Aij<ξjA_{ij} < \xi_jAij​<ξj​ on p. 327; the weaker one is used); revenue functions are measurable, vanish at 000, and are nonnegative and bounded by a common constant (implicit on the page). rˉj=E[rj(Aj)]\bar r_j = \mathbb E[r_j(A^j)]rˉj​=E[rj​(Aj)] is a reading fixed by App. A.1.

E[RPACk]\mathbb E[R^k_{\mathrm{PAC}}]E[RPACk​] is a backward recursion over the windows between re-solves. Each window holds a Poisson(kΛℓ)(k\Lambda\ell)(kΛℓ) number of arrivals with i.i.d. types (superposition and marking), and the expected value is computed arrival by arrival with the capacity check on every resource. PAC is quantified over every DLP selector that returns an optimal solution and is measurable in the capacity, since the page leaves ties open after time 0. All constants are chosen after the instance and before kkk, the selector, the schedule, vvv and hhh. Nondegeneracy follows Bertsimas–Tsitsiklis: every basic feasible solution has exactly nnn active constraints.

Disclosed deviations from the page:

  • Theorem 5.3 adds integrability of vvv in ttt (stated in Lemma C.1) and writes v≤1/ξmax⁡v \le 1/\xi_{\max}v≤1/ξmax​ as v ξmax⁡≤1v\,\xi_{\max} \le 1vξmax​≤1.
  • The C.6 bound G(k,t)≤4(1−t)G(k,t) \le 4(1-t)G(k,t)≤4(1−t) is stated for t<tMkt < t_{M^k}t<tMk​; the page's "for all t∈[0,1]t \in [0,1]t∈[0,1]" is false after the last re-solve.
  • Theorem 5.1's constants are chosen before hhh, which is what (6) requires.
  • The goal is stated as printed, although the printed proof uses v=1/ξmax⁡v = 1/\xi_{\max}v=1/ξmax​, admissible only when ξmax⁡≥1\xi_{\max} \ge 1ξmax​≥1. Measuring every resource in a common smaller unit multiplies AAA, CCC and ξ\xiξ by the same factor and changes neither VDLPkV^k_{\mathrm{DLP}}VDLPk​ nor E[RPACk]\mathbb E[R^k_{\mathrm{PAC}}]E[RPACk​], so this assumption costs no generality.

A formalization in which PAC does not check capacity, or stops checking after a hitting time, earns exactly VDLPV_{\mathrm{DLP}}VDLP​ and would make the goal trivial; the model here applies the check at every arrival. A constant chosen after kkk would also be trivial, since the loss is at most k∑qλqk\sum_q\lambda_qk∑q​λq​ times the revenue bound.

The source is the published Math. Oper. Res. version; printed page = PDF page + 311. Sample-path lemmas (B.2–B.4, C.1–C.3) are not stated. Contributions are welcome on the LP perturbation lemma, the compound-Poisson moment bound and the measurability of the PAC recursion, each of which stands alone.

Selected references

  • S. Jasin, S. Kumar, A Re-Solving Heuristic with Bounded Revenue Loss for Network Revenue Management with Customer Choice, Mathematics of Operations Research 37(2):313–345, 2012. https://doi.org/10.1287/moor.1120.0537
  • G. Gallego, G. van Ryzin, A Multiproduct Dynamic Pricing Problem and Its Applications to Network Yield Management, Operations Research 45(1):24–41, 1997. https://doi.org/10.1287/opre.45.1.24
  • K. Talluri, G. van Ryzin, An Analysis of Bid-Price Controls for Network Revenue Management, Management Science 44(11):1577–1593, 1998. https://doi.org/10.1287/mnsc.44.11.1577
  • W. L. Cooper, Asymptotic Behavior of an Allocation Policy for Revenue Management, Operations Research 50(4):720–727, 2002. https://doi.org/10.1287/opre.50.4.720.2861
  • P. Bumpensanti, H. Wang, A Re-Solving Heuristic with Uniformly Bounded Loss for Network Revenue Management, Management Science 66(7), 2020. https://arxiv.org/abs/1802.06192
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997.
13 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Analysis of Stochastic Dual Dynamic Programming Method: SDDP with Independently Subsampled Scenarios Finds an Optimal Policy of the SAA Problem in Finitely Many Iterations Almost SurelyResearch Paper

Motivation

Multistage stochastic linear programs model sequential decisions under uncertainty: capacity and reservoir planning, hydro-thermal scheduling, inventory and asset–liability management. When the data process is stagewise independent, the problem decomposes by dynamic programming into one linear program per stage, coupled through expected cost-to-go functions. These functions are convex and piecewise linear, and the stochastic dual dynamic programming (SDDP) method of Pereira and Pinto (1991) approximates them from below by cutting planes. SDDP is the standard solution method in the long-term planning of hydro-dominated power systems, and its convergence theory determines what the bounds it reports actually mean.

Shapiro's paper (Optimization Online 2009/12/2509; European J. Oper. Res. 209(1), 2011, doi:10.1016/j.ejor.2010.08.007) analyses SDDP applied to a sample average approximation (SAA) of the true problem, with all of the data (ct,At,Bt,bt)(c_t, A_t, B_t, b_t)(ct​,At​,Bt​,bt​) random. Its convergence result, Proposition 3.1, asserts finite convergence with probability one when the forward scenarios are subsampled independently. A related almost-sure finite convergence theorem for a different algorithm (DOASA, with randomness only in the right-hand sides and cut sharing across outcomes) is due to Philpott and Guan (2008); it is posed as a separate mission on this platform and is not restated here.

Setting

There are T≥2T\ge 2T≥2 stages. The decision xt∈Rntx_t\in\mathbb R^{n_t}xt​∈Rnt​ satisfies xt≥0x_t\ge 0xt​≥0 and, at the first stage, A1x1=b1A_1x_1=b_1A1​x1​=b1​ with deterministic data (c1,A1,b1)(c_1,A_1,b_1)(c1​,A1​,b1​). For t=2,…,Tt=2,\dots,Tt=2,…,T the data are replaced by a sample ξ~tj=(c~tj,A~tj,B~tj,b~tj)\tilde\xi_t^j=(\tilde c_{tj},\tilde A_{tj},\tilde B_{tj},\tilde b_{tj})ξ~​tj​=(c~tj​,A~tj​,B~tj​,b~tj​), j=1,…,Ntj=1,\dots,N_tj=1,…,Nt​, each with probability 1/Nt1/N_t1/Nt​, independently across stages, and the stage-ttt constraint is B~tjxt−1+A~tjxt=b~tj\tilde B_{tj}x_{t-1}+\tilde A_{tj}x_t=\tilde b_{tj}B~tj​xt−1​+A~tj​xt​=b~tj​. The SAA cost-to-go functions are defined backwards from Q~T+1≡0\widetilde{\mathcal Q}_{T+1}\equiv 0Q​T+1​≡0:

Q~tj(xt−1)=inf⁡xt≥0{c~tj⊤xt+Q~t+1(xt):B~tjxt−1+A~tjxt=b~tj},Q~t=1Nt∑j=1NtQ~tj.\widetilde Q_{tj}(x_{t-1})=\inf_{x_t\ge0}\big\{\tilde c_{tj}^\top x_t+\widetilde{\mathcal Q}_{t+1}(x_t):\tilde B_{tj}x_{t-1}+\tilde A_{tj}x_t=\tilde b_{tj}\big\},\qquad \widetilde{\mathcal Q}_t=\frac1{N_t}\sum_{j=1}^{N_t}\widetilde Q_{tj}.Q​tj​(xt−1​)=xt​≥0inf​{c~tj⊤​xt​+Q​t+1​(xt​):B~tj​xt−1​+A~tj​xt​=b~tj​},Q​t​=Nt​1​j=1∑Nt​​Q​tj​.

A scenario is a choice (j2,…,jT)(j_2,\dots,j_T)(j2​,…,jT​); there are N=∏tNtN=\prod_t N_tN=∏t​Nt​ of them, each of probability 1/N1/N1/N. A policy xˉt=xˉt(ξ~[t])\bar x_t=\bar x_t(\tilde\xi_{[t]})xˉt​=xˉt​(ξ~​[t]​) depends only on the outcomes up to stage ttt; it is optimal for the SAA problem if it is feasible on every scenario and its expected cost 1N∑scenarios∑tc~t⊤xˉt\frac1N\sum_{\text{scenarios}}\sum_t\tilde c_t^\top\bar x_tN1​∑scenarios​∑t​c~t⊤​xˉt​ is minimal.

SDDP keeps, for each stage, a finite set of cuts α+β⊤x\alpha+\beta^\top xα+β⊤x whose maximum Qt+1\mathfrak Q_{t+1}Qt+1​ lies below Q~t+1\widetilde{\mathcal Q}_{t+1}Q​t+1​. An iteration has a forward step: MMM scenarios are sampled, and along each of them the decisions xˉt\bar x_txˉt​ solve the stage problems with Qt+1\mathfrak Q_{t+1}Qt+1​ in place of Q~t+1\widetilde{\mathcal Q}_{t+1}Q​t+1​, (3.13)–(3.14). It also has a backward step: from t=T−1t=T-1t=T−1 down to 111, at each trial point xˉt\bar x_txˉt​ the stage-(t+1)(t+1)(t+1) problems with the current cuts are solved for all Nt+1N_{t+1}Nt+1​ outcomes, and the cut (3.17) ℓ(x)=Q~‾t+1(xˉt)+g~⊤(x−xˉt)\ell(x)=\underline{\widetilde{\mathcal Q}}_{t+1}(\bar x_t)+\tilde g^\top(x-\bar x_t)ℓ(x)=Q​​t+1​(xˉt​)+g~​⊤(x−xˉt​) is added, where g~\tilde gg~​ averages −B~⊤π-\tilde B^\top\pi−B~⊤π over basic optimal (extreme-point) dual solutions π\piπ.

Formalization targets

Goal: Proposition 3.1

Suppose the forward scenarios are drawn independently and uniformly from the SAA scenarios, (A1) holds ((3.13) and (3.14) have finite optimal values for every scenario at every iteration), and the backward steps use basic optimal dual solutions. Then

P(∃K ∀k≥K: the forward policy defined by Q2k,…,QTk is optimal for the SAA problem)=1.P\Big(\exists K\ \forall k\ge K:\ \text{the forward policy defined by }\mathfrak Q^k_2,\dots,\mathfrak Q^k_{T}\text{ is optimal for the SAA problem}\Big)=1 .P(∃K ∀k≥K: the forward policy defined by Q2k​,…,QTk​ is optimal for the SAA problem)=1.

The goal fixes no iteration count, no rate and no number of forward scenarios M≥1M\ge1M≥1.

Milestones, in attack order

  1. Attainment: an LP of the form (3.13)/(3.14) with finite optimal value has an optimal solution.
  2. Cut validity: every cut lies below Q~t+1\widetilde{\mathcal Q}_{t+1}Q​t+1​ on reachable decisions, and Q~‾tj≤Q~tj\underline{\widetilde Q}_{tj}\le\widetilde Q_{tj}Q​​tj​≤Q​tj​.
  3. Lower bound: the optimal value ϑ‾k\underline\vartheta_kϑ​k​ of (3.13) is at most the SAA optimal value.
  4. Finitely many cutting planes (3.17) for a fixed next-stage cut set, uniformly in the trial point.
  5. Finitely many realizations of the Qt\mathfrak Q_tQt​ and of first-stage solutions; along each run the cut sets are eventually constant.
  6. A policy is optimal for the SAA problem if and only if it satisfies the dynamic programming conditions (3.18) on every scenario.
  7. With probability one every SAA scenario is drawn at infinitely many iterations.

Significance

The result separates SDDP's sampling from its convergence: on a finite scenario tree, independent subsampling of forward paths suffices for the method to stop at an optimal policy, without ever enumerating the tree. It explains why the lower bound ϑ‾k\underline\vartheta_kϑ​k​ eventually equals the SAA optimal value, which is what makes the gap-based stopping rules of the paper (§3, Remarks 4–6) meaningful. The paper's closing remark stresses that without independence of the forward scenarios there is no guarantee of convergence.

The proposition is proved in the paper. No machine-checked proof of it, or of any SDDP convergence theorem, exists to our knowledge. Formalizing it requires a precise account of what the method is: which dual solutions, which forward solutions, which order of updates. Several of these points are left implicit on the page.

Difficulty

Finiteness of the cut universe (milestones 4–5) is a statement about extreme points of dual polyhedra whose dimension grows with the cut sets of the next stage, so it must be organized stage by stage from TTT down. The central difficulty is the last step of the argument. Once the approximations have stopped changing, one must show that the stable cuts are exact where the forward policy goes, so that the forward policy satisfies (3.18). The obvious argument, "if (3.18) fails at the last stage where it fails, the next cut there increases Q\mathfrak QQ", does not work as printed: (3.18) holding at later stages does not by itself make the next-stage approximation exact at the trial point. Closing this step is where the conventions on forward solutions and on sampling listed below become essential.

Formalization scope

The Lean development is in the namespace ShapiroSDDP.Convergence. Stages are numbered 1,…,T1,\dots,T1,…,T; the data of stage t+1t+1t+1 are stored under index ttt (the coupling matrix is indexed by the decision it multiplies); V t is Q~t+1\widetilde{\mathcal Q}_{t+1}Q​t+1​, with V t ≡ 0 for t≥Tt\ge Tt≥T. Cost-to-go values are real infima, used only on reachable decisions. The explicit readings are:

  • cost-to-go functions finite valued on reachable decisions (the paper: everywhere; weaker);
  • initial cut sets: a parameter, nonempty and valid on reachable decisions, with {(0,0)}\{(0,0)\}{(0,0)} at stage TTT;
  • forward solutions from a deterministic oracle that reads the cut set and returns an optimal solution whenever one exists; the goal holds for every such oracle;
  • basic optimal duals: extreme points of the dual feasible region, chosen arbitrarily; the goal holds for every run;
  • (A1) as a hypothesis on the run; M≥1M\ge1M≥1 forward scenarios per iteration, i.i.d. uniform (independence via iIndepFun);
  • forward step before backward step within an iteration, with cuts at that iteration's trial points.

Optimality of a policy is defined by expected cost, never by (3.18), so that milestone 6 is not definitional. Sampling is stated as i.i.d. uniform draws, not as "every scenario recurs", which is milestone 7. All of c,A,B,bc,A,B,bc,A,B,b depend on the outcome. If some A~tj\tilde A_{tj}A~tj​ lacks full row rank, no basic dual solution exists and no run exists; a sorry-free witness instance shows that all hypotheses of the goal can hold together.

Useful infrastructure: LP weak and strong duality (LinearOptimization.lp_weak_duality, LinearOptimization.lp_strong_duality exist on the platform in their own encoding), finiteness of extreme points of polyhedra, attainment for polyhedral objectives, and the second Borel–Cantelli lemma (ProbabilityTheory.measure_limsup_eq_one). Proofs of any milestone, and reusable lemmas on LPs with cut epigraphs, are welcome.

Selected references

  • A. Shapiro, Analysis of Stochastic Dual Dynamic Programming Method, Optimization Online preprint 2009/12/2509; European Journal of Operational Research 209(1):63–72, 2011. https://optimization-online.org/2009/12/2509/ · https://doi.org/10.1016/j.ejor.2010.08.007
  • M. V. F. Pereira, L. M. V. G. Pinto, Multi-stage stochastic optimization applied to energy planning, Mathematical Programming 52:359–375, 1991. https://doi.org/10.1007/BF01582895
  • A. B. Philpott, Z. Guan, On the convergence of stochastic dual dynamic programming and related methods, Operations Research Letters 36(4):450–455, 2008. https://doi.org/10.1016/j.orl.2008.01.013
  • J. E. Kelley, The cutting-plane method for solving convex programs, J. SIAM 8(4):703–712, 1960. https://doi.org/10.1137/0108053
  • A. Shapiro, D. Dentcheva, A. Ruszczyński, Lectures on Stochastic Programming: Modeling and Theory, SIAM, 2009. https://doi.org/10.1137/1.9780898718751
11 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Stochastic Machine Scheduling with Precedence Constraints 2: LP-Based Graham List Scheduling Is a (2 − 1/m + max{1, (m − 1)Δ/m})-Approximation for P|in-forest|E[Σ w_j C_j]Research Paper

Motivation

Scheduling jobs whose durations are uncertain is the normal situation in project management, manufacturing and computing: a job's processing time becomes known only when the job finishes, but a distribution for it is available in advance. Stochastic machine scheduling models this by random, independent processing times PjP_jPj​ and asks for a scheduling policy, a rule that decides online which jobs to start, using only the information observed so far, that minimizes the expected total weighted completion time E[∑jwjCj]\mathrm E[\sum_j w_jC_j]E[∑j​wj​Cj​]. Optimal policies are known only in a few special cases, and they can depend on the full conditional distributions of the remaining processing times, so the research focus has been on simple policies with provable performance guarantees.

Skutella and Uetz (SIAM J. Comput. 34(4), 2005) gave the first constant-factor guarantees for stochastic parallel-machine scheduling with precedence constraints. Their policies are list scheduling policies whose priority list comes from an optimal solution of a linear program built on the load inequalities of Möhring, Schulz and Uetz (J. ACM 46(6), 1999). This mission formalizes their second main result: for in-forest precedence constraints and no release dates, plain Graham list scheduling in LP order is a (2−1m+max⁡{1,m−1mΔ})(2-\tfrac1m+\max\{1,\tfrac{m-1}{m}\Delta\})(2−m1​+max{1,mm−1​Δ})-approximation.

Timeline.

  • 1966/1969: Graham shows list scheduling is a (2−1/m)(2-1/m)(2−1/m)-approximation for the makespan with precedence constraints, for any list.
  • 1999: Möhring, Schulz and Uetz prove the load inequalities for nonanticipatory policies and obtain constant guarantees for P ∣ rj ∣ E[∑wjCj]P\,|\,r_j\,|\,\mathrm E[\sum w_jC_j]P∣rj​∣E[∑wj​Cj​] without precedence constraints.
  • 2001: Chekuri, Motwani, Natarajan and Stein give, among other results, a 2-approximation for deterministic in-tree scheduling by list scheduling (their Lemma 4.16 contains the deterministic counterpart of Lemma 4.3 below).
  • 2005: Skutella and Uetz extend these ideas to stochastic processing times with precedence constraints (Theorem 4.1, general precedence; Theorem 4.5, in-forests).

Setting

There are a finite set VVV of jobs, m≥1m\ge1m≥1 identical parallel machines, and nonnegative weights wjw_jwj​. Jobs are processed nonpreemptively; each machine handles one job at a time. Precedence constraints form an acyclic digraph (V,A)(V,A)(V,A): an arc (i,j)(i,j)(i,j) means jjj starts only after iii completes. The constraints form an in-forest if each job has at most one successor. There are no release dates.

The processing times Pj≥0P_j\ge0Pj​≥0 are independent random variables. A realization is a vector ppp; a schedule assigns start times SjS_jSj​, with completion times Cj=Sj+pjC_j=S_j+p_jCj​=Sj​+pj​; it is feasible if it respects precedence and at most mmm jobs are in process at any time. A policy Π\PiΠ maps each realization to a feasible schedule, and it is nonanticipatory if what it has started by time ttt depends only on what has been observed by ttt (the processing times of completed jobs and which jobs are still running).

With μj=E[Pj]\mu_j=\mathrm E[P_j]μj​=E[Pj​] and Δ≥0\Delta\ge0Δ≥0 a common bound with Var⁡[Pj]≤Δμj2\operatorname{Var}[P_j]\le\Delta\mu_j^2Var[Pj​]≤Δμj2​ (i.e. CV[Pj]≤Δ\mathrm{CV}[P_j]\le\sqrt\DeltaCV[Pj​]≤Δ​), define

f(W)=12m((∑j∈Wμj)2+∑j∈Wμj2)−(m−1)(Δ−1)2m∑j∈Wμj2.f(W)=\frac1{2m}\Big(\Big(\sum_{j\in W}\mu_j\Big)^2+\sum_{j\in W}\mu_j^2\Big)-\frac{(m-1)(\Delta-1)}{2m}\sum_{j\in W}\mu_j^2 .f(W)=2m1​((j∈W∑​μj​)2+j∈W∑​μj2​)−2m(m−1)(Δ−1)​j∈W∑​μj2​.

The LP-relaxation minimizes ∑jwjCjLP\sum_jw_jC^{\mathrm{LP}}_j∑j​wj​CjLP​ subject to ∑j∈WμjCjLP≥f(W)\sum_{j\in W}\mu_jC^{\mathrm{LP}}_j\ge f(W)∑j∈W​μj​CjLP​≥f(W) for all W⊆VW\subseteq VW⊆V, CjLP≥CiLP+μjC^{\mathrm{LP}}_j\ge C^{\mathrm{LP}}_i+\mu_jCjLP​≥CiLP​+μj​ for arcs (i,j)(i,j)(i,j), and CjLP≥μjC^{\mathrm{LP}}_j\ge\mu_jCjLP​≥μj​. A priority list LLL sorts the jobs by nondecreasing CjLPC^{\mathrm{LP}}_jCjLP​; BjB_jBj​ is the set of jobs up to and including jjj in LLL, and AjA_jAj​ the jobs after jjj.

Graham's list scheduling starts, at every decision time, as many available jobs as possible in the order of LLL. For a schedule, a critical predecessor of jjj is a predecessor that completes last among jjj's predecessors, at a positive time; following critical predecessors backwards gives the critical chain of jjj, whose total processing time is ℓj(p)\ell_j(p)ℓj​(p).

Formalization targets

Goal: Theorem 4.5

For every feasible nonanticipatory policy Π\PiΠ,

E[∑jwjCjGraham(P)] ≤ (2−1m+max⁡{1,m−1mΔ}) E[∑jwjCjΠ(P)].\mathrm E\Big[\sum_jw_jC^{\mathrm{Graham}}_j(P)\Big]\ \le\ \Big(2-\frac1m+\max\Big\{1,\frac{m-1}m\Delta\Big\}\Big)\,\mathrm E\Big[\sum_jw_jC^\Pi_j(P)\Big].E[j∑​wj​CjGraham​(P)] ≤ (2−m1​+max{1,mm−1​Δ})E[j∑​wj​CjΠ​(P)].

Milestones

  • Lemma 4.3: in Graham's schedule for an in-forest, no job of AjA_jAj​ is processed during [rj(p),Sj(p)[[r_j(p),S_j(p)[[rj​(p),Sj​(p)[.
  • Lemma 4.4: E[Cj(P)]≤m−1mE[ℓj(P)]+1m∑i∈BjE[Pi]\mathrm E[C_j(P)]\le\frac{m-1}m\mathrm E[\ell_j(P)]+\frac1m\sum_{i\in B_j}\mathrm E[P_i]E[Cj​(P)]≤mm−1​E[ℓj​(P)]+m1​∑i∈Bj​​E[Pi​], together with its per-realization form.
  • Theorem 3.1: the load inequalities ∑j∈WE[Pj]E[CjΠ(P)]≥f(W)\sum_{j\in W}\mathrm E[P_j]\mathrm E[C^\Pi_j(P)]\ge f(W)∑j∈W​E[Pj​]E[CjΠ​(P)]≥f(W) for every nonanticipatory Π\PiΠ.
  • §3 LP-relaxation: the expected completion times of any policy are LP-feasible.
  • Lemma 3.3: 1m∑k∈Bjμk≤(1+max⁡{1,m−1mΔ})CjLP\frac1m\sum_{k\in B_j}\mu_k\le(1+\max\{1,\frac{m-1}m\Delta\})C^{\mathrm{LP}}_jm1​∑k∈Bj​​μk​≤(1+max{1,mm−1​Δ})CjLP​.
  • Critical-chain lower bound (§4, p. 798): ℓj(p)≤Cj(p)\ell_j(p)\le C_j(p)ℓj​(p)≤Cj​(p) in every feasible schedule.

Significance

The theorem gives a constant performance guarantee for stochastic in-forest scheduling, uniform in the distributions once their coefficients of variation are bounded. For NBUE distributions (exponential, uniform, Erlang, …), where Δ=1\Delta=1Δ=1, the guarantee is 3−1/m3-1/m3−1/m, compared with 3+223+2\sqrt23+22​ for general precedence constraints and release dates with Algorithm CMNS (Table 1, p. 792). The analysis shows that for in-forests, deliberate idle time is unnecessary: Lemma 4.3 replaces it.

The result is proved in the paper, partly by reference: Theorem 3.1 and Lemma 3.3 are cited from Möhring, Schulz and Uetz. To our knowledge none of these results has a machine-checked proof. A complete formalization requires the load inequalities of stochastic scheduling, which are of independent use for every LP-based stochastic scheduling result, and a reusable treatment of list schedules, critical chains and nonanticipatory policies.

Difficulty

Two parts carry the weight. The first is the load inequalities (Theorem 3.1): they hold for nonanticipatory policies only, because a policy's start time of job jjj must be independent of PjP_jPj​; turning the informal "dynamic view" of policies into a statement that yields this independence, and then the variance bookkeeping, is the probabilistic core. The second is Lemma 4.3: the naive argument "a waiting job of high priority blocks lower-priority jobs" fails for general precedence constraints, where Graham's algorithm can be arbitrarily bad; the in-forest structure is used through a counting argument at time rj(p)r_j(p)rj​(p), in which the critical predecessors of the jobs started at that time must be distinct.

Formalization scope

Lean represents jobs by a Fintype V, precedence by a relation A : V → V → Prop with acyclic transitive closure, and in-forests by "at most one outgoing arc". Schedules are start-time vectors in ℝ, with machine capacity by counting jobs in process on half-open intervals. Policies are maps from realizations to start times with an explicit nonanticipation condition. Graham's list scheduling is characterized by rules (feasibility, greedy, list order, decision times); critical chains are taken for every admissible tie-breaking selector. The CV bound includes E[Pj2]<∞\mathrm E[P_j^2]<\inftyE[Pj2​]<∞ and E[Pj]>0\mathrm E[P_j]>0E[Pj​]>0. Zero processing times are allowed.

Standing assumptions and disclosed additions: processing times are independent and nonnegative; the comparator policies have integrable completion times; the completion times and critical-chain lengths of Graham's schedule are assumed almost-everywhere measurable (the paper asserts measurability in §5 without proof); "α\alphaα-approximation" is stated against every comparator policy rather than an optimal one.

A trivializing formalization is ruled out: the comparator ranges over every feasible nonanticipatory policy with integrable completion times, CLPC^{\mathrm{LP}}CLP is optimal over all load inequalities W⊆VW\subseteq VW⊆V, and the Graham family must satisfy the rules for every nonnegative realization.

Welcome contributions: the load inequalities, existence and measurability of Graham schedules, and general lemmas on list schedules.

Selected references

  • M. Skutella and M. Uetz, Stochastic machine scheduling with precedence constraints, SIAM J. Comput. 34(4) (2005) 788–802. https://doi.org/10.1137/S0097539702415007
  • R. H. Möhring, A. S. Schulz and M. Uetz, Approximation in stochastic scheduling: the power of LP-based priority policies, J. ACM 46(6) (1999) 924–942. https://doi.org/10.1145/331524.331530
  • C. Chekuri, R. Motwani, B. Natarajan and C. Stein, Approximation techniques for average completion time scheduling, SIAM J. Comput. 31(1) (2001) 146–166. https://doi.org/10.1137/S0097539797327180
  • R. L. Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17(2) (1969) 416–429. https://doi.org/10.1137/0117039
  • R. H. Möhring, F. J. Radermacher and G. Weiss, Stochastic scheduling problems I: General strategies, Z. Oper. Res. 28 (1984) 193–260. https://doi.org/10.1007/BF01919323
11 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Primal and Dual Linear Decision Rules in Stochastic and Robust Optimization 3: In Multistage Programs, the Primal and Dual Linear Decision Rule Problems Equal the LPs (4.2) and (4.6)Research Paper

Motivation

A linear multistage stochastic program chooses decisions over TTT stages while a random vector is revealed one piece at a time; each decision may depend only on what has been observed so far. Such programs model production planning, capacity expansion, hydro scheduling and portfolio problems. Computing their optimal value exactly is intractable in general: Shapiro and Nemirovski argue that even medium-accuracy solutions are out of reach when the number of stages grows (Shapiro–Nemirovski 2005), and already the one-stage problem is #P-hard (Dyer–Stougie 2006, Theorem 3.2, as cited by the paper).

Linear decision rules restrict every decision to be an affine function of the observations. Introduced for robust optimization by Ben-Tal, Goryashko, Guslitzer and Nemirovski (2004) and carried into stochastic programming by Shapiro and Nemirovski and by Chen, Sim, Sun and Zhang (2008), they turn the problem into a finite one whose optimal value is an upper bound. Kuhn, Wiesemann and Georghiou (Optimization Online 2009/02/2218; Math. Program. 130, 2011) apply the same restriction to the dual problem, which yields a lower bound. They show that, for polyhedral supports, both bounds are values of explicit linear programs. This mission formalizes the multistage version of that statement, Theorem 3 of the preprint.

Setting

Stages are t∈T={1,…,T}t \in \mathbb T = \{1,\dots,T\}t∈T={1,…,T}. The uncertainty is ξ=(ξ1,…,ξT)∈Rk\xi = (\xi_1,\dots,\xi_T) \in \mathbb R^kξ=(ξ1​,…,ξT​)∈Rk with ξt∈Rkt\xi_t \in \mathbb R^{k_t}ξt​∈Rkt​ and k=∑tktk = \sum_t k_tk=∑t​kt​; by convention k1=1k_1 = 1k1​=1 and ξ1=1\xi_1 = 1ξ1​=1. The history at stage ttt is ξt=(ξ1,…,ξt)∈Rkt\xi^t = (\xi_1,\dots,\xi_t) \in \mathbb R^{k^t}ξt=(ξ1​,…,ξt​)∈Rkt, kt=∑s≤tksk^t = \sum_{s\le t} k_skt=∑s≤t​ks​, and the truncation operator Pt=[ I  0 ]∈Rkt×kP_t = [\,I\ \ 0\,] \in \mathbb R^{k^t\times k}Pt​=[I  0]∈Rkt×k maps ξ\xiξ to ξt\xi^tξt. The law P\mathbb PP of ξ\xiξ has support Ξ={ξ:Wξ≥h}\Xi = \{\xi : W\xi \ge h\}Ξ={ξ:Wξ≥h}, a nonempty bounded polyhedron spanning Rk\mathbb R^kRk, whose first two constraints encode ξ1=1\xi_1 = 1ξ1​=1. Et\mathbb E_tEt​ denotes conditional expectation given ξt\xi^tξt, and M=E(ξξ⊤)M = \mathbb E(\xi\xi^\top)M=E(ξξ⊤) is the second-order moment matrix.

A stage-ttt decision is a square-integrable Borel function xtx_txt​ of ξt\xi^tξt (written xt∈Lkt,nt2x_t \in \mathcal L^2_{k^t,n_t}xt​∈Lkt,nt​2​). The program MSP\mathcal{MSP}MSP minimizes

E(∑t=1Tct(ξt)⊤xt(ξt))subject toEt(∑s=1TAtsxs(ξs))≤bt(ξt)  P-a.s., t∈T,\mathbb E\Big(\sum_{t=1}^T c_t(\xi^t)^\top x_t(\xi^t)\Big) \quad\text{subject to}\quad \mathbb E_t\Big(\sum_{s=1}^T A_{ts}x_s(\xi^s)\Big) \le b_t(\xi^t)\ \ \mathbb P\text{-a.s.},\ t\in\mathbb T,E(t=1∑T​ct​(ξt)⊤xt​(ξt))subject toEt​(s=1∑T​Ats​xs​(ξs))≤bt​(ξt)  P-a.s., t∈T,

with deterministic matrices AtsA_{ts}Ats​, ct(ξt)=CtPtξc_t(\xi^t) = C_tP_t\xict​(ξt)=Ct​Pt​ξ and bt(ξt)=BtPtξb_t(\xi^t) = B_tP_t\xibt​(ξt)=Bt​Pt​ξ. The linear conditional mean assumption requires Et(ξ)=MtPtξ\mathbb E_t(\xi) = M_tP_t\xiEt​(ξ)=Mt​Pt​ξ almost surely for some Mt∈Rk×ktM_t \in \mathbb R^{k\times k^t}Mt​∈Rk×kt; it holds, for example, for stagewise independent data.

The primal approximation MSPu\mathcal{MSP}^uMSPu sets xt(ξt)=XtPtξx_t(\xi^t) = X_tP_t\xixt​(ξt)=Xt​Pt​ξ and slacks st(ξt)=StPtξs_t(\xi^t) = S_tP_t\xist​(ξt)=St​Pt​ξ. The dual approximation MSPl\mathcal{MSP}^lMSPl keeps general rules xt,stx_t, s_txt​,st​ but imposes the slack equations only in the weak form E([∑sAtsxs+st−bt][Ptξ]⊤)=0\mathbb E([\sum_s A_{ts}x_s + s_t - b_t][P_t\xi]^\top) = 0E([∑s​Ats​xs​+st​−bt​][Pt​ξ]⊤)=0. The linear programs (4.2) and (4.6) are written in the matrices XtX_tXt​, multipliers Λt\Lambda_tΛt​ and slack matrices StS_tSt​, with Nt=MPt⊤(PtMPt⊤)−1N_t = MP_t^\top(P_tMP_t^\top)^{-1}Nt​=MPt⊤​(Pt​MPt⊤​)−1.

Formalization targets

Goal: Theorem 3 (p. 22)

Under the standing assumptions, the linear conditional mean assumption, and strict feasibility of MSP\mathcal{MSP}MSP,

val(MSPu)=val(4.2)and, if k≥2 or W^≠0,val(MSPl)=val(4.6),\mathrm{val}(\mathcal{MSP}^u) = \mathrm{val}(4.2) \qquad\text{and, if } k \ge 2 \text{ or } \hat W \ne 0,\qquad \mathrm{val}(\mathcal{MSP}^l) = \mathrm{val}(4.6),val(MSPu)=val(4.2)and, if k≥2 or W^=0,val(MSPl)=val(4.6),

as extended-real optimal values. Both equalities are part of the goal.

Milestones

  1. Lemma 2 (p. 20): for every xt∈Lkt,nt2x_t \in \mathcal L^2_{k^t,n_t}xt​∈Lkt,nt​2​ there is a unique XtX_tXt​ with XtPtM=E(xt(ξt)ξ⊤)X_tP_tM = \mathbb E(x_t(\xi^t)\xi^\top)Xt​Pt​M=E(xt​(ξt)ξ⊤), and likewise for slacks.
  2. Lemma 3 (p. 21): a moment condition StPtM=E(s(⋅)ξ⊤)S_tP_tM = \mathbb E(s(\cdot)\xi^\top)St​Pt​M=E(s(⋅)ξ⊤) with s≥0s \ge 0s≥0 can be met by a non-anticipative slack st(ξt)s_t(\xi^t)st​(ξt) iff it can be met by a slack depending on the full ξ\xiξ.
  3. §4, (4.7) (p. 21): through (4.3), the equality constraints of MSPl\mathcal{MSP}^lMSPl are equivalent to ∑sAtsXsPsNtPt+StPt=BtPt\sum_s A_{ts}X_sP_sN_tP_t + S_tP_t = B_tP_t∑s​Ats​Xs​Ps​Nt​Pt​+St​Pt​=Bt​Pt​.

Significance

The theorem makes both linear-decision-rule bounds on a multistage stochastic program computable by linear programming, with size polynomial in kkk, lll, ∑tmt\sum_t m_t∑t​mt​ and ∑tnt\sum_t n_t∑t​nt​ and hence typically linear in the number of stages. The gap between the two values measures the suboptimality of the primal linear rule. These results underlie later work on piecewise-linear and lifted decision rules and on multistage robust and distributionally robust optimization.

The preprint omits the proof of Theorem 3 ("it widely parallels the argumentation in Section 2"), so a formal proof has to supply the multistage details: the conditional-expectation bookkeeping, the truncation operators and the transfer of the one-stage cone description to non-anticipative slacks. No part of this paper has been machine-checked before; the companion mission of this series formalizes the one-stage Theorem 1.

Difficulty

The obvious route repeats the one-stage argument stage by stage, and it breaks at the slack constraints of MSPl\mathcal{MSP}^lMSPl. A slack sts_tst​ must be a function of ξt\xi^tξt alone, while the one-stage cone characterization of moment vectors E(s(ξ)ξ)\mathbb E(s(\xi)\xi)E(s(ξ)ξ) concerns functions of the full ξ\xiξ; Lemma 3 bridges them only through the linear conditional mean assumption and conditional expectations. A second difficulty is the closure gap between that cone and its polyhedral outer description: the equality of val(MSPl)\mathrm{val}(\mathcal{MSP}^l)val(MSPl) and val(4.6)\mathrm{val}(4.6)val(4.6) relies on strict feasibility, and a proof that ignores it is wrong. On the primal side, the passage from almost sure constraints to identities of matrices needs both that every point of Ξ\XiΞ is charged by P\mathbb PP and that Ξ\XiΞ spans Rk\mathbb R^kRk.

Formalization scope

Vectors are functions Fin d → ℝ; stage ttt is the Fin T index t−1t-1t−1 and coordinate 111 is index 0. The history dimension is kbar kk t, the truncation is the restriction to the first ktk^tkt coordinates, and PtP_tPt​ is also given as a 0/10/10/1 matrix. Et\mathbb E_tEt​ is Mathlib's condExp with respect to the σ-algebra generated by PtP_tPt​. "Ξ\XiΞ is the support of P\mathbb PP" means: Ξ\XiΞ closed, P(Ξc)=0\mathbb P(\Xi^c) = 0P(Ξc)=0, and every ball around a point of Ξ\XiΞ has positive mass. Decision rules are Borel functions of the history whose composition with PtP_tPt​ is in L2(P)L^2(\mathbb P)L2(P). Optimal values are infima in EReal (+∞+\infty+∞ if infeasible, −∞-\infty−∞ if unbounded), and "equivalent" means equal optimal values. The matrices MtM_tMt​ are data, with the conditional-mean identity as a hypothesis.

Three conventions are fixed where the page is silent or misprinted. Strict feasibility of MSP\mathcal{MSP}MSP, not defined in §4, is the analogue of (2.9) for the standard form (4.1): slacks at least ε>0\varepsilon > 0ε>0 almost surely. The equality constraint of MSPl\mathcal{MSP}^lMSPl is printed with st−bts_t - b_tst​−bt​ inside ∑s\sum_s∑s​; the formalization follows (4.7), where the sum covers only AtsxsA_{ts}x_sAts​xs​. The sign condition in (4.5c) is printed as s~t(ξt)≥0\tilde s_t(\xi^t) \ge 0s~t​(ξt)≥0 for a function of ξ\xiξ, and is read as s~t(ξ)≥0\tilde s_t(\xi) \ge 0s~t​(ξ)≥0. The theorem's last sentence (polynomial size, efficient solvability) is informal and not formalized. One hypothesis is added: the goal's second equality assumes k≥2k \ge 2k≥2 or that some row of W^\hat WW^ (the rows of WWW below (2.1b)) is nonzero (the first equality is stated without it). For k=1k = 1k=1 the support is the single point {1}\{1\}{1}, and if WWW has no nonzero row beyond (2.1b) the cone of Proposition 3 is all of R\mathbb RR; the printed second equality then fails (a strictly feasible one-stage instance has val(MSPl)=0\mathrm{val}(\mathcal{MSP}^l) = 0val(MSPl)=0 while (4.6) is unbounded below). The added hypothesis excludes exactly this case.

Expectations are Bochner integrals, which vanish on non-integrable functions; under the standing assumptions ξ\xiξ is bounded almost surely, so all integrands involving square-integrable rules are integrable and no constraint is satisfied vacuously. Matrix.inv returns 000 on singular matrices, but PtMPt⊤P_tMP_t^\topPt​MPt⊤​ is positive definite under the standing assumptions. The linear conditional mean hypothesis cannot be dropped from Lemmas 2 and 3: without it XtX_tXt​ need not exist.

A complete development needs the support and moment facts of §2 (M≻0M \succ 0M≻0, almost sure constraints extend to Ξ\XiΞ), Farkas-type duality for the polyhedron Ξ\XiΞ, the tower property of conditional expectation, and the cone results of Propositions 3 and 4 of the preprint. These are reusable across the series. Proofs of the milestones, or of these supporting facts as separate lemmas, are welcome.

Selected references

  • D. Kuhn, W. Wiesemann, A. Georghiou, Primal and dual linear decision rules in stochastic and robust optimization, Optimization Online preprint 2009/02/2218, 2009; Math. Program. 130:177–209, 2011. https://optimization-online.org/2009/02/2218/ ; https://doi.org/10.1007/s10107-009-0331-4
  • A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Math. Program. 99:351–376, 2004. https://doi.org/10.1007/s10107-003-0454-y
  • A. Shapiro, A. Nemirovski, On complexity of stochastic programming problems, in Continuous Optimization, Springer, 2005. https://doi.org/10.1007/0-387-26771-9_4
  • X. Chen, M. Sim, P. Sun, J. Zhang, A linear decision-based approximation approach to stochastic programming, Oper. Res. 56(2):344–357, 2008. https://doi.org/10.1287/opre.1070.0441
  • M. Dyer, L. Stougie, Computational complexity of stochastic programming problems, Math. Program. 106:423–432, 2006. https://doi.org/10.1007/s10107-005-0597-0
8 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Stochastic Machine Scheduling with Precedence Constraints 1: LP-Based Delayed List Scheduling Is a (1 + β)(1 + 1/β + max{1, (m − 1)Δ/m})-Approximation for P|r_j, prec|E[Σ w_j C_j]Research Paper

Motivation

Scheduling jobs whose processing times are not known in advance is a basic problem of production planning, project management and computing systems. In the stochastic machine scheduling model only the distribution of each processing time is known beforehand; the actual duration of a job is revealed when the job completes. A solution is then not a schedule but a scheduling policy, which decides at every point in time what to start next on the basis of what has been observed so far.

For precedence-constrained problems, constant-factor guarantees for policies were long unavailable. Möhring, Schulz and Uetz (J. ACM 1999) introduced LP relaxations with load inequalities for stochastic scheduling and obtained the first constant-factor policies for independent jobs. In the deterministic setting, Chekuri, Motwani, Natarajan and Stein (SIAM J. Comput. 2001) gave a list scheduling algorithm with deliberate idle times for P ∣ rj,prec ∣∑wjCj\mathrm P\,|\,r_j,\mathit{prec}\,|\sum w_jC_jP∣rj​,prec∣∑wj​Cj​. Skutella and Uetz (SIAM J. Comput. 2005) combined the two and gave the first constant-factor approximation for stochastic scheduling with precedence constraints and release dates. This mission formalizes that result.

Setting

A finite set VVV of jobs is to be scheduled on m≥1m\ge1m≥1 identical parallel machines, nonpreemptively. Precedence constraints are the arcs AAA of an acyclic digraph: an arc (i,j)(i,j)(i,j) requires jjj to start no earlier than iii completes, and iii is a predecessor of jjj if a directed path leads from iii to jjj. Job jjj has a release date rj≥0r_j\ge0rj​≥0, before which it must not start, and a weight wj≥0w_j\ge0wj​≥0. Following §2 of the paper, release dates are assumed to respect the precedence constraints (Assumption 2.1: ri≤rjr_i\le r_jri​≤rj​ whenever iii is a predecessor of jjj).

The processing time of job jjj is a random variable Pj≥0P_j\ge0Pj​≥0 with finite mean E[Pj]\mathrm E[P_j]E[Pj​]; the PjP_jPj​ are stochastically independent. For a realization ppp of the processing times, a feasible schedule assigns start times Sj≥rjS_j\ge r_jSj​≥rj​ such that Si+pi≤SjS_i+p_i\le S_jSi​+pi​≤Sj​ for every arc and at most mmm jobs are in process at any time. A policy Π\PiΠ maps realizations to feasible schedules; it is nonanticipatory if what it has started by time ttt depends only on what has been observed by ttt. The completion time of jjj under Π\PiΠ is CjΠ(P)=SjΠ(P)+PjC^\Pi_j(P)=S^\Pi_j(P)+P_jCjΠ​(P)=SjΠ​(P)+Pj​.

The coefficient of variation is CV[Pj]=Var[Pj]/E[Pj]\mathrm{CV}[P_j]=\sqrt{\mathrm{Var}[P_j]}/\mathrm E[P_j]CV[Pj​]=Var[Pj​]​/E[Pj​]; the mission assumes CV[Pj]≤Δ\mathrm{CV}[P_j]\le\sqrt\DeltaCV[Pj​]≤Δ​ for all jjj and some Δ≥0\Delta\ge0Δ≥0. With μj=E[Pj]\mu_j=\mathrm E[P_j]μj​=E[Pj​], the set function

f(W)=12m((∑j∈Wμj)2+∑j∈Wμj2)−(m−1)(Δ−1)2m∑j∈Wμj2f(W)=\frac1{2m}\Big(\big(\textstyle\sum_{j\in W}\mu_j\big)^2+\sum_{j\in W}\mu_j^2\Big)-\frac{(m-1)(\Delta-1)}{2m}\sum_{j\in W}\mu_j^2f(W)=2m1​((∑j∈W​μj​)2+∑j∈W​μj2​)−2m(m−1)(Δ−1)​∑j∈W​μj2​

defines the LP relaxation: minimize ∑jwjCjLP\sum_jw_jC^{\mathrm{LP}}_j∑j​wj​CjLP​ subject to ∑j∈WμjCjLP≥f(W)\sum_{j\in W}\mu_jC^{\mathrm{LP}}_j\ge f(W)∑j∈W​μj​CjLP​≥f(W) for all W⊆VW\subseteq VW⊆V, CjLP≥CiLP+μjC^{\mathrm{LP}}_j\ge C^{\mathrm{LP}}_i+\mu_jCjLP​≥CiLP​+μj​ for (i,j)∈A(i,j)\in A(i,j)∈A, and CjLP≥μjC^{\mathrm{LP}}_j\ge\mu_jCjLP​≥μj​.

Algorithm CMNS takes a priority list LLL and a parameter β\betaβ. Whenever a machine is idle and the first job of the residual list (the jobs not yet scheduled) is available, it is scheduled. Otherwise the first available job jjj of the residual list is deliberately delayed; idle machines accumulate deliberate idle time charged to jjj, and once jjj has been charged β E[Pj]\beta\,\mathrm E[P_j]βE[Pj​] it is scheduled out of order. The critical chain of a job jjj is traced backwards through critical predecessors (those completing last, after rjr_jrj​); its length is ℓj(p)\ell_j(p)ℓj​(p).

Formalization targets

Goal: Theorem 4.1

If CLPC^{\mathrm{LP}}CLP is an optimal LP solution, LLL orders the jobs by nondecreasing CjLPC^{\mathrm{LP}}_jCjLP​ and β>0\beta>0β>0, then for every feasible nonanticipatory policy Π\PiΠ

E[∑jwjCjCMNS(P)]≤(1+β)(1+1β+max⁡{1,m−1mΔ}) E[∑jwjCjΠ(P)].\mathrm E\Big[\sum_jw_jC^{\mathrm{CMNS}}_j(P)\Big]\le(1+\beta)\Big(1+\frac1\beta+\max\Big\{1,\frac{m-1}m\Delta\Big\}\Big)\,\mathrm E\Big[\sum_jw_jC^\Pi_j(P)\Big].E[j∑​wj​CjCMNS​(P)]≤(1+β)(1+β1​+max{1,mm−1​Δ})E[j∑​wj​CjΠ​(P)].

Milestones

  1. Observation 2.4: each job is charged at most β E[Pj]\beta\,\mathrm E[P_j]βE[Pj​]; idle time while jjj waits is charged to jobs before jjj; no deliberate idle time is uncharged.
  2. Lemma 2.5: the per-realization bound Cj(p)≤m−1mℓj(p)+1mrj+1m(∑i∈Bj(pi+βE[Pi])+∑i∈Oj(p)pi)C_j(p)\le\frac{m-1}m\ell_j(p)+\frac1mr_j+\frac1m\big(\sum_{i\in B_j}(p_i+\beta\mathrm E[P_i])+\sum_{i\in O_j(p)}p_i\big)Cj​(p)≤mm−1​ℓj​(p)+m1​rj​+m1​(∑i∈Bj​​(pi​+βE[Pi​])+∑i∈Oj​(p)​pi​).
  3. Lemma 2.6: E[∑i∈Oj(P)Pi]=E[∑i∈Oj(P)E[Pi]]\mathrm E[\sum_{i\in O_j(P)}P_i]=\mathrm E[\sum_{i\in O_j(P)}\mathrm E[P_i]]E[∑i∈Oj​(P)​Pi​]=E[∑i∈Oj​(P)​E[Pi​]].
  4. Lemma 2.7: 1mE[∑i∈Oj(P)E[Pi]]≤1βE[ℓj(P)]\frac1m\mathrm E[\sum_{i\in O_j(P)}\mathrm E[P_i]]\le\frac1\beta\mathrm E[\ell_j(P)]m1​E[∑i∈Oj​(P)​E[Pi​]]≤β1​E[ℓj​(P)].
  5. Theorem 2.8: E[Cj(P)]≤(m−1m+1β)E[ℓj(P)]+1+βm∑i∈BjE[Pi]+1mrj\mathrm E[C_j(P)]\le\big(\frac{m-1}m+\frac1\beta\big)\mathrm E[\ell_j(P)]+\frac{1+\beta}m\sum_{i\in B_j}\mathrm E[P_i]+\frac1mr_jE[Cj​(P)]≤(mm−1​+β1​)E[ℓj​(P)]+m1+β​∑i∈Bj​​E[Pi​]+m1​rj​.
  6. Theorem 3.1: the load inequalities ∑j∈WE[Pj]E[CjΠ(P)]≥f(W)\sum_{j\in W}\mathrm E[P_j]\mathrm E[C^\Pi_j(P)]\ge f(W)∑j∈W​E[Pj​]E[CjΠ​(P)]≥f(W).
  7. §3: expected completion times of any policy are LP-feasible, so the LP optimum is a lower bound.
  8. Lemma 3.3: 1m∑k≤jE[Pk]≤(1+max⁡{1,m−1mΔ})CjLP\frac1m\sum_{k\le j}\mathrm E[P_k]\le\big(1+\max\{1,\frac{m-1}m\Delta\}\big)C^{\mathrm{LP}}_jm1​∑k≤j​E[Pk​]≤(1+max{1,mm−1​Δ})CjLP​ along the LP order.
  9. §4: ℓj(p)≤Cj(p)\ell_j(p)\le C_j(p)ℓj​(p)≤Cj​(p) in any feasible schedule, so E[ℓj(P)]\mathrm E[\ell_j(P)]E[ℓj​(P)] is a lower bound for every policy.

Significance

The theorem gives a policy with a performance guarantee independent of the number of jobs for P ∣ rj,prec ∣ E[∑wjCj]\mathrm P\,|\,r_j,\mathit{prec}\,|\,\mathrm E[\sum w_jC_j]P∣rj​,prec∣E[∑wj​Cj​], using only the expected processing times and a bound on their coefficients of variation. For NBUE distributions (Δ=1\Delta=1Δ=1) and β=1/2\beta=1/\sqrt2β=1/2​ it yields 3+22≈5.833+2\sqrt2\approx5.833+22​≈5.83, matching the deterministic guarantee of Chekuri et al. The analysis separates cleanly into an algorithmic half (Theorem 2.8, valid for arbitrary distributions) and a polyhedral half (load inequalities and Lemma 3.3), both reused for the in-forest results of the same paper and in later work on stochastic scheduling.

The result is proved in the paper; it has no machine-checked proof. Formalizing it produces a precise definition of nonanticipatory policies and of a list scheduling algorithm with deliberate idle times in continuous time, a formal proof of the Möhring–Schulz–Uetz load inequalities, and a verified approximation guarantee for a stochastic scheduling policy.

Difficulty

Lemma 2.6 is the step where the stochastic setting departs from the deterministic one: the set Oj(P)O_j(P)Oj​(P) of out-of-order jobs is random and correlated with the schedule, and the identity holds only because the decision to start a job out of order is taken before its processing time is revealed. Making this rigorous requires a formal notion of nonanticipation and an independence argument over a random set. On the algorithmic side, the bookkeeping of deliberate idle time, which accumulates at a rate equal to the number of idle machines, must be made precise at instants where several jobs start, including jobs of length zero. The load inequalities compare every nonanticipatory policy at once and involve second moments of the processing times, so they cannot be checked policy by policy.

Formalization scope

Jobs form a finite type; arcs are a relation whose transitive closure is irreflexive; machine capacity is the counting condition "at most mmm jobs in process", with half-open processing intervals. Processing times may be zero. The CV bound is encoded as finite second moments, positive means and Var[Pj]≤Δ E[Pj]2\mathrm{Var}[P_j]\le\Delta\,\mathrm E[P_j]^2Var[Pj​]≤ΔE[Pj​]2.

Algorithm CMNS is characterized by its rules: a decision order nondecreasing in time, the scheduling rule at each decision, and the condition that after the decisions at any time nothing remains to be done. A CMNS policy is a map σ\sigmaσ with this property for every realization. Nonanticipation and measurability of σ\sigmaσ, which the paper asserts without proof (p. 795; §5), are hypotheses. Critical chains use a fixed tie-breaking order.

Standing assumptions and added hypotheses: independence, Assumption 2.1, rj≥0r_j\ge0rj​≥0, wj≥0w_j\ge0wj​≥0 and finite means appear in every statement where they are used. β>0\beta>0β>0 is assumed wherever 1/β1/\beta1/β appears (Lemma 2.7, Theorem 2.8), where the page allows β≥0\beta\ge0β≥0 with 1/0=∞1/0=\infty1/0=∞. Lemma 2.6 assumes that LLL is a linear extension, as in the surrounding Lemma 2.5 and Theorem 2.8; with zero processing times it fails otherwise. Comparator policies have integrable completion times and, like σ\sigmaσ, are measurable for the law of PPP, which §5's requirement that every policy be universally measurable implies.

The goal is not trivialized: comparators range over every feasible nonanticipatory policy, not over list policies or the algorithm itself; CLPC^{\mathrm{LP}}CLP is optimal over all W⊆VW\subseteq VW⊆V, not merely feasible; and the expected cost of CMNS is asserted to be finite, so neither side can collapse to a default integral value.

Contributions welcome: proofs of any milestone, in particular Theorem 3.1 and Lemma 3.3, which are reusable for the companion in-forest mission, and a proof that the CMNS rules determine a unique, nonanticipatory, measurable policy.

Selected references

  • M. Skutella, M. Uetz, Stochastic machine scheduling with precedence constraints, SIAM J. Comput. 34(4) (2005) 788–802. https://doi.org/10.1137/S0097539702415007
  • R. H. Möhring, A. S. Schulz, M. Uetz, Approximation in stochastic scheduling: the power of LP-based priority policies, J. ACM 46(6) (1999) 924–942. https://doi.org/10.1145/331524.331530
  • C. Chekuri, R. Motwani, B. Natarajan, C. Stein, Approximation techniques for average completion time scheduling, SIAM J. Comput. 31(1) (2001) 146–166. https://doi.org/10.1137/S0097539797327180
  • R. H. Möhring, F. J. Radermacher, G. Weiss, Stochastic scheduling problems I: General strategies, Z. Oper. Res. 28 (1984) 193–260. https://doi.org/10.1007/BF01919323
12 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Primal and Dual Linear Decision Rules in Stochastic and Robust Optimization 1: With Fixed Recourse, the Primal and Dual Linear Decision Rule Problems Equal the LPs (2.3) and (2.8)Research Paper

Motivation

Linear stochastic programs with recourse model decisions that are taken after an uncertain parameter ξ\xiξ has been observed: the decision is a decision rule x(ξ)x(\xi)x(ξ), a function of the data. Computing the optimal value exactly is intractable in general. Dyer and Stougie showed that already two-stage linear stochastic programs are #P-hard (Math. Program. 2006), and the same holds for the one-stage problem SP\mathcal{SP}SP below even when P\mathbb PP is uniform on a cube.

A widely used remedy restricts decision rules to be linear in ξ\xiξ. Ben-Tal, Goryashko, Guslitzer and Nemirovski introduced this restriction in robust optimization (Math. Program. 2004); Shapiro and Nemirovski (2005) and Chen, Sim, Sun and Zhang (Oper. Res. 2008) carried it into stochastic programming. The restriction yields an upper bound, but on its own it says nothing about how much optimality is lost. Kuhn, Wiesemann and Georghiou (Optimization Online 2009/02/2218; published in Math. Program. 2011) also apply the linear restriction to the dual multipliers. This gives a lower bound, so the gap between the two computable bounds estimates the approximation error. This mission formalizes the paper's model result for the case of fixed recourse and polyhedral support (§2, Theorem 1).

Setting

Uncertainty is a probability measure P\mathbb PP on (Rk,B(Rk))(\mathbb R^k, \mathfrak B(\mathbb R^k))(Rk,B(Rk)). The support Ξ\XiΞ of P\mathbb PP is the smallest closed set of probability one. A decision rule is an element of Lk,n2\mathcal L^2_{k,n}Lk,n2​, the Borel measurable, square-integrable functions Rk→Rn\mathbb R^k \to \mathbb R^nRk→Rn. Inequalities between vectors and matrices are componentwise.

The data are a fixed recourse matrix A∈Rm×nA \in \mathbb R^{m\times n}A∈Rm×n, matrices C∈Rn×kC \in \mathbb R^{n\times k}C∈Rn×k and B∈Rm×kB \in \mathbb R^{m\times k}B∈Rm×k giving the costs c(ξ)=Cξc(\xi) = C\xic(ξ)=Cξ and right-hand sides b(ξ)=Bξb(\xi) = B\xib(ξ)=Bξ, and W∈Rl×kW \in \mathbb R^{l\times k}W∈Rl×k, h∈Rlh \in \mathbb R^lh∈Rl. The stochastic program is

SP:min⁡x∈Lk,n2 E(c(ξ)⊤x(ξ))s.t.Ax(ξ)≤b(ξ)  P-a.s.\mathcal{SP}:\quad \min_{x \in \mathcal L^2_{k,n}} \ \mathbb E\big(c(\xi)^\top x(\xi)\big) \quad\text{s.t.}\quad Ax(\xi) \le b(\xi)\ \ \mathbb P\text{-a.s.}SP:x∈Lk,n2​min​ E(c(ξ)⊤x(ξ))s.t.Ax(ξ)≤b(ξ)  P-a.s.

The standing assumptions of §2 are:

  • the support is the nonempty bounded polyhedron Ξ={ξ:Wξ≥h}\Xi = \{\xi : W\xi \ge h\}Ξ={ξ:Wξ≥h} (2.1a);
  • (2.1b) holds: the first two rows of WWW are e1⊤e_1^\tope1⊤​ and −e1⊤-e_1^\top−e1⊤​, the remaining rows form W^\widehat WW, and h=(1,−1,0,…,0)h = (1,-1,0,\dots,0)h=(1,−1,0,…,0), so that ξ1=1\xi_1 = 1ξ1​=1 on Ξ\XiΞ;
  • Ξ\XiΞ spans Rk\mathbb R^kRk.

The second-order moment matrix is M=E(ξξ⊤)M = \mathbb E(\xi\xi^\top)M=E(ξξ⊤). SP\mathcal{SP}SP is strictly feasible (2.9) if some xˉ∈Lk,n2\bar x \in \mathcal L^2_{k,n}xˉ∈Lk,n2​, sˉ∈Lk,m2\bar s \in \mathcal L^2_{k,m}sˉ∈Lk,m2​ and ε>0\varepsilon > 0ε>0 satisfy Axˉ(ξ)+sˉ(ξ)=b(ξ)A\bar x(\xi) + \bar s(\xi) = b(\xi)Axˉ(ξ)+sˉ(ξ)=b(ξ) and sˉ(ξ)≥εe\bar s(\xi) \ge \varepsilon esˉ(ξ)≥εe almost surely.

The two approximations are as follows.

  • Primal linear decision rules, SPu\mathcal{SP}^uSPu: minimize Tr⁡(MC⊤X)\operatorname{Tr}(MC^\top X)Tr(MC⊤X) over X∈Rn×kX \in \mathbb R^{n\times k}X∈Rn×k, S∈Rm×kS \in \mathbb R^{m\times k}S∈Rm×k with AXξ+Sξ=BξAX\xi + S\xi = B\xiAXξ+Sξ=Bξ and Sξ≥0S\xi \ge 0Sξ≥0 almost surely.
  • Dual linear decision rules, SPl\mathcal{SP}^lSPl: minimize E(c(ξ)⊤x(ξ))\mathbb E(c(\xi)^\top x(\xi))E(c(ξ)⊤x(ξ)) over x∈Lk,n2x \in \mathcal L^2_{k,n}x∈Lk,n2​, s∈Lk,m2s \in \mathcal L^2_{k,m}s∈Lk,m2​ with E([Ax(ξ)+s(ξ)−b(ξ)]ξ⊤)=0\mathbb E\big([Ax(\xi)+s(\xi)-b(\xi)]\xi^\top\big) = 0E([Ax(ξ)+s(ξ)−b(ξ)]ξ⊤)=0 and s≥0s \ge 0s≥0 almost surely.

Formalization targets

Goal: Theorem 1 (p. 10)

Under the standing assumptions, W^≠0\widehat W \ne 0W=0 (see Formalization scope) and strict feasibility,

val⁡SPu=val⁡(2.3)andval⁡SPl=val⁡(2.8),\operatorname{val}\mathcal{SP}^u = \operatorname{val}(2.3) \quad\text{and}\quad \operatorname{val}\mathcal{SP}^l = \operatorname{val}(2.8),valSPu=val(2.3)andvalSPl=val(2.8),

where (2.3) and (2.8) are the linear programs

(2.3)min⁡X,Λ Tr⁡(MC⊤X)  s.t.  AX+ΛW=B, Λh≥0, Λ≥0,(2.3)\quad \min_{X,\Lambda}\ \operatorname{Tr}(MC^\top X)\ \text{ s.t. }\ AX + \Lambda W = B,\ \Lambda h \ge 0,\ \Lambda \ge 0,(2.3)X,Λmin​ Tr(MC⊤X)  s.t.  AX+ΛW=B, Λh≥0, Λ≥0, (2.8)min⁡X,S Tr⁡(MC⊤X)  s.t.  AX+S=B, (W−he1⊤)MS⊤≥0.(2.8)\quad \min_{X,S}\ \operatorname{Tr}(MC^\top X)\ \text{ s.t. }\ AX + S = B,\ (W - he_1^\top)MS^\top \ge 0.(2.8)X,Smin​ Tr(MC⊤X)  s.t.  AX+S=B, (W−he1⊤​)MS⊤≥0.

Milestones, in the order the proof uses them

  1. §2.2 (p. 5). The almost-sure constraints of SPu\mathcal{SP}^uSPu hold on all of Ξ\XiΞ, and AXξ+Sξ=BξAX\xi + S\xi = B\xiAXξ+Sξ=Bξ a.s. is equivalent to AX+S=BAX + S = BAX+S=B.
  2. Proposition 1 (p. 5). If Ξ\XiΞ is nonempty, then z⊤ξ≥0z^\top\xi \ge 0z⊤ξ≥0 on Ξ\XiΞ if and only if z=W⊤λz = W^\top\lambdaz=W⊤λ for some λ≥0\lambda \ge 0λ≥0 with h⊤λ≥0h^\top\lambda \ge 0h⊤λ≥0.
  3. Proposition 2 (p. 7). MMM is positive definite and invertible.
  4. §2.4 (p. 7). val⁡SPl\operatorname{val}\mathcal{SP}^lvalSPl equals the optimal value of the moment problem (2.6).
  5. Proposition 3 (p. 7). If W^≠0\widehat W \ne 0W=0, then ∅≠int⁡K⊆KP⊆K\emptyset \ne \operatorname{int}\mathcal K \subseteq \mathcal K_{\mathbb P} \subseteq \mathcal K∅=intK⊆KP​⊆K, for the polyhedral cone K={z:(W−he1⊤)z≥0}\mathcal K = \{z : (W-he_1^\top)z \ge 0\}K={z:(W−he1⊤​)z≥0} and the moment cone KP={E(s(ξ)ξ):s∈Lk,12, s≥0}\mathcal K_{\mathbb P} = \{\mathbb E(s(\xi)\xi) : s \in \mathcal L^2_{k,1},\ s \ge 0\}KP​={E(s(ξ)ξ):s∈Lk,12​, s≥0}.
  6. Proposition 4 (p. 9). Under strict feasibility and W^≠0\widehat W \ne 0W=0, (2.6) and (2.8) have the same optimal value.

Significance

Because SPu≥SP≥SPl\mathcal{SP}^u \ge \mathcal{SP} \ge \mathcal{SP}^lSPu≥SP≥SPl, Theorem 1 brackets the value of an intractable stochastic program between two explicit linear programs. The sizes of these programs are polynomial in k,l,m,nk, l, m, nk,l,m,n. They depend on P\mathbb PP only through its support and its second-order moment matrix. The difference val⁡(2.3)−val⁡(2.8)\operatorname{val}(2.3) - \operatorname{val}(2.8)val(2.3)−val(2.8) is therefore a computable certificate of how much the linear-decision-rule restriction can lose. Sections 3 and 4 of the paper extend the same scheme to random recourse (semidefinite programs) and to multistage problems; they are the subjects of the companion missions 2 and 3.

The theorem is proved in the paper. As far as a search of the platform shows, none of the statements above has a machine-checked proof. A formal proof would check the measure-theoretic steps that the paper passes over quickly. These are the passage from "almost surely" to "on the support", the density argument behind int⁡K⊆KP\operatorname{int}\mathcal K \subseteq \mathcal K_{\mathbb P}intK⊆KP​, and the approximation argument of Proposition 4. A formal proof would also produce reusable results on robust counterparts of polyhedral constraints and on moment cones.

Difficulty

The primal half is robust-optimization duality. Its only delicate point is that almost-sure constraints become constraints on all of Ξ\XiΞ, which uses the fact that every point of the support is charged. The dual half is harder. The constraint "SMSMSM has rows in KP\mathcal K_{\mathbb P}KP​" is a family of moment problems over nonnegative square-integrable densities, and KP\mathcal K_{\mathbb P}KP​ is in general not closed. Replacing it by the polyhedral cone K\mathcal KK is exact only up to the boundary, and it is strict feasibility that removes the boundary effect. Without strict feasibility the optimal values of (2.6) and (2.8) are only known to bracket each other. The proof of Proposition 3 also needs a description of the closed cone generated by Ξ\XiΞ, and this description uses (2.1b).

Formalization scope

Vectors in Rk\mathbb R^kRk are Fin k → ℝ and matrices are Matrix (Fin m) (Fin k) ℝ. The paper's 1-based indices are 0-based in Lean, so e1e_1e1​ is index 0 and the rows of (2.1b) are rows 0 and 1. The data form a structure Setting, and the standing assumptions form one predicate Standing. The support is encoded by three conditions on Ξ\XiΞ: it is closed, P(Ξc)=0\mathbb P(\Xi^c) = 0P(Ξc)=0, and every ball centred in Ξ\XiΞ has positive mass. This is equivalent to "smallest closed set of probability one"; P(Ξ)=1\mathbb P(\Xi) = 1P(Ξ)=1 alone would not be enough. Decision rules are measurable functions with MemLp x 2 P. Expectations of vector- and matrix-valued quantities are written entrywise as Bochner integrals. Under the standing assumptions ξ\xiξ is bounded almost surely, so every integrand involved is integrable and no integral defaults to 000.

"Equivalent" means equal optimal values. Each optimal value is the infimum of the objective over the feasible set in EReal: +∞+\infty+∞ if the problem is infeasible and −∞-\infty−∞ if it is unbounded below. A one-sided inequality between the values, or the bare statement that the problems are linear programs, is not Theorem 1 and does not close the goal. Strict feasibility is a hypothesis of both equalities, as printed. Proposition 1 is stated for any W,hW, hW,h with a nonempty polyhedron, since nonemptiness is the only property of Ξ\XiΞ it uses. Proposition 3, Proposition 4 and Theorem 1 carry one hypothesis the paper does not state, W^≠0\widehat W \ne 0W=0 (some row of WWW below the first two is nonzero). The printed statements are false without it: for k=1k = 1k=1, W=(1,−1)⊤W = (1,-1)^\topW=(1,−1)⊤, h=(1,−1)⊤h = (1,-1)^\toph=(1,−1)⊤, P=δ1\mathbb P = \delta_1P=δ1​ every assumption holds, W−he1⊤=0W - he_1^\top = 0W−he1⊤​=0, so K=R\mathcal K = \mathbb RK=R while KP=[0,∞)\mathcal K_{\mathbb P} = [0,\infty)KP​=[0,∞), and (2.8) loses the sign constraint S≥0S \ge 0S≥0 that (2.6) keeps. Under the standing assumptions the hypothesis is automatic whenever k≥2k \ge 2k≥2. Theorem 1's closing sentence ("the sizes of these linear programs are polynomial … efficiently solvable") is informal and is not formalized.

A complete development needs strong LP duality or Farkas' lemma for inequality systems, the support of a measure in Rk\mathbb R^kRk, density of L2L^2L2-densities in nonnegative measures, and basic facts on interiors of polyhedral cones. The Farkas lemma is on the platform (LinearOptimization.farkas_lemma). Proofs of the milestones are welcome independently. Proposition 1 and Proposition 3 are reusable outside this paper.

Selected references

  • D. Kuhn, W. Wiesemann, A. Georghiou, Primal and dual linear decision rules in stochastic and robust optimization, Optimization Online 2009/02/2218 (2009); Math. Program. 130 (2011) 177–209. https://doi.org/10.1007/s10107-009-0331-4
  • A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Math. Program. 99 (2004) 351–376. https://doi.org/10.1007/s10107-003-0454-y
  • 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
  • X. Chen, M. Sim, P. Sun, J. Zhang, A linear decision-based approximation approach to stochastic programming, Oper. Res. 56 (2008) 344–357. https://doi.org/10.1287/opre.1070.0441
  • M. Dyer, L. Stougie, Computational complexity of stochastic programming problems, Math. Program. 106 (2006) 423–432. https://doi.org/10.1007/s10107-005-0597-0
  • A. Shapiro, A. Nemirovski, On complexity of stochastic programming problems, in Continuous Optimization, Springer (2005) 111–144. https://doi.org/10.1007/0-387-26771-9_4
10 thms1 active userReviewed
CombinatoricsOperations Research·Captain: mikedeng1

A Branch-and-Cut Algorithm for the Dial-a-Ride Problem: The Generalized Order-Matching Inequality x(H) + Σ x(T_h) ≤ |H| + Σ|T_h| − 2m Is Valid for Every Feasible Route PlanResearch Paper

Motivation

The dial-a-ride problem (DARP) asks for minimum-cost vehicle routes that carry users from individual pick-up points to individual drop-off points, subject to vehicle capacities, time windows, route durations and a bound on each user's ride time. It models door-to-door transport for elderly and disabled people, shared taxis and on-demand microtransit. Cordeau (Oper. Res. 54(3), 2006) gave a mixed-integer formulation of the DARP and the first branch-and-cut algorithm for it, and reported that instances with up to 30 users can be solved to optimality in reasonable time. The algorithm's strength comes from families of valid inequalities: linear constraints satisfied by every feasible route plan that cut off fractional points of the linear relaxation. Several of these families were adapted from the precedence-constrained asymmetric TSP (Balas, Fischetti and Pulleyblank 1995; Grötschel and Padberg 1985) and from the pick-up and delivery problem (Ruland and Rodin 1997); others, notably the generalized order-matching inequalities, were new in this paper.

Setting

Let nnn be the number of users. Nodes are N={0,1,…,2n+1}N = \{0, 1, \dots, 2n+1\}N={0,1,…,2n+1} with pick-up nodes P={1,…,n}P = \{1,\dots,n\}P={1,…,n}, drop-off nodes D={n+1,…,2n}D = \{n+1,\dots,2n\}D={n+1,…,2n}, origin depot 000 and destination depot 2n+12n+12n+1; user iii travels from node iii to node n+in+in+i. An instance fixes, for each node iii, a load qiq_iqi​, a service duration di≥0d_i \ge 0di​≥0 and a time window [ei,li][e_i, l_i][ei​,li​]; for each pair of nodes a travel time tijt_{ij}tij​; for each vehicle kkk in a finite set KKK a capacity QkQ_kQk​ and a maximal route duration TkT_kTk​; and a maximal ride time LLL. The standing conditions are q0=q2n+1=0q_0 = q_{2n+1} = 0q0​=q2n+1​=0, qi=−qn+iq_i = -q_{n+i}qi​=−qn+i​ for i∈Pi \in Pi∈P, and d0=d2n+1=0d_0 = d_{2n+1} = 0d0​=d2n+1​=0.

A feasible solution gives each vehicle kkk a route 0→v1→⋯→vr→2n+10 \to v_1 \to \dots \to v_r \to 2n+10→v1​→⋯→vr​→2n+1 through distinct nodes of P∪DP \cup DP∪D, start-of-service times BikB^k_iBik​ and loads QikQ^k_iQik​ such that every node of P∪DP \cup DP∪D is visited by exactly one vehicle, iii and n+in+in+i are on the same route with iii first, Bjk≥Bik+di+tijB^k_j \ge B^k_i + d_i + t_{ij}Bjk​≥Bik​+di​+tij​ and Qjk≥Qik+qjQ^k_j \ge Q^k_i + q_jQjk​≥Qik​+qj​ along each travelled arc, the ride time Bn+ik−(Bik+di)B^k_{n+i} - (B^k_i + d_i)Bn+ik​−(Bik​+di​) lies in [ti,n+i,L][t_{i,n+i}, L][ti,n+i​,L], the route lasts at most TkT_kTk​, and the time windows and capacity bounds hold at every visited node. These are the constraints (2)–(14) of the paper's model.

The arc variables are xijk=1x^k_{ij} = 1xijk​=1 when vehicle kkk travels from iii to jjj, and xij=∑k∈Kxijkx_{ij} = \sum_{k \in K} x^k_{ij}xij​=∑k∈K​xijk​. For a node set SSS write Sˉ=N∖S\bar S = N \setminus SSˉ=N∖S, x(S)=∑i,j∈Sxijx(S) = \sum_{i,j\in S} x_{ij}x(S)=∑i,j∈S​xij​, x(δ+(S))=∑i∈S,j∈Sˉxijx(\delta^+(S)) = \sum_{i\in S, j\in \bar S} x_{ij}x(δ+(S))=∑i∈S,j∈Sˉ​xij​, x(δ−(S))=∑i∈Sˉ,j∈Sxijx(\delta^-(S)) = \sum_{i \in \bar S, j \in S} x_{ij}x(δ−(S))=∑i∈Sˉ,j∈S​xij​, π(S)={i∈P∣n+i∈S}\pi(S) = \{i \in P \mid n+i \in S\}π(S)={i∈P∣n+i∈S} and σ(S)={n+i∈D∣i∈S}\sigma(S) = \{n+i \in D \mid i \in S\}σ(S)={n+i∈D∣i∈S}. An inequality in xxx is valid for the DARP when the aggregated arc variables of every feasible solution satisfy it.

Formalization targets

Goal: Proposition 5 (p. 578)

Let i1,…,imi_1, \dots, i_mi1​,…,im​ be distinct users and let H,T1,…,Tm⊆P∪DH, T_1, \dots, T_m \subseteq P \cup DH,T1​,…,Tm​⊆P∪D satisfy {ih,n+ih}⊆Th\{i_h, n+i_h\} \subseteq T_h{ih​,n+ih​}⊆Th​ and H∩Th={ih}H \cap T_h = \{i_h\}H∩Th​={ih​}. Then every feasible solution satisfies

x(H)+∑h=1mx(Th)≤∣H∣+∑h=1m∣Th∣−2m.(39)x(H) + \sum_{h=1}^m x(T_h) \le |H| + \sum_{h=1}^m |T_h| - 2m. \tag{39}x(H)+h=1∑m​x(Th​)≤∣H∣+h=1∑m​∣Th​∣−2m.(39)

The handle HHH and the teeth ThT_hTh​ are not required to be disjoint from one another beyond H∩Th={ih}H \cap T_h = \{i_h\}H∩Th​={ih​}, and mmm is arbitrary.

Milestones (the steps of the proof of Proposition 5)

  1. x(S)≤∣S∣−1x(S) \le |S| - 1x(S)≤∣S∣−1 for every nonempty S⊆P∪DS \subseteq P \cup DS⊆P∪D.
  2. If x(T)=∣T∣−1x(T) = |T| - 1x(T)=∣T∣−1 for a set T∋i,n+iT \ni i, n+iT∋i,n+i, then a path of arcs with xab=1x_{ab} = 1xab​=1 covers TTT and does not finish at iii.
  3. With α\alphaα the number of teeth for which x(Th)=∣Th∣−1x(T_h) = |T_h| - 1x(Th​)=∣Th​∣−1: x(δ+(H))≥αx(\delta^+(H)) \ge \alphax(δ+(H))≥α.
  4. x(δ+(H))=x(δ−(H))x(\delta^+(H)) = x(\delta^-(H))x(δ+(H))=x(δ−(H)) and 2x(H)+x(δ+(H))+x(δ−(H))=2∣H∣2x(H) + x(\delta^+(H)) + x(\delta^-(H)) = 2|H|2x(H)+x(δ+(H))+x(δ−(H))=2∣H∣ for H⊆P∪DH \subseteq P \cup DH⊆P∪D.
  5. x(H)≤∣H∣−αx(H) \le |H| - \alphax(H)≤∣H∣−α.

Companion statements

The mission also states the other propositions of §4: the lifted subtour elimination inequalities (33) and (34) (Propositions 1 and 2), the predecessor inequality (30), the two liftings (36) and (37) of the generalized order constraint (Propositions 3 and 4), the redundancy of the strengthening (40) of (39) under (30) for fractional points (Proposition 6), and the infeasible path inequality (41) under the triangle inequality for travel times (Proposition 7).

Significance

Valid inequalities are what make branch-and-cut work: each family is added to the linear relaxation by a separation heuristic, and the paper's computational section reports how the bound improves as families are added. Validity is the one property the algorithm cannot check at run time, since a cut that removes a feasible route plan silently returns a suboptimal answer. Remark 2 of the paper observes that (39) is stronger than the TSP comb inequality on the same sets, and Proposition 6 shows that its natural strengthening adds nothing once the predecessor inequalities (30) are present, which tells an implementer which families to separate.

All propositions are proved in the paper, partly in an appendix; none is formalized. A machine-checked development would give a precise route-based model of the DARP that later DARP and pick-up and delivery papers can reuse, and certified validity of the cut families that branch-and-cut codes for these problems separate.

Difficulty

The proofs are short on paper but argue about the shape of routes: "there exists a path connecting all nodes in ThT_hTh​", "this path cannot finish at node ihi_hih​ because of the precedence constraint". Turning a tight subtour count x(T)=∣T∣−1x(T) = |T| - 1x(T)=∣T∣−1 into a single covering path requires knowing that the arcs of a feasible solution inside a subset of P∪DP \cup DP∪D form vertex-disjoint paths, which in turn rests on each node of P∪DP \cup DP∪D having exactly one predecessor and one successor and on routes containing no cycles. The arithmetic step from α\alphaα tight teeth to the bound on the handle needs the degree identities for every subset of P∪DP \cup DP∪D, and counting the arcs leaving HHH needs the distinctness of the users ihi_hih​. Reasoning directly with the linear constraints (2)–(14) does not suffice: those constraints alone do not exclude cycles of zero duration.

Formalization scope

Nodes are natural numbers, so n+in+in+i and 2n+12n+12n+1 appear literally; NNN, PPP, DDD and P∪DP \cup DP∪D are Finset.range (2n+2), Icc 1 n, Icc (n+1) (2n) and Icc 1 (2n). All data and arc variables are real-valued, and every right-hand side is computed in R\mathbb RR. Feasible solutions are route-based: each vehicle has a duplicate-free list of nodes of P∪DP \cup DP∪D, and the constraints of the model are imposed along that list. Read literally, the program (1)–(14) admits closed cycles when di+tij=0d_i + t_{ij} = 0di​+tij​=0 around a cycle, on which every proposition fails, and imposes (11)–(13) also at nodes a vehicle does not visit; the route encoding follows the paper's verbal definition of the DARP and its proofs, which reason about routes. Precedence (iii before n+in+in+i) is a field of the solution, since with zero travel and service times the nonnegativity of ride times does not order the visits. The routing cost plays no role and is omitted. No positivity is assumed for travel or service times.

Added hypotheses, each necessary: sets SSS in the subtour bound and in (30) are nonempty (S=∅S = \emptysetS=∅ gives 0≤−10 \le -10≤−1); the users of Proposition 5 are distinct; the generalized order constraint (Propositions 3 and 4) has m≥2m \ge 2m≥2 (for m=1m = 1m=1 it is false); the ordered sets of Propositions 1 and 2 have h≥3h \ge 3h≥3 nodes, the standing assumption of the paragraph that introduces them; Proposition 7 has p≥1p \ge 1p≥1 and a path through distinct nodes. Proposition 6 is the only statement about fractional points: it assumes nonnegativity, no loops, (2), (3) and (30), and drops the remaining constraints of the relaxation, which makes it stronger.

The inequalities are stated for the arc variables of every feasible solution, not for an arbitrary 000–111 vector satisfying a few degree constraints; a statement of the latter kind is a different and false theorem. Useful contributions include the path structure of the arcs of a feasible solution inside a subset of P∪DP \cup DP∪D, the degree identities, and the milestone proofs, which are reusable for the other propositions.

Selected references

  • J.-F. Cordeau, A Branch-and-Cut Algorithm for the Dial-a-Ride Problem, Operations Research 54(3):573–586, 2006. https://doi.org/10.1287/opre.1060.0283
  • E. Balas, M. Fischetti, W. R. Pulleyblank, The precedence-constrained asymmetric traveling salesman polytope, Mathematical Programming 68:241–265, 1995 (as cited in Cordeau 2006).
  • M. Grötschel, M. W. Padberg, Polyhedral theory, in Lawler et al. (eds.), The Traveling Salesman Problem, Wiley, New York, 1985, pp. 251–305 (as cited in Cordeau 2006).
  • K. S. Ruland, E. Y. Rodin, The pickup and delivery problem: Faces and branch-and-cut algorithm, Computers & Mathematics with Applications 33:1–13, 1997 (as cited in Cordeau 2006).
7 thms1 active userReviewed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Robust Branch-and-Cut-and-Price for the Capacitated Vehicle Routing Problem: The Integer Points of P1 ∩ P2 Are Exactly the CVRP Solutions, and the Dantzig–Wolfe Master Describes P1 ∩ P2Research Paper

Motivation

The capacitated vehicle routing problem (CVRP) asks for KKK delivery routes from a depot that serve every client exactly once without exceeding a vehicle capacity, at minimum total length. It was introduced by Dantzig and Ramser in 1959 and is the reference problem of the vehicle routing literature: most exact methods for richer routing models (time windows, heterogeneous fleets, split deliveries) are first developed and benchmarked on it.

Exact CVRP algorithms are driven by the lower bound of a linear relaxation. Two families dominated before 2005. Branch-and-cut works with the edge variables xex_exe​ and the rounded capacity inequalities (Lysgaard, Letchford and Eglese 2004, among others); its bound degrades as the number of vehicles grows. Lagrangean and column-generation methods work with q-routes, walks from the depot of bounded total demand that may revisit clients (Christofides, Mingozzi and Toth 1981). Fukasawa, Longo, Lysgaard, Poggi de Aragão, Reis, Uchoa and Werneck combine the two in one linear program over the intersection of the two polytopes, priced by column generation with every cut written on the edge variables. According to the abstract, the resulting branch-and-cut-and-price solves to optimality all instances from the literature with up to 135 vertices. The design is called robust because cuts are written on the edge variables xxx and therefore never change the structure of the pricing problem.

This mission formalizes the formulation itself (§2 of the paper) and the two exact facts of its column generation (§3.1).

Setting

Let G=(V,E)G=(V,E)G=(V,E) be an undirected graph on V={0,1,…,n}V=\{0,1,\dots,n\}V={0,1,…,n}. Vertex 000 is the depot; V+={1,…,n}V_+=\{1,\dots,n\}V+​={1,…,n} are the clients, client iii having a positive demand did_idi​. Each edge has a length ℓe\ell_eℓe​. There are KKK vehicles of capacity CCC, both positive integers.

A list of clients r=(r1,…,rm)r=(r_1,\dots,r_m)r=(r1​,…,rm​) describes the closed walk 0→r1→⋯→rm→00\to r_1\to\cdots\to r_m\to 00→r1​→⋯→rm​→0. Its edge incidence qe(r)q^e(r)qe(r) is the number of times the walk traverses eee (a one-client walk 0→j→00\to j\to 00→j→0 traverses {0,j}\{0,j\}{0,j} twice); its load is dr1+⋯+drmd_{r_1}+\cdots+d_{r_m}dr1​​+⋯+drm​​, with repetitions.

  • A CVRP route visits pairwise distinct clients with load at most CCC; a CVRP solution is a family R=(R1,…,RK)R=(R_1,\dots,R_K)R=(R1​,…,RK​) of routes visiting every client exactly once. Its edge vector is χ(R)e=∑kqe(Rk)\chi(R)_e=\sum_kq^e(R_k)χ(R)e​=∑k​qe(Rk​).
  • A q-route without 2-cycles is a walk of load at most CCC that may revisit clients but contains no subpath i→j→ii\to j\to ii→j→i with i≠0i\ne 0i=0.

For S⊆VS\subseteq VS⊆V, δ(S)\delta(S)δ(S) is the set of edges with one end in SSS, x(δ(S))=∑e∈δ(S)xex(\delta(S))=\sum_{e\in\delta(S)}x_ex(δ(S))=∑e∈δ(S)​xe​, and k(S)=⌈d(S)/C⌉k(S)=\lceil d(S)/C\rceilk(S)=⌈d(S)/C⌉. The paper's constraints on x∈REx\in\mathbb R^{E}x∈RE and on weights λj≥0\lambda_j\ge 0λj​≥0 of the q-routes jjj are

x(δ({i}))=2  (i∈V+)  (1),x(δ({0}))=2K  (2),x(δ(S))≥2k(S)  (S⊆V+)  (3),xe≤1  (e∈E∖δ({0}))  (4),∑jqjeλj=xe  (e∈E)  (5),∑jλj=K  (6).\begin{aligned} &x(\delta(\{i\}))=2\ \ (i\in V_+)\ \ (1), && x(\delta(\{0\}))=2K\ \ (2), && x(\delta(S))\ge 2k(S)\ \ (S\subseteq V_+)\ \ (3),\\ &x_e\le 1\ \ (e\in E\setminus\delta(\{0\}))\ \ (4), && \textstyle\sum_jq^e_j\lambda_j=x_e\ \ (e\in E)\ \ (5), && \textstyle\sum_j\lambda_j=K\ \ (6). \end{aligned}​x(δ({i}))=2  (i∈V+​)  (1),xe​≤1  (e∈E∖δ({0}))  (4),​​x(δ({0}))=2K  (2),∑j​qje​λj​=xe​  (e∈E)  (5),​​x(δ(S))≥2k(S)  (S⊆V+​)  (3),∑j​λj​=K  (6).​

P1P_1P1​ is {x≥0:(1)–(4)}\{x\ge0:(1)\text{–}(4)\}{x≥0:(1)–(4)}; P2P_2P2​ is the set of x≥0x\ge 0x≥0 satisfying (1) together with some λ≥0\lambda\ge0λ≥0 satisfying (5), (6); the Explicit Master P3P_3P3​ is the projection onto xxx of the system (1)–(6) with one λ\lambdaλ. The Dantzig–Wolfe Master (DWM) is the LP in λ\lambdaλ alone obtained by substituting (5) into (1)–(4), giving the rows (8)–(11), with objective (7) ∑j∑eℓeqjeλj\sum_j\sum_e\ell_eq^e_j\lambda_j∑j​∑e​ℓe​qje​λj​. The bounds are Li=min⁡x∈Piℓ⊤xL_i=\min_{x\in P_i}\ell^\top xLi​=minx∈Pi​​ℓ⊤x.

Formalization targets

Goal: the formulation theorem

For a loop-free graph with positive demands and capacity, and arbitrary lengths:

x∈P3∩ZE  ⟺  x=χ(R) for a CVRP solution R,P3={Qλ:λ DWM-feasible},L1, L2 ≤ L3 ≤ OPT,x\in P_3\cap\mathbb Z^{E}\iff x=\chi(R)\ \text{for a CVRP solution }R, \qquad P_3=\{Q\lambda:\lambda\ \text{DWM-feasible}\}, \qquad L_1,\,L_2\ \le\ L_3\ \le\ \mathrm{OPT},x∈P3​∩ZE⟺x=χ(R) for a CVRP solution R,P3​={Qλ:λ DWM-feasible},L1​,L2​ ≤ L3​ ≤ OPT,

with (7) equal to ℓ⊤Qλ\ell^\top Q\lambdaℓ⊤Qλ. The bounds are stated in lower-bound form: every lower bound of ℓ⊤x\ell^\top xℓ⊤x over P1P_1P1​ or P2P_2P2​ is one over P3P_3P3​, and every lower bound over P3P_3P3​ is at most the cost of every solution.

Milestones

  1. P3=P1∩P2P_3=P_1\cap P_2P3​=P1​∩P2​ (p. 5).
  2. Every CVRP route is a q-route without 2-cycles (p. 2).
  3. Validity of (1)–(4): χ(R)∈P1\chi(R)\in P_1χ(R)∈P1​, with ℓ⊤χ(R)\ell^\top\chi(R)ℓ⊤χ(R) the cost of RRR (p. 4).
  4. Validity of (5)–(6): χ(R)∈P2\chi(R)\in P_2χ(R)∈P2​, with the routes of RRR as columns (p. 4).
  5. Every integer point of P1P_1P1​ is χ(R)\chi(R)χ(R) for a solution RRR (p. 4).
  6. Constraint (6) is implied by (2) and (5) (p. 5).
  7. The DWM (8)–(11) is (1)–(4) on x=Qλx=Q\lambdax=Qλ (p. 5).
  8. A generic cut ∑eaexe≥b\sum_ea_ex_e\ge b∑e​ae​xe​≥b becomes ∑j(∑eaeqje)λj≥b\sum_j(\sum_ea_eq^e_j)\lambda_j\ge b∑j​(∑e​ae​qje​)λj​≥b (p. 5).
  9. Every integer point of P2P_2P2​ is χ(R)\chi(R)χ(R) for a solution RRR (p. 4).
  10. The reduced cost of a column is ∑ecˉeqe\sum_e\bar c_eq^e∑e​cˉe​qe (§3.1, p. 6).
  11. Scaling: a q-route for demands ⌈dv/g⌉\lceil d_v/g\rceil⌈dv​/g⌉ and capacity ⌊C/g⌋\lfloor C/g\rfloor⌊C/g⌋ is a q-route for (d,C)(d,C)(d,C) (§3.1, p. 7).

Significance

The formulation theorem is what makes the algorithm exact: integer points of P3P_3P3​ are solutions, so branching on xxx terminates at an optimum, and P3P_3P3​ is a relaxation, so L3L_3L3​ is a valid bound that dominates both classical bounds. The DWM description is what makes it computable: P3P_3P3​ is optimized by column generation over q-routes, and milestones 8 and 10 show that any cut on xxx can be added without changing the pricing problem, which remains a shortest q-route problem with edge costs cˉe\bar c_ecˉe​.

The paper proves none of these claims formally; most are stated in a sentence, and milestone 9 is stated with "It can be shown" and no proof. To our knowledge none of them has a machine-checked proof. A formal development produces a library of walks, edge incidences, cut values and column families on a general graph that later missions on branch-cut-and-price (subset-row cuts, ng-routes, other routing variants) can import.

Difficulty

Most items are linear-algebra bookkeeping on finite sums, but they require a working theory of walks: edge incidences along a closed walk, the cut value of an incidence vector, and the fact that a walk from the depot crosses every client set an even number of times. The integrality statements (milestones 5 and 9 and goal part 1) are the hard part: an integer vector satisfying degree constraints need not come from routes through the depot, and the statements must exclude every other structure. For P2P_2P2​ there are no capacity cuts at all, so the capacity of the routes must be recovered from the columns, and the paper states this case without proof. The obvious reduction "an integer point of P2P_2P2​ is an integer combination of q-routes" fails: λ\lambdaλ may be fractional even when xxx is integral.

Formalization scope

Vertices are Fin (n+1) with depot 0; edges are Sym2 (Fin (n+1)); the graph is an edge set E assumed loop-free where needed. Edge vectors are functions on all unordered pairs that vanish off E, which encodes x∈R∣E∣x\in\mathbb R^{|E|}x∈R∣E∣. Demands ddd, KKK and CCC are natural numbers; positive demands, K>0K>0K>0 and C>0C>0C>0 (the paper's standing assumptions, p. 1) are carried by the integrality statements and the goal, while ℓ≥0\ell\ge0ℓ≥0 is used by no statement and is omitted. Loads count repeated visits. The cut value x(δ(S))x(\delta(S))x(δ(S)), the demand d(S)d(S)d(S) and k(S)=⌈d(S)/C⌉k(S)=\lceil d(S)/C\rceilk(S)=⌈d(S)/C⌉ are the published definitions LysgaardCVRP.Shrink.cut, .demand and .roundedCapacityBound. The matrix QQQ is replaced by finitely supported weights on client lists ranging over all q-routes without 2-cycles. L1,L2,L3L_1,L_2,L_3L1​,L2​,L3​ and OPT are never real infima, since P3P_3P3​ is empty for infeasible instances.

Three trivializations are ruled out by construction: P3P_3P3​ is defined from the Explicit Master display, not as P1∩P2P_1\cap P_2P1​∩P2​; a CVRP solution is defined by its routes, not as an integer point of a polytope; and the columns are not a fixed finite list, which would turn P2P_2P2​ into a restricted master.

The strictness of "CVRP routes ⊊\subsetneq⊊ q-routes" (p. 2) depends on the instance and is not stated. Contributions of reusable lemmas on walks and cut values of incidence vectors are welcome, as are proofs of any milestone.

Selected references

  • R. Fukasawa, H. Longo, J. Lysgaard, M. Poggi de Aragão, M. Reis, E. Uchoa and R. F. Werneck, Robust branch-and-cut-and-price for the capacitated vehicle routing problem, Mathematical Programming 106 (2006); accepted manuscript. https://doi.org/10.1007/s10107-005-0644-x
  • N. Christofides, A. Mingozzi and P. Toth, Exact algorithms for the vehicle routing problem, based on spanning tree and shortest path relaxations, Mathematical Programming 20 (1981). https://doi.org/10.1007/BF01589353
  • J. Lysgaard, A. N. Letchford and R. W. Eglese, A new branch-and-cut algorithm for the capacitated vehicle routing problem, Mathematical Programming 100 (2004). https://doi.org/10.1007/s10107-003-0481-8
  • G. B. Dantzig and J. H. Ramser, The truck dispatching problem, Management Science 6 (1959). https://doi.org/10.1287/mnsc.6.1.80
17 thms1 active userReviewed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal 2: Under Lower and Upper Degree Bounds, Iterative Rounding Finds a Connecting Tree of LP Cost within A_v − 1 and B_v + 1Research Paper

Motivation

Network design problems often ask for a cheap spanning tree in which no vertex is overloaded: in multicast and overlay networks the degree of a node bounds the number of copies it must forward, and in physical networks it bounds the number of ports. The minimum bounded degree spanning tree problem asks for a minimum-cost spanning tree whose degrees respect given bounds. Deciding whether a graph has a spanning tree of maximum degree 2 is already the Hamiltonian path problem, so exact solutions are out of reach, and the question becomes how little the bounds and the cost must be relaxed.

Some problems also impose lower bounds: a vertex that must serve as a hub, or a leaf-avoidance requirement, asks for degree at least AvA_vAv​. Singh and Lau (STOC 2007) showed that the iterative rounding method they used for upper bounds extends to both kinds at once: a spanning tree of cost at most the LP optimum whose degree at every vertex lies in [Av−1, Bv+1][A_v-1,\,B_v+1][Av​−1,Bv​+1].

Timeline. Fürer and Raghavachari (1994) found a spanning tree of maximum degree at most Δ∗+1\Delta^*+1Δ∗+1 in the unweighted case. For costs, Goemans (FOCS 2006) obtained cost at most OPT with degrees at most Bv+2B_v+2Bv​+2. Singh and Lau (STOC 2007) improved this to Bv+1B_v+1Bv​+1, which is the best possible additive violation unless P = NP, and gave the extension to lower and upper bounds formalized here. The journal version appeared in J. ACM 62(1), 2015.

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph with edge costs ce∈Rc_e\in\mathbb Rce​∈R; no sign or triangle inequality is assumed. Let FFF be a forest on VVV with no edge in common with EEE. A set H⊆EH\subseteq EH⊆E is an FFF-tree if H∪FH\cup FH∪F is a spanning tree of VVV, and dH(v)d_H(v)dH​(v) is the number of edges of HHH at vvv. Integer lower bounds AvA_vAv​ are given on U⊆VU\subseteq VU⊆V and integer upper bounds BvB_vBv​ on W⊆VW\subseteq VW⊆V. The minimum bounded degree connecting tree problem asks for a cheapest FFF-tree with Av≤dH(v)A_v\le d_H(v)Av​≤dH​(v) on UUU and dH(v)≤Bvd_H(v)\le B_vdH​(v)≤Bv​ on WWW; with F=∅F=\varnothingF=∅ it is the spanning-tree problem.

The supernodes are the vertex sets of the components of (V,F)(V,F)(V,F), isolated vertices included, and I(F)\mathcal I(F)I(F) is the family of unions of supernodes. For S⊆VS\subseteq VS⊆V, E(S)E(S)E(S) and F(S)F(S)F(S) are the edges with both endpoints in SSS, δ(S)\delta(S)δ(S) the edges with exactly one endpoint in SSS, and x(D)=∑e∈Dxex(D)=\sum_{e\in D}x_ex(D)=∑e∈D​xe​. The linear relaxation LP-MBDCT(G,A,B,U,W,F)(G,\mathcal A,\mathcal B,U,W,F)(G,A,B,U,W,F) minimizes ∑ecexe\sum_e c_ex_e∑e​ce​xe​ subject to

x(E(V))=∣V∣−∣F(V)∣−1,x(E(S))≤∣S∣−∣F(S)∣−1 (S∈I(F)),Av≤x(δ(v)) (v∈U),x(δ(v))≤Bv (v∈W),x≥0.x(E(V))=|V|-|F(V)|-1,\quad x(E(S))\le|S|-|F(S)|-1\ (S\in\mathcal I(F)),\quad A_v\le x(\delta(v))\ (v\in U),\quad x(\delta(v))\le B_v\ (v\in W),\quad x\ge0.x(E(V))=∣V∣−∣F(V)∣−1,x(E(S))≤∣S∣−∣F(S)∣−1 (S∈I(F)),Av​≤x(δ(v)) (v∈U),x(δ(v))≤Bv​ (v∈W),x≥0.

MBDCT Algorithm2 (Figure 5 of the paper) repeats: if FFF is a spanning tree, stop; otherwise take a basic optimal solution x∗x^*x∗, delete the edges with xe∗=0x^*_e=0xe∗​=0, move one edge with xe∗=1x^*_e=1xe∗​=1 (if any) into FFF and lower AAA and BBB by one at its endpoints, and otherwise remove from UUU and WWW one vertex whose support degree is at most two.

Formalization targets

Goal: Theorem 5.2

For every well-formed instance whose LP is feasible, MBDCT Algorithm2

  1. has a terminating run;
  2. makes at most ∣V∣−∣F∣−1+∣U∪W∣|V|-|F|-1+|U\cup W|∣V∣−∣F∣−1+∣U∪W∣ iterations on every run;
  3. returns only FFF-trees H⊆EH\subseteq EH⊆E with
c(H)≤∑e∈Ecexe for every feasible x,Av−1≤dH(v) (v∈U),dH(v)≤Bv+1 (v∈W).c(H)\le\sum_{e\in E}c_ex_e\ \text{for every feasible }x,\qquad A_v-1\le d_H(v)\ (v\in U),\qquad d_H(v)\le B_v+1\ (v\in W).c(H)≤e∈E∑​ce​xe​ for every feasible x,Av​−1≤dH​(v) (v∈U),dH​(v)≤Bv​+1 (v∈W).

The statement fixes no constants beyond the paper's ±1\pm1±1, and it is uniform over every choice of basic optimal solution, 1-edge and removed vertex.

Milestones

In the order the proof uses them: Lemma 5.3 (a basic solution is determined by a laminar family of tight sets and tight lower and upper degree rows, with ∣E∗∣=∣L∣+∣TU∣+∣TW∣|E^*|=|\mathcal L|+|T_U|+|T_W|∣E∗∣=∣L∣+∣TU​∣+∣TW​∣); Claims 5.4, 5.7, 5.8 and 5.9 (special supernodes, cut sizes, the value x∗(D(S))=r−1x^*(D(S))=r-1x∗(D(S))=r−1 on the edges between the rrr members of SSS, and when a set is special); Lemma 5.6 (every set of L\mathcal LL keeps at least three tokens, exactly three only if it is special or VVV); and Lemma 5.1 (a basic solution has an edge with xe∗=1x^*_e=1xe∗​=1 or a vertex of U∪WU\cup WU∪W with support degree two).

Significance

The theorem gives, in one algorithm, a tree that is no more expensive than the LP lower bound and whose degrees miss both bounds by at most one. For the pure upper-bound problem it implies the (1,Bv+1)(1,B_v+1)(1,Bv​+1) guarantee, which cannot be improved to BvB_vBv​ unless P = NP, since a Hamiltonian path is the case Bv≡2B_v\equiv 2Bv​≡2. With lower bounds it also covers prescribed minimum degrees.

The result is proved in the paper; no machine-checked proof of it, or of any iterative rounding analysis, is known to exist. No platform item treats bounded-degree spanning trees or iterative rounding; the nearest related item is the open Williamson–Shmoys minimum-degree spanning tree local-search goal, which concerns a different, unweighted problem. Formalizing this mission requires the extreme-point structure of the spanning tree polytope with degree constraints (uncrossing to a laminar family), the token counting argument, and the induction over the algorithm's recursion, all of which are reusable for other iterative rounding results.

Difficulty

The obvious argument rounds an optimal LP solution once. It fails: an optimal vertex may be entirely fractional, and no single rounding keeps both the cost and the degrees. The algorithm instead re-solves the LP after each change, and its correctness rests on Lemma 5.1, that every extreme point of the current LP has an integral edge or a vertex with support degree two. That lemma is a counting statement about extreme points: the rank bound ∣E∗∣=∣L∣+∣TU∣+∣TW∣|E^*|=|\mathcal L|+|T_U|+|T_W|∣E∗∣=∣L∣+∣TU​∣+∣TW​∣ from a laminar basis must be contradicted by a token distribution. With upper bounds only, every set of the laminar family can collect four tokens. With lower bounds a set may collect only three, and the proof must characterize those sets (special sets, Definition 5.5) and show by linear independence that the remaining cases cannot occur. A second difficulty is that the guarantee concerns the final tree after many iterations, so the degree accounting must survive the changes of AAA, BBB, UUU, WWW and FFF along the run.

Formalization scope

Vertices form a Fintype; edges are elements of Sym2 V with no loops, and EEE, FFF are finite sets of edges with FFF acyclic and disjoint from EEE. LP vectors are functions on Sym2 V that vanish off EEE. Right-hand sides are computed in R\mathbb RR, degree bounds are integers, and the subtour rows range over nonempty S∈I(F)S\in\mathcal I(F)S∈I(F) (at S=∅S=\varnothingS=∅ the literal row 0≤−10\le-10≤−1 would make the LP empty). A basic solution is a feasible xxx that is the only vector on EEE satisfying with equality every constraint tight at xxx, including the tight rows xe=0x_e=0xe​=0. Supernodes are never contracted: the paper's contraction of a supernode with one active vertex is a proof device, and all of §5.1's notions are stated on the original instance.

The paper's loose phrases are made explicit as follows.

  • "Polynomial time" becomes the iteration bound; the LP is solved by an oracle that returns any basic optimal solution. The ellipsoid method and the separation oracle are out of scope.
  • "The algorithm returns" becomes three claims: a run exists, every run is bounded, and every returned set satisfies the guarantee. The guarantee alone would hold vacuously for a relation that can get stuck.
  • "Cost at most the cost of the optimal LP solution" becomes c(H)≤c⋅xc(H)\le c\cdot xc(H)≤c⋅x for every feasible xxx.
  • "Distribute the tokens" (Lemma 5.6) becomes a counting inequality on the surplus of tokens.
  • Claim 5.9's "contains exactly three special members" means that SSS has exactly three members, all of them special.
  • Figure 5's Step 4 is guarded by "no edge was picked in Step 3", as the paper's text under Lemma 5.1 states.
  • "FFF is not a spanning tree" and LP feasibility are explicit hypotheses where the paper leaves them implicit.

Two trivializations are ruled out. Existence of a cheap tree with degrees in [Av−1,Bv+1][A_v-1,B_v+1][Av​−1,Bv​+1] is not the target: the statement is about the algorithm's outputs and quantifies over all of them. And a run that never terminates does not satisfy the goal, which requires a run to exist and every run to be bounded.

Contributions are welcome at every level: the laminar uncrossing argument (Lemma 5.3), which is reusable for any spanning-tree LP with degree rows; the counting claims; and the invariants of the recursion.

Selected references

  • M. Singh, L. C. Lau, Approximating minimum bounded degree spanning trees to within one of optimal, STOC 2007, pp. 661–670. https://doi.org/10.1145/1250790.1250887
  • M. Singh, L. C. Lau, Approximating minimum bounded degree spanning trees to within one of optimal, J. ACM 62(1), 2015. https://doi.org/10.1145/2629366
  • M. X. Goemans, Minimum bounded degree spanning trees, FOCS 2006, pp. 273–282. https://doi.org/10.1109/FOCS.2006.48
  • M. Fürer, B. Raghavachari, Approximating the minimum-degree Steiner tree to within one of optimal, J. Algorithms 17(3), 1994, pp. 409–423. https://doi.org/10.1006/jagm.1994.1042
12 thms1 active userReviewed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal 1: Iterative Rounding Finds a Spanning Tree of Cost at Most the LP Optimum with Every Degree at Most B_v + 1Research Paper

Motivation

A network designer may need a cheap connection that keeps the number of links at each site within a local capacity. The minimum bounded-degree spanning tree problem asks for the cheapest spanning tree of a weighted, undirected graph whose vertex degrees respect prescribed upper bounds. The capacity constraints matter in settings where a low-cost tree alone can overload a few hubs. They also make the optimization problem difficult: even with unit edge weights and a bound of two at every vertex, feasibility includes the Hamiltonian path problem. Singh and Lau study the useful relaxation in which the returned tree may exceed each degree bound by one while its cost stays no greater than the best tree satisfying every original bound Singh–Lau 2007.

The weighted result settled the bounded-degree form of a conjecture discussed in their paper. Goemans had obtained a cost-preserving degree guarantee of Bv+2B_v+2Bv​+2; an earlier unweighted local-search result attained a +1+1+1 degree allowance but did not cover arbitrary real costs. Singh and Lau's Theorem 1.2 gives the +1+1+1 allowance in the weighted setting, without assuming nonnegative costs or triangle inequalities Singh–Lau 2007, pp. 661–662. The platform's open WilliamsonShmoys.minimum_degree_tree_local_search_approximation concerns the related unweighted minimum-degree local-search problem, with a different objective and guarantee.

Setting

Let VVV be a finite vertex set and EEE a finite set of unordered, non-loop edges. A spanning tree T⊆ET\subseteq ET⊆E connects every vertex without a cycle. Every edge eee has a real cost cec_ece​, so c(T)=∑e∈Tcec(T)=\sum_{e\in T}c_ec(T)=∑e∈T​ce​. Each vertex vvv has an integer upper bound BvB_vBv​ on its tree degree dT(v)d_T(v)dT​(v). A feasible original solution has dT(v)≤Bvd_T(v)\le B_vdT​(v)≤Bv​ for all vvv.

The paper studies a broader connecting-tree problem. A forest FFF is already selected; its connected components, including isolated vertices, are supernodes. The remaining graph has edges EEE disjoint from FFF. A set H⊆EH\subseteq EH⊆E is an FFF-tree if H∪FH\cup FH∪F is a spanning tree. Degree bounds are active only at vertices in W⊆VW\subseteq VW⊆V, and dH(v)d_H(v)dH​(v) counts edges of HHH, not edges of FFF. The initial spanning-tree problem is the case F=∅F=\varnothingF=∅ and W=VW=VW=V Singh–Lau 2007, p. 665.

For an edge set QQQ and vertex set SSS, write Q(S)Q(S)Q(S) for edges of QQQ with both endpoints in SSS, and δE(v)\delta_E(v)δE​(v) for edges of EEE incident to vvv. The LP-MBDCT relaxation has a nonnegative variable xex_exe​ for each e∈Ee\in Ee∈E. It requires x(E)=∣V∣−∣F∣−1x(E)=|V|-|F|-1x(E)=∣V∣−∣F∣−1, requires x(E(S))≤∣S∣−∣F(S)∣−1x(E(S))\le |S|-|F(S)|-1x(E(S))≤∣S∣−∣F(S)∣−1 for every nonempty union SSS of supernodes, and requires x(δE(v))≤Bvx(\delta_E(v))\le B_vx(δE​(v))≤Bv​ for v∈Wv\in Wv∈W. Its objective is ∑e∈Ecexe\sum_{e\in E}c_ex_e∑e∈E​ce​xe​. At F=∅F=\varnothingF=∅, W=VW=VW=V, this is the spanning-tree LP in equations (1)–(5) Singh–Lau 2007, pp. 662, 665.

Formalization targets

Theorem 1.2: bounded-degree spanning trees

For every feasible initial LP, the paper's Figure 4 algorithm has a terminating run. Every possible run returns a spanning tree TTT satisfying

dT(v)≤Bv+1(v∈V),c(T)≤∑e∈Ecexefor every LP-feasible x.d_T(v)\le B_v+1\quad(v\in V),\qquad c(T)\le\sum_{e\in E}c_ex_e\quad\text{for every LP-feasible }x.dT​(v)≤Bv​+1(v∈V),c(T)≤e∈E∑​ce​xe​for every LP-feasible x.

In particular, c(T)c(T)c(T) is at most the cost of every spanning tree satisfying the original bounds, and thus at most the original optimum. Every run has at most 2∣V∣−12|V|-12∣V∣−1 iterations. The cost comparison against every LP-feasible vector states the stronger bound used by Theorem 4.2 Singh–Lau 2007, pp. 661, 666.

Theorem 4.2 and its milestones

The connecting-tree theorem makes the same cost and degree guarantee for an arbitrary feasible state (E,B,W,F)(E,B,W,F)(E,B,W,F), with dH(v)≤Bv+1d_H(v)\le B_v+1dH​(v)≤Bv​+1 only for v∈Wv\in Wv∈W. The attack path follows the paper's numbered results: Lemma 4.3 describes tight constraints by a laminar family, Claim 4.5 classifies vertices with one excess token, Lemma 4.6 bounds tokens inside a laminar subtree, and Lemma 4.1 says each nonterminal basic solution has either a unit-valued edge or a removable degree constraint. Theorem 4.2 then supplies the general guarantee Singh–Lau 2007, pp. 666–667.

Significance

The result allows one unit of violation at each local degree bound while preserving the cost benchmark exactly. It applies even when negative edge costs make standard multiplicative cost ratios awkward. The connecting-tree statement is useful beyond the initial instance because it covers a forest already accumulated and a subset of degree constraints still active.

This mission formalizes the known 2007 result as an open Lean proof target; the paper proves the mathematics, while the declarations here currently have no machine-checked proofs. A completed development would provide a reusable account of a spanning-tree LP with forest contraction, basic solutions defined by tight rows, and a finite relational algorithm with all choices exposed. These objects could support the paper's lower-and-upper-bound extension and other iterative-rounding results.

Difficulty

Rounding an arbitrary fractional edge upward can increase cost beyond the LP benchmark. Restricting the algorithm to edges with value exactly one protects that benchmark, but a nonterminal basic solution need not present a unit-valued edge. The central structural question is then whether some active degree constraint can be removed with only a one-unit effect on the final degree. The tight subtour rows and degree rows overlap, so counting edges from the support alone is insufficient; Lemmas 4.3–4.6 resolve the dependency and token-counting issues that make the direct argument fail Singh–Lau 2007, pp. 666–667.

Formalization scope

Lean represents edges as Sym2 V in finite sets, excluding diagonal edges. It represents LP vectors on all unordered pairs but requires zero values outside the current edge set. A forest is acyclic on the full vertex set. A compatible subtour set is a union of its connected components. Subtour right-hand sides are real numbers, so subtraction does not truncate at zero; the empty set is excluded because the literal row would make the LP infeasible. Degree bounds are integers so the algorithm's decrements are total. A basic feasible solution is determined uniquely by its tight equality rows among vectors supported on the current edge set. Linear independence in Lemma 4.3 is checked on the positive support.

Figure 4 is a relation because the LP optimum, a unit-valued edge, and a qualifying vertex may each be chosen in several ways. Its edge and vertex tests are mandatory when their conditions hold. The vertex test uses the support before deleting the selected edge and bounds after decrementing its endpoints, following the printed order. “The algorithm returns” is represented by existence of a run, an iteration bound on every step chain, and guarantees for every returned set. “Cost at most the LP optimum” means cost no greater than the objective at every feasible LP vector. “Polynomial time” is represented by the iteration count; the ellipsoid LP solver and separation-oracle complexity are outside this mission. Lemma 4.6's token distribution is expressed as its explicit counting inequality.

The goal asserts the Figure 4 output and its LP cost guarantee. Bare existence of a tree with cost at most the optimum and degrees at most Bv+1B_v+1Bv​+1 would be witnessed by an original optimal tree and would lose the algorithmic theorem. A return guarantee without run existence would hold vacuously for a stuck relation. Contributions that prove the stated structural lemmas, establish the LP oracle's basic-optimum availability, or close the algorithm invariant are within scope. No existing platform item treats this bounded-degree LP and iterative-rounding algorithm under these conventions; the plain minimum-spanning-tree LP definition uses a different edge representation and no forest or degree constraints.

Selected references

  • Mohit Singh and Lap Chi Lau, Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal, Proceedings of the 39th ACM Symposium on Theory of Computing (STOC), 2007, pp. 661–670. DOI: 10.1145/1250790.1250887.
8 thms1 active userReviewed
Graph TheoryTheoretical Computer Science·Captain: mikedeng1

Multicommodity Max-Flow Min-Cut Theorems and Their Use in Designing Approximation Algorithms IV: A Uniform Flow of Size Ω(𝒮/log n) on Paths of Length O(C_max log n/(n𝒮))Research Paper

Motivation

Communication networks must route many source–destination demands through shared edges. A multicommodity flow describes how much of each demand can be carried simultaneously without exceeding an edge's capacity. In an undirected network, a cut bounds the traffic that can pass between two groups of vertices, but many commodities can interfere even when no single cut is obviously restrictive. Leighton and Rao showed that the uniform concurrent flow is within a logarithmic factor of the corresponding sparsest-cut bound Leighton and Rao, 1999.

For routing, flow value alone is incomplete: a feasible flow can use long detours. Section 2.5 of the same paper establishes that a flow of the guaranteed size can be carried on paths whose number of edges is also controlled. The result supports the paper's discussion of low-congestion, low-dilation routing in communication networks, where a long route can increase latency or complicate scheduling even if every edge has sufficient capacity Leighton and Rao, 1999, §2.5.

Setting

Let VVV be a finite set of n≥2n\ge2n≥2 vertices. An undirected capacitated network has a symmetric capacity C(u,v)≥0C(u,v)\ge0C(u,v)≥0 for each pair, with C(u,u)=0C(u,u)=0C(u,u)=0. A pair is an edge when its capacity is positive. Parallel physical edges can be combined by adding their capacities. The network is connected: every nonempty proper subset U⊊VU\subsetneq VU⊊V has positive cut capacity C(U,Uˉ)=∑u∈U,v∉UC(u,v)C(U,\bar U)=\sum_{u\in U,v\notin U}C(u,v)C(U,Uˉ)=∑u∈U,v∈/U​C(u,v), where Uˉ=V∖U\bar U=V\setminus UUˉ=V∖U.

The uniform multicommodity flow problem gives one unit of demand to each unordered pair of distinct vertices. Equivalently, it gives demand 1/21/21/2 to each ordered pair (s,t)(s,t)(s,t) with s≠ts\ne ts=t Leighton and Rao, 1999, footnote 2. A concurrent flow of value λ\lambdaλ routes the fraction λ\lambdaλ of every demand. Traffic in both directions of an undirected edge shares that edge's capacity. The demand crossing UUU is ∣U∣ ∣Uˉ∣|U|\,|\bar U|∣U∣∣Uˉ∣, so the uniform min-cut, also called the sparsest-cut value, is

S=min⁡∅≠U⊊VC(U,Uˉ)∣U∣ ∣Uˉ∣.\mathcal S=\min_{\varnothing\ne U\subsetneq V}\frac{C(U,\bar U)}{|U|\,|\bar U|}.S=∅=U⊊Vmin​∣U∣∣Uˉ∣C(U,Uˉ)​.

For a flow path, length means its number of edges. A separate nonnegative symmetric distance function ddd assigns lengths to edges; its total weight is W=∑eC(e)d(e)W=\sum_e C(e)d(e)W=∑e​C(e)d(e). Given a hop budget LLL, let dL(u,v)d_L(u,v)dL​(u,v) be the smallest ddd-length of a walk from uuu to vvv using at most LLL edges. The value is ∞\infty∞ if no such walk exists. The maximum capacity incident to one vertex is Cmax⁡=max⁡v∑uC(v,u)C_{\max}=\max_v\sum_u C(v,u)Cmax​=maxv​∑u​C(v,u). The paper uses log⁡n=log⁡2n\log n=\log_2nlogn=log2​n and ln⁡n\ln nlnn for the natural logarithm Leighton and Rao, 1999, footnote 3.

Formalization targets

A large uniform flow with short paths

Theorem 18 asserts the existence of absolute constants c1,c2>0c_1,c_2>0c1​,c2​>0 such that every network in the setting above admits a concurrent uniform flow of value λ\lambdaλ whose every route has at most LLL edges, with

λ≥c1Slog⁡2n,L≤c2Cmax⁡log⁡2nnS.\lambda\ge c_1\frac{\mathcal S}{\log_2 n},\qquad L\le c_2\frac{C_{\max}\log_2 n}{n\mathcal S}.λ≥c1​log2​nS​,L≤c2​nSCmax​log2​n​.

The constants precede the choice of network: they cannot depend on its size or capacities. The goal gives an actual flow and integer hop limit, not only a lower bound on a supremum Leighton and Rao, 1999, Theorem 18.

The dual and geometric estimates

The short-path linear-programming dual uses dLd_LdL​ in its distance constraint, 12∑u,vdL(u,v)≥1\frac12\sum_{u,v}d_L(u,v)\ge121​∑u,v​dL​(u,v)≥1, and minimizes WWW. Lemma 19 partitions a network into components with both edge-radius at most ΔC/W\Delta C/WΔC/W and distance-radius at most Δ\DeltaΔ, while the capacity between components is at most 4Wlog⁡2n/Δ4W\log_2n/\Delta4Wlog2​n/Δ. Corollary 20 finds a component with at least 2n/32n/32n/3 vertices when 0<W≤S/(36log⁡2n)0<W\le\mathcal S/(36\log_2n)0<W≤S/(36log2​n). Lemma 21 bounds the sum of L/4L/4L/4-restricted distances from any such large set to its complement by 6W/(nS)6W/(n\mathcal S)6W/(nS), provided L≥12Cmax⁡ln⁡n/(nS)L\ge12C_{\max}\ln n/(n\mathcal S)L≥12Cmax​lnn/(nS). These are the mission's milestones, in source order Leighton and Rao, 1999, pp. 808–809.

Significance

Theorem 18 places simultaneous lower and upper guarantees on a routing solution: it carries a substantial fraction of every uniform demand, while each route uses a bounded number of edges. Its hop guarantee is stronger than simply knowing that the unconstrained maximum flow is large. The result is one of the paper's inputs for reasoning about routing paths with low congestion and dilation; the paper also says analogous short-path results extend to product and directed flow problems, without presenting all their details Leighton and Rao, 1999, p. 811.

The known mathematical result has a published proof; this mission asks for machine-checked statements and proofs. A complete development would establish the hop-indexed flow model, the restricted shortest-path duality, and the two-radius partition estimates in Lean. The network, proper-cut, and extended-distance interfaces can be reused in later work on sparse cuts and length-constrained routing. No machine-checked proof of this exact theorem is claimed here.

Difficulty

The ordinary approximate max-flow/min-cut theorem controls the amount of concurrent traffic but does not bound the number of edges on each route. Restricting routes changes the dual: a shortest path that exceeds the hop budget is unavailable, and some vertex pairs have no allowed path at all. Assigning such a pair distance zero would alter the dual constraint. The geometric estimates must control both hop count and ddd-length on the same connecting paths, since bounds witnessed by two unrelated paths cannot be combined into one short route Leighton and Rao, 1999, §2.5.

Formalization scope

The vertex type is finite and has at least two members. Capacities are real, symmetric and nonnegative; zero-capacity pairs are absent from the graph. Connectivity is the paper's standing cut assumption. The min-cut ranges over nonempty proper subsets, so no expression divides by a zero cardinality. Demands use the paper's ordered-pair 1/21/21/2 convention. A short flow is a nonnegative commodity–hop–arc array whose equations inject, conserve and absorb traffic; the capacity constraint combines both directions and all hops. The maximum flow is a supremum over feasible values. Its use is confined to the positive-demand finite setting, where the feasible set is nonempty and bounded.

Restricted distances take values in extended nonnegative reals, so an empty family of allowed walks has value ∞\infty∞. The radius predicate requires one walk inside a component to meet both bounds. log⁡2\log_2log2​ appears in Theorem 18, Lemma 19 and Corollary 20; Lemma 21's threshold uses ln⁡\lnln. For expressions dividing by WWW, the formal statements require W>0W>0W>0; this makes the printed radius meaningful. The explicit companion theorem uses the hop limit ⌊L⌋\lfloor L\rfloor⌊L⌋ for the paper's real LLL, which is what "at most LLL edges" means; Lemma 21 keeps LLL real. The polynomial-time search claim is outside this existence formalization. A definition making every restricted distance zero, or quantifying its asymptotic constants after the network, would make the goal a different theorem.

Contributions may include finite-flow and linear-programming duality, path decomposition for the hop-indexed formulation, the partition estimate, the large-component corollary, or the restricted-distance estimate. The same finite graph and extended-distance definitions may serve subsequent missions.

Selected references

  • T. Leighton and S. Rao, Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms, Journal of the ACM 46(6):787–832, 1999. DOI: 10.1145/331524.331526.
7 thms1 active userReviewed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

The Geometry of Graphs and Some of Its Algorithmic Applications 1: Every Multicommodity Flow Network with k Source-Sink Pairs Has a Cut S with Cap(S)/Dem(S) ≤ O(log k) · maxflowResearch Paper

Motivation

Routing several commodities through one capacitated network at the same time is a basic problem of network optimization, with applications to communication networks, VLSI layout and divide-and-conquer graph algorithms. Its optimum is the value of a linear program, but the natural certificates of an upper bound are combinatorial: every cut of the network limits how much can be routed across it. For a single commodity the max-flow min-cut theorem says that the best cut certificate is exact. With many commodities it is not, and the size of the gap between the best flow and the best cut is the question of this mission.

  • 1988–1999, Leighton and Rao proved that for uniform demands (one unit between every pair of vertices) the gap is O(log⁡n)O(\log n)O(logn) on an nnn-vertex network, and that the bound is attained on expanders (Leighton–Rao, JACM 1999; FOCS 1988).
  • 1990–1995, Klein, Rao, Agrawal and Ravi extended a polylogarithmic bound to arbitrary demands, O(log⁡Clog⁡D)O(\log C \log D)O(logClogD) in the total capacity CCC and total demand DDD (Combinatorica 15, 1995); Plotkin and Tardos improved it to O(log⁡2k)O(\log^2 k)O(log2k) in the number of commodities kkk (Combinatorica 15, 1995).
  • 1995, Linial, London and Rabinovich (Combinatorica 15, 1995), and independently Aumann and Rabani (SIAM J. Comput. 1998), showed that the gap is bounded by the least distortion of embedding a metric derived from the network into ℓ1\ell_1ℓ1​, and obtained the bound O(log⁡k)O(\log k)O(logk) from Bourgain's embedding theorem. This mission formalizes that theorem, Theorem 4.1 of the Linial–London–Rabinovich paper.

Setting

A multicommodity flow network has a finite vertex set VVV, capacities Ci,j=Cj,i≥0C_{i,j} = C_{j,i} \ge 0Ci,j​=Cj,i​≥0 (zero for non-edges and on the diagonal), and kkk commodities: commodity μ\muμ has a source sμs_\musμ​, a sink tμt_\mutμ​ and a demand Dμ≥0D_\mu \ge 0Dμ​≥0.

A feasible concurrent flow of value λ\lambdaλ sends, for every μ\muμ, λDμ\lambda D_\muλDμ​ units of commodity μ\muμ from sμs_\musμ​ to tμt_\mutμ​: arc flows fμ(i,j)≥0f_\mu(i,j) \ge 0fμ​(i,j)≥0 satisfy conservation of matter, with net outflow λDμ\lambda D_\muλDμ​ at sμs_\musμ​, −λDμ-\lambda D_\mu−λDμ​ at tμt_\mutμ​ and 000 elsewhere, and the total flow of all commodities through each undirected edge {i,j}\{i,j\}{i,j}, in both directions, is at most Ci,jC_{i,j}Ci,j​. The maxflow of the network is the largest such λ\lambdaλ.

For S⊆VS \subseteq VS⊆V, Cap(S)=∑i∈S∑j∉SCi,j\mathrm{Cap}(S) = \sum_{i \in S}\sum_{j \notin S} C_{i,j}Cap(S)=∑i∈S​∑j∈/S​Ci,j​ is the capacity of the edges leaving SSS, and Dem(S)\mathrm{Dem}(S)Dem(S) is the total demand of the pairs that SSS separates, i.e. with ∣S∩{sμ,tμ}∣=1|S \cap \{s_\mu,t_\mu\}| = 1∣S∩{sμ​,tμ​}∣=1. Every flow of value λ\lambdaλ has to push λ Dem(S)\lambda\,\mathrm{Dem}(S)λDem(S) units across the cut, so

maxflow≤Cap(S)Dem(S)for every S with Dem(S)>0.\mathrm{maxflow} \le \frac{\mathrm{Cap}(S)}{\mathrm{Dem}(S)} \quad\text{for every } S \text{ with } \mathrm{Dem}(S) > 0.maxflow≤Dem(S)Cap(S)​for every S with Dem(S)>0.

A semi-metric on VVV is a function d≥0d \ge 0d≥0 with d(i,i)=0d(i,i) = 0d(i,i)=0, symmetry and the triangle inequality; distinct points may be at distance 000, as in the paper.

Formalization targets

Goal: Theorem 4.1

There is an absolute constant C0>0C_0 > 0C0​>0 such that every network in which some commodity has Dμ>0D_\mu > 0Dμ​>0 and sμ≠tμs_\mu \ne t_\musμ​=tμ​ has a set S⊆VS \subseteq VS⊆V with Dem(S)>0\mathrm{Dem}(S) > 0Dem(S)>0 and

Cap(S)Dem(S)≤C0log⁡(max⁡(k,2))⋅maxflow.\frac{\mathrm{Cap}(S)}{\mathrm{Dem}(S)} \le C_0 \log(\max(k,2)) \cdot \mathrm{maxflow}.Dem(S)Cap(S)​≤C0​log(max(k,2))⋅maxflow.

The constant is not fixed; only the shape O(log⁡k)O(\log k)O(logk) in the number of commodities is asserted.

Milestones, in the order the proof uses them

  1. Weak duality (§4, p. 226): λ Dem(S)≤Cap(S)\lambda\,\mathrm{Dem}(S) \le \mathrm{Cap}(S)λDem(S)≤Cap(S) for every feasible λ≥0\lambda \ge 0λ≥0 and every SSS.
  2. LP duality display (p. 227): maxflow=min⁡d∑{i,j}Ci,jdi,j∑μDμdsμ,tμ\mathrm{maxflow} = \min_d \dfrac{\sum_{\{i,j\}} C_{i,j} d_{i,j}}{\sum_\mu D_\mu d_{s_\mu,t_\mu}}maxflow=mind​∑μ​Dμ​dsμ​,tμ​​∑{i,j}​Ci,j​di,j​​ over semi-metrics ddd.
  3. Corollary 3.4, Claim 2 (p. 223): every finite semi-metric space with kkk marked pairs has a non-expanding map into some ℓ1m\ell_1^mℓ1m​ that shrinks each marked pair by at most C1log⁡(max⁡(k,2))C_1 \log(\max(k,2))C1​log(max(k,2)).
  4. Coordinate minimum (p. 227): for points of ℓ1m\ell_1^mℓ1m​, the cost-to-demand ratio is at least its value on the best single coordinate.
  5. 0/1 rounding (pp. 227–228): for symmetric real weights aaa and nonnegative symmetric weights bbb, the minimum of ∑aij∣zi−zj∣/∑bij∣zi−zj∣\sum a_{ij}|z_i - z_j| / \sum b_{ij}|z_i - z_j|∑aij​∣zi​−zj​∣/∑bij​∣zi​−zj​∣ over real vectors zzz is attained at a 0/1 vector.

Significance

The theorem bounds the flow–cut gap: the integrality gap of the linear relaxation of the sparsest cut problem is O(log⁡k)O(\log k)O(logk), so solving one linear program and rounding gives an O(log⁡k)O(\log k)O(logk)-approximation to the sparsest cut. Sparsest-cut approximations are the engine of approximation algorithms for minimum bisection, graph partitioning, crossing number and VLSI layout. The dependence on kkk rather than on the number of vertices matters when few pairs carry demand. The bound is tight up to the constant: on constant-degree expanders with all-pairs unit demands the gap is Ω(log⁡n)\Omega(\log n)Ω(logn) (Leighton–Rao).

The result has been proved since 1995 and is textbook material (Williamson–Shmoys, Ch. 15). It has no machine-checked proof. A formalization adds a verified bridge between concurrent flows, LP duality on networks and ℓ1\ell_1ℓ1​ embeddings of finite metrics; each piece is reusable on its own. Corollary 3.4, Claim 2 in particular is a terminal version of Bourgain's theorem, of which no formal proof exists either.

Difficulty

Two steps carry the weight. The first is the duality between concurrent flows and metrics: Mathlib has no linear programming duality theorem in a form that applies directly, and the dual of the arc-flow program has to be identified with a minimum over semi-metrics, which needs a shortest-path argument on top of LP duality. The second is the embedding: Claim 2 of Corollary 3.4 must achieve distortion O(log⁡k)O(\log k)O(logk) on the kkk marked pairs, independent of ∣X∣|X|∣X∣. A direct application of Bourgain's theorem to the whole space gives O(log⁡∣X∣)O(\log |X|)O(log∣X∣), which is not enough when kkk is much smaller than the number of vertices, and the paper's proof is a one-line reference to an earlier argument.

Formalization scope

  • Vertex sets are finite types V with [Fintype V] [DecidableEq V]; capacities are a function C : V → V → ℝ with symmetry, nonnegativity and zero diagonal as fields of a Network structure. Commodities are indexed by Fin k; coincident or repeated pairs are allowed.
  • Flows are arc flows; the capacity bounds the total over all commodities and both directions. maxflow is the supremum of feasible values; Lean's sSup returns 000 on an unbounded set, which only happens without a commodity of positive demand and distinct endpoints, and the goal assumes one.
  • Sums over edges are over unordered pairs: the page's ∑i≠j\sum_{i \ne j}∑i=j​ in the LP-duality and coordinate displays counts each edge twice, while Cap\mathrm{Cap}Cap counts it once; the statements use 12∑i∑j\tfrac12\sum_i\sum_j21​∑i​∑j​ in both places, which removes the factor-2 slip without changing the proof.
  • Explicit constants. The paper's O(log⁡k)O(\log k)O(logk) in Theorem 4.1 is C0log⁡(max⁡(k,2))C_0 \log(\max(k,2))C0​log(max(k,2)) with C0C_0C0​ quantified before the network; the Ω(1/log⁡k)\Omega(1/\log k)Ω(1/logk) of Corollary 3.4 is 1/(C1log⁡(max⁡(k,2)))1/(C_1\log(\max(k,2)))1/(C1​log(max(k,2))) with C1C_1C1​ quantified before the metric space. The max⁡(k,2)\max(k,2)max(k,2) keeps k=1k = 1k=1 in scope, where log⁡k=0\log k = 0logk=0.
  • Out of scope. The deterministic polynomial-time algorithms of Theorem 4.1 and Corollary 3.4, and the target dimension ℓ1O(n2)\ell_1^{O(n^2)}ℓ1O(n2)​ of the latter, are not stated; the statements assert the existence of the cut and of the embedding.
  • The 0/1 rounding step adds b≥0b \ge 0b≥0, which the page omits but its argument needs.
  • A trivializing formalization is ruled out: the constant C0C_0C0​ is quantified before the network, so it cannot depend on the instance, and maxflow is defined from flows, not as the metric minimum.
  • Contributions welcome: an LP duality theorem for finite-dimensional linear programs in the form needed here, a formal Bourgain-type embedding with terminal distortion, and the max-flow min-cut theorem for undirected capacities.

Selected references

  • N. Linial, E. London, Y. Rabinovich, The geometry of graphs and some of its algorithmic applications, Combinatorica 15 (1995) 215–245. https://doi.org/10.1007/BF01200757
  • Y. Aumann, Y. Rabani, An O(log k) approximate min-cut max-flow theorem and approximation algorithm, SIAM J. Comput. 27 (1998) 291–301. https://doi.org/10.1137/S0097539794285983
  • T. Leighton, S. Rao, Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms, J. ACM 46 (1999) 787–832. https://doi.org/10.1145/331524.331526
  • J. Bourgain, On Lipschitz embedding of finite metric spaces in Hilbert space, Israel J. Math. 52 (1985) 46–52. https://doi.org/10.1007/BF02776078
  • D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011, Chapter 15. https://doi.org/10.1017/CBO9780511921735
9 thms1 active userReviewed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: mikedeng1

The Polynomial Hierarchy and a Simple Model for Competitive Analysis: Every Optimum of the (p+1)-Level Linear Game J'(F) Is Binary, with x(F) = 1 iff the Σ_p Sentence (3.3) HoldsResearch Paper

Why multi-level programs are hard

Multi-level programs model a hierarchy of decision makers: a leader commits to a decision, a follower optimises given it, a follower of the follower optimises given both, and so on. Bilevel programs are the standard model of Stackelberg competition, toll setting, network interdiction and many other leader–follower problems in operations research (Candler and Townsley 1982; Bard and Falk 1982). When every level has a linear criterion and the constraints are linear, each player's problem looks like a linear program, and it is natural to hope that the whole hierarchy is solvable in polynomial time.

R. G. Jeroslow's 1985 paper (Math. Programming 32, 146–164) shows that this hope fails at every level of the polynomial hierarchy: a (p+1)(p+1)(p+1)-level linear program with fixed criteria can encode the truth of a Σp\Sigma_pΣp​ quantified Boolean sentence. The result places multi-level linear programming in the polynomial hierarchy and is widely cited for the Σp\Sigma_pΣp​-hardness of such programs; NP-hardness of bilevel linear programs (Corollary 4.6) is its special case p=1p=1p=1.

Setting

A multi-level program has real variables x=(x1,…,xp)x=(x^1,\dots,x^p)x=(x1,…,xp), a feasible set S0S_0S0​ (a polyhedron {x:∑iAixi≥b}\{x: \sum_i A^ix^i\ge b\}{x:∑i​Aixi≥b} in the linear case), and players p,p−1,…,1p,p-1,\dots,1p,p−1,…,1 who move in that order; player iii controls xix^ixi and minimises a fixed linear criterion cixc^ixcix. The solution sets are defined from the last mover upwards: S1S_1S1​ is the set of x∈S0x\in S_0x∈S0​ at which player 1's criterion is minimal given the choices of all earlier movers, and in general SjS_{j}Sj​ keeps the points of Sj−1S_{j-1}Sj−1​ minimising cjxc^jxcjx among the points of Sj−1S_{j-1}Sj−1​ that agree with xxx on xj+1,…,xpx^{j+1},\dots,x^pxj+1,…,xp. The value is cpxc^pxcpx on SpS_pSp​, when Sp≠∅S_p\neq\emptysetSp​=∅. The sets SjS_jSj​ can be empty even when S0S_0S0​ is a nonempty polytope: the paper's four-level Example has S4=∅S_4=\emptysetS4​=∅ because S3S_3S3​ is not closed.

A propositional formula FFF over blocks of atoms X1,…,XpX_1,\dots,X_pX1​,…,Xp​ (block XkX_kXk​ has nkn_knk​ atoms) is encoded by the linear system LFL_FLF​: one variable x(G)∈[0,1]x(G)\in[0,1]x(G)∈[0,1] per non-atomic subformula, with the inequalities (3.1a)–(3.1c) for ∨\vee∨, ∧\wedge∧, ¬\neg¬. The quantifier of block XkX_kXk​ is Qk=∃Q_k=\existsQk​=∃ when p−kp-kp−k is even, so

(∃Xp)(∀Xp−1)⋯(Q1X1) [F(X1,…,Xp)=1](3.3)(\exists X_p)(\forall X_{p-1})\cdots(Q_1X_1)\,[F(X_1,\dots,X_p)=1] \qquad (3.3)(∃Xp​)(∀Xp−1​)⋯(Q1​X1​)[F(X1​,…,Xp​)=1](3.3)

is a Σp\Sigma_pΣp​ sentence.

The game J′(F)J'(F)J′(F) adds a bookkeeper, player 000, who moves last. Player k≥1k\ge1k≥1 controls the atoms of XkX_kXk​, and player 111 also controls auxiliary variables yyy; the bookkeeper controls the x(G)x(G)x(G), a variable uuu fixed to 111, and auxiliary variables zzz. Two gadgets, (4.1) and (4.6), let the bookkeeper and player 1 turn the linear criteria into the piecewise-linear functions Zk=1−x(F)+2∑jP(xkj)Z_k=1-x(F)+2\sum_jP(x_{kj})Zk​=1−x(F)+2∑j​P(xkj​) (or x(F)+…x(F)+\dotsx(F)+… for universal QkQ_kQk​) and Z1=(1−x(F))+fr(1−x(F))+10L∑jfr(x1j)+…Z_1=(1-x(F))+fr(1-x(F))+10L\sum_j fr(x_{1j})+\dotsZ1​=(1−x(F))+fr(1−x(F))+10L∑j​fr(x1j​)+…, where LLL is the length of FFF, fr(x)=min⁡{x,1−x}fr(x)=\min\{x,1-x\}fr(x)=min{x,1−x}, and P(x)=1P(x)=1P(x)=1 at x∈{0,1}x\in\{0,1\}x∈{0,1}, 222 otherwise.

Formalization targets

Goal: Theorem 4.5 (p≥2p\ge2p≥2)

Let SSS be the set of optimal solutions Sp+1S_{p+1}Sp+1​ of J′(F)J'(F)J′(F). Then S≠∅S\neq\emptysetS=∅; at every optimum all atom variables and all x(G)x(G)x(G) are binary; and

x(F)=1  ⟺  (3.3) holds,value(J′(F))=2np+1−x(F).x(F)=1 \iff (3.3)\ \text{holds},\qquad \text{value}(J'(F)) = 2n_p+1-x(F).x(F)=1⟺(3.3) holds,value(J′(F))=2np​+1−x(F).

Moreover, when (3.3) holds, v∈Rnpv\in\mathbb R^{n_p}v∈Rnp​ is player ppp's block in some optimum iff vvv is binary and the Πp−1\Pi_{p-1}Πp−1​ sentence (4.17) holds at the truth valuation of vvv.

Milestones

In attack order: Lemma 3.1 (correctness of LFL_FLF​ on binary inputs); Lemma 4.1 (robustness of LFL_FLF​ near binary inputs); Lemmas 4.2 and 4.3 (the bottom two levels of a bounded linear multi-level program are solvable, via LP duality); the bookkeeper identities z=∣2y−x∣z=|2y-x|z=∣2y−x∣ and z=fr(x)z=fr(x)z=fr(x) in S1S_1S1​; (4.2) and (4.3) (player 1's and player kkk's responses on the gadgets); Lemma 4.4 (the induction on kkk with the higher blocks fixed). Companion theorems: Corollary 4.6 (the bilevel case: value 000 iff (∃X1)F(\exists X_1)F(∃X1​)F), the §2 Example, and Proposition 3.2 (the pure binary game J(F)J(F)J(F)).

Significance

The theorem shows that deciding the value of a (p+1)(p+1)(p+1)-level linear program with fixed criteria is at least as hard as deciding Σp\Sigma_pΣp​ sentences, so known exact algorithms for multi-level linear programs cannot be expected to run in polynomial time once p≥2p\ge2p≥2, and even recognising an optimal move is Πp−1\Pi_{p-1}Πp−1​-hard. The bilevel case is an early NP-hardness proof for bilevel linear programming, and the construction (a bookkeeper player and absolute-value gadgets that force binary choices) is a template for hardness reductions to leader–follower problems.

The result is proved in the paper but, to our knowledge, has no machine-checked formalization. A formal development makes precise the solution concept (conditional rather than lexicographic minimisation), which the literature states in several inequivalent ways, and checks a proof whose printed version leaves cases to the reader (the ∧\wedge∧, ¬\neg¬ cases of Lemma 4.1, the universal cases of Lemma 4.4) and applies Lemma 4.3 to a feasible set that is unbounded (the (4.1) variable zzz has no upper bound).

Difficulty

The obvious argument, "each existential player picks a satisfying assignment and each universal player a counterexample", works for the pure binary game J(F)J(F)J(F) (Proposition 3.2) but not for continuous variables: a player may choose fractional values, and the solution sets of a multi-level program need not exist (the §2 Example). The work is in showing that every player is forced to binary choices. Player 1's fractional choices are ruled out only through the robustness estimate of Lemma 4.1 with the weight 10L10L10L, and the existence of optimal solutions at every level has to be established along the induction, since it fails for general three-level programs.

Formalization scope

  • Players are indexed from 000; player iii optimises at level i+1i+1i+1. In J′(F)J'(F)J′(F) the players are 0,…,p0,\dots,p0,…,p as in the paper; in the §2 Example and in J(F)J(F)J(F) the paper's player iii is index i−1i-1i−1. Blocks are 0-based: block k : Fin p is the paper's Xk+1X_{k+1}Xk+1​, owned by player k+1k+1k+1 in J′(F)J'(F)J′(F).
  • solSet encodes the conditional minimisation of (3.7), p. 152. HasValue N w requires SN≠∅S_N\neq\emptysetSN​=∅; the value +∞+\infty+∞ is not modelled.
  • Formulas use ¬,∧,∨\neg,\wedge,\vee¬,∧,∨ (the paper rewrites →\to→ as ¬G1∨G2\neg G_1\vee G_2¬G1​∨G2​); the length counts atoms and connectives. Data are real; the paper's rationality assumption plays no role in the statements.
  • The bookkeeper controls the x(G)x(G)x(G) and has criterion "+z+z+z on (4.1) gadgets, −z-z−z on (4.6) gadgets, and +x(G)+x(G)+x(G) for each non-atomic subformula," as stated on p. 155. The (4.1) variable zzz has no upper bound. The constant 111 of (4.4)/(4.7) is the variable uuu with u=1u=1u=1.
  • "Binary value, zero iff F∈BpF\in B_pF∈Bp​" is stated exactly: the value is 2np+1−x(F)2n_p+1-x(F)2np​+1−x(F), and x(F)=1x(F)=1x(F)=1 iff (3.3). "All optimal solutions are binary" covers the atom variables and the x(G)x(G)x(G), not the gadget variable zzz, which equals 222 at y=1y=1y=1, ξ=0\xi=0ξ=0.
  • The goal is not trivialisable: its first conjunct asserts that the optimal set is nonempty, which fails for general multi-level programs (the §2 Example), so the remaining conjuncts are not vacuous.

A complete development needs a linear-programming duality argument for Lemma 4.2 (Mathlib has IsExtreme and Set.extremePoints; LP duality is on the platform as a single-level theorem) and an induction over the levels of the game. The definitions MultilevelProgram, solSet and the formula encoding LSys are reusable for other complexity results on hierarchical optimisation. Proofs of any milestone, including the generic Lemmas 4.2–4.3 and the formula Lemmas 3.1 and 4.1, are welcome independently.

Selected references

  • R. G. Jeroslow, The polynomial hierarchy and a simple model for competitive analysis, Mathematical Programming 32 (1985) 146–164. https://doi.org/10.1007/BF01586088
  • W. Candler and R. Townsley, A linear two-level programming problem, Computers & Operations Research 9 (1982) 59–76. https://doi.org/10.1016/0305-0548(82)90006-5
  • J. F. Bard and J. E. Falk, An explicit solution to the multi-level programming problem, Computers & Operations Research 9 (1982) 77–100. https://doi.org/10.1016/0305-0548(82)90007-7
  • L. J. Stockmeyer, The polynomial-time hierarchy, Theoretical Computer Science 3 (1976) 1–22. https://doi.org/10.1016/0304-3975(76)90061-X
13 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management 2: Frequent Re-solving Loses at Most O(√T) Against the Deterministic LP, Uniformly in the CapacitiesResearch Paper

Motivation

Network revenue management is the problem of selling several limited, perishable resources (seats on flight legs, hotel room-nights, machine hours) to customers who arrive over time and each want a fixed bundle of them. A seller who accepts every request early may run out of the resources that the most valuable later customers need, and a seller who is too cautious leaves capacity unsold at the end of the horizon. Airlines, hotels and car-rental firms solve instances of this problem daily (Talluri and van Ryzin, 2004).

The exact optimal policy is a dynamic program over the vector of remaining capacities, which is intractable for realistic networks. The standard remedy replaces the random demand by its mean, which gives a linear program, the deterministic LP (DLP), and turns its solution into an admission rule. Its value is an upper bound on what any policy can earn (Gallego and van Ryzin, 1997). Solving the LP once, at time zero, loses O(T)O(\sqrt{T})O(T​) against that bound over a horizon of length TTT. A natural improvement is to re-solve the LP as capacity is consumed.

Timeline of the re-solving question, as the source surveys it (Sec. 1, pp. 3–4):

  • 1997: Gallego and van Ryzin: static policies built from the DLP lose Θ(T)\Theta(\sqrt{T})Θ(T​).
  • 2002: Cooper gives an example in which re-solving the DLP makes booking-limit control worse.
  • 2008: Reiman and Wang re-solve exactly once, at an endogenous random time, with probabilistic allocation, and obtain o(T)o(\sqrt{T})o(T​) loss.
  • 2012: Jasin and Kumar prove that re-solving after every unit of time with probabilistic allocation (the policy FR below) loses O(1)O(1)O(1), provided the DLP solution is nondegenerate. Wu et al. (2015) obtain O(1)O(1)O(1) for one resource, with a constant that blows up as the solution approaches degeneracy.
  • 2018: Bumpensanti and Wang (arXiv:1802.06192) show that FR can lose Ω(T)\Omega(\sqrt{T})Ω(T​) against the hindsight optimum on a degenerate instance, propose a modified policy with O(1)O(1)O(1) loss in all cases, and prove that FR never loses more than O(T)O(\sqrt{T})O(T​) against the DLP. This mission formalizes the last of these results.

Setting

There are nnn customer classes j∈[n]j \in [n]j∈[n] and mmm resources l∈[m]l \in [m]l∈[m]. Over the horizon [0,T][0, T][0,T], class-jjj customers arrive according to independent Poisson processes with rates λj>0\lambda_j > 0λj​>0. Accepting a class-jjj customer earns rj≥0r_j \ge 0rj​≥0 and consumes alj≥0a_{lj} \ge 0alj​≥0 units of each resource lll; A=(alj)A = (a_{lj})A=(alj​) is the bill-of-materials matrix and AjA_jAj​ its jjj-th column. The initial capacity vector is C≥0C \ge 0C≥0. A customer can be accepted only if Aj≤C′A_j \le C'Aj​≤C′ componentwise, where C′C'C′ is the capacity remaining at its arrival.

For a capacity-per-unit-time vector b≥0b \ge 0b≥0, let

v(b)=max⁡{∑j=1nrjxj : ∑j=1nAjxj≤b, 0≤xj≤λj}.v(b) = \max\Big\{ \sum_{j=1}^n r_j x_j \ :\ \sum_{j=1}^n A_j x_j \le b,\ 0 \le x_j \le \lambda_j \Big\}.v(b)=max{j=1∑n​rj​xj​ : j=1∑n​Aj​xj​≤b, 0≤xj​≤λj​}.

The DLP value is vDLP(T,C)=T v(C/T)v^{\mathrm{DLP}}(T, C) = T\, v(C/T)vDLP(T,C)=Tv(C/T).

The Frequent Re-solving policy (FR) divides the horizon into TTT unit periods [t,t+1)[t, t+1)[t,t+1). At the start of period ttt, with remaining capacity C(t)C(t)C(t), it sets b(t)=C(t)/(T−t)b(t) = C(t)/(T - t)b(t)=C(t)/(T−t), computes an optimal solution x(t)x(t)x(t) of the LP with right-hand side b(t)b(t)b(t), and during the period accepts each class-jjj arrival with probability xj(t)/λjx_j(t)/\lambda_jxj​(t)/λj​, subject to the capacity check. Its expected revenue is vFR(T,C)v^{\mathrm{FR}}(T, C)vFR(T,C). The LP may have several optimal solutions; the results hold for every rule choosing among them.

Formalization targets

Goal: Proposition 3

There is a constant MMM, depending only on λ\lambdaλ, rrr and AAA, such that for every integer T≥1T \ge 1T≥1, every capacity C≥0C \ge 0C≥0 and every choice of optimal LP solutions,

vDLP(T,C)−vFR(T,C)≤MT.v^{\mathrm{DLP}}(T, C) - v^{\mathrm{FR}}(T, C) \le M \sqrt{T}.vDLP(T,C)−vFR(T,C)≤MT​.

The content is the uniformity: MMM does not depend on CCC, so the bound holds whether capacity is scarce, abundant, or degenerate for the LP.

Milestones, in the order the proof uses them

  1. Eq. (32), p. 35. The capacity check costs FR at most ∑jrj(log⁡T+1)+∑jrjλj\sum_j r_j(\log T + 1) + \sum_j r_j \lambda_j∑j​rj​(logT+1)+∑j​rj​λj​ relative to the LP revenue it targets:
vFR≥E[∑t=0T−1∑j=1nrjxj(t)]−∑j=1nrj(log⁡T+1)−∑j=1nrjλj.v^{\mathrm{FR}} \ge \mathbb{E}\Big[\sum_{t=0}^{T-1} \sum_{j=1}^n r_j x_j(t)\Big] - \sum_{j=1}^n r_j (\log T + 1) - \sum_{j=1}^n r_j \lambda_j .vFR≥E[t=0∑T−1​j=1∑n​rj​xj​(t)]−j=1∑n​rj​(logT+1)−j=1∑n​rj​λj​.
  1. Eq. (33), p. 35. LP sensitivity in the right-hand side: v(b)−v(b′)≤∑lrmax⁡l(bl−bl′)+v(b) - v(b') \le \sum_l r^l_{\max} (b_l - b'_l)^+v(b)−v(b′)≤∑l​rmaxl​(bl​−bl′​)+ with rmax⁡l=max⁡jrjI(alj>0)/aljr^l_{\max} = \max_j r_j \mathbb{I}(a_{lj} > 0)/a_{lj}rmaxl​=maxj​rj​I(alj​>0)/alj​.
  2. Lemma 8, p. 43 (corrected). E[(bl−bl(t))+]≤Kl∑i=0t−1(T−i−1)−2\mathbb{E}[(b_l - b_l(t))^+] \le K_l \sqrt{\sum_{i=0}^{t-1} (T-i-1)^{-2}}E[(bl​−bl​(t))+]≤Kl​∑i=0t−1​(T−i−1)−2​ with Kl=∑jalj2λjK_l = \sqrt{\sum_j a_{lj}^2 \lambda_j}Kl​=∑j​alj2​λj​​.
  3. p. 36. ∑t=0T−1∑i=0t−1(T−i−1)−2≤2T+2\sum_{t=0}^{T-1} \sqrt{\sum_{i=0}^{t-1} (T-i-1)^{-2}} \le 2\sqrt{T} + \sqrt{2}∑t=0T−1​∑i=0t−1​(T−i−1)−2​≤2T​+2​.
  4. p. 36, explicit bound.
vDLP−vFR≤∑l=1mrmax⁡lKl(2T+2)+n rmax⁡(log⁡T+1)+n rmax⁡λmax⁡.v^{\mathrm{DLP}} - v^{\mathrm{FR}} \le \sum_{l=1}^m r^l_{\max} K_l (2\sqrt{T} + \sqrt{2}) + n\, r_{\max} (\log T + 1) + n\, r_{\max} \lambda_{\max} .vDLP−vFR≤l=1∑m​rmaxl​Kl​(2T​+2​)+nrmax​(logT+1)+nrmax​λmax​.

Significance

The result. Because vDLPv^{\mathrm{DLP}}vDLP bounds the expected revenue of every admissible policy, Proposition 3 says that FR loses at most O(T)O(\sqrt{T})O(T​) against the optimal policy in every instance, degenerate or not. Re-solving therefore never does worse, in order, than solving once. Together with the Ω(T)\Omega(\sqrt{T})Ω(T​) lower bound on a degenerate instance (Proposition 2 of the same paper), it shows that the order T\sqrt{T}T​ is exact for FR. The nondegeneracy assumption of the earlier O(1)O(1)O(1) analysis cannot be dropped. The explicit form (milestone 5) bounds the loss by constants computable from (λ,r,A)(\lambda, r, A)(λ,r,A).

Formalizing it. The result is proved in the source; no part of it is machine-checked. A formalization adds three things. It gives a precise model of an adaptive, randomized admission policy in a Poisson network, which other results on re-solving and bid-price policies can reuse. It gives a checked LP sensitivity bound. And it checks the paper's constants: the printed constant of Lemma 8 is wrong (see Formalization scope), and the mission states the corrected one.

Difficulty

The obvious argument compares FR with the DLP period by period: the LP that FR solves at time ttt differs from the original only in its right-hand side, so the loss should be controlled by how far b(t)b(t)b(t) drifts below b=C/Tb = C/Tb=C/T. Two things break a naive version of this. First, b(t)b(t)b(t) is a ratio whose denominator T−tT - tT−t shrinks to 111, so fluctuations late in the horizon are amplified; a crude bound on the drift at each ttt sums to more than T\sqrt{T}T​. Second, FR's realized consumption is not the LP's target: the capacity check rejects customers, and the LP solutions x(i)x(i)x(i) depend on the whole past, so the consumption in different periods is not independent.

Uniformity in CCC is the whole point. Arguments that rely on a margin between C/TC/TC/T and the degenerate points of the LP, as in the nondegenerate analysis, give constants that blow up as that margin vanishes.

Formalization scope

The source is arXiv:1802.06192v3, whose printed page numbers equal the PDF page numbers. Everything lives in the namespace ResolvingNRM.FRUpper.

  • LP value. v(b)v(b)v(b) is the published piValue A r b lam of RLPBidPrice.Unbiased.Model (a real supremum, equal to the LP maximum for b≥0b \ge 0b≥0).
  • Optimal solutions. The "arg⁡max⁡\arg\maxargmax" of Algorithm 2 is an arbitrary optimal-solution selector sel; every theorem quantifies over all selectors, with constants chosen before the selector.
  • Randomness. Within a period the acceptance probabilities are fixed, so the period's arrivals are represented exactly as a Poisson number of customers in arrival order, with i.i.d. classes of law λj/∑iλi\lambda_j / \sum_i \lambda_iλj​/∑i​λi​ and independent Bernoulli acceptance coins. Expectations are series over this law (windowExp). FR's value is a backward recursion over periods (frTail), and expectations of functions of C(t)C(t)C(t) are a forward recursion (frStateExp).
  • Horizon. TTT is a positive integer; capacities are real vectors.
  • Standing assumptions of p. 7, left implicit there and hypotheses here: λj>0\lambda_j > 0λj​>0, rj≥0r_j \ge 0rj​≥0, alj≥0a_{lj} \ge 0alj​≥0, C≥0C \ge 0C≥0.
  • O(⋅)O(\cdot)O(⋅). "=O(T)= O(\sqrt{T})=O(T​)" is ∃M, ∀ sel,T≥1,C≥0\exists M,\ \forall\, \mathrm{sel}, T \ge 1, C \ge 0∃M, ∀sel,T≥1,C≥0. The paper's threshold T1T_1T1​ is dropped, which is equivalent because 0≤vFR0 \le v^{\mathrm{FR}}0≤vFR and vDLP≤T∑jrjλjv^{\mathrm{DLP}} \le T\sum_j r_j\lambda_jvDLP≤T∑j​rj​λj​.
  • Corrected slip, Lemma 8. The printed Kl=∑jalj2λj2K_l = \sqrt{\sum_j a_{lj}^2 \lambda_j^2}Kl​=∑j​alj2​λj2​​ is false: the proof replaces the conditional variance xj(i)≤λjx_j(i) \le \lambda_jxj​(i)≤λj​ of a Poisson increment by λj2\lambda_j^2λj2​. With one class, one resource, a=1a = 1a=1, λ=0.01\lambda = 0.01λ=0.01, C=λTC = \lambda TC=λT, T=1000T = 1000T=1000 and t=2t = 2t=2, an exact computation gives E[(b−b(2))+]≈1.96⋅10−5\mathbb{E}[(b - b(2))^+] \approx 1.96 \cdot 10^{-5}E[(b−b(2))+]≈1.96⋅10−5, above the printed bound 1.42⋅10−51.42 \cdot 10^{-5}1.42⋅10−5. The mission uses Kl=∑jalj2λjK_l = \sqrt{\sum_j a_{lj}^2 \lambda_j}Kl​=∑j​alj2​λj​​ in Lemma 8 and in the explicit bound.
  • Index slip. The paper's sums ∑l=1L\sum_{l=1}^L∑l=1L​ run over its mmm resources and are read as l∈[m]l \in [m]l∈[m].

A trivializing formalization is ruled out. The constant MMM is chosen before CCC. FR is defined with every optimal LP solution, not only nondegenerate or vertex ones. The capacity check is kept arrival by arrival; without it, FR's expected revenue would equal the LP revenue it targets and the gap would be trivially small.

Contributions welcome on every milestone. The LP sensitivity bound (33) is a statement about linear programs alone and milestone 4 about real numbers alone; both are reusable outside this mission, as is the window model of a randomized admission policy.

Selected references

  • Y. Bumpensanti, H. Wang, A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management, arXiv:1802.06192v3, 2018 (the source of this mission; later in Management Science 66(7), 2020). https://arxiv.org/abs/1802.06192
  • G. Gallego, G. van Ryzin, A Multiproduct Dynamic Pricing Problem and Its Applications to Network Yield Management, Operations Research 45(1), 24–41, 1997.
  • W. L. Cooper, Asymptotic Behavior of an Allocation Policy for Revenue Management, Operations Research 50(4), 720–727, 2002.
  • M. I. Reiman, Q. Wang, An Asymptotically Optimal Policy for a Quantity-Based Network Revenue Management Problem, Mathematics of Operations Research 33(2), 257–282, 2008.
  • S. Jasin, S. Kumar, A Re-Solving Heuristic with Bounded Revenue Loss for Network Revenue Management with Customer Choice, Mathematics of Operations Research 37(2), 313–345, 2012.
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004.

Bibliographic details of the non-arXiv entries are those of the source's reference list (pp. 24–25).

9 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Optimal Estimation of Executive Compensation by Linear Programming II: LP Estimates Are Consistent When the True Optimum Is Unique and NondegenerateResearch Paper

Motivation

In 1955 Charnes, Cooper and Ferguson proposed to estimate the weights of an executive compensation scheme by linear programming instead of least squares: the weights minimise a sum of absolute deviations subject to ranking, ceiling and floor constraints, which is a linear program. The coefficients of that program are not known exactly. They are averages of ratings collected from a sample of job holders, so the program actually solved is a random perturbation of a "true" program built from population means. The Appendix of the paper (§8, Consistency of Estimates) asks the basic statistical question about such an estimator: as the sample grows, does the optimal solution of the sample program converge to the optimal solution of the true program?

The question is not specific to compensation. Whenever the constraint matrix of a linear program is estimated from data, the computed optimum is an estimator, and its consistency is the first property one wants. The Appendix is one of the earliest statements of this kind for linear programming, written at a time when the simplex method itself was only a few years old (Dantzig 1951).

Setting

Fix integers mmm (the number of constraints, indexed by iii) and nnn (the number of variables, indexed by jjj), a right-hand side b∈Rmb\in\mathbb R^mb∈Rm and a cost vector c∈Rnc\in\mathbb R^nc∈Rn. For a real m×nm\times nm×n matrix X=(xij)X=(x_{ij})X=(xij​) consider the linear program (8)

min⁡ ∑jcjajsubject to∑jxijaj≥bi  (i=1,…,m),aj≥0  (j=1,…,n).\min\ \sum_j c_ja_j\quad\text{subject to}\quad \sum_j x_{ij}a_j\ge b_i\ \ (i=1,\dots,m),\qquad a_j\ge0\ \ (j=1,\dots,n).min j∑​cj​aj​subject toj∑​xij​aj​≥bi​  (i=1,…,m),aj​≥0  (j=1,…,n).

Its feasible set F(X,b)F(X,b)F(X,b) is a polyhedron in Rn\mathbb R^nRn, and a minimizing solution is a feasible point at which the objective is no larger than at any other feasible point.

The true matrix ξ=(ξij)\xi=(\xi_{ij})ξ=(ξij​) collects population means. For each sample size NNN the observed matrix is

xij=ξij+ηij(9)x_{ij}=\xi_{ij}+\eta_{ij}\qquad(9)xij​=ξij​+ηij​(9)

where the sampling errors ηij=ηij(N)\eta_{ij}=\eta^{(N)}_{ij}ηij​=ηij(N)​ are random variables on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with ηij→0\eta_{ij}\to0ηij​→0 in probability as N→∞N\to\inftyN→∞.

The paper makes two assumptions about the true program:

  • (I) the program (8) with matrix ξ\xiξ has a unique solution vector α^\hat\alphaα^;
  • (II) every set of mmm columns of ξ\xiξ is linearly independent.

A feasible point aaa is nondegenerate if the number of strictly positive variables aja_jaj​ plus the number of constraints with strictly positive surplus ∑jxijaj−bi\sum_jx_{ij}a_j-b_i∑j​xij​aj​−bi​ equals mmm. At an extreme point this means that the basis of the point, after adding one surplus variable per constraint, consists of mmm strictly positive basic variables.

Formalization targets

Goal: consistency of the LP estimate

Under (I), (II) and nondegeneracy of α^\hat\alphaα^, for every ε>0\varepsilon>0ε>0,

P((8) with matrix ξ+η(N) has a unique minimizing solution a^ and ∣a^−α^∣<ε)⟶1(N→∞).P\bigl(\text{(8) with matrix }\xi+\eta^{(N)}\text{ has a unique minimizing solution }\hat a\text{ and }|\hat a-\hat\alpha|<\varepsilon\bigr)\longrightarrow1\qquad(N\to\infty).P((8) with matrix ξ+η(N) has a unique minimizing solution a^ and ∣a^−α^∣<ε)⟶1(N→∞).

The event asserts that the sample minimiser exists and is unique, as the paper's phrase "the minimizing solution of (8), a^(η)\hat a(\eta)a^(η)" presupposes, and that it is close to α^\hat\alphaα^.

Milestones

  1. Claim A (p. 150): linear independence of a set of columns is preserved under sufficiently small entrywise perturbation.
  2. Claim B (p. 150): the extreme points of F(X,b)F(X,b)F(X,b) are exactly the feasible points whose positive variables and positive surpluses index linearly independent columns of [X,−I][X,-I][X,−I].
  3. Corresponding extreme points (p. 150): a nondegenerate extreme point of the true set has, for every nearby matrix, an extreme point of the sample set with the same positive support, arbitrarily close to it.
  4. The Lipschitz bound (p. 151): ∣c′(α−a)∣≤B∣α−a∣|c'(\alpha-a)|\le B|\alpha-a|∣c′(α−a)∣≤B∣α−a∣ for a positive constant BBB.
  5. The gap argument (p. 151), deterministic form: under (I) and nondegeneracy of α^\hat\alphaα^, every matrix close enough to ξ\xiξ gives a program with a unique minimiser, close to α^\hat\alphaα^.

A companion item records that the claim as printed, under (I) and (II) alone, is false.

Significance

The theorem says that the linear programming estimator of the paper is consistent: with enough data, the computed weights are, with high probability, the unique optimum of the sample program and close to the true weights. More generally it is a stability statement for linear programs with a unique nondegenerate optimum under perturbation of the constraint matrix, which is the setting of sensitivity analysis and of sample-average approximation for linear programs.

The paper gives a sketch, not a complete proof. Its argument transfers extreme points of the true polyhedron to the sample polyhedron and compares objective values. That transfer is valid at nondegenerate extreme points only, and the claim as printed fails without such a condition: for ξ=(11−1−2)\xi=\begin{pmatrix}1&1\\-1&-2\end{pmatrix}ξ=(1−1​1−2​) and b=(1,−1)b=(1,-1)b=(1,−1) the true feasible set is the single point (1,0)(1,0)(1,0), so (I) holds, the two columns are independent, so (II) holds, yet replacing ξ11\xi_{11}ξ11​ by any value in (12,1)(\tfrac12,1)(21​,1) makes the program infeasible. The mission therefore adds one disclosed hypothesis, nondegeneracy of the true optimum α^\hat\alphaα^, and keeps everything else as on the page. To the best of the curators' knowledge, neither the paper's statement nor the repaired one has been machine-checked; this mission formalizes the repaired theorem, the steps of the paper's argument, and the counterexample to the printed statement.

Difficulty

The natural first idea is that the feasible set and the optimum move continuously with the data. That is false in general: a polyhedron defined by perturbed inequalities can lose extreme points, gain new ones, or become empty, and the optimum of a linear program is not a continuous function of the constraint matrix. The paper's claim that the sample polyhedron has "precisely the same number of extreme points as the true convex set" and that the parenthetical of claim B is preserved under small modifications both fail at degenerate extreme points. The difficulty is to control, near a unique nondegenerate optimum α^\hat\alphaα^, both the feasibility of the sample program and the identity of its optimal extreme point, and to turn this into a probability statement without any measurability assumption on the estimator.

Formalization scope

All objects live in the namespace ExecCompLP.Consistency. Matrices are Matrix (Fin m) (Fin n) ℝ with X i j the entry xijx_{ij}xij​; column jjj is fun i => X i j. Indices are 0-based. Vectors are Fin n → ℝ, and distances between them use the maximum norm (dist on Fin n → ℝ); closeness of matrices is entrywise. Every norm gives the same statements.

  • The optimal value of (8) is never defined as an infimum; a minimizer is a feasible point no worse than every feasible point. Assumption (I) includes existence.
  • Assumption (II) is about mmm-element sets of columns, with mmm the number of rows; it is vacuous when n<mn<mn<m, as on the page. It is a hypothesis of the goal, as printed, although the repaired argument does not need it; milestone 5 drops it.
  • Nondegeneracy of α^\hat\alphaα^ is the only added hypothesis. It is not replaced by anything stronger (nondegeneracy of all extreme points, a Slater point, boundedness).
  • Randomness enters only through ηij(N)→0\eta^{(N)}_{ij}\to0ηij(N)​→0 in probability (TendstoInMeasure), which is the conclusion of (9) on p. 149 taken as a hypothesis; sample means and variances are not modelled. The probability of the goal's event is an outer measure, so no measurability of η\etaη or of the estimator is assumed.
  • Ruled out as trivializations: a conclusion that only bounds every minimizer "if any" (vacuous on infeasible samples), and a conclusion conditioned on feasibility. The goal's event asserts existence and uniqueness of the sample minimizer.

A complete development needs: openness of linear independence, the inequality-form characterization of extreme points by linearly independent positive columns, continuity of basic solutions in the data, and positivity of reduced costs at a unique nondegenerate optimum. The first three are reusable for any perturbation analysis of linear programs. Proofs of any item, and alternative arguments for the goal, are welcome.

Selected references

  • A. Charnes, W. W. Cooper and R. O. Ferguson, Optimal estimation of executive compensation by linear programming, Management Science 1(2):138–151, 1955. https://doi.org/10.1287/mnsc.1.2.138
  • G. B. Dantzig, Maximization of a linear function of variables subject to linear inequalities, in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951.
  • L. S. Pontryagin, Foundations of Combinatorial Topology, Graylock Press, 1952 (cited for claim A).
  • W. Feller, An Introduction to Probability Theory and Its Applications, Wiley, 1950 (cited for (9)).
7 thms1 active userReviewed
Convex OptimizationDiscrete Geometry·Captain: mikedeng1

Integer Programming with a Fixed Number of Variables 2: A Simplex Satisfying (16) Rounds K, B(p,r) ⊂ τK ⊂ B(p,R) with R/r ≤ 2n^(3/2)Research Paper

Motivation

In 1983 H. W. Lenstra, Jr. proved that integer linear programming with a fixed number of variables is solvable in polynomial time (Lenstra 1983). The algorithm became one of the founding results of algorithmic geometry of numbers: it introduced the strategy of making a convex body "round" by a linear change of coordinates, and then either finding a lattice point in it or showing that the body is covered by few parallel lattice hyperplanes, which reduces the dimension by one.

The algorithm rests on two geometric facts, each with its own proof. The first (§1 of the paper, the companion mission Integer Programming with a Fixed Number of Variables 1) says that a round body that misses the lattice meets few lattice hyperplanes. This mission is the second (§2): an explicit construction of the rounding transformation. Starting from a simplex inside the polytope, the algorithm repeatedly swaps a vertex for a point of the polytope as long as this increases the simplex's volume by more than a factor 3/23/23/2. When no such swap exists, a linear map that makes the simplex regular also makes the polytope round, with an explicit roundness ratio 2n3/22n^{3/2}2n3/2.

Short timeline. Khachiyan's ellipsoid method (1979) made linear programming polynomial and supplied the subroutine that Lenstra uses to maximize linear functions on KKK. Lenstra's algorithm (preprint 1981, published 1983) combined it with the lattice basis reduction of Lenstra, Lenstra and Lovász (1982). Remark (c) of the paper notes that rounding with a maximal-volume inscribed ellipsoid achieves the better ratio nnn, but not by a polynomial algorithm for varying nnn; later work (Kannan 1987, Grötschel–Lovász–Schrijver 1988) refined the rounding step with ellipsoid methods.

Setting

Work in Rn\mathbb R^nRn with the Euclidean length ∣⋅∣|\cdot|∣⋅∣, and write B(p,ρ)={x∈Rn:∣x−p∣≤ρ}B(p, \rho) = \{x \in \mathbb R^n : |x - p| \le \rho\}B(p,ρ)={x∈Rn:∣x−p∣≤ρ} for the closed ball. For points w0,…,wn∈Rnw_0, \dots, w_n \in \mathbb R^nw0​,…,wn​∈Rn, the simplex volume is

vol(w0,…,wn)=∣det⁡M∣n!,\mathrm{vol}(w_0, \dots, w_n) = \frac{|\det M|}{n!},vol(w0​,…,wn​)=n!∣detM∣​,

where MMM has column vectors w1−w0,…,wn−w0w_1 - w_0, \dots, w_n - w_0w1​−w0​,…,wn​−w0​.

Let K⊆RnK \subseteq \mathbb R^nK⊆Rn be convex, and let v0,…,vn∈Kv_0, \dots, v_n \in Kv0​,…,vn​∈K with v1−v0,…,vn−v0v_1 - v_0, \dots, v_n - v_0v1​−v0​,…,vn​−v0​ linearly independent. Choose linear functions g0,…,gn:Rn→Rg_0, \dots, g_n : \mathbb R^n \to \mathbb Rg0​,…,gn​:Rn→R with

gi constant on {vj:j≠i},gi(vi)≠gi(vj) (j≠i).(15)g_i \text{ constant on } \{v_j : j \ne i\}, \qquad g_i(v_i) \ne g_i(v_j) \ (j \ne i). \tag{15}gi​ constant on {vj​:j=i},gi​(vi​)=gi​(vj​) (j=i).(15)

Thus gig_igi​ measures the height above the facet opposite viv_ivi​. The stopping condition of the second stage is

∣gi(x−vj)∣≤32 ∣gi(vi−vj)∣for all x∈K and all i≠j.(16)|g_i(x - v_j)| \le \tfrac32\, |g_i(v_i - v_j)| \quad \text{for all } x \in K \text{ and all } i \ne j. \tag{16}∣gi​(x−vj​)∣≤23​∣gi​(vi​−vj​)∣for all x∈K and all i=j.(16)

The ratio ∣gi(x−vj)∣/∣gi(vi−vj)∣|g_i(x - v_j)|/|g_i(v_i - v_j)|∣gi​(x−vj​)∣/∣gi​(vi​−vj​)∣ is the factor by which the volume changes when viv_ivi​ is replaced by xxx, so (16) says that no such swap enlarges the simplex by more than 3/23/23/2.

Let τ\tauτ be a nonsingular linear map of Rn\mathbb R^nRn such that zj=τ(vj)z_j = \tau(v_j)zj​=τ(vj​) span a regular simplex, meaning that all distances ∣zi−zj∣|z_i - z_j|∣zi​−zj​∣, i≠ji \ne ji=j, are equal. Let p=(n+1)−1∑jzjp = (n+1)^{-1}\sum_j z_jp=(n+1)−1∑j​zj​ be its centroid and SSS its convex hull. For c≥1c \ge 1c≥1, the paper defines

Tc={x∈Rn:vol(z0,…,zi−1,x,zi+1,…,zn)≤c⋅vol(z0,…,zn) for all i}.T_c = \{x \in \mathbb R^n : \mathrm{vol}(z_0, \dots, z_{i-1}, x, z_{i+1}, \dots, z_n) \le c\cdot \mathrm{vol}(z_0, \dots, z_n) \text{ for all } i\}.Tc​={x∈Rn:vol(z0​,…,zi−1​,x,zi+1​,…,zn​)≤c⋅vol(z0​,…,zn​) for all i}.

The proof of the LEMMA works in model coordinates. There Rn\mathbb R^nRn is the hyperplane ∑j=0nrj=1\sum_{j=0}^n r_j = 1∑j=0n​rj​=1 of Rn+1\mathbb R^{n+1}Rn+1, the zjz_jzj​ are the standard basis vectors, p=(1n+1,…,1n+1)p = (\tfrac1{n+1}, \dots, \tfrac1{n+1})p=(n+11​,…,n+11​), and Tc={r:∣rj∣≤c for all j, ∑jrj=1}T_c = \{r : |r_j| \le c \text{ for all } j,\ \sum_j r_j = 1\}Tc​={r:∣rj​∣≤c for all j, ∑j​rj​=1}.

Formalization targets

Goal (§2, p. 543)

Under (15) and (16), with τ\tauτ making the simplex regular and ppp its centroid, there are positive reals r,Rr, Rr,R with

B(p,r)⊆τK⊆B(p,R),Rr≤2n3/2.B(p, r) \subseteq \tau K \subseteq B(p, R), \qquad \frac{R}{r} \le 2n^{3/2}.B(p,r)⊆τK⊆B(p,R),rR​≤2n3/2.

These are conditions (3)–(4) of §1 with c1=2n3/2c_1 = 2n^{3/2}c1​=2n3/2.

Milestones, in the order the proof uses them

  1. (16) is a statement about T3/2T_{3/2}T3/2​ (p. 543). Condition (16), for all x∈Kx \in Kx∈K and i≠ji \ne ji=j, holds exactly when τK⊆T3/2\tau K \subseteq T_{3/2}τK⊆T3/2​.
  2. Vertices of TcT_cTc​ (pp. 543–544). In the model, TcT_cTc​ is the convex hull of the coordinate permutations of e0−c∑j=1mej+c∑j=m+1neje_0 - c\sum_{j=1}^m e_j + c\sum_{j=m+1}^n e_je0​−c∑j=1m​ej​+c∑j=m+1n​ej​ (n=2mn = 2mn=2m), or of (1−c)e0−c∑j=1mej+c∑j=m+1nej(1-c)e_0 - c\sum_{j=1}^m e_j + c\sum_{j=m+1}^n e_j(1−c)e0​−c∑j=1m​ej​+c∑j=m+1n​ej​ (n=2m+1n = 2m+1n=2m+1).
  3. Outer radius (p. 544). Tc⊆B(p,R)T_c \subseteq B(p, R)Tc​⊆B(p,R) with R2=nc2+nn+1R^2 = nc^2 + \tfrac{n}{n+1}R2=nc2+n+1n​ (nnn even) or (n+1)c2−2c+nn+1(n+1)c^2 - 2c + \tfrac{n}{n+1}(n+1)c2−2c+n+1n​ (nnn odd).
  4. Inner radius (p. 544). B(p,r)⊆SB(p, r) \subseteq SB(p,r)⊆S inside the hyperplane, with r2=1n(n+1)r^2 = \tfrac{1}{n(n+1)}r2=n(n+1)1​.
  5. LEMMA (p. 543). For c≥1c \ge 1c≥1 and any regular simplex, B(p,r)⊆S⊆Tc⊆B(p,R)B(p, r) \subseteq S \subseteq T_c \subseteq B(p, R)B(p,r)⊆S⊆Tc​⊆B(p,R) for positive r,Rr, Rr,R with
(Rr)2={c2n3+(c2+1)n2n even,c2n3+(2c2−2c+1)n2+(c2−2c)nn odd.\Big(\frac Rr\Big)^2 = \begin{cases} c^2n^3 + (c^2+1)n^2 & n \text{ even},\\ c^2n^3 + (2c^2 - 2c + 1)n^2 + (c^2 - 2c)n & n \text{ odd}.\end{cases}(rR​)2={c2n3+(c2+1)n2c2n3+(2c2−2c+1)n2+(c2−2c)n​n even,n odd.​

The paper's own proof derives the goal from milestone 1 and the LEMMA at c=3/2c = 3/2c=3/2. At n=1n = 1n=1 the constant 2n3/22n^{3/2}2n3/2 cannot be improved by this argument.

Significance

The result. The theorem is the only place in the paper where the roundness constant c1c_1c1​ is computed, and c1c_1c1​ enters the bound 1+c1c2n1 + c_1c_2\sqrt n1+c1​c2​n​ on the number of lattice hyperplanes that the algorithm branches over. Remark (c) of the paper uses the exact LEMMA for other values of ccc to obtain c1=((1+ϵ)(n3+2n2))1/2c_1 = ((1+\epsilon)(n^3 + 2n^2))^{1/2}c1​=((1+ϵ)(n3+2n2))1/2 (nnn even) and ((1+ϵ)(n3+n2−n))1/2((1+\epsilon)(n^3+n^2-n))^{1/2}((1+ϵ)(n3+n2−n))1/2 (nnn odd). The LEMMA itself is a self-contained fact about the regular simplex. In Euclidean geometry it says how far the "volume-ccc neighbourhood" TcT_cTc​ of a regular simplex extends.

The formalization. The result is classical and proved in the paper. Nothing in it has been machine-checked: there is no regular simplex in Mathlib, and no formal result relates simplex volumes to barycentric coordinates in this form. The platform has the related ellipsoid rounding ConvexOptimization.lowner_john_polytope_rounding (the John-ellipsoid version with factor nnn, by Shuze Chen) and its definition ConvexOptimization_IsLownerJohn. That is the alternative construction of Remark (c). It has a different constant and is not used here. This mission and its companion together give a formal account of the geometry behind Lenstra's algorithm. The algorithm itself is not formalized: its running time needs a machine model and an encoding that the paper does not fix.

Difficulty

There are two separate difficulties. The first is the translation in milestone 1. It needs the volume of a simplex with one vertex replaced to be identified with a barycentric coordinate, through a determinant identity, and it needs this identification to survive the linear map τ\tauτ. The second is the transfer to the model. The paper's "similarity transformation" identifies Rn\mathbb R^nRn with a hyperplane of Rn+1\mathbb R^{n+1}Rn+1 and sends the regular simplex to the standard one. In Lean the vertex description (milestone 2), the radii (milestones 3–4) and TcT_cTc​ must all be carried across this isometry up to scaling. The LEMMA is stated in Rn\mathbb R^nRn, not in the model. The "straightforward analysis" behind milestone 2 is a vertex enumeration of a cube cut by a hyperplane, and its parity split is where sign errors appear.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) and the model Rn+1\mathbb R^{n+1}Rn+1 is EuclideanSpace ℝ (Fin (n+1)). Distances are Euclidean, never the sup norm. Vertices are indexed by Fin (n+1), matching 0,…,n0, \dots, n0,…,n.
  • The volume keeps the paper's normalisation ∣det⁡M∣/n!|\det M|/n!∣detM∣/n!. TcT_cTc​ is defined from volumes exactly as on p. 543, not from barycentric coordinates.
  • Readings of loose phrases. "Nonsingular endomorphism" is a linear equivalence. "Span a regular nnn-simplex" means all pairwise distances are equal and positive. "Certain/two positive real numbers r,Rr, Rr,R" is an existential with 0<r0 < r0<r and 0<R0 < R0<R in the conclusion; without them, R/rR/rR/r with r=0r = 0r=0 would be 000 in Lean. The LEMMA keeps the printed equality for (R/r)2(R/r)^2(R/r)2. (15) is two hypotheses on ggg, and (16) is quantified over all x∈Kx \in Kx∈K and all pairs i≠ji \ne ji=j.
  • Generalizations, all harmless. The paper's KKK is a bounded polyhedron and the vjv_jvj​ are vertices; the claim is stated for any convex KKK and any points vj∈Kv_j \in Kvj​∈K, and boundedness of KKK follows from (16). Milestone 1 holds for any set KKK. The LEMMA is stated for any regular simplex, since τ\tauτ plays no role in it.
  • n≥1n \ge 1n≥1 throughout. In the model, the ball of milestone 4 is intersected with the hyperplane ∑jxj=1\sum_j x_j = 1∑j​xj​=1, the paper's Rn\mathbb R^nRn. The full ball of Rn+1\mathbb R^{n+1}Rn+1 is not inside SSS.
  • No trivializing formalization is possible: the hypotheses are satisfiable (checked at n=1n = 1n=1, K=[0,1]K = [0,1]K=[0,1]), the radii are positive, and the sets are computed from the data rather than assumed.
  • Useful infrastructure, reusable beyond this mission: the volume of a simplex with one vertex replaced, as a multiple of a barycentric coordinate; existence and properties of regular simplices in Rn\mathbb R^nRn; the isometric embedding of a regular simplex onto the standard simplex. Contributions of any of these as separate lemmas are welcome.

Selected references

  • H. W. Lenstra, Jr., Integer programming with a fixed number of variables, Mathematics of Operations Research 8(4) (1983) 538–548. https://doi.org/10.1287/moor.8.4.538
  • A. K. Lenstra, H. W. Lenstra, Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Math. Doklady 20 (1979) 191–194.
  • R. Kannan, Minkowski's convex body theorem and integer programming, Mathematics of Operations Research 12(3) (1987) 415–440. https://doi.org/10.1287/moor.12.3.415
  • M. Grötschel, L. Lovász, A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4
7 thms1 active userReviewed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Online Primal-Dual Algorithms for Covering and Packing 3: A Deterministic O(log d log(n/OPT))-Competitive Algorithm for Online Unweighted Set CoverResearch Paper

Motivation

Online set cover is the basic covering problem in which the requests arrive over time. A ground set of elements and a family of sets are known in advance, but which elements must be covered is revealed one element at a time, and each arriving element has to be covered at once by a set chosen irrevocably. The problem models resource placement under unknown demand (facilities, servers, sensors that must serve clients as they appear) and is the prototype for a family of online covering problems.

Alon, Awerbuch, Azar, Buchbinder and Naor (SIAM J. Comput. 2009) gave the first deterministic algorithm, with competitive ratio O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn) for nnn elements and mmm sets, and showed that no deterministic algorithm does better than Ω(log⁡mlog⁡n/(log⁡log⁡m+log⁡log⁡n))\Omega(\log m\log n/(\log\log m+\log\log n))Ω(logmlogn/(loglogm+loglogn)) on some instances. Buchbinder and Naor (Math. Oper. Res. 2009) recast the fractional part of that algorithm as an instance of a general online primal-dual scheme for covering and packing linear programs, and turned an offline pessimistic estimator of Srinivasan into an online potential function. The result, in their Section 5.1, is a deterministic algorithm whose ratio O(log⁡dlog⁡(n/OPT))O(\log d\log(n/OPT))O(logdlog(n/OPT)) depends on the maximum element frequency ddd instead of the number of sets mmm, and on the ratio n/OPTn/OPTn/OPT instead of nnn.

Timeline:

  • 2003 (conference), 2009 (journal): Alon et al., deterministic O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn) for unweighted online set cover, with a potential ∑j∉Cn2wj\sum_{j\notin C} n^{2w_j}∑j∈/C​n2wj​.
  • 2005 (conference), 2009 (journal): Buchbinder and Naor, the general online fractional covering/packing scheme, and the derandomized rounding of this mission.

Setting

A set-cover instance consists of a finite ground set XXX of nnn elements and a finite family S\mathcal SS of mmm sets. For an element eee, Se\mathcal S_eSe​ is the collection of sets containing eee, and ddd bounds its size: ∣Se∣≤d|\mathcal S_e|\le d∣Se​∣≤d for every eee (the frequency). In the unweighted problem every set costs 111.

Elements arrive in a list σ\sigmaσ. The algorithm maintains:

  • fractional weights w(s)≥0w(s)\ge 0w(s)≥0 for the sets, produced by the paper's Section 3 scheme with {0,1}\{0,1\}{0,1} coefficients: when an element eee arrives that is not yet fractionally covered (∑s∈Sew(s)<1\sum_{s\in\mathcal S_e}w(s)<1∑s∈Se​​w(s)<1), its dual variable y(e)y(e)y(e) is raised to the least value at which
w(s)=max⁡{w(s), 1d(exp⁡(B2c(s)∑k: s∋eky(ek))−1)}(s∋e)w(s)=\max\Big\{w(s),\ \tfrac1d\Big(\exp\Big(\tfrac{B}{2c(s)}\textstyle\sum_{k:\ s\ni e_k}y(e_k)\Big)-1\Big)\Big\}\qquad(s\ni e)w(s)=max{w(s), d1​(exp(2c(s)B​∑k: s∋ek​​y(ek​))−1)}(s∋e)

gives ∑s∈Sew(s)≥1\sum_{s\in\mathcal S_e}w(s)\ge 1∑s∈Se​​w(s)≥1; here B>0B>0B>0 is a parameter;

  • a cover C⊆S\mathcal C\subseteq\mathcal SC⊆S that only grows; CCC is the set of elements covered by C\mathcal CC.

With f(e)=min⁡{1,exp⁡(−α+α∑s∋ew(s))}f(e)=\min\{1,\exp(-\alpha+\alpha\sum_{s\ni e}w(s))\}f(e)=min{1,exp(−α+α∑s∋e​w(s))}, the potential is Φ=Φ1+Φ2\Phi=\Phi_1+\Phi_2Φ=Φ1​+Φ2​ with

Φ1=1−∏e∈X∖C(1−f(e)),Φ2=exp⁡(∑s∈S((ln⁡2)χC(s)−αw(s))−OPT),\Phi_1=1-\prod_{e\in X\setminus C}\big(1-f(e)\big),\qquad \Phi_2=\exp\Big(\sum_{s\in\mathcal S}\big((\ln 2)\chi_{\mathcal C}(s)-\alpha w(s)\big)-OPT\Big),Φ1​=1−e∈X∖C∏​(1−f(e)),Φ2​=exp(s∈S∑​((ln2)χC​(s)−αw(s))−OPT),

where OPTOPTOPT is the optimum number of sets covering the arrived elements, assumed known, r=eln⁡(e/(e−1))r=e\ln(e/(e-1))r=eln(e/(e−1)) and α=max⁡{1,ln⁡(rn/OPT)}\alpha=\max\{1,\ln(rn/OPT)\}α=max{1,ln(rn/OPT)}. The rounding rule: each time the weight of a set sss is augmented, sss is added to C\mathcal CC if this does not increase Φ\PhiΦ.

Formalization targets

Goal: Lemma 5.2

Every arriving element is covered by C\mathcal CC, and at every time

∣C∣ ≤ (2αln⁡(1+d)+1) OPTln⁡2,α=max⁡{1,ln⁡rnOPT}.|\mathcal C|\ \le\ \frac{\big(2\alpha\ln(1+d)+1\big)\,OPT}{\ln 2},\qquad \alpha=\max\Big\{1,\ln\frac{rn}{OPT}\Big\}.∣C∣ ≤ ln2(2αln(1+d)+1)OPT​,α=max{1,lnOPTrn​}.

This is the paper's OPT⋅O(log⁡dlog⁡(n/OPT))OPT\cdot O(\log d\log(n/OPT))OPT⋅O(logdlog(n/OPT)) with the constant its proof gives.

Milestones

  1. Theorem 3.2 (covering half): for every B>0B>0B>0, the {0,1}\{0,1\}{0,1} scheme with frequency bound ℓ\ellℓ yields a fractional cover of cost at most 2ln⁡(1+ℓ)2\ln(1+\ell)2ln(1+ℓ) times that of any fractional cover.
  2. Lemma 5.1 (i): initially Φ≤1\Phi\le 1Φ≤1; Φ>0\Phi>0Φ>0 in every state.
  3. Lemma 5.1 (ii): after the weight of a set is augmented by δ≥0\delta\ge0δ≥0, taking the set or excluding it leaves Φ\PhiΦ no larger than before.

Significance

The bound improves Alon et al.'s O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn) whenever sets are many but each element lies in few of them (d≪md\ll md≪m), and whenever the optimum is large compared with nnn. It also shows that the fractional part and the rounding part of an online covering algorithm can be designed separately: any online fractional solution with a competitive guarantee can be rounded deterministically by an online potential function. The same method gives the routing result of Section 5.2 of the paper.

As far as is known, none of these results is machine-checked. Related formal work on the platform covers Alon et al.'s algorithm and its O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn) bound (a different potential and a different fractional update), and the general covering scheme of Buchbinder and Naor's monograph; neither states Lemma 5.1 or Lemma 5.2, nor Theorem 3.2 for the {0,1}\{0,1\}{0,1} scheme with ℓ\ellℓ in place of nnn. A complete development here would give a verified derandomized rounding argument, reusable for other online covering problems.

Difficulty

The difficulty is not in the final inequality, which follows from Φ2≤1\Phi_2\le1Φ2​≤1 in one line, but in keeping Φ≤1\Phi\le1Φ≤1 throughout. The decision to take a set must be made with no knowledge of future elements, and the potential has to account for elements that may never arrive: Φ1\Phi_1Φ1​ ranges over the whole ground set. Lemma 5.1 (ii) asks that, for every current state, one of the two decisions does not increase a non-linear function of all uncovered elements at once and this must hold for every state, not only for the states a particular run reaches. On the fractional side, Theorem 3.2 is only asserted, "along the same lines" as Theorem 3.1, so its constant has to be re-derived with ℓ\ellℓ in place of nnn and with the scheme's continuous increase made discrete.

A tempting shortcut is to bound ∣C∣|\mathcal C|∣C∣ by the number of rounds or by ∑sw(s)\sum_s w(s)∑s​w(s) directly; neither gives a logarithmic factor in n/OPTn/OPTn/OPT, which comes only from the choice of α\alphaα in Φ\PhiΦ.

Formalization scope

The instance is the published OnlinePrimalDual.OnlineSetCover.SetCoverInstance (elements E, set indices T, incidence elemSets, positive costs c), with elementWeight and coveredBy. Unit costs are the hypothesis ∀ s, inst.c s = 1 in Lemma 5.2; Theorem 3.2 is stated for general positive costs. Logarithms are natural (Real.log), because they invert Real.exp.

Committed conventions:

  • The fractional scheme is the discrete form of the continuous increase: in each round y(e)y(e)y(e) is the least t≥0t\ge0t≥0 (an sInf) at which the new constraint holds. Arrival lists may repeat elements; an element already covered changes nothing.
  • The rounding treats each set's increase within a round as one augmentation; the augmented sets are processed one at a time in the order of a list ord containing every set, and a set is added when Φ(w+δs1s,C∪{s})≤Φ(w,C)\Phi(w+\delta_s\mathbf 1_s,\mathcal C\cup\{s\})\le\Phi(w,\mathcal C)Φ(w+δs​1s​,C∪{s})≤Φ(w,C). Lemma 5.2 holds for every order.
  • The algorithm is a function, so every run exists.
  • OPTOPTOPT is a natural number ≥1\ge1≥1 bounding the size of some cover of the arrived elements; d≥1d\ge1d≥1 bounds the frequency of every element. At the true optimum and the maximum frequency this is the paper's statement.
  • Explicit constants replacing O(⋅)O(\cdot)O(⋅): Theorem 3.2's O(log⁡ℓ)O(\log\ell)O(logℓ) is 2ln⁡(1+ℓ)2\ln(1+\ell)2ln(1+ℓ); Lemma 5.2's OPT⋅O(log⁡dlog⁡(n/OPT))OPT\cdot O(\log d\log(n/OPT))OPT⋅O(logdlog(n/OPT)) is (2αln⁡(1+d)+1) OPT/ln⁡2(2\alpha\ln(1+d)+1)\,OPT/\ln2(2αln(1+d)+1)OPT/ln2 with α=max⁡{1,ln⁡(rn/OPT)}\alpha=\max\{1,\ln(rn/OPT)\}α=max{1,ln(rn/OPT)}.
  • The proof of Lemma 5.1 (i) on p. 13 prints ddd where rrr is meant ("exp⁡(−dne−α)\exp(-dne^{-\alpha})exp(−dne−α)", "α≥ln⁡(dn/OPT)\alpha\ge\ln(dn/OPT)α≥ln(dn/OPT)"); the statement uses rrr, and rrr is printed "eln⁡(e/e−1)e\ln(e/e-1)eln(e/e−1)" for eln⁡(e/(e−1))e\ln(e/(e-1))eln(e/(e−1)).

Not in scope: the packing half of Theorem 3.2, Theorem 3.1 for general coefficients, and the doubling wrapper of p. 12 that removes the assumption that OPTOPTOPT is known. The guarantee is for the algorithm run with the stated α\alphaα; a formalization in which Φ\PhiΦ's product ranges only over arrived elements, or in which the weights or the chosen family are free variables constrained by hypotheses instead of being produced by the algorithm (OPTOPTOPT is an input of the algorithm, as the page assumes it known), would be a different and weaker statement and is ruled out.

Contributions welcome: proofs of the three milestones and of the goal, and general lemmas about the fractional round (attainment of the least ttt, monotonicity of the weights) that other online covering missions can reuse.

Selected references

  • N. Buchbinder, J. Naor, Online Primal-Dual Algorithms for Covering and Packing, Mathematics of Operations Research 34(2), 2009. https://doi.org/10.1287/moor.1080.0363
  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The Online Set Cover Problem, SIAM Journal on Computing 39(2), 2009. https://doi.org/10.1137/060661946
  • A. Srinivasan, Improved approximation guarantees for packing and covering integer programs, SIAM Journal on Computing 29(2), 1999. https://doi.org/10.1137/S0097539796314240
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal-Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3), 2009. https://doi.org/10.1561/0400000024
10 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management 1: Infrequent Re-solving with Thresholding Has Regret O(1), Uniformly in the Horizon T and the Capacities CResearch Paper

Motivation

Network revenue management decides, in real time, which customer requests to accept when every request consumes a bundle of scarce, perishable resources: seats on several flight legs of an itinerary, room-nights of a multi-night hotel stay, bandwidth on several links. The exact dynamic program is intractable for realistic networks, so practice and theory rely on heuristics built from a deterministic linear program (DLP) that replaces random demand by its mean. The question is how much revenue such heuristics lose.

The classical answer (Gallego and van Ryzin 1994, 1997; Talluri and van Ryzin 1998) is that solving the DLP once and following its solution loses O(T)O(\sqrt T)O(T​) over a horizon of length TTT. Re-solving the DLP as capacity is consumed was long believed to help, and Jasin and Kumar (2012) proved that re-solving in every period has bounded loss if the DLP solution is nondegenerate. Bumpensanti and Wang (arXiv:1802.06192v3) showed that the nondegeneracy condition matters: frequent re-solving can lose Ω(T)\Omega(\sqrt T)Ω(T​) on degenerate instances. They then proposed a policy, Infrequent Re-solving with Thresholding (IRT), whose loss is bounded by a constant independent of the horizon and of the capacities, with no nondegeneracy assumption. This mission formalizes that result.

Setting

There are nnn customer classes j∈[n]j \in [n]j∈[n] and mmm resources l∈[m]l \in [m]l∈[m]. Class-jjj customers arrive as independent Poisson processes of rate λj>0\lambda_j > 0λj​>0 on [0,T][0, T][0,T]. Accepting a class-jjj customer earns rj≥0r_j \ge 0rj​≥0 and consumes alj≥0a_{lj} \ge 0alj​≥0 units of resource lll; A=(alj)A = (a_{lj})A=(alj​) is the bill-of-materials matrix with columns AjA_jAj​, and C∈R≥0mC \in \mathbb R^m_{\ge 0}C∈R≥0m​ is the initial capacity. A customer can be accepted only if Aj≤C′A_j \le C'Aj​≤C′ componentwise, C′C'C′ being the remaining capacity; leftover capacity is worthless at TTT.

The DLP with right-hand side bbb is

max⁡x{∑jrjxj ∣ ∑jAjxj≤b, 0≤xj≤λj},\max_x \Big\{ \sum_j r_j x_j \ \Big|\ \sum_j A_j x_j \le b,\ 0 \le x_j \le \lambda_j \Big\},xmax​{j∑​rj​xj​ ​ j∑​Aj​xj​≤b, 0≤xj​≤λj​},

and vDLP(T,C)v^{\mathrm{DLP}}(T, C)vDLP(T,C) is TTT times its value at b=C/Tb = C/Tb=C/T. The hindsight optimum is vHO(T,C)=E[VHO]v^{\mathrm{HO}}(T, C) = \mathbb E[V^{\mathrm{HO}}]vHO(T,C)=E[VHO], where VHOV^{\mathrm{HO}}VHO is the value of the same LP with capacity CCC and the realized demands Λj(T)∼Poisson(λjT)\Lambda_j(T) \sim \mathrm{Poisson}(\lambda_j T)Λj​(T)∼Poisson(λj​T) as upper bounds. It bounds the expected revenue of every non-anticipating policy, and the regret of a policy π\piπ is vHO−vπv^{\mathrm{HO}} - v^\pivHO−vπ.

A probabilistic allocation on a window accepts each class-jjj arrival with a fixed probability pjp_jpj​ when capacity allows. The IRT policy uses τu=T(5/6)u\tau_u = T^{(5/6)^u}τu​=T(5/6)u and re-solving times tu∗=T−τut^*_u = T - \tau_utu∗​=T−τu​ for u=0,…,Ku = 0, \dots, Ku=0,…,K, where K=⌈log⁡log⁡T/log⁡(6/5)⌉K = \lceil \log\log T / \log(6/5)\rceilK=⌈loglogT/log(6/5)⌉. At tu∗t^*_utu∗​ it solves the DLP with right-hand side C(tu∗)/τuC(t^*_u)/\tau_uC(tu∗​)/τu​ (remaining capacity over remaining time), obtaining xux^uxu. In the epochs u<Ku < Ku<K it accepts class jjj with probability 000 if xju<λjτu−1/4x^u_j < \lambda_j\tau_u^{-1/4}xju​<λj​τu−1/4​, else 111 if xju>λj(1−τu−1/4)x^u_j > \lambda_j(1 - \tau_u^{-1/4})xju​>λj​(1−τu−1/4​), else xju/λjx^u_j/\lambda_jxju​/λj​; in the last epoch [tK∗,T][t^*_K, T][tK∗​,T] it uses xjK/λjx^K_j/\lambda_jxjK​/λj​. The family IRTK′\mathrm{IRT}^{K'}IRTK′ re-solves K′K'K′ times on the same schedule; IRT0\mathrm{IRT}^0IRT0 is static probabilistic allocation (SPA), and HOK′\mathrm{HO}^{K'}HOK′ follows IRTK′\mathrm{IRT}^{K'}IRTK′ until tK′∗t^*_{K'}tK′∗​ and then earns the hindsight optimum of what remains.

Formalization targets

Goal: Theorem 1 (p. 16)

There is a constant M=M(λ,r,A)M = M(\lambda, r, A)M=M(λ,r,A) such that for every horizon T∈{1,2,… }T \in \{1, 2, \dots\}T∈{1,2,…} and every capacity vector C≥0C \ge 0C≥0,

vHO(T,C)−vIRT(T,C)≤M.v^{\mathrm{HO}}(T, C) - v^{\mathrm{IRT}}(T, C) \le M .vHO(T,C)−vIRT(T,C)≤M.

The constant is not fixed; the content is its independence of TTT, of CCC, and of the optimal LP solution chosen at each re-solve.

Milestones

  • vHO≤vDLPv^{\mathrm{HO}} \le v^{\mathrm{DLP}}vHO≤vDLP (Sec. 2.2.2, p. 9).
  • Lemma 4 (p. 37): P(∣X−μ∣≥x)≤2e−x2/(3μ)\mathbb P(|X - \mu| \ge x) \le 2e^{-x^2/(3\mu)}P(∣X−μ∣≥x)≤2e−x2/(3μ) for X∼Poisson(μ)X \sim \mathrm{Poisson}(\mu)X∼Poisson(μ), 0<x≤μ0 < x \le \mu0<x≤μ.
  • Proposition 5 (p. 27): vDLP−vSPA≤MTv^{\mathrm{DLP}} - v^{\mathrm{SPA}} \le M\sqrt TvDLP−vSPA≤MT​, uniformly in CCC.
  • Proposition 1 (p. 16): with one re-solve at T−T5/6T - T^{5/6}T−T5/6,
vHO−vHO1≤MTe−κT1/6,vHO−vIRT1≤MTe−κT1/6+MT5/12.v^{\mathrm{HO}} - v^{\mathrm{HO}^1} \le M T e^{-\kappa T^{1/6}},\qquad v^{\mathrm{HO}} - v^{\mathrm{IRT}^1} \le M T e^{-\kappa T^{1/6}} + M T^{5/12}.vHO−vHO1≤MTe−κT1/6,vHO−vIRT1≤MTe−κT1/6+MT5/12.
  • Eq. (13) (p. 29): for every K′K'K′,
vHO−vIRTK′≤M∑u=0K′−1T(5/6)ue−κT(5/6)u/6+MT(5/6)K′/2.v^{\mathrm{HO}} - v^{\mathrm{IRT}^{K'}} \le M\sum_{u=0}^{K'-1} T^{(5/6)^u} e^{-\kappa T^{(5/6)^u/6}} + M T^{(5/6)^{K'}/2}.vHO−vIRTK′≤Mu=0∑K′−1​T(5/6)ue−κT(5/6)u/6+MT(5/6)K′/2.
  • p. 30: T(5/6)K≤eT^{(5/6)^{K}} \le eT(5/6)K≤e, and the right-hand side of (13) at K′=K(T)K' = K(T)K′=K(T) is bounded uniformly in T≥1T \ge 1T≥1.

Significance

The result separates two design choices in re-solving heuristics: how often to re-solve and how to turn an LP solution into a control. It shows that re-solving only O(log⁡log⁡T)O(\log\log T)O(loglogT) times, combined with rounding nearly-degenerate acceptance probabilities to 000 or 111, is enough for bounded regret, and that the constant is uniform over all capacity-to-horizon ratios, so degenerate DLP solutions, which occur only at particular ratios, cause no loss of order. Since vHO≥v∗v^{\mathrm{HO}} \ge v^*vHO≥v∗, it also shows that the hindsight optimum is within a constant of the optimal policy's value in this model.

The result is proved on paper but not machine-checked. A formalization would produce a reusable Poisson-arrival revenue-management model, a precise account of the regret decomposition over re-solving epochs, and an independent check of a proof with known gaps (see Difficulty). No part of it is formalized on the platform.

Difficulty

The obvious argument compares the policy with the DLP solution and controls the deviation of Poisson demand by its standard deviation; this gives only O(T)O(\sqrt T)O(T​), because the DLP value exceeds the hindsight optimum by order T\sqrt TT​ and the lost sales accumulate. Bounded regret needs a comparison with the hindsight LP, path by path: the acceptances made before the last re-solve must remain extendable to a hindsight-optimal solution with overwhelming probability. This requires LP sensitivity of the hindsight solution to the random right-hand side, uniformly over the degenerate cases, and the printed proof's statement of it (Lemma 5) is false as printed: on a two-class, single-resource instance its interval for zˉ1\bar z_1zˉ1​ is empty. A correct argument needs a proximity bound for optimal LP solutions under a change of the demand bounds, summed over all classes, not only over Jλ={j:xj∗=λj}J_\lambda = \{j : x^*_j = \lambda_j\}Jλ​={j:xj∗​=λj​}. The analysis of the schedule (the sum over epochs in (13)) is elementary but the printed chain of inequalities on p. 30 uses a monotonicity that fails for large arguments.

Formalization scope

All objects are in the definition item ResolvingNRM.IRT.Model. Classes are Fin n, resources Fin m, A : Matrix (Fin m) (Fin n) ℝ. LP values reuse piValue from the published RLPBidPrice.Unbiased.Model; the hindsight LP is over real zzz, as in (3). Expectations are explicit sums of Poisson weights. A window of probabilistic allocation is represented by its Poisson count of arrivals, i.i.d. classes with law λj/∑iλi\lambda_j/\sum_i\lambda_iλj​/∑i​λi​ and independent Bernoulli acceptance coins, the standard representation for controls constant on the window. Policies are backward recursions over the re-solving epochs. Ties in the LP are left open: a policy takes an arbitrary optimal-solution selector, and every theorem quantifies over all selectors after its constants.

Conventions and deviations from the page, each disclosed in the item concerned:

  • Standing assumptions of Sec. 2 (p. 7), left implicit there: λj>0\lambda_j > 0λj​>0, r≥0r \ge 0r≥0, A≥0A \ge 0A≥0, C≥0C \ge 0C≥0.
  • "O(g)O(g)O(g)" is read as: there is MMM, depending only on (λ,r,A)(\lambda, r, A)(λ,r,A), with the bound ≤Mg(T)\le M g(T)≤Mg(T) for all T≥1T \ge 1T≥1 (or T>0T > 0T>0) and all C≥0C \ge 0C≥0.
  • Milestones applied to sub-horizons T(5/6)uT^{(5/6)^u}T(5/6)u take a real TTT; the goal takes T∈NT \in \mathbb NT∈N.
  • Lemma 4 is stated for 0<x≤μ0 < x \le \mu0<x≤μ; as printed (all x>0x > 0x>0) it is false, e.g. μ=1\mu = 1μ=1, x=5x = 5x=5.
  • In Proposition 1 and (13), κ>0\kappa > 0κ>0 is existential and uniform in CCC; the printed κ\kappaκ depends on JλJ_\lambdaJλ​ and is derived through Lemma 5.
  • (13) is stated for every number K′K'K′ of re-solves.
  • Algorithm 3 prints the re-solve right-hand side as C(tk∗)/τkC(t^*_k)/\tau_kC(tk∗​)/τk​; it is read with index uuu.
  • For 1≤T≤e1 \le T \le e1≤T≤e the formula for KKK is undefined or negative; the formalization takes K=0K = 0K=0, so IRT is SPA there.
  • The optimal policy value v∗v^*v∗ and the paper's constant α\alphaα are not defined; Lemmas 5 and 6 are not stated.

A statement that lets MMM depend on TTT or CCC, compares IRT with the DLP instead of the hindsight optimum, uses a fixed number of re-solves, or assumes a nondegenerate or vertex LP solution is trivial or a different theorem, and is ruled out by the quantifier order of the goal. The milestone T(5/6)K≤eT^{(5/6)^K} \le eT(5/6)K≤e has a sorry-free local check.

Welcome contributions: LP proximity results (Cook–Gerards–Schrijver–Tardos type), Poisson concentration, superposition and thinning of Poisson processes, and lemmas on expectations of LP values. The source is arXiv:1802.06192v3; its printed page numbers equal the PDF page numbers.

Selected references

  • P. Bumpensanti, H. Wang, A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management, arXiv:1802.06192v3, 2018; Management Science 66(7), 2020. https://arxiv.org/abs/1802.06192
  • S. Jasin, S. Kumar, A Re-Solving Heuristic with Bounded Revenue Loss for Network Revenue Management with Customer Choice, Mathematics of Operations Research 37(2), 2012. https://doi.org/10.1287/moor.1110.0530
  • G. Gallego, G. van Ryzin, A Multiproduct Dynamic Pricing Problem and Its Applications to Network Yield Management, Operations Research 45(1), 1997. https://doi.org/10.1287/opre.45.1.24
  • K. Talluri, G. van Ryzin, An Analysis of Bid-Price Controls for Network Revenue Management, Management Science 44(11), 1998. https://doi.org/10.1287/mnsc.44.11.1577
  • M. Reiman, Q. Wang, An Asymptotically Optimal Policy for a Quantity-Based Network Revenue Management Problem, Mathematics of Operations Research 33(2), 2008. https://doi.org/10.1287/moor.1070.0288
  • W. Cook, A. M. H. Gerards, A. Schrijver, É. Tardos, Sensitivity Theorems in Integer Linear Programming, Mathematical Programming 34, 1986. https://doi.org/10.1007/BF01582230
10 thms1 active userReviewed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

Online Primal-Dual Algorithms for Covering and Packing 4: Online Rounding of the Fractional Routing Scheme Respects Capacities and Is O(log P(max)·[exp(1 + 2 ln m/u(min)) − 1])-CompetitiveResearch Paper

Motivation

In online routing of virtual circuits, connection requests between pairs of nodes of a capacitated network arrive one at a time. Each request must be accepted and routed on a single path with bandwidth 111, or rejected, immediately and irrevocably, and no edge may carry more than its capacity. The goal is to maximize the number of accepted requests (the throughput). The model goes back to Awerbuch, Azar and Plotkin (FOCS 1993), whose deterministic algorithm has a logarithmic competitive ratio when edge capacities are at least logarithmic in the size of the network, and it underlies the analysis of admission control in circuit-switched and bandwidth-reserved networks.

Buchbinder and Naor (Math. Oper. Res. 2009) recover an algorithm with the same competitive factor from a general recipe: an online primal–dual scheme first produces a feasible fractional routing online, and an online version of Raghavan's pessimistic estimator (J. Comput. Syst. Sci. 1988) then rounds it, also online. This mission formalizes that construction and its guarantee (Section 5.2 of the paper, with the Section 3 scheme it uses).

Timeline:

  • 1987–1988: Raghavan and Thompson introduce randomized rounding for multicommodity flow; Raghavan derandomizes it with pessimistic estimators.
  • 1993: Awerbuch, Azar and Plotkin give the deterministic throughput-competitive online routing algorithm.
  • 2005–2009: Buchbinder and Naor's primal–dual framework (ESA 2005; MOR 2009) derives an algorithm with the same factor systematically.

Setting

Let EEE be a finite set of mmm edges with capacities u(e)>0u(e) > 0u(e)>0, and u(min⁡)=min⁡eu(e)u(\min) = \min_e u(e)u(min)=mine​u(e). Requests r1,r2,…r_1, r_2, \dotsr1​,r2​,… arrive online; request rir_iri​ comes with a finite list P(ri)\mathcal P(r_i)P(ri​) of admissible paths, each a set of edges, all of size at most P(max⁡)P(\max)P(max).

A fractional routing assigns flows f(ri,P)≥0f(r_i, P) \ge 0f(ri​,P)≥0; it is feasible when ∑P∈P(ri)f(ri,P)≤1\sum_{P \in \mathcal P(r_i)} f(r_i, P) \le 1∑P∈P(ri​)​f(ri​,P)≤1 for every request and the load ∑ri∑P∋ef(ri,P)\sum_{r_i}\sum_{P \ni e} f(r_i, P)∑ri​​∑P∋e​f(ri​,P) of every edge is at most u(e)u(e)u(e). Its value is val(f)=∑ri∑Pf(ri,P)\mathrm{val}(f) = \sum_{r_i}\sum_P f(r_i, P)val(f)=∑ri​​∑P​f(ri​,P); OPT\mathrm{OPT}OPT is the largest value of a feasible routing of the arrived requests, an upper bound on the integral optimum.

The fractional scheme. The covering LP paired with the routing LP (the paper's primal, Fig. 3) has variables x(e)x(e)x(e) (cost u(e)u(e)u(e)) and Z(ri)Z(r_i)Z(ri​) (cost 111) with constraints ∑e∈Px(e)+Z(ri)≥1\sum_{e \in P} x(e) + Z(r_i) \ge 1∑e∈P​x(e)+Z(ri​)≥1. When rir_iri​ arrives, its paths are visited in order; for each path whose constraint fails, f(ri,P)f(r_i,P)f(ri​,P) is raised from 000 to the least value restoring it, while x(e)=max⁡(x(e),1ℓ(eB′Fe/(2u(e))−1))x(e) = \max\big(x(e), \tfrac1\ell(e^{B' F_e/(2u(e))}-1)\big)x(e)=max(x(e),ℓ1​(eB′Fe​/(2u(e))−1)) for e∈Pe \in Pe∈P and Z(ri)=max⁡(Z(ri),1ℓ(eB′f(ri)/2−1))Z(r_i) = \max\big(Z(r_i), \tfrac1\ell(e^{B' f(r_i)/2}-1)\big)Z(ri​)=max(Z(ri​),ℓ1​(eB′f(ri​)/2−1)) follow the flow (FeF_eFe​ the load of eee, f(ri)f(r_i)f(ri​) the flow of rir_iri​). The parameters are ℓ=P(max⁡)+1\ell = P(\max)+1ℓ=P(max)+1 and B′=2ln⁡(1+ℓ)B' = 2\ln(1+\ell)B′=2ln(1+ℓ).

The rounding. With the rounding scale B=exp⁡(1+ln⁡(2m)/u(min⁡))−1B = \exp(1 + \ln(2m)/u(\min)) - 1B=exp(1+ln(2m)/u(min))−1, the integral edge usage χ(e)\chi(e)χ(e) and the number sss of served requests, the potential is Φ=Φ1+Φ2\Phi = \Phi_1 + \Phi_2Φ=Φ1​+Φ2​,

Φ1=12exp⁡(val(f)2B−sln⁡2),Φ2=12m∑eexp⁡((1+ln⁡2mu(e))χ(e)−Fe).\Phi_1 = \tfrac12\exp\Big(\frac{\mathrm{val}(f)}{2B} - s\ln 2\Big), \qquad \Phi_2 = \frac1{2m}\sum_{e}\exp\Big(\Big(1+\frac{\ln 2m}{u(e)}\Big)\chi(e) - F_e\Big).Φ1​=21​exp(2Bval(f)​−sln2),Φ2​=2m1​e∑​exp((1+u(e)ln2m​)χ(e)−Fe​).

After the fractional round of rir_iri​, the algorithm serves rir_iri​ on a path P∈P(ri)P \in \mathcal P(r_i)P∈P(ri​) (adding 111 to χ(e)\chi(e)χ(e) for e∈Pe \in Pe∈P) if this gives potential at most the potential Φstart\Phi^{\mathrm{start}}Φstart before the round; otherwise it rejects rir_iri​.

Formalization targets

Goal: Lemma 5.4

For every request sequence, the algorithm never exceeds a capacity, and for every feasible fractional routing fff,

χ(e)≤u(e)  ∀e,∑riχ(ri) ≥ val(f)4Bln⁡2⋅ln⁡(P(max⁡)+2)−1.\chi(e) \le u(e)\ \ \forall e, \qquad \sum_{r_i}\chi(r_i) \ \ge\ \frac{\mathrm{val}(f)}{4B\ln 2\cdot\ln(P(\max)+2)} - 1 .χ(e)≤u(e)  ∀e,ri​∑​χ(ri​) ≥ 4Bln2⋅ln(P(max)+2)val(f)​−1.

Milestone: Theorem 3.2 (packing half, on routing)

The fractional scheme's flows falgf^{\mathrm{alg}}falg are feasible and val(f)≤2ln⁡(P(max⁡)+2) val(falg)\mathrm{val}(f) \le 2\ln(P(\max)+2)\,\mathrm{val}(f^{\mathrm{alg}})val(f)≤2ln(P(max)+2)val(falg) for every feasible fff.

Milestone: Lemma 5.3

Φ≤1\Phi \le 1Φ≤1 initially, Φ>0\Phi > 0Φ>0 always, and whenever the flows of a request are raised by a non-negative amount of total at most 111, serving the request on some path or rejecting it does not increase Φ\PhiΦ.

Significance

The result shows that a deterministic online algorithm for throughput-competitive routing, previously designed by hand, falls out of two generic components: an online fractional packing scheme and an online pessimistic estimator. A side product is that the fractional phase alone produces, online, a near-optimal routing that respects all capacities exactly, independently of their size. When u(min⁡)≥log⁡nu(\min) \ge \log nu(min)≥logn the rounding loses only a constant factor and the algorithm is O(log⁡P(max⁡))O(\log P(\max))O(logP(max))-competitive, as in Awerbuch–Azar–Plotkin.

The results are proved in the paper; none is machine-checked. A formalization supplies a checked instance of the online primal–dual method together with derandomized online rounding, and fixes the constants the paper leaves inside O(⋅)O(\cdot)O(⋅). Related platform content: the monograph's OnlinePrimalDual.Routing.per_copy_guarantee and routing_competitive concern the Buchbinder–Naor (1,O(log⁡n))(1, O(\log n))(1,O(logn))-competitive algorithm with copies of the graph, a different scheme.

Difficulty

The fractional guarantee is argued in the paper continuously (rates of change of the primal and dual values), while the scheme as formalized is discrete: each flow is the least value restoring a constraint, and every primal variable is a maximum whose branch may switch during the increase. The continuous argument does not transfer verbatim, and feasibility depends on the least value restoring the constraint with equality.

The rounding is a derandomization. The existence of a good path or a good rejection is established in the paper as an expectation over a random trial; a deterministic statement about finitely many alternatives is what the mission asks for, with all m+1m+1m+1 exponential terms of Φ\PhiΦ under control at once. A frequent first attempt compares with the potential after the fractional round; the rule compares with Φstart\Phi^{\mathrm{start}}Φstart, before the flow increase, and the guarantee is stated for that comparison.

Formalization scope

  • Edges are a non-empty Fintype E; capacities are real and positive. A request is a List (Finset E) of paths; the request sequence is a list. Simple paths of a graph are a special case; nothing in the argument uses graph structure. P(max⁡)P(\max)P(max) is a parameter with every path of size at most P(max⁡)P(\max)P(max).
  • A routing is a List (List ℝ) of the shape of the request sequence. OPT\mathrm{OPT}OPT is quantified as "every feasible fractional routing".
  • The continuous increase is its discrete equivalent (an attained sInf). Ties among good paths are broken by list order; only paths that received flow in the current round are candidates for serving, so a request whose flow was not increased is rejected.
  • Explicit constants replacing O(⋅)O(\cdot)O(⋅): Theorem 3.2's O(log⁡ℓ)O(\log \ell)O(logℓ) becomes 2ln⁡(1+ℓ)=2ln⁡(P(max⁡)+2)2\ln(1+\ell) = 2\ln(P(\max)+2)2ln(1+ℓ)=2ln(P(max)+2); Lemma 5.4's O(log⁡P(max⁡)⋅[exp⁡(1+2ln⁡m/u(min⁡))−1])O(\log P(\max)\cdot[\exp(1+2\ln m/u(\min))-1])O(logP(max)⋅[exp(1+2lnm/u(min))−1]) becomes 4Bln⁡2⋅ln⁡(P(max⁡)+2)4B\ln 2\cdot\ln(P(\max)+2)4Bln2⋅ln(P(max)+2) with additive −1-1−1, where B=exp⁡(1+ln⁡(2m)/u(min⁡))−1B = \exp(1+\ln(2m)/u(\min))-1B=exp(1+ln(2m)/u(min))−1 is the scale chosen on p. 15. The printed "2ln⁡m2\ln m2lnm" differs from the proof's "ln⁡2m\ln 2mln2m"; the proof's constant is used (it is at least as strong for m≥2m \ge 2m≥2). All logarithms are natural.
  • The algorithm is a fully specified function: a formalization in which requests are never served, or OPT\mathrm{OPT}OPT is a free variable pinned by hypotheses, would trivialize the goal and is ruled out.
  • Not included: the covering half of Theorem 3.2, and the remark on u(min⁡)≥log⁡nu(\min) \ge \log nu(min)≥logn.

Contributions welcome: proofs of the milestones, a reusable lemma "convex combination ≤\le≤ value ⇒\Rightarrow⇒ some outcome ≤\le≤ value" for derandomization, and the discrete-to-continuous bridge for the Section 3 scheme.

Selected references

  • N. Buchbinder, J. Naor, Online Primal-Dual Algorithms for Covering and Packing, Mathematics of Operations Research, 2009. https://doi.org/10.1287/moor.1080.0363
  • B. Awerbuch, Y. Azar, S. Plotkin, Throughput-Competitive On-Line Routing, Proc. 34th FOCS, pp. 32–40, 1993. https://doi.org/10.1109/SFCS.1993.366884
  • P. Raghavan, Probabilistic construction of deterministic algorithms: approximating packing integer programs, J. Comput. Syst. Sci. 37(2), 1988. https://doi.org/10.1016/0022-0000(88)90003-7
  • P. Raghavan, C. D. Thompson, Randomized rounding: a technique for provably good algorithms and algorithmic proofs, Combinatorica 7(4), 1987. https://doi.org/10.1007/BF02579324
7 thms1 active userReviewed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

Online Primal-Dual Algorithms for Covering and Packing 1: The Online Fractional Packing Scheme Is B-Competitive and Violates Each Packing Constraint by at Most 2 log(1 + n·a_i(max)/a_i(min))/BResearch Paper

Motivation

Many resource-allocation problems arrive one request at a time and must be answered immediately: a bandwidth request is admitted or refused when it appears, an advertiser's budget is charged when a query arrives, a job is accepted before later jobs are seen. Their linear-programming relaxations are packing problems: maximize a total profit subject to capacity constraints, where the variables are revealed online and each must be set irrevocably when it is revealed. A standard yardstick for such an online algorithm is its competitive ratio, the worst-case ratio between the offline optimum and the algorithm's value.

Buchbinder and Naor (Math. Oper. Res. 2009) gave a single online primal-dual scheme for the general online fractional packing problem, together with a matching scheme for covering. The scheme raises the newly revealed packing variable while increasing the dual covering variables along an exponential curve, and its analysis is a short primal-dual argument. Earlier online algorithms for throughput-competitive routing and for set cover (Alon et al. 2009) can be read as instances of it, and the same template later became the basis of a monograph on the primal-dual approach to online algorithms (Buchbinder, Naor 2009).

This mission formalizes the paper's headline result, Theorem 3.1, for the scheme exactly as the paper defines it.

Setting

Fix a finite set III of n≥1n\ge1n≥1 packing constraints (equivalently, primal covering variables), with known capacities c(i)>0c(i)>0c(i)>0. Packing variables y(1),…,y(m)y(1),\dots,y(m)y(1),…,y(m) arrive one per round; in round jjj the variable y(j)y(j)y(j) is revealed together with its non-negative column a(i,j)a(i,j)a(i,j), i∈Ii\in Ii∈I. The offline problems form the primal-dual pair of Figure 1 of the paper:

(P) min⁡∑ic(i)x(i)  s.t. ∑ia(i,j)x(i)≥1 ∀j, x≥0;(D) max⁡∑jy(j)  s.t. ∑ja(i,j)y(j)≤c(i) ∀i, y≥0.\text{(P)}\ \min\sum_i c(i)x(i)\ \text{ s.t. } \sum_i a(i,j)x(i)\ge1\ \forall j,\ x\ge0;\qquad \text{(D)}\ \max\sum_j y(j)\ \text{ s.t. } \sum_j a(i,j)y(j)\le c(i)\ \forall i,\ y\ge0.(P) mini∑​c(i)x(i)  s.t. i∑​a(i,j)x(i)≥1 ∀j, x≥0;(D) maxj∑​y(j)  s.t. j∑​a(i,j)y(j)≤c(i) ∀i, y≥0.

The profit of every y(j)y(j)y(j) is normalized to 111. Every column is assumed to have a positive entry; otherwise the packing problem is unbounded. An online algorithm may set y(j)y(j)y(j) only in round jjj and never changes it later.

The scheme with parameter B>0B>0B>0 keeps a primal vector xxx (initially 000) and the dual vector yyy. In round jjj it computes the prefix maximum ai(max⁡)=max⁡k≤ja(i,k)a_i(\max)=\max_{k\le j}a(i,k)ai​(max)=maxk≤j​a(i,k). If the new covering constraint ∑ia(i,j)x(i)≥1\sum_i a(i,j)x(i)\ge1∑i​a(i,j)x(i)≥1 already holds, it sets y(j)=0y(j)=0y(j)=0. Otherwise it sets y(j)y(j)y(j) to the least t≥0t\ge0t≥0 at which the constraint holds after every x(i)x(i)x(i) is replaced by

max⁡{x(i), 1n ai(max⁡)[exp⁡(B2c(i)∑k=1ja(i,k)y(k))−1]},y(j)=t.\max\Big\{x(i),\ \frac{1}{n\,a_i(\max)}\Big[\exp\Big(\frac{B}{2c(i)}\sum_{k=1}^{j}a(i,k)y(k)\Big)-1\Big]\Big\},\qquad y(j)=t.max{x(i), nai​(max)1​[exp(2c(i)B​k=1∑j​a(i,k)y(k))−1]},y(j)=t.

After rrr rounds, X(r)=∑ic(i)x(i)X(r)=\sum_i c(i)x(i)X(r)=∑i​c(i)x(i) is the primal value and Y(r)=∑k≤ry(k)Y(r)=\sum_{k\le r}y(k)Y(r)=∑k≤r​y(k) the dual value. For the analysis, ai(max⁡)a_i(\max)ai​(max) and ai(min⁡)a_i(\min)ai​(min) also denote the largest and the smallest non-zero coefficient of row iii over all mmm columns.

Formalization targets

Goal: Theorem 3.1

For every B>0B>0B>0, the scheme's dual solution is non-negative; after every round rrr, every non-negative y′y'y′ that satisfies the packing constraints restricted to the first rrr columns has ∑k≤ry′(k)≤B Y(r)\sum_{k\le r}y'(k)\le B\,Y(r)∑k≤r​y′(k)≤BY(r) (the scheme is BBB-competitive); and after all mmm rounds, for every iii,

∑k=1ma(i,k) y(k) ≤ c(i)⋅2log⁡(1+n ai(max⁡)/ai(min⁡))B.\sum_{k=1}^{m}a(i,k)\,y(k)\ \le\ c(i)\cdot\frac{2\log\big(1+n\,a_i(\max)/a_i(\min)\big)}{B}.k=1∑m​a(i,k)y(k) ≤ c(i)⋅B2log(1+nai​(max)/ai​(min))​.

The paper states the second part as c(i)⋅O((log⁡n+log⁡(ai(max⁡)/ai(min⁡)))/B)c(i)\cdot O\big((\log n+\log(a_i(\max)/a_i(\min)))/B\big)c(i)⋅O((logn+log(ai​(max)/ai​(min)))/B); the bound above is the one its proof establishes.

Milestones: the three claims of the proof

  1. Claim (i): X(r)≤B⋅Y(r)X(r)\le B\cdot Y(r)X(r)≤B⋅Y(r) after every round rrr.
  2. Claim (ii): after every round, x≥0x\ge0x≥0 and xxx satisfies every covering constraint revealed so far; no x(i)x(i)x(i) ever decreases.
  3. Claim (iii): the violation bound of the goal.

Significance

Theorem 3.1 says that a solution within factor BBB of the optimum can be maintained online at the price of overloading each packing constraint by a factor of order (log⁡n+log⁡(amax⁡/amin⁡))/B(\log n+\log(a_{\max}/a_{\min}))/B(logn+log(amax​/amin​))/B. Scaling the output down by the overload gives a feasible online packing solution with competitive ratio O(log⁡n+log⁡(amax⁡/amin⁡))O(\log n+\log(a_{\max}/a_{\min}))O(logn+log(amax​/amin​)), and Lemma 3.1 of the paper shows that no online algorithm does better up to constant factors. The same trade-off underlies the paper's online rounding results for routing (§5.2) and, through the covering counterpart, for set cover (§5.1).

The result is proved in the paper. As far as the platform's record shows, it is not formalized: the published OnlinePrimalDual.GeneralPacking.theorem14_1 (a restatement of the monograph's version) takes the inequality X≤BYX\le BYX≤BY and primal feasibility as hypotheses on arbitrary vectors x,yx,yx,y and derives competitiveness by weak duality; it does not mention the scheme and has no violation bound. The published OnlinePrimalDual.GeneralPacking.lemma14_2 is the matching lower bound (Lemma 3.1) and is not part of this mission. A formalization here would give the first machine-checked guarantee for the scheme itself and a reusable analysis pattern (a potential bound integrated along a monotone path) for the other schemes of the paper.

Difficulty

The paper's argument is a derivative comparison along a continuous process: while y(j)y(j)y(j) rises, ∂X/∂y(j)≤B\partial X/\partial y(j)\le B∂X/∂y(j)≤B. In the discrete formulation each round jumps directly to the least admissible y(j)y(j)y(j), and each x(i)x(i)x(i) is a maximum of its old value and an exponential, so it is continuous but not differentiable where the maximum switches; the comparison must be turned into an integral inequality over [0,y(j)][0,y(j)][0,y(j)] for such functions. The prefix maximum ai(max⁡)a_i(\max)ai​(max) changes between rounds, and the claim that this never lowers or raises the primal value needs an invariant (x(i)x(i)x(i) is always at least the current increment value). The violation bound rests on a second invariant, x(i)≤1/ai(min⁡)x(i)\le1/a_i(\min)x(i)≤1/ai​(min), which holds because y(j)y(j)y(j) is the least admissible value; any formalization that loses minimality (for example by taking an arbitrary admissible ttt) loses claim (iii).

Formalization scope

  • The instance is the published OnlinePrimalDual.GeneralPacking.GeneralInstance I (Fin m) (costs c>0c>0c>0, coefficients a≥0a\ge0a≥0); n=∣I∣n=|I|n=∣I∣ with [Nonempty I]; columns are Fin m, arrive in index order, and are 0-based in Lean, so "the first rrr columns" is (k : ℕ) < r. m≥1m\ge1m≥1 is [NeZero m].
  • ai(max⁡)a_i(\max)ai​(max), ai(min⁡)a_i(\min)ai​(min) over all columns are the published aMax and aMin. For a row with no non-zero coefficient aMin is 000 and both sides of the violation bound are 000.
  • The scheme is a function, stateAfter inst B r. The continuous loop of the paper is replaced by its discrete implementation, which the paper itself prescribes (p. 4): y(j)y(j)y(j) is the least t≥0t\ge0t≥0 restoring the new covering constraint, written as sInf. Every theorem assumes that every column has a positive entry (the paper's standing assumption, p. 4); this makes the infimum attained. If the prefix maximum is 000, Lean's 1/0=01/0=01/0=0 gives increment 000, which agrees with the paper's bracket being 000.
  • Explicit constant. The paper's c(i)⋅O((log⁡n+log⁡(ai(max⁡)/ai(min⁡)))/B)c(i)\cdot O((\log n+\log(a_i(\max)/a_i(\min)))/B)c(i)⋅O((logn+log(ai​(max)/ai​(min)))/B) is instantiated as c(i)⋅2log⁡(1+n ai(max⁡)/ai(min⁡))/Bc(i)\cdot 2\log(1+n\,a_i(\max)/a_i(\min))/Bc(i)⋅2log(1+nai​(max)/ai​(min))/B, from claim (iii) of the proof. Logarithms are natural (Real.log), since they invert Real.exp.
  • BBB-competitiveness is stated against every non-negative feasible packing solution of every prefix of the input, not only at the end.
  • A formalization in which the inequality X≤BYX\le BYX≤BY, primal feasibility, or the bound x(i)≤1/ai(min⁡)x(i)\le1/a_i(\min)x(i)≤1/ai​(min) is assumed rather than derived from the scheme is ruled out: every statement here is about the vectors the scheme computes from the instance.
  • Needed infrastructure: monotonicity and continuity of the per-round primal path, attainment of the infimum, an integral (or mean-value) form of the derivative comparison for maxima of exponentials, and weak duality for finite LPs. The weak-duality step and the per-round integration lemma are reusable for missions 2–4 of this series. Proofs of the milestones, and of helper lemmas such as the invariant x(i)≤1/ai(min⁡)x(i)\le1/a_i(\min)x(i)≤1/ai​(min), are welcome.

Selected references

  • N. Buchbinder, J. Naor, Online Primal-Dual Algorithms for Covering and Packing, Mathematics of Operations Research, 2009. https://doi.org/10.1287/moor.1080.0363
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal-Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3), 2009. https://doi.org/10.1561/0400000024
  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The Online Set Cover Problem, SIAM Journal on Computing 39(2), 2009. https://doi.org/10.1137/060661946
8 thms1 active userReviewed
PreviousPage 5 of 6Next

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