Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

703 completed missions

Missions

421–440 of 703
OpenCompletedAll
🏆Completed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Random Gradient-Free Minimization of Convex Functions II: Random Gradient Descent for Smooth and Strongly Convex ProblemsResearch Paper

Motivation

Many optimization problems in engineering, simulation-based design and machine learning give access to the objective only through its values: the function is computed by a black-box code, and derivatives are unavailable or too expensive to program. Zeroth-order (derivative-free) methods address this setting. Classical derivative-free methods (pattern search, Nelder–Mead, model-based trust regions) come with weak or no global complexity guarantees for convex problems.

Nesterov and Spokoiny (Found. Comput. Math. 17 (2017) 527–566) showed that replacing the gradient by a finite difference along a random Gaussian direction yields methods whose expected complexity is that of the corresponding gradient method multiplied by a factor proportional to the dimension. Their paper is a standard reference for zeroth-order convex optimization and for Gaussian smoothing, and its oracle and analysis are reused in bandit convex optimization, zeroth-order stochastic optimization (e.g. Ghadimi–Lan 2013) and derivative-free reinforcement learning.

This mission concerns Section 5 of the paper: the random gradient method RGμ\mathcal{RG}_\muRGμ​ for smooth convex functions and its linear rate for strongly convex ones.

Setting

Let EEE be a real inner product space of finite dimension nnn, with norm ∥⋅∥\|\cdot\|∥⋅∥. (The paper works with a space carrying an operator B=B∗≻0B = B^* \succ 0B=B∗≻0 and norm ∥x∥=⟨Bx,x⟩1/2\|x\| = \langle Bx, x\rangle^{1/2}∥x∥=⟨Bx,x⟩1/2; choosing ⟨B⋅,⋅⟩\langle B\cdot,\cdot\rangle⟨B⋅,⋅⟩ as the inner product gives exactly this setting, and the dual norm ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​ becomes the norm of the Riesz representative.)

A function f:E→Rf : E \to \mathbb Rf:E→R belongs to C1,1(E)C^{1,1}(E)C1,1(E) with constant L1L_1L1​ if it is differentiable and ∥∇f(x)−∇f(y)∥≤L1∥x−y∥\|\nabla f(x) - \nabla f(y)\| \le L_1\|x - y\|∥∇f(x)−∇f(y)∥≤L1​∥x−y∥ for all x,yx, yx,y. It is strongly convex with parameter τ>0\tau > 0τ>0 if f(y)≥f(x)+⟨∇f(x),y−x⟩+τ2∥y−x∥2f(y) \ge f(x) + \langle \nabla f(x), y - x\rangle + \frac{\tau}{2}\|y-x\|^2f(y)≥f(x)+⟨∇f(x),y−x⟩+2τ​∥y−x∥2 for all x,yx, yx,y.

Let uuu be a standard Gaussian vector of EEE (coordinates in any orthonormal basis are independent N(0,1)N(0,1)N(0,1)). The Gaussian approximation of fff with parameter μ≥0\mu \ge 0μ≥0 is fμ(x)=Euf(x+μu)f_\mu(x) = \mathbb E_u f(x + \mu u)fμ​(x)=Eu​f(x+μu), and the moments are Mp=Eu∥u∥pM_p = \mathbb E_u\|u\|^pMp​=Eu​∥u∥p. The random gradient-free oracle returns, for a sampled direction uuu,

B−1gμ(x)=f(x+μu)−f(x)μ u(μ>0),B−1g0(x)=f′(x,u) u,B^{-1}g_\mu(x) = \frac{f(x+\mu u) - f(x)}{\mu}\, u \quad (\mu > 0), \qquad B^{-1}g_0(x) = f'(x,u)\, u,B−1gμ​(x)=μf(x+μu)−f(x)​u(μ>0),B−1g0​(x)=f′(x,u)u,

and the symmetric oracle is B−1g^μ(x)=f(x+μu)−f(x−μu)2μuB^{-1}\hat g_\mu(x) = \frac{f(x+\mu u) - f(x - \mu u)}{2\mu}uB−1g^​μ​(x)=2μf(x+μu)−f(x−μu)​u.

Consider f∗=min⁡x∈Ef(x)f^* = \min_{x\in E} f(x)f∗=minx∈E​f(x) for a convex f∈C1,1(E)f \in C^{1,1}(E)f∈C1,1(E), assumed solvable with a minimizer x∗x^*x∗, and n≥2n \ge 2n≥2. The random gradient method RGμ\mathcal{RG}_\muRGμ​ (Eq. (54), p. 546) is:

Method RGμ\mathcal{RG}_\muRGμ​: Choose x0∈Ex_0 \in Ex0​∈E. Iteration k≥0k \ge 0k≥0. a). Generate uku_kuk​ and corresponding gμ(xk)g_\mu(x_k)gμ​(xk​). b). Compute xk+1=xk−hB−1gμ(xk)x_{k+1} = x_k - hB^{-1}g_\mu(x_k)xk+1​=xk​−hB−1gμ​(xk​).

The directions u0,u1,…u_0, u_1, \dotsu0​,u1​,… are independent standard Gaussian vectors, and ϕk=Ef(xk)\phi_k = \mathbb E f(x_k)ϕk​=Ef(xk​) (with ϕ0=f(x0)\phi_0 = f(x_0)ϕ0​=f(x0​)).

Formalization targets

Goal: Theorem 8 (p. 546)

With step size h=14(n+4)L1h = \frac{1}{4(n+4)L_1}h=4(n+4)L1​1​ and any μ≥0\mu \ge 0μ≥0, for every N≥0N \ge 0N≥0,

1N+1∑k=0N(ϕk−f∗)≤4(n+4)L1∥x0−x∗∥2N+1+9μ2(n+4)2L125,\frac{1}{N+1}\sum_{k=0}^{N}(\phi_k - f^*) \le \frac{4(n+4)L_1\|x_0-x^*\|^2}{N+1} + \frac{9\mu^2(n+4)^2L_1}{25},N+11​k=0∑N​(ϕk​−f∗)≤N+14(n+4)L1​∥x0​−x∗∥2​+259μ2(n+4)2L1​​,

and, if fff is strongly convex with parameter τ>0\tau > 0τ>0, then with δμ=18μ2(n+4)225τL1\delta_\mu = \frac{18\mu^2(n+4)^2}{25\tau}L_1δμ​=25τ18μ2(n+4)2​L1​,

ϕN−f∗≤12L1[δμ+(1−τ8(n+4)L1)N(∥x0−x∗∥2−δμ)].\phi_N - f^* \le \frac12 L_1\left[\delta_\mu + \left(1 - \frac{\tau}{8(n+4)L_1}\right)^{N}\big(\|x_0-x^*\|^2 - \delta_\mu\big)\right].ϕN​−f∗≤21​L1​[δμ​+(1−8(n+4)L1​τ​)N(∥x0​−x∗∥2−δμ​)].

Both bounds are one theorem with one proof in the paper, so the goal states their conjunction, with every constant as printed.

Milestones

The milestones are the results the paper's proof of Theorem 8 rests on, in attack order:

  1. Lemma 1 (p. 534): Mp≤np/2M_p \le n^{p/2}Mp​≤np/2 for p∈[0,2]p \in [0,2]p∈[0,2] and np/2≤Mp≤(p+n)p/2n^{p/2} \le M_p \le (p+n)^{p/2}np/2≤Mp​≤(p+n)p/2 for p≥2p \ge 2p≥2.
  2. Theorem 3.1, (32) (p. 537): Eu∥g0(x)∥∗2≤(n+4)∥∇f(x)∥∗2\mathbb E_u\|g_0(x)\|_*^2 \le (n+4)\|\nabla f(x)\|_*^2Eu​∥g0​(x)∥∗2​≤(n+4)∥∇f(x)∥∗2​ at a point of differentiability.
  3. Theorem 4.2, (35) (p. 538): Eu∥gμ(x)∥∗2≤μ22L12(n+6)3+2(n+4)∥∇f(x)∥∗2\mathbb E_u\|g_\mu(x)\|_*^2 \le \frac{\mu^2}{2}L_1^2(n+6)^3 + 2(n+4)\|\nabla f(x)\|_*^2Eu​∥gμ​(x)∥∗2​≤2μ2​L12​(n+6)3+2(n+4)∥∇f(x)∥∗2​, and the same with μ28\frac{\mu^2}{8}8μ2​ for g^μ\hat g_\mug^​μ​.
  4. Eq. (21) (pp. 534–535): for μ>0\mu > 0μ>0, fμf_\mufμ​ is differentiable with ∇fμ(x)=EuB−1gμ(x)\nabla f_\mu(x) = \mathbb E_u B^{-1}g_\mu(x)∇fμ​(x)=Eu​B−1gμ​(x).
  5. Eq. (25) (p. 535): Eu⟨∇f(x),u⟩u=∇f(x)\mathbb E_u \langle\nabla f(x), u\rangle u = \nabla f(x)Eu​⟨∇f(x),u⟩u=∇f(x), the μ=0\mu = 0μ=0 counterpart.
  6. Convexity of fμf_\mufμ​ (p. 533) and Eq. (11): f≤fμf \le f_\muf≤fμ​ for convex fff.
  7. Theorem 1, (19) (p. 534): ∣fμ(x)−f(x)∣≤μ22L1n|f_\mu(x) - f(x)| \le \frac{\mu^2}{2}L_1 n∣fμ​(x)−f(x)∣≤2μ2​L1​n.

Significance

The result. Theorem 8 shows that a method using two function values per iteration reaches accuracy ϵ\epsilonϵ on a smooth convex problem in O(nϵL1∥x0−x∗∥2)O(\frac{n}{\epsilon}L_1\|x_0 - x^*\|^2)O(ϵn​L1​∥x0​−x∗∥2) iterations, and in O(nL1τln⁡L1∥x0−x∗∥2ϵ)O(\frac{nL_1}{\tau}\ln\frac{L_1\|x_0-x^*\|^2}{\epsilon})O(τnL1​​lnϵL1​∥x0​−x∗∥2​) iterations under strong convexity, provided μ\muμ is small enough. This is nnn times the complexity of the deterministic gradient method, which is the natural price for replacing an nnn-dimensional gradient by one directional estimate. The strongly convex bound makes explicit the bias floor 12L1δμ\frac12 L_1\delta_\mu21​L1​δμ​ caused by the finite-difference step, and shows that it vanishes for the limiting method RG0\mathcal{RG}_0RG0​.

Formalizing it. The result is proved in the paper; nothing here is open. To our knowledge none of it has a machine-checked proof. A formalization produces a reusable Gaussian-smoothing layer on Mathlib's stdGaussian (moments of the Gaussian norm, differentiation of fμf_\mufμ​ under the integral, variance bounds of random oracles) and a complete expected-complexity proof of a randomized first-order method, in which the probabilistic structure (independent directions, iterates depending only on past directions, tower property) has to be handled explicitly.

Difficulty

The deterministic part of the argument is the textbook analysis of gradient descent. The difficulty is in the Gaussian facts it uses. The obvious bound on the oracle's second moment, E⟨∇f(x),u⟩2∥u∥2≤∥∇f(x)∥2M4≤(n+4)2∥∇f(x)∥2\mathbb E\langle\nabla f(x),u\rangle^2\|u\|^2 \le \|\nabla f(x)\|^2 M_4 \le (n+4)^2\|\nabla f(x)\|^2E⟨∇f(x),u⟩2∥u∥2≤∥∇f(x)∥2M4​≤(n+4)2∥∇f(x)∥2, loses a factor of nnn and would give a quadratic dependence on dimension; the (n+4)(n+4)(n+4) of (32) needs a sharper computation. The moment bounds of Lemma 1 for non-integer ppp and the differentiation under the integral in (21) are measure-theoretic steps that Mathlib does not package. Finally, the step from per-iteration inequalities to bounds on ϕk\phi_kϕk​ requires conditioning on the past directions, which must be set up on a probability space carrying the whole sequence u0,u1,…u_0, u_1, \dotsu0​,u1​,….

Formalization scope

EEE is an arbitrary finite-dimensional real inner product space with MeasurableSpace and BorelSpace, nnn is Module.finrank ℝ E, and ∇f\nabla f∇f is Mathlib's gradient. Expectations over uuu are Bochner integrals against ProbabilityTheory.stdGaussian E. A run of RGμ\mathcal{RG}_\muRGμ​ lives on a probability space (Ω,P)(\Omega, P)(Ω,P): measurable directions uku_kuk​, jointly independent (iIndepFun) with law stdGaussian E, iterates with x0x_0x0​ deterministic and the update holding for every kkk and outcome. ϕk\phi_kϕk​ is ∫ ω, f (x k ω) ∂P. The oracle is defined by cases, with f′(x,u)uf'(x,u)uf′(x,u)u at μ=0\mu = 0μ=0 (f′(x,u)f'(x,u)f′(x,u) the one-sided directional derivative of Eq. (23), a Filter.limUnder, which equals fderiv ℝ f x u for differentiable fff), so the goal covers every μ≥0\mu \ge 0μ≥0 as the paper claims. L1L_1L1​ and τ\tauτ are any constants satisfying the defining inequalities. The standing assumptions of Section 5 (convexity, a global minimizer x∗x^*x∗, n≥2n \ge 2n≥2) and L1>0L_1 > 0L1​>0 are explicit hypotheses; n≥2n \ge 2n≥2 is needed for the constant 9/259/259/25.

A trivializing formalization is ruled out: the oracle is the random finite difference along i.i.d. standard Gaussian directions, not the true gradient (which would be deterministic gradient descent), and every expectation in the statements is of a quantity that is integrable under the stated hypotheses, so no bound holds through a junk value of a non-integrable integral.

A complete development needs Gaussian moment computations in finite dimension, differentiation under the integral sign for fμf_\mufμ​, the variance bounds of the oracles, and a conditional-expectation argument for the iteration. The smoothing layer is reusable for the companion missions on random search for nonsmooth problems and on the accelerated random method, and for other zeroth-order methods. Contributions of any of the milestones, of general Gaussian-integrability lemmas, or of alternative proofs are welcome.

Selected references

  • Yu. Nesterov, V. Spokoiny, Random Gradient-Free Minimization of Convex Functions, Foundations of Computational Mathematics 17(2):527–566, 2017. https://doi.org/10.1007/s10208-015-9296-2
  • S. Ghadimi, G. Lan, Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, SIAM Journal on Optimization 23(4):2341–2368, 2013. https://doi.org/10.1137/120880811
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
14 thms4 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Revenue Management Under the Markov Chain Choice Model IV: Dimension Reduction Recovers a Choice-Based Solution with at Most n+1 Nested Offer SetsResearch Paper

Motivation

In network revenue management a firm sells nnn products that consume mmm capacitated resources over TTT periods, and in each period it chooses which offer set of products to make available. When customers choose among the offered products according to a choice model, the standard planning tool is the choice-based linear program, which assigns a frequency uS≥0u_S\ge 0uS​≥0 to every offer set S⊆NS\subseteq NS⊆N (Liu and van Ryzin 2008). It has 2n2^n2n variables. Its optimal solution is what the firm actually implements: a randomization over offer sets.

For the Markov chain choice model of Blanchet, Gallego and Goyal (2016), Feldman and Topaloglu (2017) show that the choice-based program is equivalent to a reduced linear program with only 2n2n2n variables. The reduced program can be solved directly, but its solution is a pair of vectors (x^,z^)(\hat x,\hat z)(x^,z^), not a randomization over offer sets. This mission formalizes the paper's Section 7, which converts the reduced solution back into a randomization over offer sets: the Dimension Reduction algorithm, and Theorem 9, which says that the algorithm produces at most n+1n+1n+1 offer sets and that these sets are nested.

Setting

Products are indexed by N={1,…,n}N=\{1,\dots,n\}N={1,…,n}. A customer arrives wanting product jjj with probability λj\lambda_jλj​. If the product she visits is offered, she buys it. Otherwise she moves to product iii with probability ρj,i\rho_{j,i}ρj,i​, and leaves without buying with probability 1−∑i∈Nρj,i1-\sum_{i\in N}\rho_{j,i}1−∑i∈N​ρj,i​. Throughout, λj>0\lambda_j>0λj​>0, ρj,i≥0\rho_{j,i}\ge0ρj,i​≥0 and ∑i∈Nρj,i<1\sum_{i\in N}\rho_{j,i}<1∑i∈N​ρj,i​<1 for all j,ij,ij,i.

For an offer set S⊆NS\subseteq NS⊆N, the (Balance) equations

Pj,S+Rj,S=λj+∑i∈Nρi,jRi,S  ∀j∈N,Pj,S=0  ∀j∉S,Rj,S=0  ∀j∈SP_{j,S}+R_{j,S}=\lambda_j+\sum_{i\in N}\rho_{i,j}R_{i,S}\ \ \forall j\in N,\qquad P_{j,S}=0\ \ \forall j\notin S,\qquad R_{j,S}=0\ \ \forall j\in SPj,S​+Rj,S​=λj​+i∈N∑​ρi,j​Ri,S​  ∀j∈N,Pj,S​=0  ∀j∈/S,Rj,S​=0  ∀j∈S

have a unique solution. Pj,SP_{j,S}Pj,S​ is the probability that product jjj is purchased, and Rj,SR_{j,S}Rj,S​ is the expected number of visits to jjj while it is not offered. Write PS=(Pj,S)jP_S=(P_{j,S})_jPS​=(Pj,S​)j​ and RS=(Rj,S)jR_S=(R_{j,S})_jRS​=(Rj,S​)j​.

The set H\mathcal HH consists of all pairs (x,z)∈Rn×Rn(x,z)\in\mathbb R^n\times\mathbb R^n(x,z)∈Rn×Rn with x,z≥0x,z\ge0x,z≥0 and xj+zj=λj+∑iρi,jzix_j+z_j=\lambda_j+\sum_{i}\rho_{i,j}z_ixj​+zj​=λj​+∑i​ρi,j​zi​ for all jjj. The (Reduced) linear program maximizes ∑jTrjxj\sum_j T r_j x_j∑j​Trj​xj​ over (x,z)∈H(x,z)\in\mathcal H(x,z)∈H subject to the capacity rows ∑jTaq,jxj≤cq\sum_j T a_{q,j}x_j\le c_q∑j​Taq,j​xj​≤cq​ for each resource qqq.

The Dimension Reduction algorithm starts from the optimal solution (x^,z^)(\hat x,\hat z)(x^,z^) of (Reduced) and sets (x1,z1)=(x^,z^)(x^1,z^1)=(\hat x,\hat z)(x1,z1)=(x^,z^). At iteration kkk it forms Sk={j:xjk>0}S^k=\{j: x^k_j>0\}Sk={j:xjk​>0}. It stops with αk=1\alpha^k=1αk=1 if Sk=∅S^k=\emptysetSk=∅. Otherwise it sets αk=min⁡{xjk/Pj,Sk:j∈Sk}\alpha^k=\min\{x^k_j/P_{j,S^k}: j\in S^k\}αk=min{xjk​/Pj,Sk​:j∈Sk}, stops if αk=1\alpha^k=1αk=1, and if not updates

xjk+1=xjk−αkPj,Sk1−αk,zjk+1=zjk−αkRj,Sk1−αk.x^{k+1}_j=\frac{x^k_j-\alpha^kP_{j,S^k}}{1-\alpha^k},\qquad z^{k+1}_j=\frac{z^k_j-\alpha^kR_{j,S^k}}{1-\alpha^k}.xjk+1​=1−αkxjk​−αkPj,Sk​​,zjk+1​=1−αkzjk​−αkRj,Sk​​.

The weights are γk=(1−α1)⋯(1−αk−1)αk\gamma^k=(1-\alpha^1)\cdots(1-\alpha^{k-1})\alpha^kγk=(1−α1)⋯(1−αk−1)αk.

Formalization targets

Goal: Theorem 9

Let (x^,z^)(\hat x,\hat z)(x^,z^) be optimal for (Reduced). The algorithm stops at some first iteration KKK with 1≤K≤n+11\le K\le n+11≤K≤n+1. At that KKK,

x^=∑k=1KγkPSk,z^=∑k=1KγkRSk,∑k=1Kγk=1,S1⊇S2⊇⋯⊇SK.\hat x=\sum_{k=1}^K\gamma^kP_{S^k},\qquad \hat z=\sum_{k=1}^K\gamma^kR_{S^k},\qquad \sum_{k=1}^K\gamma^k=1,\qquad S^1\supseteq S^2\supseteq\cdots\supseteq S^K .x^=k=1∑K​γkPSk​,z^=k=1∑K​γkRSk​,k=1∑K​γk=1,S1⊇S2⊇⋯⊇SK.

Milestones

In the order the proof uses them:

  1. (Balance) has a unique, nonnegative solution for every SSS (p. 1325).
  2. Pj,S>0P_{j,S}>0Pj,S​>0 for j∈Sj\in Sj∈S (p. 1325).
  3. For (x^,z^)∈H(\hat x,\hat z)\in\mathcal H(x^,z^)∈H: z^j≥Rj,Sx^\hat z_j\ge R_{j,S_{\hat x}}z^j​≥Rj,Sx^​​. This is Lemma 11 of the online appendix, as quoted on p. 1332.
  4. For (x^,z^)∈H(\hat x,\hat z)\in\mathcal H(x^,z^)∈H with nonempty support: αx^≤1\alpha_{\hat x}\le1αx^​≤1 (p. 1332).
  5. The two stopping configurations are (Balance) solutions: Sx^=∅S_{\hat x}=\emptysetSx^​=∅ gives (P∅,R∅)(P_\emptyset,R_\emptyset)(P∅​,R∅​), and αx^=1\alpha_{\hat x}=1αx^​=1 gives (PSx^,RSx^)(P_{S_{\hat x}},R_{S_{\hat x}})(PSx^​​,RSx^​​) (p. 1332).
  6. Lemma 8: one step of the algorithm maps H\mathcal HH into H\mathcal HH and removes a minimizing index from the support (p. 1333).
  7. The iterates stay in H\mathcal HH, and Sk+1⊆Sk∖{jk}S^{k+1}\subseteq S^k\setminus\{j^k\}Sk+1⊆Sk∖{jk} (pp. 1333–1334).

Significance

Theorem 9 makes the reduced program usable. Together with the equivalence of (Reduced) and the choice-based program, it produces an optimal choice-based solution that offers at most n+1n+1n+1 sets. By a basic-solution count the choice-based program has an optimal solution with at most m+1m+1m+1 nonzero offer sets. Theorem 9 bounds the number by the number of products instead, and adds a structural property: the offered sets form a chain. Each set is contained in the previous one, so the implemented policy offers a single nested sequence of assortments. The algorithm needs at most n+1n+1n+1 solutions of linear systems of size nnn. It never enumerates offer sets.

The result is proved in the paper. As far as a search of the platform and of Mathlib shows, it has not been formalized. Mathlib's Carathéodory theorem (Analysis/Convex/Caratheodory) bounds the number of points in a convex combination. It does not construct this decomposition, and it does not give nestedness. Formalizing Theorem 9 therefore requires the paper's argument: a verified, terminating peeling procedure on the polyhedron H\mathcal HH whose output is a convex combination of (Balance) solutions indexed by a chain of sets.

Difficulty

The algorithm divides twice. Step 2 divides by Pj,SkP_{j,S^k}Pj,Sk​, which must be positive on SkS^kSk. Step 3 divides by 1−αk1-\alpha^k1−αk, which must be nonzero whenever the algorithm continues. Both rest on nontrivial facts: the positivity of purchase probabilities, and the bound α≤1\alpha\le1α≤1 on H\mathcal HH. That bound in turn requires the comparison z^≥RSx^\hat z\ge R_{S_{\hat x}}z^≥RSx^​​. The paper proves this comparison only in its online appendix; it is a monotonicity property of the inverse of I−ρ⊤I-\rho^\topI−ρ⊤ restricted to the unoffered products. The update of Step 3 can make coordinates of zzz negative unless this comparison holds, so the naive observation that "(xk,zk)(x^k,z^k)(xk,zk) is a combination of points of H\mathcal HH" does not by itself keep the iterates in H\mathcal HH.

Termination is not a consequence of αk<1\alpha^k<1αk<1 alone. It needs the strict decrease of the support, which comes from choosing a minimizing index. The weights γk\gamma^kγk are defined by products of the (1−αl)(1-\alpha^l)(1−αl). Their sum telescopes to 111 only because the last step has αK=1\alpha^K=1αK=1.

Formalization scope

Everything lives in the namespace MarkovChainChoice.DimReduction. Products are Fin n and offer sets are Finset (Fin n). The model is a structure carrying λj>0\lambda_j>0λj​>0, ∑iρj,i<1\sum_i\rho_{j,i}<1∑i​ρj,i​<1 and, as a disclosed implicit hypothesis, ρj,i≥0\rho_{j,i}\ge0ρj,i​≥0. The pair (PS,RS)(P_S,R_S)(PS​,RS​) is chosen by Classical.epsilon among the solutions of (Balance); milestone 1 is what identifies it with the paper's unique solution. Revenues, capacities and consumptions carry no sign conditions. "Optimal for (Reduced)" means feasible and at least as good as every feasible point.

The iterates are indexed from k=1k=1k=1 as in the paper. The value at index 000 is an unused copy of the input. "The algorithm stops at iteration KKK" is the first K≥1K\ge1K≥1 with SK=∅S^K=\emptysetSK=∅ or αK=1\alpha^K=1αK=1. Iterates after the first stop involve a division by zero, which Lean evaluates to 000, and no statement refers to them. The termination bound K≤n+1K\le n+1K≤n+1 is a conclusion of the goal, not a hypothesis. The goal is about the algorithm's actual iterates, not about an arbitrary sequence that satisfies the invariants. The paper's ⊂\subset⊂ and ⊃\supset⊃ denote non-strict inclusion and are rendered as ⊆\subseteq⊆ and ⊇\supseteq⊇.

Two milestones are stated more generally than the page. The paper states the iteration invariants for the (Reduced) optimum; the Lean requires only (x^,z^)∈H(\hat x,\hat z)\in\mathcal H(x^,z^)∈H, which every feasible (Reduced) solution satisfies. Lemma 8's arg⁡min⁡\arg\minargmin may be a set; the statement holds for every minimizer. The page contains printed slips: on p. 1332, v^j\hat v_jv^j​ has numerator x^j−αRj,S\hat x_j-\alpha R_{j,S}x^j​−αRj,S​, and the paper writes Rx^R_{\hat x}Rx^​ for RSx^R_{S_{\hat x}}RSx^​​. The Lean uses the correct forms, as in Lemma 8 and Step 3. None of these slips appears in a milestone quotation.

A complete development needs a small theory of M-matrices, in the form of nonnegativity of (I−Q)−1(I-Q)^{-1}(I−Q)−1 for substochastic QQQ, together with finite induction on supports. The comparison lemma (milestone 3) and the (Balance) existence and uniqueness result (milestone 1) are reusable across the other missions on this paper. Proofs of any milestone are welcome, as are alternative proofs of the goal.

Selected references

  • J. B. Feldman, H. Topaloglu, Revenue Management Under the Markov Chain Choice Model, Operations Research 65(5):1322–1342, 2017. https://doi.org/10.1287/opre.2017.1628
  • J. Blanchet, G. Gallego, V. Goyal, A Markov Chain Approximation to Choice Modeling, Operations Research 64(4):886–905, 2016. https://doi.org/10.1287/opre.2016.1505
  • Q. Liu, G. van Ryzin, On the Choice-Based Linear Programming Model for Network Revenue Management, Manufacturing & Service Operations Management 10(2):288–310, 2008. https://doi.org/10.1287/msom.1070.0169
14 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Random Gradient-Free Minimization of Convex Functions III: Accelerated Random SearchResearch Paper

Motivation

Many optimization problems in engineering, simulation-based design and machine learning give access only to function values: the objective is the output of a simulator or a black-box program, and its gradient is unavailable or too expensive. Derivative-free (or zeroth-order) methods address this setting. Nesterov and Spokoiny (Found. Comput. Math. 17 (2017)) showed that a very simple oracle, the finite difference of fff along a random Gaussian direction, can replace the gradient in standard first-order schemes at the price of a factor depending only on the dimension. Their analysis became the reference point for later work on zeroth-order stochastic optimization and on gradient-free methods in reinforcement learning and adversarial attacks.

This mission covers Section 6 of the paper: the accelerated random method FGμ\mathcal{FG}_\muFGμ​ and its rate, Theorem 9. It is the third mission of a series; the first covers random search for nonsmooth problems (Theorem 6), the second the random gradient method for smooth problems (Theorem 8).

Setting

Let EEE be a real inner product space of dimension n≥2n \ge 2n≥2 with norm ∥⋅∥\|\cdot\|∥⋅∥ (the paper's space with operator BBB is EEE with the inner product ⟨Bx,y⟩\langle Bx, y\rangle⟨Bx,y⟩). Let uuu be a standard Gaussian vector in EEE, and write Eu\mathbb E_uEu​ for expectation over uuu.

The objective f:E→Rf : E \to \mathbb Rf:E→R is differentiable with Lipschitz gradient, ∥∇f(x)−∇f(y)∥≤L1∥x−y∥\|\nabla f(x) - \nabla f(y)\| \le L_1\|x - y\|∥∇f(x)−∇f(y)∥≤L1​∥x−y∥ with L1>0L_1 > 0L1​>0, and strongly convex with parameter τ≥0\tau \ge 0τ≥0:

f(y)≥f(x)+⟨∇f(x),y−x⟩+τ2∥y−x∥2.f(y) \ge f(x) + \langle\nabla f(x), y - x\rangle + \tfrac{\tau}{2}\|y - x\|^2 .f(y)≥f(x)+⟨∇f(x),y−x⟩+2τ​∥y−x∥2.

The value τ=0\tau = 0τ=0 is allowed (plain convexity). The condition number is κ=τ/L1\kappa = \tau/L_1κ=τ/L1​. The problem f∗=min⁡x∈Ef(x)f^* = \min_{x \in E} f(x)f∗=minx∈E​f(x) is assumed solvable, with minimizer x∗x^*x∗.

For μ≥0\mu \ge 0μ≥0 the Gaussian approximation is fμ(x)=Euf(x+μu)f_\mu(x) = \mathbb E_u f(x + \mu u)fμ​(x)=Eu​f(x+μu), and the random gradient-free oracle is

B−1gμ(x)=f(x+μu)−f(x)μ u(μ>0),B−1g0(x)=⟨∇f(x),u⟩ u.B^{-1}g_\mu(x) = \frac{f(x + \mu u) - f(x)}{\mu}\,u \quad (\mu > 0), \qquad B^{-1}g_0(x) = \langle\nabla f(x), u\rangle\,u .B−1gμ​(x)=μf(x+μu)−f(x)​u(μ>0),B−1g0​(x)=⟨∇f(x),u⟩u.

The paper (p. 548) sets θn=1/(16(n+1)2L1(f))\theta_n = 1/(16(n+1)^2L_1(f))θn​=1/(16(n+1)2L1​(f)) and hn=1/(4(n+4)L1(f))h_n = 1/(4(n+4)L_1(f))hn​=1/(4(n+4)L1​(f)). This mission uses θn=1/(16(n+4)2L1)\theta_n = 1/(16(n+4)^2L_1)θn​=1/(16(n+4)2L1​); the reason is given under Formalization scope. Method FGμ\mathcal{FG}_\muFGμ​ (Eq. (60)) chooses x0∈Ex_0 \in Ex0​∈E, v0=x0v_0 = x_0v0​=x0​ and γ0>0\gamma_0 > 0γ0​>0 with γ0≥τ\gamma_0 \ge \tauγ0​≥τ, and at every iteration k≥0k \ge 0k≥0:

  1. computes αk>0\alpha_k > 0αk​>0 with θn−1αk2=(1−αk)γk+αkτ≡γk+1\theta_n^{-1}\alpha_k^2 = (1 - \alpha_k)\gamma_k + \alpha_k\tau \equiv \gamma_{k+1}θn−1​αk2​=(1−αk​)γk​+αk​τ≡γk+1​;
  2. sets λk=αkτ/γk+1\lambda_k = \alpha_k\tau/\gamma_{k+1}λk​=αk​τ/γk+1​, βk=αkγk/(γk+αkτ)\beta_k = \alpha_k\gamma_k/(\gamma_k + \alpha_k\tau)βk​=αk​γk​/(γk​+αk​τ) and yk=(1−βk)xk+βkvky_k = (1-\beta_k)x_k + \beta_k v_kyk​=(1−βk​)xk​+βk​vk​;
  3. draws a fresh Gaussian direction uku_kuk​, independent of the past, and computes gμ(yk)g_\mu(y_k)gμ​(yk​);
  4. sets xk+1=yk−hnB−1gμ(yk)x_{k+1} = y_k - h_n B^{-1}g_\mu(y_k)xk+1​=yk​−hn​B−1gμ​(yk​) and vk+1=(1−λk)vk+λkyk−(θn/αk)B−1gμ(yk)v_{k+1} = (1-\lambda_k)v_k + \lambda_k y_k - (\theta_n/\alpha_k)B^{-1}g_\mu(y_k)vk+1​=(1−λk​)vk​+λk​yk​−(θn​/αk​)B−1gμ​(yk​).

Write ϕk=Ef(xk)\phi_k = \mathbb E f(x_k)ϕk​=Ef(xk​) (expectation over u0,…,uk−1u_0, \dots, u_{k-1}u0​,…,uk−1​), ψk=∏i=0k−1(1−αi)\psi_k = \prod_{i=0}^{k-1}(1-\alpha_i)ψk​=∏i=0k−1​(1−αi​) and Ck=1+∑i=1k−1∏j=k−ik−1(1−αj)C_k = 1 + \sum_{i=1}^{k-1}\prod_{j=k-i}^{k-1}(1-\alpha_j)Ck​=1+∑i=1k−1​∏j=k−ik−1​(1−αj​) for k≥1k \ge 1k≥1, with ψ0=1\psi_0 = 1ψ0​=1 and C0=0C_0 = 0C0​=0 (p. 550).

Formalization targets

Goal: Theorem 9 (p. 549)

For all k≥0k \ge 0k≥0,

ϕk−f∗≤ψk[f(x0)−f(x∗)+γ02∥x0−x∗∥2]+μ2L1(n+3(n+8)16Ck),(62)\phi_k - f^* \le \psi_k\Big[f(x_0) - f(x^*) + \frac{\gamma_0}{2}\|x_0 - x^*\|^2\Big] + \mu^2 L_1\Big(n + \frac{3(n+8)}{16}C_k\Big), \tag{62}ϕk​−f∗≤ψk​[f(x0​)−f(x∗)+2γ0​​∥x0​−x∗∥2]+μ2L1​(n+163(n+8)​Ck​),(62)

where

ψk≤min⁡{(1−κ1/24(n+4))k, (1+k8(n+4)γ0L1)−2},Ck≤min⁡{k, 4(n+4)κ1/2}.\psi_k \le \min\Big\{\Big(1 - \frac{\kappa^{1/2}}{4(n+4)}\Big)^k,\ \Big(1 + \frac{k}{8(n+4)}\sqrt{\frac{\gamma_0}{L_1}}\Big)^{-2}\Big\}, \qquad C_k \le \min\Big\{k,\ \frac{4(n+4)}{\kappa^{1/2}}\Big\}.ψk​≤min{(1−4(n+4)κ1/2​)k, (1+8(n+4)k​L1​γ0​​​)−2},Ck​≤min{k, κ1/24(n+4)​}.

The two regimes are a rate O(n2/k2)O(n^2/k^2)O(n2/k2) for convex fff and a linear rate with ratio 1−κ1/2/(4(n+4))1 - \kappa^{1/2}/(4(n+4))1−κ1/2/(4(n+4)) for strongly convex fff, both up to a bias proportional to μ2\mu^2μ2.

Milestones

In attack order: Lemma 1 (Gaussian moments, (16)–(17)); Theorem 3.1 (the bound (32) on the second moment of g0g_0g0​); Theorem 1's (19), ∣fμ−f∣≤μ22L1n|f_\mu - f| \le \frac{\mu^2}{2}L_1 n∣fμ​−f∣≤2μ2​L1​n; Eq. (12), L1(fμ)≤L1(f)L_1(f_\mu) \le L_1(f)L1​(fμ​)≤L1​(f); Lemma 5, the bound (37) on Eu∥gμ(x)∥∗2\mathbb E_u\|g_\mu(x)\|_*^2Eu​∥gμ​(x)∥∗2​ in terms of ∇fμ(x)\nabla f_\mu(x)∇fμ​(x); Eq. (21), ∇fμ=Eugμ\nabla f_\mu = \mathbb E_u g_\mu∇fμ​=Eu​gμ​; and Eq. (11), fμ≥ff_\mu \ge ffμ​≥f for convex fff.

Significance

Theorem 9 shows that the nnn-fold slowdown of gradient-free methods relative to their gradient counterparts survives acceleration: FGμ\mathcal{FG}_\muFGμ​ reaches accuracy ϵ\epsilonϵ in O(nL11/2R/ϵ1/2)O(n L_1^{1/2}R/\epsilon^{1/2})O(nL11/2​R/ϵ1/2) iterations for convex fff, against O(nL1R2/ϵ)O(nL_1R^2/\epsilon)O(nL1​R2/ϵ) for the non-accelerated random gradient method. The analysis also quantifies how small the finite-difference step μ\muμ must be for this to hold. The result is used as the baseline accelerated zeroth-order rate in later work.

The theorem is proved in the paper. As far as is known it has not been machine-checked, and Mathlib has no Gaussian smoothing, no random gradient-free oracle and no analysis of an accelerated method driven by random directions. A formal proof also settles the constant question raised by the printed θn\theta_nθn​ (see below).

Difficulty

The deterministic fast gradient method is analysed by an estimate-sequence argument in which the gradient step is exact. Here the step uses gμ(yk)g_\mu(y_k)gμ​(yk​), which is an unbiased estimate of ∇fμ(yk)\nabla f_\mu(y_k)∇fμ​(yk​) and not of ∇f(yk)\nabla f(y_k)∇f(yk​), and whose second moment is of order n∥∇fμ∥2n\|\nabla f_\mu\|^2n∥∇fμ​∥2 plus a bias term. The step size and the coupling parameter θn\theta_nθn​ must absorb this second moment, and the argument must be run for fμf_\mufμ​ rather than fff. The estimate sequence then has to be passed through expectations over the history u0,…,uk−1u_0, \dots, u_{k-1}u0​,…,uk−1​, which requires the independence of uku_kuk​ from xk,vk,ykx_k, v_k, y_kxk​,vk​,yk​ and integrability of every quantity involved. Transporting the result from fμf_\mufμ​ back to fff uses (11) and (19), and requires that fμf_\mufμ​ inherits strong convexity with the same parameter τ\tauτ, a fact the paper uses without stating it.

Formalization scope

EEE is an arbitrary finite-dimensional real inner product space (InnerProductSpace ℝ E, FiniteDimensional ℝ E, Borel measurable), nnn is Module.finrank ℝ E, and the Gaussian is Mathlib's stdGaussian E. The operator BBB is absorbed into the inner product, so ∇f\nabla f∇f is gradient f and B−1gμB^{-1}g_\muB−1gμ​ is f(x+μu)−f(x)μu\frac{f(x+\mu u)-f(x)}{\mu}uμf(x+μu)−f(x)​u. This is not a restriction to B=IB = IB=I on Rn\mathbb R^nRn. All expectations are Bochner integrals; under the hypotheses every integrand is integrable, so no integrability hypothesis is added.

The run is a structure over a probability space (Ω,P)(\Omega, \mathbb P)(Ω,P): directions uku_kuk​ that are measurable, mutually independent (iIndepFun) and standard Gaussian; deterministic sequences γ,α\gamma, \alphaγ,α satisfying step a) as equations; and random points xk,vkx_k, v_kxk​,vk​ satisfying steps b)–d) for every outcome. The smoothing parameter satisfies μ≥0\mu \ge 0μ≥0, and at μ=0\mu = 0μ=0 the oracle is g0g_0g0​. The goal pins θ=1/(16(n+4)2L1)\theta = 1/(16(n+4)^2L_1)θ=1/(16(n+4)2L1​) and h=1/(4(n+4)L1)h = 1/(4(n+4)L_1)h=1/(4(n+4)L1​). ψk\psi_kψk​ and CkC_kCk​ are definitions computed from α\alphaα.

The constant θn\theta_nθn​. The paper prints θn=116(n+1)2L1(f)\theta_n = \frac{1}{16(n+1)^2L_1(f)}θn​=16(n+1)2L1​(f)1​. The proof (pp. 549–550) needs hn4(n+4)−hn2L12=132(n+4)2L1=θn2\frac{h_n}{4(n+4)} - \frac{h_n^2L_1}{2} = \frac{1}{32(n+4)^2L_1} = \frac{\theta_n}{2}4(n+4)hn​​−2hn2​L1​​=32(n+4)2L1​1​=2θn​​, αk≥[τθn]1/2=κ1/24(n+4)\alpha_k \ge [\tau\theta_n]^{1/2} = \frac{\kappa^{1/2}}{4(n+4)}αk​≥[τθn​]1/2=4(n+4)κ1/2​ and θn1/2=14(n+4)L11/2\theta_n^{1/2} = \frac{1}{4(n+4)L_1^{1/2}}θn1/2​=4(n+4)L11/2​1​, which hold only with (n+4)(n+4)(n+4). With the printed value θn\theta_nθn​ is larger than the first inequality allows, and the argument does not go through. The mission therefore states Theorem 9 with θn=116(n+4)2L1\theta_n = \frac{1}{16(n+4)^2L_1}θn​=16(n+4)2L1​1​; all other constants are as printed.

Two trivializing formalizations are ruled out. First, the bound Ck≤4(n+4)/κ1/2C_k \le 4(n+4)/\kappa^{1/2}Ck​≤4(n+4)/κ1/2 carries the hypothesis τ>0\tau > 0τ>0: at τ=0\tau = 0τ=0 the paper's value is +∞+\infty+∞, while Lean's division by zero would turn it into Ck≤0C_k \le 0Ck​≤0, which is false. ψk\psi_kψk​ and CkC_kCk​ are definitions from the run, not free variables that only satisfy the bounds. Second, the oracle is the random finite difference along i.i.d. standard Gaussian directions, not the exact gradient (which would give Nesterov's deterministic method) and not an arbitrary direction sequence.

A complete development needs Gaussian integration by parts in an inner product space, moment bounds for ∥u∥\|u\|∥u∥, differentiation under the integral sign for fμf_\mufμ​, and conditional expectation along an i.i.d. sequence. The smoothing layer (Lemma 1, (11), (12), (19), (21), (32), (37)) is reusable for any zeroth-order method, and contributions of these components as separate lemmas are welcome.

Selected references

  • Yu. Nesterov, V. Spokoiny, Random Gradient-Free Minimization of Convex Functions, Foundations of Computational Mathematics 17(2):527–566, 2017. https://doi.org/10.1007/s10208-015-9296-2
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004 (Lemma 2.2.4 and Section 2.2.1, the estimate-sequence analysis the proof of Theorem 9 follows). https://doi.org/10.1007/978-1-4419-8853-9
14 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Single Machine Scheduling with Release Dates II: The Random α-Schedule with a Truncated Exponential DensityResearch Paper

Motivation

Minimizing the total weighted completion time ∑jwjCj\sum_j w_j C_j∑j​wj​Cj​ of jobs with release dates on a single machine, written 1 ∣ rj ∣ ∑wjCj1\,|\,r_j\,|\,\sum w_j C_j1∣rj​∣∑wj​Cj​ in scheduling notation, is strongly NP-hard. It is one of the basic models of machine scheduling, and it has served as a test case for a general technique in approximation algorithms: solve a linear programming relaxation, read off a preemptive schedule, and convert it into a nonpreemptive one using α\alphaα-points, the times at which a given fraction of each job has been processed. Phillips, Stein and Wein (doi:10.1007/BF01585872) introduced ordering jobs by points of a preemptive schedule; Goemans (SODA 1997, reference [11] of the paper below) and Chekuri, Motwani, Natarajan and Stein (doi:10.1137/S0097539797327180) showed that choosing α\alphaα at random improves the guarantee.

Goemans, Queyranne, Schulz, Skutella and Wang (doi:10.1137/S089548019936223X) combine two LP relaxations, shown to have equal value, with carefully chosen random α\alphaα. This mission formalizes their Theorem 3.5: when a single α\alphaα is drawn from a truncated exponential density, the resulting schedule costs in expectation at most c<1.7451c < 1.7451c<1.7451 times the LP lower bound.

Timeline:

  • 1998: Phillips, Stein and Wein give the first constant-factor approximation (ratio 222) for the unit-weight problem 1 ∣ rj ∣ ∑Cj1\,|\,r_j\,|\,\sum C_j1∣rj​∣∑Cj​ by converting a preemptive schedule.
  • 1997: Goemans (SODA) introduces randomly chosen α\alphaα-points for the weighted problem, the conference precursor of the paper formalized here.
  • 2001: Chekuri, Motwani, Natarajan and Stein give a randomized e/(e−1)≈1.58e/(e-1) \approx 1.58e/(e−1)≈1.58-approximation for the unit-weight problem.
  • 2002: Goemans, Queyranne, Schulz, Skutella and Wang give 1.74511.74511.7451 for a single random α\alphaα (Theorem 3.5) and 1.68531.68531.6853 for job-dependent random αj\alpha_jαj​ (Theorem 3.9), both against the same LP bound.
  • 1999: Afrati et al. (doi:10.1109/SFFCS.1999.814574) give a polynomial-time approximation scheme for the problem. It is not LP-based, so the LP-relative factors of Theorems 3.5 and 3.9 remain of interest as bounds on the relaxations' integrality gaps.

Setting

There are nnn jobs N={1,…,n}N = \{1, \dots, n\}N={1,…,n}. Job jjj has an integral processing time pj>0p_j > 0pj​>0, an integral release date rj≥0r_j \ge 0rj​≥0 and a weight wj>0w_j > 0wj​>0. The jobs are indexed so that w1/p1≥w2/p2≥⋯≥wn/pnw_1/p_1 \ge w_2/p_2 \ge \cdots \ge w_n/p_nw1​/p1​≥w2​/p2​≥⋯≥wn​/pn​.

A preemptive schedule gives each job a set Aj⊆[rj,∞)A_j \subseteq [r_j, \infty)Aj​⊆[rj​,∞) of processing times of measure pjp_jpj​, the sets pairwise disjoint. The mean busy time of jjj is Mj=1pj∫Ajt dtM_j = \frac{1}{p_j}\int_{A_j} t\,dtMj​=pj​1​∫Aj​​tdt.

The LP schedule is the preemptive schedule that always processes the available job of smallest index, which under the indexing above is the available job of largest ratio wj/pjw_j/p_jwj​/pj​. Its mean busy times are MjLPM^{LP}_jMjLP​.

The mean busy time relaxation (R) minimizes ∑jwj(Mj+12pj)\sum_j w_j (M_j + \tfrac12 p_j)∑j​wj​(Mj​+21​pj​) subject to ∑j∈SpjMj≥p(S)(rmin⁡(S)+12p(S))\sum_{j \in S} p_j M_j \ge p(S)\big(r_{\min}(S) + \tfrac12 p(S)\big)∑j∈S​pj​Mj​≥p(S)(rmin​(S)+21​p(S)) for every nonempty S⊆NS \subseteq NS⊆N, where p(S)=∑j∈Spjp(S) = \sum_{j\in S} p_jp(S)=∑j∈S​pj​ and rmin⁡(S)=min⁡j∈Srjr_{\min}(S) = \min_{j\in S} r_jrmin​(S)=minj∈S​rj​. Its optimal value is ZRZ_RZR​, a lower bound on the optimum of 1 ∣ rj ∣ ∑wjCj1\,|\,r_j\,|\,\sum w_j C_j1∣rj​∣∑wj​Cj​.

For 0<α≤10 < \alpha \le 10<α≤1, the α\alphaα-point tj(α)t_j(\alpha)tj​(α) is the first time at which jjj has received αpj\alpha p_jαpj​ units of processing in the LP schedule, and tj(0+)t_j(0^+)tj​(0+) is its start time. The α\alphaα-schedule processes the jobs nonpreemptively, each as early as possible, in nondecreasing order of tj(α)t_j(\alpha)tj​(α); CjαC^\alpha_jCjα​ is the completion time of jjj in it. More generally, the (αj)(\alpha_j)(αj​)-schedule orders the jobs by tj(αj)t_j(\alpha_j)tj​(αj​) for a vector α=(αj)\boldsymbol\alpha = (\alpha_j)α=(αj​).

Let 0<γ<10 < \gamma < 10<γ<1 solve 1−γ21+γ=γ+ln⁡(1+γ)1 - \frac{\gamma^2}{1+\gamma} = \gamma + \ln(1+\gamma)1−1+γγ2​=γ+ln(1+γ) (γ≈0.4675\gamma \approx 0.4675γ≈0.4675), and set

c=1+γ1+γ−e−γ,δ=1−γ21+γ,f(α)={(c−1)eα0<α≤δ,0otherwise.c = \frac{1+\gamma}{1+\gamma-e^{-\gamma}}, \qquad \delta = 1 - \frac{\gamma^2}{1+\gamma}, \qquad f(\alpha) = \begin{cases}(c-1)e^{\alpha} & 0 < \alpha \le \delta,\\ 0 & \text{otherwise.}\end{cases}c=1+γ−e−γ1+γ​,δ=1−1+γγ2​,f(α)={(c−1)eα0​0<α≤δ,otherwise.​

Formalization targets

Goal: Theorem 3.5

If α\alphaα is drawn with density fff, then c<1.7451c < 1.7451c<1.7451, the expectation below is finite, and

Ef[∑jwjCjα]≤c⋅ZR.\mathbb E_f\Big[\sum_{j} w_j C^\alpha_j\Big] \le c \cdot Z_R .Ef​[j∑​wj​Cjα​]≤c⋅ZR​.

Milestones

  1. Theorem 2.5: MLPM^{LP}MLP is an optimal solution to (R), so ZR=∑jwj(MjLP+12pj)Z_R = \sum_j w_j (M^{LP}_j + \tfrac12 p_j)ZR​=∑j​wj​(MjLP​+21​pj​).
  2. Eq. (3.1): MjLP=∫01tj(α) dαM^{LP}_j = \int_0^1 t_j(\alpha)\,d\alphaMjLP​=∫01​tj​(α)dα.
  3. Corollary 3.2: Cjα≤tj(αj)+∑k: αk≤ηk(αj)(1+αk−ηk(αj)) pkC^{\boldsymbol\alpha}_j \le t_j(\alpha_j) + \sum_{k:\,\alpha_k\le\eta_k(\alpha_j)} (1+\alpha_k-\eta_k(\alpha_j))\,p_kCjα​≤tj​(αj​)+∑k:αk​≤ηk​(αj​)​(1+αk​−ηk​(αj​))pk​, where ηk(αj)\eta_k(\alpha_j)ηk​(αj​) is the fraction of kkk processed by tj(αj)t_j(\alpha_j)tj​(αj​) in the LP schedule.
  4. Eq. (3.10): MjLP=tj(0+)+∑k∈N2(1−μk)pk+12pjM^{LP}_j = t_j(0^+) + \sum_{k\in N_2}(1-\mu_k)p_k + \tfrac12 p_jMjLP​=tj​(0+)+∑k∈N2​​(1−μk​)pk​+21​pj​, where N2N_2N2​ is the set of jobs processed between the start and the completion of jjj and μk\mu_kμk​ the fraction of jjj done before kkk starts.
  5. Eq. (3.11): the bound of Corollary 3.2 rewritten in terms of N1N_1N1​, N2N_2N2​ and μk\mu_kμk​.
  6. Lemma 3.6: fff is a density on [0,1][0,1][0,1] with ∫0ηf(α)(1+α−η) dα≤(c−1)η\int_0^\eta f(\alpha)(1+\alpha-\eta)\,d\alpha \le (c-1)\eta∫0η​f(α)(1+α−η)dα≤(c−1)η and ∫μ1f(α)(1+α) dα≤c(1−μ)\int_\mu^1 f(\alpha)(1+\alpha)\,d\alpha \le c(1-\mu)∫μ1​f(α)(1+α)dα≤c(1−μ) for η,μ∈[0,1]\eta, \mu \in [0,1]η,μ∈[0,1].

Significance

Theorem 3.5 is a randomized 1.74511.74511.7451-approximation for 1 ∣ rj ∣ ∑wjCj1\,|\,r_j\,|\,\sum w_j C_j1∣rj​∣∑wj​Cj​, and simultaneously a bound on the integrality gap of (R): every instance has OPT≤1.7451 ZR\mathrm{OPT} \le 1.7451\, Z_ROPT≤1.7451ZR​. The paper also derandomizes it: there are at most nnn distinct α\alphaα-schedules (its Proposition 3.8), and the best of them can be found in O(n2)O(n^2)O(n2) time. The paper remarks that the truncated exponential density is optimal for its analysis and that the factor is tight for it.

On the formal side, the mission produces a reusable model of single-machine preemptive schedules, the LP schedule, α\alphaα-points and list scheduling, and the first machine-checked instance of the α\alphaα-point rounding technique that recurs across scheduling approximation. The result itself is proved in the paper; no machine-checked proof of it or of the LP-schedule identities (3.1), (3.10) is known to exist.

Difficulty

The obvious approach, bounding each CjαC^\alpha_jCjα​ separately by a multiple of tj(α)t_j(\alpha)tj​(α), gives only the factor max⁡{1+1/α,1+2α}\max\{1 + 1/\alpha, 1 + 2\alpha\}max{1+1/α,1+2α} for fixed α\alphaα (Theorem 3.3 of the paper), which is at least 1+21+\sqrt21+2​. The improvement needs the precise structure of the LP schedule around each job: which jobs interrupt jjj (N2N_2N2​) and which do not (N1N_1N1​), and how the fraction ηk(α)\eta_k(\alpha)ηk​(α) of each other job depends on α\alphaα. Turning this structure into exact identities for piecewise-constant, piecewise-linear functions of α\alphaα defined through a recursively built schedule is the bulk of the formal work. The analytic part (Lemma 3.6) is elementary but depends on the specific equation that defines γ\gammaγ.

Formalization scope

Jobs are Fin n (0-based) with p,r:Fin n→Np, r : \texttt{Fin } n \to \mathbb Np,r:Fin n→N and real weights. The sortedness wj/pj≥wk/pkw_j/p_j \ge w_k/p_kwj​/pj​≥wk​/pk​ for j≤kj \le kj≤k, positivity pj>0p_j > 0pj​>0 and wj>0w_j > 0wj​>0 are hypotheses of every theorem about the LP schedule. Because the data are integral, the LP schedule is defined slot by slot on unit intervals [τ,τ+1)[\tau, \tau+1)[τ,τ+1); a job's processing set is a finite union of such intervals. α\alphaα-points are infima over reals, and every statement restricts α\alphaα to (0,1](0,1](0,1]. The (αj)(\alpha_j)(αj​)-schedule's completion times are given by the closed form of list scheduling, Cj=max⁡k⪯j(rk+∑k⪯i⪯jpi)C_j = \max_{k \preceq j}(r_k + \sum_{k \preceq i \preceq j} p_i)Cj​=maxk⪯j​(rk​+∑k⪯i⪯j​pi​), with ties of α\alphaα-points broken by index (they do not occur for α∈(0,1]\alpha \in (0,1]α∈(0,1]). ZRZ_RZR​ is the infimum of the objective of (R) over its feasible set. The random α\alphaα has law f(α) dαf(\alpha)\,d\alphaf(α)dα on R\mathbb RR, and the expectation is a Lebesgue integral.

The goal asserts integrability of α↦∑jwjCjα\alpha \mapsto \sum_j w_j C^\alpha_jα↦∑j​wj​Cjα​ together with the bound, so the inequality cannot hold through the convention that a non-integrable function has integral 000. The bound is against ZRZ_RZR​ defined from (R), not against ∑jwj(MjLP+12pj)\sum_j w_j (M^{LP}_j + \tfrac12 p_j)∑j​wj​(MjLP​+21​pj​), which would build Theorem 2.5 into the goal; and the density's support (0,δ](0,\delta](0,δ] is written out, so no mass is placed outside (0,1](0,1](0,1]. The running-time claims are not formalized, and the uniqueness of γ\gammaγ is not asserted: the statements hold for every solution in (0,1)(0,1)(0,1).

Useful infrastructure: finite unions of intervals and their measures, monotone piecewise-linear functions and their integrals, and list-scheduling identities. Contributions to any milestone, and general lemmas about the LP schedule (it is a preemptive schedule, has no idle time inside a job's span, processes interrupting jobs completely), are welcome.

Selected references

  • M. X. Goemans, M. Queyranne, A. S. Schulz, M. Skutella, Y. Wang, Single Machine Scheduling with Release Dates, SIAM J. Discrete Math. 15(2):165–192, 2002. doi:10.1137/S089548019936223X
  • C. Phillips, C. Stein, J. Wein, Minimizing average completion time in the presence of release dates, Math. Programming 82:199–223, 1998. doi:10.1007/BF01585872
  • M. X. Goemans, Improved approximation algorithms for scheduling with release dates, Proc. 8th ACM-SIAM SODA, 591–598, 1997 (no DOI; reference [11] of Goemans et al. 2002).
  • C. Chekuri, R. Motwani, B. Natarajan, C. Stein, Approximation techniques for average completion time scheduling, SIAM J. Comput. 31(1):146–166, 2001. doi:10.1137/S0097539797327180
  • F. Afrati et al., Approximation schemes for minimizing average weighted completion time with release dates, Proc. 40th IEEE FOCS, 32–43, 1999. doi:10.1109/SFFCS.1999.814574
13 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Single Machine Scheduling with Release Dates III: The Random Per-Job α-Schedule with a Truncated Exponential DensityResearch Paper

Motivation

Scheduling jobs with release dates on one machine to minimize the total weighted completion time, written 1∣rj∣∑wjCj1|r_j|\sum w_jC_j1∣rj​∣∑wj​Cj​, is strongly NP-hard even with unit weights (Lenstra, Rinnooy Kan & Brucker, 1977). It is a basic model of scheduling theory and a standard testbed for approximation algorithms built on linear programming relaxations. Several LP relaxations give lower bounds for it (Dyer & Wolsey, 1990; Queyranne, 1993), and the question how far these bounds can be from the optimum is also a question about the quality of branch-and-bound methods that use them.

Timeline, as surveyed in Table 1 of Goemans, Queyranne, Schulz, Skutella & Wang (2002):

  • Phillips, Stein & Wein (Math. Programming, 1998) introduce converting a preemptive schedule into a nonpreemptive one by list scheduling, and the notion of α\alphaα-points; for the weighted problem their bound is 16+ϵ16+\epsilon16+ϵ.
  • Hall, Shmoys & Wein (SODA 1996) obtain 4; Schulz (IPCO 1996) and Hall, Schulz, Shmoys & Wein (Math. Oper. Res., 1997) obtain 3; Chakrabarti et al. obtain 2.8854+ϵ2.8854+\epsilon2.8854+ϵ, and a combination of methods gives 2.4427+ϵ2.4427+\epsilon2.4427+ϵ.
  • Goemans (SODA 1997) orders jobs by α\alphaα-points of the LP schedule: α=1/2\alpha=1/\sqrt2α=1/2​ gives 1+2≈2.41431+\sqrt2\approx2.41431+2​≈2.4143, a uniformly random α\alphaα gives 2.
  • Chekuri, Motwani, Natarajan & Stein (SIAM J. Comput., 2001) use random α\alphaα-points of an arbitrary preemptive schedule and obtain e/(e−1)e/(e-1)e/(e−1) for unit weights, relative to the preemptive optimum rather than an LP value.
  • Goemans, Queyranne, Schulz, Skutella & Wang (2002) prove 1.74511.74511.7451 for the best common α\alphaα and 1.68531.68531.6853 for job-dependent random αj\alpha_jαj​, both relative to the LP value ZRZ_RZR​. Afrati et al. (FOCS 1999) later give a polynomial-time approximation scheme, which does not bound the LP relaxations.

This mission formalizes the 1.68531.68531.6853 result, the paper's main theorem.

Setting

There are nnn jobs N={0,…,n−1}N=\{0,\dots,n-1\}N={0,…,n−1}. Job jjj has an integral processing time pj>0p_j>0pj​>0, an integral release date rj≥0r_j\ge0rj​≥0 and a weight wj>0w_j>0wj​>0. The jobs are indexed so that w0/p0≥w1/p1≥⋯≥wn−1/pn−1w_0/p_0\ge w_1/p_1\ge\dots\ge w_{n-1}/p_{n-1}w0​/p0​≥w1​/p1​≥⋯≥wn−1​/pn−1​.

The LP schedule is the preemptive schedule that at every moment processes the available (released, unfinished) job of smallest index. Since the data are integral, it is determined slot by slot: in [τ,τ+1)[\tau,\tau+1)[τ,τ+1) it runs the smallest-index job jjj with rj≤τr_j\le\taurj​≤τ and work left, or idles. Let AjLP⊆RA^{LP}_j\subseteq\mathbb RAjLP​⊆R be the set of times at which it processes jjj. The mean busy time of jjj is

MjLP=1pj∫AjLPt dt.M^{LP}_j=\frac1{p_j}\int_{A^{LP}_j}t\,dt .MjLP​=pj​1​∫AjLP​​tdt.

The mean busy time relaxation (R) has a variable MjM_jMj​ per job:

ZR=min⁡{∑jwj(Mj+12pj) : ∑j∈SpjMj≥p(S)(rmin⁡(S)+12p(S)) for all nonempty S⊆N},Z_R=\min\Bigl\{\sum_j w_j\bigl(M_j+\tfrac12p_j\bigr)\ :\ \sum_{j\in S}p_jM_j\ge p(S)\bigl(r_{\min}(S)+\tfrac12p(S)\bigr)\ \text{for all nonempty }S\subseteq N\Bigr\},ZR​=min{j∑​wj​(Mj​+21​pj​) : j∈S∑​pj​Mj​≥p(S)(rmin​(S)+21​p(S)) for all nonempty S⊆N},

with p(S)=∑j∈Spjp(S)=\sum_{j\in S}p_jp(S)=∑j∈S​pj​ and rmin⁡(S)=min⁡j∈Srjr_{\min}(S)=\min_{j\in S}r_jrmin​(S)=minj∈S​rj​. ZRZ_RZR​ is a lower bound on the optimum of 1∣rj∣∑wjCj1|r_j|\sum w_jC_j1∣rj​∣∑wj​Cj​.

For 0<α≤10<\alpha\le10<α≤1 the α\alphaα-point tj(α)t_j(\alpha)tj​(α) is the first time at which jjj has been processed for αpj\alpha p_jαpj​ units in the LP schedule; tj(0+)t_j(0^+)tj​(0+) is the start time of jjj. For a vector α∈(0,1]n\boldsymbol\alpha\in(0,1]^nα∈(0,1]n, the (αj)(\alpha_j)(αj​)-schedule processes the jobs nonpreemptively, as early as possible, in nondecreasing order of tj(αj)t_j(\alpha_j)tj​(αj​); CjαC^{\boldsymbol\alpha}_jCjα​ is the completion time of jjj in it.

Let γ≈0.4835\gamma\approx0.4835γ≈0.4835 be the solution in (0,1)(0,1)(0,1) of γ+ln⁡(2−γ)=e−γ((2−γ)eγ−1)\gamma+\ln(2-\gamma)=e^{-\gamma}\bigl((2-\gamma)e^{\gamma}-1\bigr)γ+ln(2−γ)=e−γ((2−γ)eγ−1), and set

δ=γ+ln⁡(2−γ)≈0.8999,c=1+e−γδ,g(α)={(c−1)eα0<α≤δ,0otherwise.\delta=\gamma+\ln(2-\gamma)\approx0.8999,\qquad c=1+\frac{e^{-\gamma}}{\delta},\qquad g(\alpha)=\begin{cases}(c-1)e^\alpha&0<\alpha\le\delta,\\0&\text{otherwise.}\end{cases}δ=γ+ln(2−γ)≈0.8999,c=1+δe−γ​,g(α)={(c−1)eα0​0<α≤δ,otherwise.​

Formalization targets

Goal: Theorem 3.9 (p. 185)

c<1.6853c<1.6853c<1.6853, and if α1,…,αn\alpha_1,\dots,\alpha_nα1​,…,αn​ each have density ggg and are pairwise independent, then ∑jwjCjα\sum_j w_jC^{\boldsymbol\alpha}_j∑j​wj​Cjα​ is integrable and

E[∑jwjCjα]≤c⋅ZR.\mathbb E\Bigl[\sum_j w_jC^{\boldsymbol\alpha}_j\Bigr]\le c\cdot Z_R .E[j∑​wj​Cjα​]≤c⋅ZR​.

The bound is against the constant ccc defined by the formula; the decimal 1.68531.68531.6853 appears only in the separate inequality c<1.6853c<1.6853c<1.6853.

Milestones

  1. Theorem 2.5 (p. 173): MLPM^{LP}MLP is an optimal solution of (R), so ZR=∑jwj(MjLP+12pj)Z_R=\sum_jw_j(M^{LP}_j+\tfrac12p_j)ZR​=∑j​wj​(MjLP​+21​pj​).
  2. Eq. (3.1) (p. 176): MjLP=∫01tj(α) dαM^{LP}_j=\int_0^1t_j(\alpha)\,d\alphaMjLP​=∫01​tj​(α)dα.
  3. Corollary 3.2 (p. 179): Cjα≤tj(αj)+∑k:αk≤ηk(αj)(1+αk−ηk(αj))pkC^{\boldsymbol\alpha}_j\le t_j(\alpha_j)+\sum_{k:\alpha_k\le\eta_k(\alpha_j)}(1+\alpha_k-\eta_k(\alpha_j))p_kCjα​≤tj​(αj​)+∑k:αk​≤ηk​(αj​)​(1+αk​−ηk​(αj​))pk​, where ηk(αj)\eta_k(\alpha_j)ηk​(αj​) is the fraction of kkk processed by tj(αj)t_j(\alpha_j)tj​(αj​).
  4. Eq. (3.10) (p. 182): MjLP=tj(0+)+∑k∈N2(1−μk)pk+12pjM^{LP}_j=t_j(0^+)+\sum_{k\in N_2}(1-\mu_k)p_k+\tfrac12p_jMjLP​=tj​(0+)+∑k∈N2​​(1−μk​)pk​+21​pj​, where N2N_2N2​ is the set of jobs processed between the start and completion of jjj and μk\mu_kμk​ is the fraction of jjj processed before kkk starts.
  5. Eq. (3.11) (p. 183): the bound of Corollary 3.2 split over N1=N∖(N2∪{j})N_1=N\setminus(N_2\cup\{j\})N1​=N∖(N2​∪{j}) and N2N_2N2​.
  6. Lemma 3.11 (p. 185): ggg is a probability density on (0,1](0,1](0,1], and (i) ∫0ηg(α)(1+α−η) dα≤(c−1)η\int_0^\eta g(\alpha)(1+\alpha-\eta)\,d\alpha\le(c-1)\eta∫0η​g(α)(1+α−η)dα≤(c−1)η, (ii) (1+Eg[α])∫μ1g(α) dα≤c(1−μ)(1+E_g[\alpha])\int_\mu^1g(\alpha)\,d\alpha\le c(1-\mu)(1+Eg​[α])∫μ1​g(α)dα≤c(1−μ) for η,μ∈[0,1]\eta,\mu\in[0,1]η,μ∈[0,1].

Significance

Theorem 3.9 gives a randomized algorithm for 1∣rj∣∑wjCj1|r_j|\sum w_jC_j1∣rj​∣∑wj​Cj​ whose expected cost is at most 1.68531.68531.6853 times the optimum, and a variant of it runs on-line (Theorem 3.14). Since ZRZ_RZR​ is a lower bound, it also shows that the relaxation (R), and the preemptive time-indexed relaxation (D), which has the same value, is within a factor 1.68531.68531.6853 of the optimum (Corollary 3.10). The paper's Section 3.6 shows the gap of these relaxations can approach e/(e−1)≈1.5819e/(e-1)\approx1.5819e/(e−1)≈1.5819, so the bound is not far from what this relaxation can give.

The result is proved on paper; no machine-checked proof exists, and no part of this theory (LP schedule, α\alphaα-points, list scheduling from a preemptive schedule) is on the platform. The mission produces, besides the goal, a reusable formal account of α\alphaα-point scheduling: the LP schedule as a concrete object, the identity between mean busy times and average α\alphaα-points, and the deterministic completion-time bound of Corollary 3.2, which underlies many later α\alphaα-point analyses.

Difficulty

The obvious argument, bounding CjαC^{\boldsymbol\alpha}_jCjα​ by Corollary 3.2 and integrating each αk\alpha_kαk​ independently against ggg, does not work directly: the set of jobs kkk with αk≤ηk(αj)\alpha_k\le\eta_k(\alpha_j)αk​≤ηk​(αj​) depends on αj\alpha_jαj​, and the two effects of the random αk\alpha_kαk​ pull in opposite directions (a small αk\alpha_kαk​ shrinks the terms 1+αk−ηk1+\alpha_k-\eta_k1+αk​−ηk​, a large one removes terms from the sum). The analysis needs the structure of the LP schedule around job jjj (equations (3.9)–(3.11)) to separate the jobs whose ηk\eta_kηk​ is constant in αj\alpha_jαj​ from those for which it jumps from 000 to 111, and then a density tuned to both at once. The claim is made under pairwise independence only, so no product structure of the random vector is available. On the formal side, the LP schedule, α\alphaα-points and list scheduling are defined from scratch, and the measure-theoretic content (integrability of a piecewise-constant function of α\boldsymbol\alphaα, conditioning under pairwise independence) is real work.

Formalization scope

Jobs are Fin n (0-based), ppp and rrr are natural numbers and www is real. The ordering by wj/pjw_j/p_jwj​/pj​ is a hypothesis of every statement about the LP schedule, which is defined by the smallest-index rule; under that hypothesis the two coincide. The LP schedule is defined slot by slot, which is exact for integral data. Processing is represented by sets of times, not indicator functions. tj(α)t_j(\alpha)tj​(α) is an infimum over times, tj(0+)=inf⁡AjLPt_j(0^+)=\inf A^{LP}_jtj​(0+)=infAjLP​, and the (αj)(\alpha_j)(αj​)-schedule is the closed form Cjα=max⁡k⪯j(rk+∑k⪯i⪯jpi)C^{\boldsymbol\alpha}_j=\max_{k\preceq j}\bigl(r_k+\sum_{k\preceq i\preceq j}p_i\bigr)Cjα​=maxk⪯j​(rk​+∑k⪯i⪯j​pi​) of list scheduling in lexicographic (α-point, index) order. ZRZ_RZR​ is the real infimum of the objective over the feasible set of (R), which is nonempty and bounded below for w≥0w\ge0w≥0. The random vector is any probability measure on Rn\mathbb R^nRn whose coordinate laws all equal the law with density ggg and whose coordinates are pairwise independent; the product measure is one example, but the theorem is for all of them. γ\gammaγ is any solution in (0,1)(0,1)(0,1) of its equation.

A trivializing formalization is ruled out: the expectation is asserted together with integrability (a non-integrable integrand would have Bochner integral 000), ggg is supported on (0,δ](0,\delta](0,δ] so every αj\alpha_jαj​ lies in (0,1](0,1](0,1] almost surely, and the bound is against ZRZ_RZR​ defined from (R), not against an expression that already contains Theorem 2.5.

Running times (O(nlog⁡n)O(n\log n)O(nlogn), O(n2)O(n^2)O(n2)), derandomization, the counting results (Proposition 3.8, Lemma 3.12) and the on-line variant are not formalized. Lemma 3.1 on the auxiliary (αj)(\alpha_j)(αj​)-Conversion schedule is not a milestone; Corollary 3.2 is stated directly for the (αj)(\alpha_j)(αj​)-schedule.

Contributions welcome: proofs of the milestones in any order; general lemmas on list scheduling and α\alphaα-points of preemptive schedules, which are reusable beyond this mission; and the measure-theoretic step from pairwise independence to the conditional bound on E[Cjα∣αj]\mathbb E[C^{\boldsymbol\alpha}_j\mid\alpha_j]E[Cjα​∣αj​].

Selected references

  • M. X. Goemans, M. Queyranne, A. S. Schulz, M. Skutella, Y. Wang, Single machine scheduling with release dates, SIAM J. Discrete Math. 15(2):165–192, 2002. https://doi.org/10.1137/S089548019936223X
  • C. Phillips, C. Stein, J. Wein, Minimizing average completion time in the presence of release dates, Math. Programming 82:199–223, 1998.
  • L. A. Hall, A. S. Schulz, D. B. Shmoys, J. Wein, Scheduling to minimize average completion time: off-line and on-line approximation algorithms, Math. Oper. Res. 22:513–544, 1997. https://doi.org/10.1287/moor.22.3.513
  • M. X. Goemans, Improved approximation algorithms for scheduling with release dates, Proc. 8th ACM–SIAM SODA, 591–598, 1997.
  • C. Chekuri, R. Motwani, B. Natarajan, C. Stein, Approximation techniques for average completion time scheduling, SIAM J. Comput. 31:146–166, 2001. https://doi.org/10.1137/S0097539797327180
  • M. E. Dyer, L. A. Wolsey, Formulating the single machine sequencing problem with release dates as a mixed integer program, Discrete Appl. Math. 26:255–270, 1990.
  • J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Complexity of machine scheduling problems, Ann. Discrete Math. 1:343–362, 1977.
13 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainOperations Research+1·Captain: mikedeng1

Markov-Renewal Programming. II: Infinite Return Models, Example I: Policy Iteration Finds a Stationary Policy of Maximal Gain RateResearch Paper

Motivation

Many controlled systems do not move in unit time steps. A machine runs for a random time before it breaks down, a repair takes a random time, a queue sits in a state until the next arrival or departure. A Markov-renewal program (in later terminology a semi-Markov decision process) models such a system: the sequence of visited states is a Markov chain controlled by the decision maker, but each transition takes a random time and earns a reward that may depend on that time. When the horizon is long and rewards are not discounted, the natural criterion is the gain rate, the long-run expected reward per unit of time, not per transition.

Howard's policy-iteration algorithm (Howard 1960) finds a policy of maximal gain per transition for finite Markov decision processes. W. S. Jewell's Markov-Renewal Programming. II (Oper. Res. 11 (1963) 949–971) extends it to the time-average criterion. The paper's Fig. 2 gives the algorithm; pp. 954–955 state its claim: the algorithm "will find an optimal stationary policy for the infinite-time, undiscounted model, in the sense that the policy will have a gain rate, ggg, which is at least as large as that obtained for any other policy". Appendix D compares Jewell's test quantity with an alternative one proposed by P. Schweitzer, and states the identity (D 3) that measures the gain-rate improvement produced by either.

Timeline. Howard (1960) introduced policy iteration for the per-transition gain of finite Markov decision processes, and sketched a semi-Markov version. Jewell (1963, Parts I and II) developed Markov-renewal programming, with the ratio test quantity of Fig. 2 for the undiscounted time-average case. Schweitzer (unpublished MIT report, cited in Appendix D) proposed the test quantity (D 1). The ratio criterion was later treated systematically for semi-Markov decision processes (e.g. Puterman 1994, Ch. 11).

Setting

There are finitely many states i=1,…,Ni = 1, \dots, Ni=1,…,N and, in each state, finitely many alternatives zzz. Under alternative zzz in state iii the next state is jjj with probability pijzp^z_{ij}pijz​ (pijz≥0p^z_{ij} \ge 0pijz​≥0, ∑jpijz=1\sum_j p^z_{ij} = 1∑j​pijz​=1). The transition i→ji \to ji→j takes a random time with finite mean νijz\nu^z_{ij}νijz​, and the transition out of iii earns an expected reward ρiz\rho^z_iρiz​. The mean sojourn time is νiz=∑jpijzνijz\nu^z_i = \sum_j p^z_{ij}\nu^z_{ij}νiz​=∑j​pijz​νijz​, and it is positive.

A stationary policy zzz picks one alternative z(i)z(i)z(i) in each state. Its chain has transition matrix Pijz=pijz(i)P^z_{ij} = p^{z(i)}_{ij}Pijz​=pijz(i)​, and ρi\rho_iρi​, νi\nu_iνi​ denote the data of z(i)z(i)z(i). The paper's standing assumption 2 is that this chain is ergodic (irreducible) for every policy. Let π\piπ be the stationary probability vector of PzP^zPz (πi≥0\pi_i \ge 0πi​≥0, ∑iπi=1\sum_i \pi_i = 1∑i​πi​=1, πPz=π\pi P^z = \piπPz=π). The gain rate of zzz is (B 7):

g=∑i=1Nπiρi∑k=1Nπkνk.g = \frac{\sum_{i=1}^{N} \pi_i \rho_i}{\sum_{k=1}^{N} \pi_k \nu_k}.g=∑k=1N​πk​νk​∑i=1N​πi​ρi​​.

The value-determination equations (13) of zzz are, in the N+1N+1N+1 unknowns g,v1,…,vNg, v_1, \dots, v_Ng,v1​,…,vN​,

vi+g νi=ρi+∑j=1Npijvj(i=1,…,N),vN=0.v_i + g\,\nu_i = \rho_i + \sum_{j=1}^{N} p_{ij} v_j \quad (i = 1, \dots, N), \qquad v_N = 0.vi​+gνi​=ρi​+j=1∑N​pij​vj​(i=1,…,N),vN​=0.

The test quantity of Fig. 2 for alternative zzz in state iii is 1νiz{ρiz+∑jpijzvj−vi}\frac{1}{\nu^z_i}\{\rho^z_i + \sum_j p^z_{ij} v_j - v_i\}νiz​1​{ρiz​+∑j​pijz​vj​−vi​}. One cycle of the algorithm solves (13) for the current policy and then chooses, in every state, an alternative that maximizes the test quantity, retaining the current alternative when it already attains the maximum. The algorithm stops when the policy does not change.

Formalization targets

Goal: Fig. 2 terminates at a policy of maximal gain rate

For every run z0,z1,…z_0, z_1, \dotsz0​,z1​,… of the algorithm, from any initial policy and with any choice among tied maximizers, there is KKK with zK+1=zKz_{K+1} = z_KzK+1​=zK​; and whenever zK+1=zKz_{K+1} = z_KzK+1​=zK​, gKg_KgK​ is the gain rate of zKz_KzK​ and, for every stationary policy z′z'z′,

gz′=∑iπi′ρiz′(i)∑kπk′νkz′(k)  ≤  gK.g^{z'} = \frac{\sum_i \pi'_i \rho^{z'(i)}_i}{\sum_k \pi'_k \nu^{z'(k)}_k} \;\le\; g_K .gz′=∑k​πk′​νkz′(k)​∑i​πi′​ρiz′(i)​​≤gK​.

Milestones

  1. (12)–(13), p. 955. The equations (13) have exactly one solution, and its ggg equals (B 7).
  2. (D 3), p. 970. For policies AAA, BBB, with Γj\Gamma_jΓj​ and γj\gamma_jγj​ the changes in the test quantities (D 1) and (D 2) computed with AAA's (g,v)(g, v)(g,v), and PjB=νjBπjB/∑kπkBνkBP^B_j = \nu^B_j\pi^B_j / \sum_k \pi^B_k\nu^B_kPjB​=νjB​πjB​/∑k​πkB​νkB​ the time-stationary probabilities (C 12),
gB−gA=∑jΓjνjBPjB=∑jγjPjB.g^B - g^A = \sum_{j} \frac{\Gamma_j}{\nu^B_j} P^B_j = \sum_j \gamma_j P^B_j .gB−gA=j∑​νjB​Γj​​PjB​=j∑​γj​PjB​.
  1. p. 955. If the test quantity indicates a change from z1z_1z1​ to z2z_2z2​, then gz2>gz1g^{z_2} > g^{z_1}gz2​>gz1​.
  2. (29)–(30), p. 961. For two states with p12,p21>0p_{12}, p_{21} > 0p12​,p21​>0: g=(p21ρ1+p12ρ2)/(ν1p21+ν2p12)g = (p_{21}\rho_1 + p_{12}\rho_2)/(\nu_1 p_{21} + \nu_2 p_{12})g=(p21​ρ1​+p12​ρ2​)/(ν1​p21​+ν2​p12​) and v1=(ν2ρ1−ν1ρ2)/(ν1p21+ν2p12)v_1 = (\nu_2\rho_1 - \nu_1\rho_2)/(\nu_1 p_{21} + \nu_2 p_{12})v1​=(ν2​ρ1​−ν1​ρ2​)/(ν1​p21​+ν2​p12​), v2=0v_2 = 0v2​=0.

Significance

The result makes the time-average criterion computable: a finite sequence of linear solves and pointwise maximizations produces a policy whose reward per unit time is optimal among all stationary policies. The identity (D 3) is the quantitative content: it expresses the gain-rate change as an average of local improvements, weighted by the fraction of time the new policy spends in each state. Both test quantities, Jewell's (D 2) and Schweitzer's (D 1), are covered by it. When every νiz=1\nu^z_i = 1νiz​=1 the model is a Markov decision process and the algorithm is Howard's.

The result is classical and has textbook proofs for semi-Markov decision processes. The paper states the proof as "elementary" and does not write it out. None of it is machine-checked on Prove2Me, and no semi-Markov or ratio-criterion result is on the platform. The mission produces a checked account of value determination for irreducible finite chains, the improvement identity, and termination of policy iteration under ties.

Difficulty

The gain rate is a ratio, so the per-transition argument for Markov decision processes does not transfer by rescaling rewards: the denominator ∑kπkνk\sum_k\pi_k\nu_k∑k​πk​νk​ changes with the policy. Comparing two policies requires weighting local improvements by the new policy's time-stationary probabilities, and a strict improvement needs those probabilities to be positive in every state, which uses irreducibility of the new policy, not only of the current one. Termination rests on the retain-on-tie rule: without it the algorithm can cycle among tied maximizers without improving. Finally, (13) has N+1N+1N+1 unknowns and N+1N+1N+1 equations only because of the normalization vN=0v_N = 0vN​=0; its unique solvability is a statement about the kernel and range of I−PI - PI−P for an irreducible stochastic PPP.

Formalization scope

States are Fin N with NeZero N; the paper's state NNN is index N−1N-1N−1 (lastState N). Alternatives form a type α; the goal assumes Fintype α and Nonempty α. The model records only pijzp^z_{ij}pijz​, νijz≥0\nu^z_{ij} \ge 0νijz​≥0 and ρiz\rho^z_iρiz​, with νiz>0\nu^z_i > 0νiz​>0 as a field. The transition-time distributions and reward functions of the paper enter the undiscounted infinite-time model only through these means, and every such choice of means is realized by some distributions, so nothing is lost. Ergodicity is Matrix.IsIrreducible of the policy matrix for every policy. Stationary vectors are nonnegative, sum to one and satisfy πP=π\pi P = \piπP=π; every statement quantifies over all of them.

The gain rate is defined by its closed form (B 7). Its identification with lim⁡t→∞vi(t)/t\lim_{t\to\infty} v_i(t)/tlimt→∞​vi​(t)/t ((B 6), argued in Appendix B from renewal theory) is not part of the mission. (13) is stated with the full sum ∑j=1N\sum_{j=1}^N∑j=1N​, equal to the paper's ∑j=1N−1\sum_{j=1}^{N-1}∑j=1N−1​ because vN=0v_N = 0vN​=0. The paper states (D 3) for a policy AAA "which led to an improved policy BBB"; the identity holds for any two policies and is stated that way. A run of the algorithm is a relation, not a chosen argmax: the goal quantifies over every run, so the termination claim cannot be met by a particular tie-breaking. A run begins at an arbitrary policy; the "initial set of returns" entry of Fig. 2 is a run started one cycle later.

A formalization in which the improvement step already asserts optimality, or in which termination is assumed, would be trivial; here the step only asks for pointwise maximization of the test quantity, and termination is part of the conclusion.

Needed infrastructure: stationary vectors of irreducible stochastic matrices (existence, uniqueness, strict positivity), the kernel of I−PI - PI−P, and finite-policy termination arguments. These are reusable for any finite Markov decision or semi-Markov model. Proofs of any milestone, and of the ν≡1\nu \equiv 1ν≡1 specialization, are welcome.

Selected references

  • W. S. Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Operations Research 11(6), 949–971, 1963. https://doi.org/10.1287/opre.11.6.949
  • W. S. Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 938–948, 1963. https://doi.org/10.1287/opre.11.6.938
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960. https://mitpress.mit.edu/9780262080095/
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainOperations Research+1·Captain: mikedeng1

Markov-Renewal Programming. II: Infinite Return Models, Example II: Gain and Bias of the Infinite-Step ReturnResearch Paper

Motivation

A Markov-renewal program is a sequential decision model in which a system moves among finitely many states, the time between transitions is random and may depend on both the current and the next state, and a reward accrues during each sojourn. It generalizes the Markov decision process, where every transition takes one time unit, and is the standard model for maintenance, inventory and queueing control problems in which decisions are made at irregular epochs. W. S. Jewell introduced the model in two companion papers in Operations Research in 1963 (Part I, Part II).

Part II studies returns over an unbounded planning horizon. When the horizon is measured in number of transitions and rewards are not discounted, the expected return of a stationary policy grows linearly, and the paper's policy-improvement algorithm for this model rests on the precise form of that growth: a rate, the gain, and a state-dependent offset, the bias. Appendix A of Part II derives this asymptotic form from the Kemeny–Snell theory of finite Markov chains. This mission formalizes that derivation.

The result is the transition-counting counterpart of Howard's gain–bias analysis for Markov decision processes (R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960), and the fundamental matrix it uses is that of J. G. Kemeny and J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.

Setting

Fix a stationary policy. Only the embedded chain and the mean one-step rewards matter for the infinite-step undiscounted model (the paper, p. 961: these processes "depend only on the means"). The data are:

  • a finite nonempty state set SSS and a transition matrix P=(pij)i,j∈SP = (p_{ij})_{i,j\in S}P=(pij​)i,j∈S​ with pij≥0p_{ij}\ge 0pij​≥0 and ∑jpij=1\sum_j p_{ij} = 1∑j​pij​=1;
  • the one-step expected rewards ρ∈RS\rho \in \mathbb R^Sρ∈RS (the paper's (I 17));
  • the terminal rewards V(0)∈RSV(0)\in\mathbb R^SV(0)∈RS.

The chain is ergodic (assumption 2, p. 951): PPP is irreducible, meaning every state can be reached from every other state with positive probability. PPP may be periodic. A stationary probability vector is π∈RS\pi\in\mathbb R^Sπ∈RS with πi≥0\pi_i\ge 0πi​≥0, ∑iπi=1\sum_i\pi_i = 1∑i​πi​=1 and πP=π\pi P = \piπP=π; Π\PiΠ denotes the matrix every row of which is π\piπ.

The nnn-step return of the policy is the recursion (I 16) without the maximization:

Vi(n)=ρi+∑jpijVj(n−1),n=1,2,…V_i(n) = \rho_i + \sum_{j} p_{ij}V_j(n-1),\qquad n = 1,2,\ldotsVi​(n)=ρi​+j∑​pij​Vj​(n−1),n=1,2,…

The system gain is G=∑iπiρiG = \sum_i \pi_i\rho_iG=∑i​πi​ρi​ (A 6), the bias after nnn steps is Wi(n)=Vi(n)−GnW_i(n) = V_i(n) - GnWi​(n)=Vi​(n)−Gn, and the fundamental matrix is Z=(I−P+Π)−1Z = (I - P + \Pi)^{-1}Z=(I−P+Π)−1 (A 7).

Formalization targets

Goal: gain and Cesàro bias of the infinite-step return

For every irreducible row-stochastic PPP, stationary π\piπ, rewards ρ\rhoρ and terminal rewards V(0)V(0)V(0): the matrix I−P+ΠI - P + \PiI−P+Π is invertible, and

lim⁡n→∞1n∑m=1nW(m)=(Z−Π)ρ+ΠV(0).\lim_{n\to\infty}\frac1n\sum_{m=1}^{n} W(m) = (Z - \Pi)\rho + \Pi V(0).n→∞lim​n1​m=1∑n​W(m)=(Z−Π)ρ+ΠV(0).

This is (A 4) with (A 5)–(A 7), in the form that is true for every ergodic chain and every terminal-reward vector.

Milestones

In order: the stationary vector exists, is unique and positive, and 1n∑k<nPk→Π\frac1n\sum_{k<n}P^k\to\Pin1​∑k<n​Pk→Π (Appendix A); the increment identity V(n)−V(n−1)=Pn−1ρV(n)-V(n-1) = P^{n-1}\rhoV(n)−V(n−1)=Pn−1ρ (A 1) for constant V(0)V(0)V(0); the Cesàro limit Πρ=G1\Pi\rho = G\mathbf 1Πρ=G1 of the increments (A 2); invertibility of I−(P−Π)I-(P-\Pi)I−(P−Π) and the relations PZ=ZPPZ = ZPPZ=ZP, πZ=π\pi Z = \piπZ=π, I−Z=Π−PZI - Z = \Pi - PZI−Z=Π−PZ; the Cesàro summability of I+∑j=1n−1(Pj−Π)I+\sum_{j=1}^{n-1}(P^j-\Pi)I+∑j=1n−1​(Pj−Π) to ZZZ; the finite-nnn bias formula (A 3) for constant V(0)V(0)V(0); the relative-value equations Wi+G=ρi+∑jpijWjW_i + G = \rho_i + \sum_j p_{ij}W_jWi​+G=ρi​+∑j​pij​Wj​ (4) for the limiting bias; and the paper's two-state machine example, where the four stationary policies have gains 70,50,80,6070, 50, 80, 6070,50,80,60, the policy (B,A)(B,A)(B,A) is optimal for every nnn with V1(n)=80n+170+(−1)n+1170V_1(n) = 80n+170+(-1)^{n+1}170V1​(n)=80n+170+(−1)n+1170, the limiting biases are ±170\pm170±170, and the relative values of (5) are 340340340 and 000.

Stronger: aperiodic chains

If PPP is moreover primitive (aperiodic), W(n)W(n)W(n) itself converges to (Z−Π)ρ+ΠV(0)(Z-\Pi)\rho + \Pi V(0)(Z−Π)ρ+ΠV(0). This is included as a supporting statement.

Significance

The asymptotic V(n)≈Gn+WV(n)\approx Gn + WV(n)≈Gn+W is what makes average-reward policy improvement work: substituting it into the recursion yields the linear equations (4), whose solution (the relative values) is the test quantity of the paper's algorithm. The gain identifies which stationary policy earns most per transition in the long run, and the bias separates policies of equal gain. The same gain–bias decomposition underlies average-cost dynamic programming, the analysis of Markov reward processes, and the deviation matrix used in sensitivity analysis of Markov chains.

The result is classical and proved on paper. Formalizing it adds, first, a machine-checked account of the fundamental matrix of an irreducible, possibly periodic, finite chain: invertibility of I−P+ΠI - P + \PiI−P+Π, its algebraic relations and its Cesàro characterization. Mathlib has irreducible and primitive nonnegative matrices and row-stochastic matrices, but no stationary-vector uniqueness for irreducible chains, no Cesàro ergodic theorem for finite chains, and no fundamental matrix. Second, it fixes two slips of the printed appendix (below) with an exact statement. No machine-checked proof of this result is known.

Difficulty

The obvious argument writes W(n)=∑k<n(Pk−Π)ρ+PnV(0)W(n) = \sum_{k<n}(P^k - \Pi)\rho + P^nV(0)W(n)=∑k<n​(Pk−Π)ρ+PnV(0) and passes to the limit term by term. This fails for periodic chains: PkP^kPk does not converge, Pk−ΠP^k - \PiPk−Π does not tend to zero, and the series ∑k(Pk−Π)\sum_k (P^k - \Pi)∑k​(Pk−Π) does not converge. The paper's own example (PPP swaps two states) is of this kind, and there W(n)W(n)W(n) oscillates forever. What survives is Cesàro convergence, and establishing it needs control of all eigenvalues of PPP of modulus one (they are simple roots of unity for an irreducible stochastic matrix) or an equivalent combinatorial argument. Invertibility of I−P+ΠI - P + \PiI−P+Π requires that 111 be a simple eigenvalue of PPP with left eigenvector π\piπ, which is the Perron–Frobenius uniqueness statement for irreducible matrices; positivity of all entries of PPP, or a one-step Doeblin condition, is not available.

Formalization scope

States are a finite type with decidable equality and at least one element; vectors are S → ℝ, matrices Matrix S S ℝ, column vectors act by P *ᵥ v, the row vector π\piπ by π ᵥ* P. Ergodicity is P ∈ Matrix.rowStochastic ℝ S ∧ P.IsIrreducible. The stationary vector is a hypothesis-constrained parameter (nonnegative, summing to one, πP=π\pi P = \piπP=π), which is unique by the first milestone. Π\PiΠ, GGG and ZZZ are definitions computed from PPP, π\piπ and ρ\rhoρ, never free variables. Cesàro means are 1n∑m=1n\frac1n\sum_{m=1}^{n}n1​∑m=1n​, equal to 000 at n=0n = 0n=0. Mathlib's matrix inverse is 000 on singular matrices, so the goal asserts invertibility of I−P+ΠI - P + \PiI−P+Π explicitly.

Two printed slips are corrected, and the milestone texts are kept verbatim:

  1. The paper's (A 4)–(A 5) have +V(0)+V(0)+V(0) where iterating (I 16) gives PnV(0)P^nV(0)PnV(0), whose Cesàro limit is ΠV(0)\Pi V(0)ΠV(0). The goal uses ΠV(0)\Pi V(0)ΠV(0); this is also the only form consistent with the paper's equation (4). Accordingly (A 1) and (A 3), which hold exactly when PV(0)=V(0)PV(0) = V(0)PV(0)=V(0), carry the hypothesis that V(0)V(0)V(0) is constant. The paper's example has V(0)=0V(0) = 0V(0)=0, where both readings agree.
  2. The paper writes ordinary limits while noting that Pn−1P^{n-1}Pn−1 "converges or is Cesàro-summable". The goal and (A 2) are Cesàro limits; an ordinary limit is false for periodic chains.

The printed π={π1,…,πn}\pi = \{\pi_1,\ldots,\pi_n\}π={π1​,…,πn​} uses nnn for the number of states NNN.

A trivializing formalization is ruled out: ZZZ is not a junk inverse (invertibility is part of the goal), π\piπ is a genuine stationary probability vector of PPP rather than an arbitrary vector, GGG is computed from π\piπ and ρ\rhoρ, and the hypotheses are met by the paper's periodic two-state example.

Needed infrastructure: stationary vectors of irreducible stochastic matrices (existence, positivity, uniqueness), the Cesàro ergodic theorem 1n∑k<nPk→Π\frac1n\sum_{k<n}P^k\to\Pin1​∑k<n​Pk→Π, and the fundamental matrix. These are reusable for any finite-chain average-reward result. Contributions proving any milestone, or the aperiodic variant, are welcome.

Selected references

  • W. S. Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Operations Research 11(6), 949–971, 1963. https://doi.org/10.1287/opre.11.6.949
  • W. S. Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 938–948, 1963. https://doi.org/10.1287/opre.11.6.938
  • J. G. Kemeny and J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • E. Seneta, Non-negative Matrices and Markov Chains, 2nd ed., Springer, 2006. https://doi.org/10.1007/0-387-32792-4
10 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Optimal Two- and Three-Stage Production Schedules with Setup Times Included 1: Johnson's Rule Minimizes the Total Elapsed Time on Two MachinesResearch Paper

Motivation

A two-machine flow shop is the simplest multi-stage production system: every job visits machine 1 and then machine 2, each machine works on one job at a time, and the goal is to finish all jobs as early as possible. S. M. Johnson's 1954 paper (Naval Research Logistics Quarterly 1(1):61–68, doi:10.1002/nav.3800010110) answered this question, posed by R. Bellman, with an exact rule, now called Johnson's rule. It is one of the first exact results in machine scheduling. In the three-field notation of Graham, Lawler, Lenstra and Rinnooy Kan (1979) the problem is written F2 ∥ Cmax⁡F2\,\|\,C_{\max}F2∥Cmax​. The rule is the standard polynomial case against which the NP-hardness of the three-machine flow shop (Garey, Johnson and Sethi 1976) is contrasted, and it is still used inside heuristics for larger shops.

Timeline:

  • 1954. Johnson proves the two-machine rule and a three-machine special case (the latter is the second mission of this series).
  • 1976. Garey, Johnson and Sethi prove that the three-machine flow shop is NP-hard in the strong sense, so the two-machine case marks the boundary of tractability.

Setting

There are nnn items i=1,…,ni = 1, \dots, ni=1,…,n. Item iii needs Ai>0A_i > 0Ai​>0 units of time on machine 1 and then Bi>0B_i > 0Bi​>0 units on machine 2. Each time is setup time plus work time, and the times are otherwise arbitrary. A schedule assigns start times si1s^1_isi1​ and si2s^2_isi2​. It is feasible when all start times are nonnegative, the intervals [si1,si1+Ai][s^1_i, s^1_i + A_i][si1​,si1​+Ai​] of distinct items do not overlap on machine 1, the intervals [si2,si2+Bi][s^2_i, s^2_i + B_i][si2​,si2​+Bi​] do not overlap on machine 2, and si1+Ai≤si2s^1_i + A_i \le s^2_isi1​+Ai​≤si2​ for every item. The total elapsed time T(s)=max⁡i(si2+Bi)T(s) = \max_i (s^2_i + B_i)T(s)=maxi​(si2​+Bi​) is the time at which the last item leaves machine 2.

An order is a permutation σ\sigmaσ, where σ(k)\sigma(k)σ(k) is the item in position kkk. The as-soon-as-possible schedule aσa_\sigmaaσ​ of an order processes the items in the order σ\sigmaσ on both machines, with no delay on machine 1. Each item starts on machine 2 as soon as it has left machine 1 and machine 2 is free.

Relation (II). Item iii is definitely preferred to item jjj when

min⁡(Ai,Bj)<min⁡(Aj,Bi),\min(A_i, B_j) < \min(A_j, B_i),min(Ai​,Bj​)<min(Aj​,Bi​),

and the two items are indifferent when equality holds. An order is consistent with all the definite preferences when no item is definitely preferred to an item placed earlier.

For an order σ\sigmaσ the paper uses the quantities

Ku=∑l≤uAσ(l)−∑l<uBσ(l),F(σ)=max⁡uKu.K_u = \sum_{l \le u} A_{\sigma(l)} - \sum_{l < u} B_{\sigma(l)}, \qquad F(\sigma) = \max_u K_u .Ku​=l≤u∑​Aσ(l)​−l<u∑​Bσ(l)​,F(σ)=umax​Ku​.

Formalization targets

Goal: Theorem 1 (p. 63)

For positive A,BA, BA,B:

∃ σ consistent with (II),and∀ σ consistent with (II), ∀ s feasible:aσ is feasible and T(aσ)≤T(s).\exists\, \sigma \text{ consistent with (II)}, \qquad\text{and}\qquad \forall\, \sigma \text{ consistent with (II)},\ \forall\, s \text{ feasible}:\quad a_\sigma \text{ is feasible and } T(a_\sigma) \le T(s).∃σ consistent with (II),and∀σ consistent with (II), ∀s feasible:aσ​ is feasible and T(aσ​)≤T(s).

The comparison is against every feasible schedule, including those whose two machines follow different orders.

Milestones

  1. Lemma 1 (p. 61). Every feasible schedule can be replaced, at no greater total elapsed time, by a feasible schedule that follows one common order on both machines.
  2. As soon as possible (p. 62). For a fixed common order, aσa_\sigmaaσ​ is feasible and minimizes TTT among the feasible schedules that follow σ\sigmaσ.
  3. Closed form (p. 62). T(aσ)=∑iBi+F(σ)T(a_\sigma) = \sum_i B_i + F(\sigma)T(aσ​)=∑i​Bi​+F(σ), i.e. the total idle time of machine 2 is max⁡uKu\max_u K_umaxu​Ku​.
  4. Adjacent interchange (p. 63). Interchanging the items in positions j,j+1j, j+1j,j+1 leaves every other KuK_uKu​ unchanged. Moreover, max⁡(Kj,Kj+1)<max⁡(Kj′,Kj+1′)\max(K_j, K_{j+1}) < \max(K'_j, K'_{j+1})max(Kj​,Kj+1​)<max(Kj′​,Kj+1′​) holds if and only if (II) holds for the pair.
  5. Interchanges do not increase FFF (p. 63). If the pair in positions j,j+1j, j+1j,j+1 satisfies (II) non-strictly, then F(σ)≤F(σ′)F(\sigma) \le F(\sigma')F(σ)≤F(σ′).
  6. Lemma 2 (p. 64). Relation (II) is transitive, except when the middle item is indifferent to both others.
  7. Worked example (p. 65). For A=(4,4,30,6,2)A = (4,4,30,6,2)A=(4,4,30,6,2) and B=(5,1,4,30,3)B = (5,1,4,30,3)B=(5,1,4,30,3), the order (5,1,4,3,2)(5,1,4,3,2)(5,1,4,3,2) takes 47 units with 4 units of idle time. The reversed order takes 78 units, and every order takes between 47 and 78 units.

Significance

The theorem reduces an optimization over a continuum of start-time vectors, and over n!n!n! orders, to sorting with respect to a pairwise relation. The paper's working rule computes an optimal order in O(nlog⁡n)O(n \log n)O(nlogn) time. The two-machine rule is the building block of Johnson's three-machine result, of the Campbell–Dudek–Smith heuristic for mmm machines, and of lower bounds in branch-and-bound methods for flow shops. The closed form T(aσ)=∑iBi+max⁡uKuT(a_\sigma) = \sum_i B_i + \max_u K_uT(aσ​)=∑i​Bi​+maxu​Ku​ reappears across flow-shop theory as a longest-path formula.

The result is classical and proved. This mission contributes a machine-checked proof in Lean 4 against Mathlib. As far as a search of the platform shows, no formal statement of the flow-shop model or of Johnson's rule exists there. The mission also fixes a reusable Lean model of a two-machine schedule: start times, feasibility, total elapsed time and the as-soon-as-possible schedule of an order.

Difficulty

The paper's argument leaves two steps informal, and a formal proof must supply both. First, Lemma 1 is justified by a picture and the phrase "successive interchanges". The page does not show that each interchange keeps the schedule feasible and does not delay the last completion on machine 2, and this is where most of the modelling work sits. Second, relation (II) is not a strict weak order when there are ties, so the obvious sorting argument fails. Consistency on adjacent pairs does not imply optimality: the items (A,B)=(5,2),(1,1),(2,5)(A, B) = (5,2), (1,1), (2,5)(A,B)=(5,2),(1,1),(2,5), in that order, satisfy (II) non-strictly on both adjacent pairs, yet take 13 units against an optimum of 10. Lemma 2's exception is exactly this case.

Formalization scope

Items are Fin n (0-based) and times are real numbers. Positivity Ai>0A_i > 0Ai​>0, Bi>0B_i > 0Bi​>0 is a hypothesis of the goal and of Lemma 1, the as-soon-as-possible step and the closed form, as on p. 61. Lemma 2 and the interchange statements are pure min/sum algebra and carry no positivity. An order is σ : Equiv.Perm (Fin n) with σ k the item in position k. Interchanging positions j,j+1j, j+1j,j+1 is σ * Equiv.swap j (j+1). The total elapsed time is Finset.univ.fold max 0 of the machine-2 completion times, so it is 000 when n=0n = 0n=0. KuK_uKu​ is indexed by 0-based positions (Lean's KuK_uKu​ is the paper's Ku+1K_{u+1}Ku+1​), and FFF requires n≥1n \ge 1n≥1.

Conventions made explicit or corrected:

  • "Consistent with all the definite preferences" is imposed on all pairs of positions k<lk < lk<l as the non-strict inequality min⁡(Aσ(k),Bσ(l))≤min⁡(Aσ(l),Bσ(k))\min(A_{\sigma(k)}, B_{\sigma(l)}) \le \min(A_{\sigma(l)}, B_{\sigma(k)})min(Aσ(k)​,Bσ(l)​)≤min(Aσ(l)​,Bσ(k)​). The goal also asserts that such an order exists, so its main clause is not vacuous.
  • The display of Ku′K'_uKu′​ on p. 63 prints the upper limit uuu on the B′B'B′-sum. The definition of KuK_uKu​ on p. 62 and the reduction of (I) to (II) require u−1u-1u−1, and the formalization uses u−1u-1u−1.
  • Lemma 2 keeps the page's exception (item 2 indifferent to both items); without it the statement is false.

Measuring the objective by F(σ)F(\sigma)F(σ), or comparing only against schedules that follow one common order, would drop Lemma 1 and change the theorem. The goal compares against every feasible start-time schedule. The working rule of p. 64 (a procedure) is not formalized.

Proofs of any milestone are welcome, as are further lemmas about the as-soon-as-possible schedule and a formalization of the working rule. The schedule definitions are the basis for the three-machine mission of this series.

Selected references

  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1):61–68, 1954. doi:10.1002/nav.3800010110
  • M. R. Garey, D. S. Johnson, R. Sethi, The complexity of flowshop and jobshop scheduling, Mathematics of Operations Research 1(2):117–129, 1976. doi:10.1287/moor.1.2.117
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5:287–326, 1979. doi:10.1016/S0167-5060(08)70356-X
  • H. G. Campbell, R. A. Dudek, M. L. Smith, A heuristic algorithm for the n job, m machine sequencing problem, Management Science 16(10):B630–B637, 1970. doi:10.1287/mnsc.16.10.B630
16 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingMachine LearningOperations Research+2·Captain: mikedeng1

Approximately Optimal Approximate Reinforcement Learning I: Conservative Policy Iteration Improves Monotonically and Returns a Near-Greedy PolicyResearch Paper

Motivation

Approximate policy iteration and policy gradient methods are the two classical families of reinforcement learning algorithms that work with approximate, sampled information instead of an exact model. Kakade and Langford (ICML 2002) observed that neither family answers three basic questions: is there a performance measure that is guaranteed to improve at every step, how hard is it to verify that an update improves it, and what performance is reached after a reasonable number of updates. Greedy approximate policy iteration can make the policy worse when the value estimates are slightly wrong at a few states, and policy gradient methods can stall on plateaus where estimating the gradient needs an enormous number of samples.

Their answer is conservative policy iteration: instead of jumping to a greedy policy, move only a controlled fraction of the way toward it, with a step size chosen from an estimate of how much the greedy policy helps. The paper proves that this update improves a restart-distribution performance measure monotonically, terminates after a number of iterations that depends only on the reward range and the target accuracy, and stops at a policy that the greedy oracle can no longer improve by much. The idea is the direct ancestor of trust-region and proximal policy optimization methods (TRPO, Schulman et al. 2015; PPO, Schulman et al. 2017), whose improvement bounds are refinements of the paper's Theorem 4.1.

Setting

A finite Markov decision process has a finite nonempty set of states SSS, a finite nonempty set of actions AAA, transition probabilities P(s′;s,a)P(s';s,a)P(s′;s,a) (for each state sss and action aaa, a probability distribution over next states s′s's′), a reward function R:S×A→[0,R]\mathcal R : S\times A\to[0,R]R:S×A→[0,R] with R>0R>0R>0, and a discount factor 0≤γ<10\le\gamma<10≤γ<1. A stochastic policy π(a;s)\pi(a;s)π(a;s) gives, for each state sss, a probability distribution over actions.

The normalized value of π\piπ from sss is Vπ(s)=(1−γ)E[∑t≥0γtR(st,at)∣π,s]V_\pi(s) = (1-\gamma)E[\sum_{t\ge0}\gamma^t\mathcal R(s_t,a_t)\mid\pi,s]Vπ​(s)=(1−γ)E[∑t≥0​γtR(st​,at​)∣π,s], where s0=ss_0=ss0​=s, at∼π(⋅ ;st)a_t\sim\pi(\cdot\,;s_t)at​∼π(⋅;st​), st+1∼P(⋅ ;st,at)s_{t+1}\sim P(\cdot\,;s_t,a_t)st+1​∼P(⋅;st​,at​); it lies in [0,R][0,R][0,R]. The state-action value is Qπ(s,a)=(1−γ)R(s,a)+γEs′∼P(s′;s,a)[Vπ(s′)]Q_\pi(s,a) = (1-\gamma)\mathcal R(s,a)+\gamma E_{s'\sim P(s';s,a)}[V_\pi(s')]Qπ​(s,a)=(1−γ)R(s,a)+γEs′∼P(s′;s,a)​[Vπ​(s′)] and the advantage is Aπ(s,a)=Qπ(s,a)−Vπ(s)∈[−R,R]A_\pi(s,a) = Q_\pi(s,a)-V_\pi(s)\in[-R,R]Aπ​(s,a)=Qπ​(s,a)−Vπ​(s)∈[−R,R].

For a state distribution μ\muμ (a restart distribution), the discounted future state distribution is dπ,μ(s)=(1−γ)∑t≥0γtPr⁡(st=s;π,μ)d_{\pi,\mu}(s) = (1-\gamma)\sum_{t\ge0}\gamma^t\Pr(s_t=s;\pi,\mu)dπ,μ​(s)=(1−γ)∑t≥0​γtPr(st​=s;π,μ) (eq. (2.1)), and the performance measure is ημ(π)=Es∼μ[Vπ(s)]\eta_\mu(\pi) = E_{s\sim\mu}[V_\pi(s)]ημ​(π)=Es∼μ​[Vπ​(s)].

The policy advantage of a policy π′\pi'π′ with respect to π\piπ and μ\muμ is

Aπ,μ(π′)=Es∼dπ,μ[Ea∼π′(a;s)[Aπ(s,a)]],\mathbb A_{\pi,\mu}(\pi') = E_{s\sim d_{\pi,\mu}}\big[E_{a\sim\pi'(a;s)}[A_\pi(s,a)]\big],Aπ,μ​(π′)=Es∼dπ,μ​​[Ea∼π′(a;s)​[Aπ​(s,a)]],

and OPT(Aπ,μ)=max⁡π′Aπ,μ(π′)\mathrm{OPT}(\mathbb A_{\pi,\mu}) = \max_{\pi'}\mathbb A_{\pi,\mu}(\pi')OPT(Aπ,μ​)=maxπ′​Aπ,μ​(π′). The conservative update (4.1) is πnew=(1−α)π+απ′\pi_{new} = (1-\alpha)\pi+\alpha\pi'πnew​=(1−α)π+απ′ with α∈[0,1]\alpha\in[0,1]α∈[0,1]. An ε\varepsilonε-greedy policy chooser GεG_\varepsilonGε​ (Definition 4.3) returns, for every policy π\piπ, a policy π′\pi'π′ with Aπ,μ(π′)≥OPT(Aπ,μ)−ε\mathbb A_{\pi,\mu}(\pi')\ge\mathrm{OPT}(\mathbb A_{\pi,\mu})-\varepsilonAπ,μ​(π′)≥OPT(Aπ,μ​)−ε.

Conservative policy iteration (§5) starts from any policy and repeats: call Gε(π,μ)G_\varepsilon(\pi,\mu)Gε​(π,μ) to get π′\pi'π′; form an ε3\frac\varepsilon33ε​-accurate estimate A^\hat{\mathbb A}A^ of Aπ,μ(π′)\mathbb A_{\pi,\mu}(\pi')Aπ,μ​(π′) from μ\muμ-restarts; if A^<2ε3\hat{\mathbb A}<\frac{2\varepsilon}3A^<32ε​, stop and return π\piπ; otherwise apply (4.1) with α=(1−γ)(A^−ε/3)4R\alpha = \frac{(1-\gamma)(\hat{\mathbb A}-\varepsilon/3)}{4R}α=4R(1−γ)(A^−ε/3)​ and repeat.

Formalization targets

Goal: Theorem 4.4 (p. 5)

With probability at least 1−δ1-\delta1−δ, conservative policy iteration (i) strictly improves ημ\eta_\muημ​ with every policy update, (ii) stops after at most 72R2/ε272R^2/\varepsilon^272R2/ε2 policy updates, and (iii) returns a policy π\piπ with

OPT(Aπ,μ)<2ε.\mathrm{OPT}(\mathbb A_{\pi,\mu}) < 2\varepsilon.OPT(Aπ,μ​)<2ε.

The estimation step is represented by its guarantee: each reached loop's estimate fails to be ε3\frac\varepsilon33ε​-accurate with probability at most δ/(N+1)\delta/(N+1)δ/(N+1), N=⌊72R2/ε2⌋N=\lfloor72R^2/\varepsilon^2\rfloorN=⌊72R2/ε2⌋.

Milestones

Lemma 6.1 (p. 6), the performance difference identity:

ημ(π~)−ημ(π)=11−γE(a,s)∼π~dπ~,μ[Aπ(s,a)].\eta_\mu(\tilde\pi)-\eta_\mu(\pi) = \frac1{1-\gamma}E_{(a,s)\sim\tilde\pi d_{\tilde\pi,\mu}}[A_\pi(s,a)].ημ​(π~)−ημ​(π)=1−γ1​E(a,s)∼π~dπ~,μ​​[Aπ​(s,a)].

Theorem 4.1 (p. 4), with ε=max⁡s∣Ea∼π′(a;s)[Aπ(s,a)]∣\varepsilon=\max_s|E_{a\sim\pi'(a;s)}[A_\pi(s,a)]|ε=maxs​∣Ea∼π′(a;s)​[Aπ​(s,a)]∣ and all α∈[0,1]\alpha\in[0,1]α∈[0,1]:

ημ(πnew)−ημ(π)≥α1−γ(A−2αγε1−γ(1−α)).\eta_\mu(\pi_{new})-\eta_\mu(\pi)\ge\frac{\alpha}{1-\gamma}\Big(\mathbb A-\frac{2\alpha\gamma\varepsilon}{1-\gamma(1-\alpha)}\Big).ημ​(πnew​)−ημ​(π)≥1−γα​(A−1−γ(1−α)2αγε​).

Corollary 4.2 (p. 5): if A≥0\mathbb A\ge0A≥0, the step size α=(1−γ)A4R\alpha=\frac{(1-\gamma)\mathbb A}{4R}α=4R(1−γ)A​ gives

ημ(πnew)−ημ(π)≥A28R.\eta_\mu(\pi_{new})-\eta_\mu(\pi)\ge\frac{\mathbb A^2}{8R}.ημ​(πnew​)−ημ​(π)≥8RA2​.

Significance

Theorem 4.4 is the first guarantee of its kind for approximate reinforcement learning: the number of iterations is bounded by 72R2/ε272R^2/\varepsilon^272R2/ε2, independent of the number of states and of the restart distribution, and every iteration provably helps. Lemma 6.1 is the standard performance difference lemma, used throughout the analysis of policy optimization, including natural policy gradient and trust-region methods; Theorem 4.1 is the prototype of the "surrogate objective minus a penalty" bound that TRPO refines.

These results are proved in the paper. As far as a search of the platform shows, none is formalized: the platform's finite-horizon performance difference lemma (Foster and Rakhlin's Lemma 13) is a different statement, for episodic problems with non-stationary policies. This mission produces machine-checked versions of the discounted performance difference identity, the conservative improvement bound with its exact constants, and the high-probability termination and quality guarantee of the algorithm, all on top of an explicit infinite-horizon model rather than an assumed Bellman equation.

Difficulty

The obvious argument for the improvement bound expands ημ(πnew)\eta_\mu(\pi_{new})ημ​(πnew​) to first order in α\alphaα; that only gives α1−γA+O(α2)\frac{\alpha}{1-\gamma}\mathbb A+O(\alpha^2)1−γα​A+O(α2) with an unspecified constant, which cannot fix a step size. The exact bound needs control of how far the state distribution of the mixed policy drifts from that of the old policy, uniformly in time, and the performance difference identity is only useful once the states are weighted by the new policy's distribution. On the formal side, VπV_\piVπ​ and dπ,μd_{\pi,\mu}dπ,μ​ are infinite discounted series, so summability, exchanges of sums and the identities ∑sdπ,μ(s)=1\sum_s d_{\pi,\mu}(s)=1∑s​dπ,μ​(s)=1 and ∑aπ(a;s)Aπ(s,a)=0\sum_a\pi(a;s)A_\pi(s,a)=0∑a​π(a;s)Aπ​(s,a)=0 must all be established from the definitions. For Theorem 4.4, the algorithm is a random process whose policies depend on all earlier estimates; the argument has to be made pathwise on the event that every reached loop is accurate, together with a union bound over the loops that can be reached.

Formalization scope

Policies are functions π : S → A → ℝ with π s a the paper's π(a;s)\pi(a;s)π(a;s), and P s a s' is P(s′;s,a)P(s';s,a)P(s′;s,a); both are constrained by the published predicates IsPolicy and IsTransitionKernel. VπV_\piVπ​ is (1−γ)(1-\gamma)(1−γ) times the published series PolicyValue, so values are normalized as in the paper. OPT\mathrm{OPT}OPT is a real supremum over all stochastic policies; the set is nonempty and bounded, and the maximum is attained. Every theorem carries the standing assumptions of §2: finite nonempty SSS and AAA, a transition kernel, rewards in [0,R][0,R][0,R] with R>0R>0R>0, 0≤γ<10\le\gamma<10≤γ<1, and a state distribution μ\muμ. In Corollary 4.2, RRR is any upper bound on the rewards rather than necessarily the attained maximum.

In Theorem 4.4 the run is formalized pathwise, driven by arbitrary real random estimates on a probability space; the conclusion bounds the probability of the failure event by δ\deltaδ. Two deviations from the printed statement are disclosed. First, (ii) is stated for policy updates: the proof bounds updates, and the algorithm calls GεG_\varepsilonGε​ once more than it updates, so "at most 72R2/ε272R^2/\varepsilon^272R2/ε2 calls" is off by one. Second, the per-loop failure budget is δ/(N+1)\delta/(N+1)δ/(N+1), which covers the N+1N+1N+1 loops that may be reached. The Hoeffding estimate (5.1) is not formalized: as printed it concerns the ε6\frac\varepsilon66ε​-biased target, and its role is taken by the accuracy hypothesis. The step size is clipped at 111, which never binds when the estimate is accurate. No trivializing reading is available: the accuracy hypothesis is satisfied by a perfect estimator and a 000-greedy chooser exists, so the theorem is not vacuous, and strict improvement at every update is required, not merely nonnegative change.

Pages are PDF pages; the paper has no printed page numbers.

A complete development needs summability and algebra of discounted occupation measures, the performance difference identity, and a union bound over the loops of a random process; the first two are reusable for any discounted policy-optimization result. Proofs of the milestones in any order are welcome.

Selected references

  • S. Kakade and J. Langford, Approximately Optimal Approximate Reinforcement Learning, Proceedings of the 19th International Conference on Machine Learning (ICML), 2002. https://dl.acm.org/doi/10.5555/645531.656005
  • J. Schulman, S. Levine, P. Moritz, M. Jordan, P. Abbeel, Trust Region Policy Optimization, ICML 2015. https://arxiv.org/abs/1502.05477
  • J. Schulman, F. Wolski, P. Dhariwal, A. Radford, O. Klimov, Proximal Policy Optimization Algorithms, 2017. https://arxiv.org/abs/1707.06347
  • D. J. Foster and A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, 2023. https://arxiv.org/abs/2312.16730
13 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchProbability+1·Captain: mikedeng1

Competitive Randomized Algorithms for Nonuniform Problems I: Optimal Competitiveness of Randomized Block Snoopy CachingResearch Paper

Motivation

In a shared-memory multiprocessor, each processor keeps copies of memory blocks in its own cache, and all caches listen ("snoop") on a common bus. Every bus cycle spent keeping these copies consistent is a cycle not available for useful work, so the protocol that decides when a block is shared by several caches and when it is private to one cache directly controls bus traffic. The decision has to be made on-line, without knowing which processor will touch the block next.

Karlin, Manasse, Rudolph and Sleator (Algorithmica 1988) introduced competitive analysis for this problem and gave a deterministic algorithm with competitive ratio 222, which is optimal among deterministic algorithms. Karlin, Manasse, McGeoch and Owicki (Algorithmica 1994) showed that randomization helps: against an oblivious adversary the optimal ratio for block snoopy caching is ep/(ep−1)e_p/(e_p-1)ep​/(ep​−1), where ppp is the cost of transferring a block. The same paper develops a general method for "nonuniform" problems, in which some state transitions are much more expensive than others, and the snoopy-caching result is its first application.

Setting

Fix nnn processors and one memory block BBB holding p−1p-1p−1 variables; transferring BBB over the bus costs ppp bus cycles. The block is in one of n+1n+1n+1 states: shared between all caches, or private to the cache of processor iii.

A request is a read Ri\mathrm{R}_iRi​ or a write Wi\mathrm{W}_iWi​ by processor iii. Moving from a private state to any other state costs ppp; moving from the shared state is free. A read Ri\mathrm{R}_iRi​ costs 000 if BBB is shared or private to iii and +∞+\infty+∞ otherwise. A write Wi\mathrm{W}_iWi​ costs 000 if BBB is private to iii, 111 if BBB is shared (one bus cycle broadcasts the new value), and +∞+\infty+∞ otherwise.

Before request jjj the system is in state sj−1s_{j-1}sj−1​. A read is a look-ahead-one request: the algorithm may change state at the moment of the request, after seeing it. A write is a look-ahead-zero request: it is served in whatever state the system is in. After either kind, the algorithm may move again. The cost of a request is the cost of the move to the serving state, plus the task cost there, plus the cost of the move afterwards. Every write is preceded by a read to the same block, so in an admissible sequence each write Wi\mathrm{W}_iWi​ directly follows Ri\mathrm{R}_iRi​ or Wi\mathrm{W}_iWi​.

The off-line optimum Copt(s0,σ)C_{opt}(s_0,\sigma)Copt​(s0​,σ) is the least total cost of serving σ\sigmaσ from the initial state s0s_0s0​ with full knowledge of σ\sigmaσ. A randomized on-line algorithm AAA is a probability distribution over deterministic on-line algorithms; its expected cost on σ\sigmaσ is ECA(σ)\mathbf{E}C_A(\sigma)ECA​(σ). AAA is ccc-competitive against an oblivious adversary from s0s_0s0​ if there is a constant aaa with

ECA(σ)≤c⋅Copt(s0,σ)+a\mathbf{E}C_A(\sigma)\le c\cdot C_{opt}(s_0,\sigma)+aECA​(σ)≤c⋅Copt​(s0​,σ)+a

for every admissible σ\sigmaσ. Put

ep=(1+1p)p.e_p=\left(1+\frac1p\right)^p .ep​=(1+p1​)p.

Formalization targets

Goal: Theorem 4

For n≥2n\ge 2n≥2, p≥1p\ge 1p≥1 and every initial state s0s_0s0​:

(∀A ∀c: A is c-competitive from s0⇒c≥epep−1) ∧ ∃A: A is epep−1-competitive from s0.\Big(\forall A\ \forall c:\ A \text{ is } c\text{-competitive from } s_0 \Rightarrow c\ge \tfrac{e_p}{e_p-1}\Big)\ \wedge\ \exists A:\ A \text{ is } \tfrac{e_p}{e_p-1}\text{-competitive from } s_0 .(∀A ∀c: A is c-competitive from s0​⇒c≥ep​−1ep​​) ∧ ∃A: A is ep​−1ep​​-competitive from s0​.

The two conjuncts are milestones of their own: the lower bound (Theorem 4, first claim) and attainment (Theorem 4, second claim).

The phase linear program (§3.2, pp. 552–554)

For p≥1p\ge1p≥1, real π1,…,πp+1\pi_1,\dots,\pi_{p+1}π1​,…,πp+1​ with πp+1=1\pi_{p+1}=1πp+1​=1, and real α\alphaα with

πk+1p+∑i=1k(1−πi)≤αk(k=0,…,p),\pi_{k+1}p+\sum_{i=1}^{k}(1-\pi_i)\le\alpha k\qquad(k=0,\dots,p),πk+1​p+i=1∑k​(1−πi​)≤αk(k=0,…,p),

one has α≥ep/(ep−1)\alpha\ge e_p/(e_p-1)α≥ep​/(ep​−1). Conversely, at α=ep/(ep−1)\alpha=e_p/(e_p-1)α=ep​/(ep​−1) the choice πk=(α−1)(((p+1)/p)k−1−1)\pi_k=(\alpha-1)\big(((p+1)/p)^{k-1}-1\big)πk​=(α−1)(((p+1)/p)k−1−1) satisfies πp+1=1\pi_{p+1}=1πp+1​=1, 0≤π1≤⋯≤πp+10\le\pi_1\le\dots\le\pi_{p+1}0≤π1​≤⋯≤πp+1​, and makes every constraint an equality.

Significance

The theorem settles the randomized competitive ratio of block snoopy caching exactly: 222 at p=1p=1p=1, 9/59/59/5 at p=2p=2p=2, decreasing to e/(e−1)≈1.582e/(e-1)\approx1.582e/(e−1)≈1.582 as p→∞p\to\inftyp→∞, against the deterministic optimum 222. The same ratio e/(e−1)e/(e-1)e/(e−1) is the randomized optimum for the continuous ski-rental and spin-block problems treated later in the paper, and the snoopy-caching case is its discrete counterpart with ratio ep/(ep−1)e_p/(e_p-1)ep​/(ep​−1). The phase-LP method used here recurs in the paper's two-server results.

The result is proved in the paper; to our knowledge it has no machine-checked proof. This mission produces a formal model of the snoopy-caching task system with look-ahead-zero requests, of randomized algorithms against an oblivious adversary with infinite task costs allowed, and of the off-line optimum, together with the exact optimal ratio. The platform's fractional ski-rental result (PrimalDualOnline.SkiRental.fractional_competitive) proves an eB/(eB−1)e_B/(e_B-1)eB​/(eB​−1) bound for a different model: one deterministic fractional algorithm, with no lower bound over randomized algorithms. It is related work, not a special case.

Difficulty

The linear program is elementary. The gap is between the LP and the algorithms. The paper's lower bound reduces arbitrary randomized algorithms to phase-based ones, whose state distribution at the end of each phase agrees with the optimal algorithm's known state, and whose behaviour inside a phase depends only on the number of writes so far. This reduction (Theorems 1 and 3 of the paper, pp. 545–549) is where the argument is not routine. An algorithm may keep the block private to a processor that is not the active one, may randomize over histories rather than over phase lengths, and the off-line optimum is not a sum of per-phase costs at the ends of the sequence. The obvious approach, bounding a single adversarial phase, does not suffice, because an algorithm may pay more in one phase and recover it in the next; the additive constant aaa and the infinite horizon have to be handled. For attainment, the mixture of threshold algorithms must be written as a genuine distribution over on-line algorithms, with the initial phase from a private state absorbed into the additive constant.

Formalization scope

Everything lives in the namespace NonuniformCompetitive.Snoopy. States are Option (Fin n) (none = shared). Costs are in ℝ≥0∞; +∞+\infty+∞ is a genuine outcome, so an algorithm that ever pays +∞+\infty+∞ with positive probability on an admissible sequence is not competitive. A deterministic on-line algorithm is a pair of functions of the request prefix (the state at the moment of the last request, and the state after it), with the look-ahead-zero rule as a field. Moves "immediately before" a request are made without knowledge of it and are recorded as moves after the previous request. A randomized algorithm is a probability space with a measurable cost on every sequence, and its expected cost is a lower Lebesgue integral. The off-line optimum is an infimum in ℝ≥0∞ over schedules starting in s0s_0s0​; it is finite on admissible sequences.

Conventions added to the printed statement, all from the paper's setting: (i) n≥2n\ge2n≥2, since with one processor the block can stay private for free; (ii) one block, since the proof of Theorem 4 splits a multi-block system into independent blocks (p. 551); (iii) admissibility in the form "each write of iii directly follows a read or write of iii", the reading of "every write is preceded by a read to the same block" that the proof uses; without it every algorithm is defeated by a write from a processor whose block copy was invalidated; (iv) p∈Np\in\mathbb{N}p∈N, p≥1p\ge1p≥1; (v) both claims from every initial state, with an additive constant depending on nnn, ppp, s0s_0s0​.

The lower bound is over all randomized algorithms, not over phase-based or deterministic ones; a statement restricted to phase-based algorithms, or the LP alone in place of the goal, would not be Theorem 4. The LP variables are free, as in the paper.

Welcome contributions: a formal version of the phase reduction (Theorems 1 and 3 of the paper) for this task system, which is reusable for the paper's other nonuniform problems; the threshold algorithms and their mixture; and a proof that the off-line optimum decomposes by write runs up to a bounded error.

Selected references

  • A. R. Karlin, M. S. Manasse, L. A. McGeoch, S. Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994), 542–571. https://doi.org/10.1007/BF01189993
  • A. R. Karlin, M. S. Manasse, L. Rudolph, D. D. Sleator, Competitive Snoopy Caching, Algorithmica 3 (1988), 79–119. https://doi.org/10.1007/BF01762111
  • A. Borodin, R. El-Yaniv, Online Computation and Competitive Analysis, Cambridge University Press, 1998.
8 thms4 active usersReviewed
🏆Completed
Operations ResearchProbabilityTheoretical Computer Science·Captain: mikedeng1

Competitive Randomized Algorithms for Nonuniform Problems II: Optimal Competitiveness for the Spin-Block ProblemResearch Paper

Motivation

A process on a shared-memory multiprocessor that finds a lock held must decide what to do while it waits. It can spin, repeatedly testing the lock and occupying its processor, or it can block, giving the processor to another process and paying a fixed context-switch cost CCC to be descheduled and later restored. Spinning is cheap when the lock is released soon; blocking is cheap when the wait is long. The waiting time is not known in advance, so the choice has to be made on-line. This is the spin-block problem, studied by Karlin, Manasse, McGeoch and Owicki in Competitive Randomized Algorithms for Nonuniform Problems (Algorithmica 11, 1994, doi:10.1007/BF01189993), §4. Mathematically it is the continuous form of the ski-rental problem, and the same rent-or-buy structure recurs in power-down policies and in TCP acknowledgement (Karlin, Kenyon, Randall, STOC 2001).

Timeline:

  • Karlin, Manasse, Rudolph and Sleator (1988, doi:10.1007/BF01762111) introduced competitive analysis of snoopy caching and showed that 222 is the optimal deterministic factor there. The spin-block analogue is recorded in the 1994 paper (pp. 558–559): spinning for time CCC and then blocking is 222-competitive, and no deterministic algorithm does better.
  • Karlin, Manasse, McGeoch and Owicki (SODA 1990; Algorithmica 1994) found the optimal randomized factors for snoopy caching and spin-block. For spin-block, Theorem 10 (p. 559) gives e/(e−1)≈1.582e/(e-1)\approx1.582e/(e−1)≈1.582 against an oblivious adversary. Theorem 9 (p. 559) shows that against an adaptive on-line adversary randomization does not help: the factor stays 222.

Setting

Fix a context-switch cost C>0C>0C>0. A lock wait is described by its release time τ≥0\tau\ge0τ≥0. An algorithm handling the wait chooses a blocking time b∈[0,∞]b\in[0,\infty]b∈[0,∞]: it spins until time bbb and then blocks (b=∞b=\inftyb=∞: never block). The cost of the wait is

waitCostC(b,τ)={τ,τ≤b,b+C,b<τ,\mathrm{waitCost}_C(b,\tau)=\begin{cases}\tau,&\tau\le b,\\ b+C,&b<\tau,\end{cases}waitCostC​(b,τ)={τ,b+C,​τ≤b,b<τ,​

so a lock released exactly at the blocking time costs τ\tauτ. The optimal off-line algorithm, which knows τ\tauτ, pays min⁡(τ,C)\min(\tau,C)min(τ,C).

An input is a finite sequence σ=(τ0,…,τn−1)\sigma=(\tau_0,\dots,\tau_{n-1})σ=(τ0​,…,τn−1​) of lock waits. A deterministic on-line algorithm chooses the blocking time of wait jjj as a function of τ0,…,τj−1\tau_0,\dots,\tau_{j-1}τ0​,…,τj−1​, the release times it has already observed. Its cost CA(σ)C_A(\sigma)CA​(σ) is the sum of the wait costs, and the off-line cost is Copt(σ)=∑jmin⁡(τj,C)C_{opt}(\sigma)=\sum_j\min(\tau_j,C)Copt​(σ)=∑j​min(τj​,C).

A randomized on-line algorithm is a probability distribution over deterministic on-line algorithms: a probability space (I,μ)(I,\mu)(I,μ) and a deterministic algorithm AiA_iAi​ for each i∈Ii\in Ii∈I, with i↦CAi(σ)i\mapsto C_{A_i}(\sigma)i↦CAi​​(σ) measurable for every σ\sigmaσ. Its expected cost is ECA(σ)=∫CAi(σ) dμ(i)\mathbf{E}C_A(\sigma)=\int C_{A_i}(\sigma)\,d\mu(i)ECA​(σ)=∫CAi​​(σ)dμ(i). Following §1 of the paper, AAA is ccc-competitive against an oblivious adversary if there is a constant aaa with

ECA(σ)≤c⋅Copt(σ)+afor every input σ.\mathbf{E}C_A(\sigma)\le c\cdot C_{opt}(\sigma)+a\qquad\text{for every input }\sigma .ECA​(σ)≤c⋅Copt​(σ)+afor every input σ.

The adversary is oblivious: it fixes σ\sigmaσ before the algorithm's random choices are made.

The paper's algorithm blocks at a random time with cumulative distribution

π(t)={et/C−1e−1,0≤t≤C,1,t>C,\pi(t)=\begin{cases}\dfrac{e^{t/C}-1}{e-1},&0\le t\le C,\\[1ex] 1,&t>C,\end{cases}π(t)=⎩⎨⎧​e−1et/C−1​,1,​0≤t≤C,t>C,​

where π(t)\pi(t)π(t) is the probability of blocking before time ttt.

Formalization targets

Goal: Theorem 10 (p. 559)

For every C>0C>0C>0:

(∀A ∀c, A is c-competitive ⇒ c≥ee−1)and∃A, A is ee−1-competitive.\Big(\forall A\ \forall c,\ A\ \text{is } c\text{-competitive}\ \Rightarrow\ c\ge\tfrac{e}{e-1}\Big)\quad\text{and}\quad\exists A,\ A\ \text{is } \tfrac{e}{e-1}\text{-competitive}.(∀A ∀c, A is c-competitive ⇒ c≥e−1e​)and∃A, A is e−1e​-competitive.

Milestones

  1. Expected cost of one wait (§4.1, p. 560). For a blocking time with law ν\nuν and release time τ\tauτ,
E waitCostC(b,τ)=π(τ) C+∫0τ(1−π(t)) dt,π(t)=ν{b<t}.\mathbf{E}\,\mathrm{waitCost}_C(b,\tau)=\pi(\tau)\,C+\int_0^\tau(1-\pi(t))\,dt,\qquad \pi(t)=\nu\{b<t\}.EwaitCostC​(b,τ)=π(τ)C+∫0τ​(1−π(t))dt,π(t)=ν{b<t}.
  1. The ratio of the paper's distribution (§4.1, p. 560). With the π\piπ above, for all τ≥0\tau\ge0τ≥0,
π(τ) C+∫0τ(1−π(t)) dt≤ee−1min⁡(τ,C).\pi(\tau)\,C+\int_0^\tau(1-\pi(t))\,dt\le\tfrac{e}{e-1}\min(\tau,C).π(τ)C+∫0τ​(1−π(t))dt≤e−1e​min(τ,C).
  1. Theorem 10, first claim: the lower bound c≥e/(e−1)c\ge e/(e-1)c≥e/(e−1) for every ccc-competitive randomized algorithm.
  2. Theorem 10, second claim: existence of an e/(e−1)e/(e-1)e/(e−1)-competitive randomized algorithm.

Significance

Theorem 10 settles the randomized competitive ratio of the continuous ski-rental problem: e/(e−1)e/(e-1)e/(e−1) is achievable and cannot be improved by any on-line algorithm, randomized or not, against an oblivious adversary. The same constant is the limit of the paper's snoopy-caching ratios ep/(ep−1)e_p/(e_p-1)ep​/(ep​−1) as the block size grows, and it recurs in randomized rent-or-buy problems and in on-line primal-dual analyses.

The result is proved in the literature, and the mission's work is to formalize it. The platform has related material but not this statement: Primal-Dual Online Algorithms I: Fractional Ski Rental proves a deterministic, fractional, discrete-day bound (PrimalDualOnline.SkiRental.fractional_competitive), which is a different model and contains no lower bound. A complete formalization produces a reusable model of randomized on-line algorithms with history-dependent decisions and an exact lower bound for them.

Difficulty

The upper bound per lock wait is an explicit computation. The difficulty lies elsewhere. First, the on-line algorithm is allowed to adapt to the release times of all previous waits, so a bound for a single wait does not by itself bound a sequence: the randomized algorithm must be assembled so that each wait is handled with the right blocking law, whatever happened before. Second, the lower bound is a statement about every randomized algorithm and must survive the additive constant aaa: a single hard lock wait proves nothing, because aaa absorbs any bounded loss. It has to be shown that on long sequences of waits every algorithm loses a factor e/(e−1)e/(e-1)e/(e−1) on average. The natural first idea, to exhibit one bad release time for each algorithm, fails for randomized algorithms facing an oblivious adversary.

Formalization scope

All objects live in the namespace NonuniformCompetitive.SpinBlock. Release times are ℝ≥0, blocking times ℝ≥0∞, wait costs ℝ≥0∞, and the off-line cost is real. Committed conventions:

  • C>0C>0C>0 is a hypothesis of every theorem (the paper's "some large cost CCC"); at C=0C=0C=0 blocking at once is free and the lower bound fails.
  • A tie b=τb=\taub=τ costs τ\tauτ; this matches "π(t)\pi(t)π(t) is the probability that the algorithm blocks sometime before time ttt".
  • Inputs are finite sequences of lock waits and competitiveness carries the additive constant aaa of §1 (p. 543). A formalization with a single wait and no additive constant would be a different, easier lower bound and is ruled out.
  • The on-line algorithm sees the release times of earlier waits (the information used by the paper's adaptive algorithms, p. 561). This enlarges the class of algorithms: it strengthens the lower bound and does not affect the upper bound.
  • A randomized algorithm is a mixed strategy whose cost on each fixed input is measurable in the random outcome; the expected cost is a lower Lebesgue integral. Without measurability the lower integral would not be the expectation and the upper bound would become easier than the paper's.
  • Milestone 1 is stated for every blocking law, not only for the paper's π\piπ. Milestone 2 keeps the paper's inequality, although equality holds.

Infrastructure a complete development needs: Lebesgue integrals of functions of a random variable (the layer-cake formula), interval integrals of the exponential, the construction of a probability measure on [0,∞][0,\infty][0,∞] with a prescribed continuous distribution function, and a Yao-type averaging argument over finitely supported input distributions for the lower bound. The model of randomized on-line algorithms with history-dependent decisions is reusable for other rent-or-buy problems. Contributions welcome: proofs of the milestones, and intermediate lemmas such as the discretised lower bound for a fixed step C/pC/pC/p.

Selected references

  • A. R. Karlin, M. S. Manasse, L. A. McGeoch, S. Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994), 542–571. doi:10.1007/BF01189993
  • A. R. Karlin, M. S. Manasse, L. Rudolph, D. D. Sleator, Competitive Snoopy Caching, Algorithmica 3 (1988), 79–119. doi:10.1007/BF01762111
  • A. Borodin, R. El-Yaniv, Online Computation and Competitive Analysis, Cambridge University Press, 1998.
  • A. R. Karlin, C. Kenyon, D. Randall, Dynamic TCP Acknowledgement and Other Stories about e/(e−1), STOC 2001, 502–509. doi:10.1145/380752.380845
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal–Dual Approach, Foundations and Trends in Theoretical Computer Science 3 (2009). doi:10.1561/0400000024
8 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchProbability+1·Captain: mikedeng1

Competitive Randomized Algorithms for Nonuniform Problems III: The Optimal Randomized Two-Server Ratio on the 1-d-d Isosceles TriangleResearch Paper

Motivation

The k-server problem of Manasse, McGeoch and Sleator (J. Algorithms 11 (1990)) asks how kkk mobile servers in a metric space should respond, on-line, to a sequence of requests at points of the space, each of which must be covered by a server. It is the central model of on-line computation: paging is the special case of a uniform metric, and many caching and scheduling problems reduce to it. For two servers the deterministic picture is complete: the optimal competitive ratio is 222 on every metric space with at least three points.

Randomization changes the picture, and the smallest nontrivial case already shows how. On the equilateral triangle the optimal randomized ratio against an oblivious adversary is 3/23/23/2. Karlin, Manasse, McGeoch and Owicki (Algorithmica 11 (1994) 542–571) computed the exact optimal randomized ratio for several nonuniform triangles, where the distances differ, and showed that it depends on the geometry. Their Theorem 12 settles the whole family of isosceles triangles with edge lengths 111, ddd, ddd. These exact values are among the few known optimal randomized ratios for server problems.

Timeline:

  • 1990: Manasse, McGeoch and Sleator introduce the kkk-server problem and prove the deterministic two-server ratio is 222.
  • 1990–1994: Karlin, Manasse, McGeoch and Owicki submit this paper (received August 1990, revised September 1991) and publish it in Algorithmica in 1994, with the isosceles-triangle ratios of Theorem 12 and the 3-4-5 triangle ratio 1652/10691652/10691652/1069 of Theorem 13.
  • Later: Karloff, Rabani and Ravid extend the technique to Ω(log⁡log⁡k)\Omega(\log\log k)Ω(loglogk) and Ω(log⁡k)\Omega(\log k)Ω(logk) randomized lower bounds (cited on p. 564); Bubeck, Coester and Rabani (STOC 2023) refute the randomized kkk-server conjecture.

Setting

Fix an integer d≥1d\ge1d≥1. The isosceles triangle MMM has three points aaa, bbb, ccc with

dist⁡(a,b)=1,dist⁡(a,c)=dist⁡(b,c)=d.\operatorname{dist}(a,b)=1,\qquad \operatorname{dist}(a,c)=\operatorname{dist}(b,c)=d.dist(a,b)=1,dist(a,c)=dist(b,c)=d.

A configuration C:{0,1}→MC:\{0,1\}\to MC:{0,1}→M places two labelled servers on points of MMM. A deterministic on-line algorithm assigns to every finite request sequence σ=(r1,…,rn)\sigma=(r_1,\dots,r_n)σ=(r1​,…,rn​) a configuration, computed from σ\sigmaσ alone and covering the last request; its value on the empty sequence is its initial configuration. Its cost CA(σ)C_A(\sigma)CA​(σ) is the total distance its servers move while serving σ\sigmaσ request by request. The off-line optimum Copt(σ)C_{opt}(\sigma)Copt​(σ) from an initial configuration C0C_0C0​ is the least total movement of any schedule that starts at C0C_0C0​ and covers each request in turn, knowing σ\sigmaσ in advance.

A randomized algorithm is a probability distribution on deterministic on-line algorithms; its expected cost is ECA(σ)\mathbf{E}C_A(\sigma)ECA​(σ). It is ρ\rhoρ-competitive against an oblivious adversary from C0C_0C0​ if every algorithm in its support starts at C0C_0C0​ and there is a constant aaa such that

ECA(σ)≤ρ⋅Copt(σ)+afor every request sequence σ.\mathbf{E}C_A(\sigma)\le\rho\cdot C_{opt}(\sigma)+a\qquad\text{for every request sequence }\sigma.ECA​(σ)≤ρ⋅Copt​(σ)+afor every request sequence σ.

The request sequence is fixed in advance and does not react to the algorithm's coin flips.

Write ep=(1+1/p)pe_p=(1+1/p)^pep​=(1+1/p)p and

αd=e2d−1+1/4d(e2d−1−1)+1/2d,e2d−1=(2d2d−1)2d−1.\alpha_d=\frac{e_{2d-1}+1/4d}{(e_{2d-1}-1)+1/2d},\qquad e_{2d-1}=\left(\frac{2d}{2d-1}\right)^{2d-1}.αd​=(e2d−1​−1)+1/2de2d−1​+1/4d​,e2d−1​=(2d−12d​)2d−1.

In Lean this is NonuniformCompetitive.Isosceles.isoscelesRatio d.

Formalization targets

Goal: Theorem 12

For every d≥1d\ge1d≥1 and every initial configuration C0C_0C0​:

∀A, ∀ρ,A is ρ-competitive from C0 ⟹ ρ≥αd,\forall A,\ \forall\rho,\quad A\text{ is }\rho\text{-competitive from }C_0\ \Longrightarrow\ \rho\ge\alpha_d,∀A, ∀ρ,A is ρ-competitive from C0​ ⟹ ρ≥αd​, ∃A: A is αd-competitive from C0.\exists A:\ A\text{ is }\alpha_d\text{-competitive from }C_0.∃A: A is αd​-competitive from C0​.

The two claims are also milestones of their own (no_better_ratio, ratio_attained).

The phase LP (§5, pp. 565–566)

For free real π1,…,π2d−1\pi_1,\dots,\pi_{2d-1}π1​,…,π2d−1​ and real α\alphaα with

(πk)2d+∑i=1k(1−πi)≤αk  (1≤k<2d),2d+∑i=12d−1(1−πi)+12≤α⋅2d,(\pi_k)2d+\sum_{i=1}^k(1-\pi_i)\le\alpha k\ \ (1\le k<2d),\qquad 2d+\sum_{i=1}^{2d-1}(1-\pi_i)+\tfrac12\le\alpha\cdot2d,(πk​)2d+i=1∑k​(1−πi​)≤αk  (1≤k<2d),2d+i=1∑2d−1​(1−πi​)+21​≤α⋅2d,

one has α≥αd\alpha\ge\alpha_dα≥αd​ (lp_lower_bound); and πk=(αd−1)((2d/(2d−1))k−1)\pi_k=(\alpha_d-1)\big((2d/(2d-1))^k-1\big)πk​=(αd​−1)((2d/(2d−1))k−1), π2d=1\pi_{2d}=1π2d​=1 is nondecreasing from π1≥0\pi_1\ge0π1​≥0 to 111 and makes every constraint an equality (lp_attained).

The limit remark (§5, p. 566)

α1<α2<α3<⋯ ,lim⁡d→∞αd=ee−1\alpha_1<\alpha_2<\alpha_3<\cdots,\qquad \lim_{d\to\infty}\alpha_d=\frac{e}{e-1}α1​<α2​<α3​<⋯,d→∞lim​αd​=e−1e​

(ratio_increases_to_e_ratio).

Significance

The theorem gives an exact optimal randomized ratio for an infinite family of metric spaces. It shows that the optimal randomized two-server ratio is not a constant: it runs from 3/23/23/2 on the equilateral triangle to e/(e−1)≈1.582e/(e-1)\approx1.582e/(e−1)≈1.582 as the triangle becomes long and thin, where the problem resembles ski rental. With the deterministic ratio 222, it quantifies exactly how much randomization gains on these spaces.

The results are proved in the paper; none is formalized on Prove2Me, and no machine-checked proof of them is known. A formal proof would require the paper's phase framework (Theorems 1–3 and the appendix's Theorem 15) for server problems, which this mission does not state separately, and a concrete randomized algorithm as a measurable mixed strategy. Both would be reusable for Theorem 13 (the 3-4-5 triangle) and for other exact ratios on small metric spaces.

Difficulty

The phase LP milestones are finite real arithmetic. The difficulty is the passage between them and the goal. The lower bound must hold for every randomized algorithm, not only phase-based lazy ones: an arbitrary algorithm may condition on the whole history, move non-lazily, and randomize in ways that do not reduce to the probabilities πk\pi_kπk​. The paper handles this with Theorem 3, which says that the LP bound of phase-based algorithms bounds the competitive factor of all algorithms; its proof uses an averaging argument over histories that must be made rigorous. The upper bound needs a mixed strategy over infinitely many phases, with measurable costs, an explicit additive constant covering the first partial phase from an arbitrary initial configuration, and an accounting of CoptC_{opt}Copt​ across phase boundaries.

Formalization scope

The model is the platform's published KServer_model and KServer_randomized (reference items): labelled servers Fin 2 → M; a deterministic on-line algorithm as a map from request prefixes to configurations; a randomized algorithm as a probability measure over deterministic algorithms, with the cost of each fixed sequence measurable in the random outcome; expected cost as a lower Lebesgue integral in [0,∞][0,\infty][0,∞]; the off-line optimum as a real infimum over schedules from C0C_0C0​ (nonempty and bounded below by 000); and IsCompetitiveFrom A C₀ c with a real additive constant.

Committed conventions:

  • The triangle is any metric space whose points are exactly a,b,ca,b,ca,b,c at distances 1,d,d1,d,d1,d,d, with ddd a natural number and d≥1d\ge1d≥1. Every such space is isometric to the paper's triangle; at d=0d=0d=0 it would not be a triangle.
  • Both claims are stated for every initial configuration, including both servers on one point. The paper treats the initial state {a,b}\{a,b\}{a,b} separately and absorbs the first partial phase into the additive constant.
  • The lower bound quantifies over all randomized algorithms (deterministic ones are point masses), never over phase-based ones only.
  • In the LP milestones the πk\pi_kπk​ are free reals, as printed; no box 0≤πk≤10\le\pi_k\le10≤πk​≤1 is imposed.
  • "Grows" in the limit remark is read as strictly increasing.
  • The paper prints the recurrence on p. 565 as πk=α−1+(πk−1)2d−12d\pi_k=\frac{\alpha-1+(\pi_{k-1})2d-1}{2d}πk​=2dα−1+(πk−1​)2d−1​; the equations (∗)(*)(∗) give πk=α−1+2d πk−12d−1\pi_k=\frac{\alpha-1+2d\,\pi_{k-1}}{2d-1}πk​=2d−1α−1+2dπk−1​​. The recurrence is not used; the closed form printed on p. 566 is correct and is the one stated.

Without the measurability field of a randomized algorithm the lower integral would under-report expected cost and the attainment claim would become easier than the paper's; the published definition includes it. The lower bound is not vacuous: the triangle hypotheses are satisfiable for every d≥1d\ge1d≥1.

Welcome contributions: a formal version of the phase framework (Theorems 1–3, 15) for finite metric spaces, reusable across missions III and IV; a measurable construction of phase-based randomized algorithms; and proofs of the LP milestones.

Selected references

  • A. R. Karlin, M. S. Manasse, L. A. McGeoch, S. Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994) 542–571. https://doi.org/10.1007/BF01189993
  • M. S. Manasse, L. A. McGeoch, D. D. Sleator, Competitive Algorithms for Server Problems, J. Algorithms 11 (1990) 208–230. https://doi.org/10.1016/0196-6774(90)90003-W
  • H. Karloff, Y. Rabani, Y. Ravid, Lower Bounds for Randomized k-Server and Motion-Planning Algorithms, SIAM J. Comput. 23 (1994) 293–312. https://doi.org/10.1137/S0097539792224838
  • S. Bubeck, C. Coester, Y. Rabani, The Randomized k-Server Conjecture Is False!, STOC 2023. https://arxiv.org/abs/2211.05753
9 thms5 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchProbability+1·Captain: mikedeng1

Competitive Randomized Algorithms for Nonuniform Problems IV: The Optimal Randomized Two-Server Ratio 1652/1069 on the 3-4-5 TriangleResearch Paper

Motivation

The kkk-server problem is a basic model of on-line decision making. kkk mobile servers move in a metric space, requests for points arrive one at a time, and each request has to be covered by a server before the next one arrives. The cost is the total distance the servers move. The problem includes paging, caching and disk-head scheduling as special cases (Manasse, McGeoch, Sleator 1990). An on-line algorithm is judged by its competitive factor: how much its cost can exceed that of an off-line algorithm that knows the whole request sequence in advance.

For randomized algorithms against an oblivious adversary (one that fixes the whole request sequence before the algorithm flips any coins), the best-understood case is paging, which is the kkk-server problem on a uniform metric space. There the optimal factor is the harmonic number Hk=∑i=1k1/iH_k=\sum_{i=1}^k 1/iHk​=∑i=1k​1/i. Fiat et al. proved the lower bound (1991) and McGeoch and Sleator the matching upper bound (1991). Karlin, Manasse, McGeoch and Owicki (Algorithmica 11, 1994, §5) asked whether HkH_kHk​-competitive algorithms also exist when the metric space is not uniform. They answered no, already for two servers on three points: on certain triangles the optimal randomized factor is strictly larger than H2=3/2H_2 = 3/2H2​=3/2. This mission formalizes their Theorem 13, which gives the exact optimal factor on the triangle with edge lengths 3, 4 and 5.

Timeline:

  • 1990: Manasse, McGeoch and Sleator introduce the kkk-server problem; kkk is the deterministic optimum for k=2k=2k=2.
  • 1991: Fiat, Karp, Luby, McGeoch, Sleator and Young prove the HkH_kHk​ lower bound for randomized paging. McGeoch and Sleator give an HkH_kHk​-competitive paging algorithm.
  • 1994: Karlin, Manasse, McGeoch and Owicki determine the optimal randomized two-server factors on the isosceles triangles 111-ddd-ddd (Theorem 12) and on the 3-4-5 triangle (Theorem 13, the ratio 1652/10691652/10691652/1069). Both exceed 3/23/23/2.

Setting

Let MMM be a metric space with exactly three points a,b,ca, b, ca,b,c, where d(a,b)=3d(a,b)=3d(a,b)=3, d(a,c)=5d(a,c)=5d(a,c)=5 and d(b,c)=4d(b,c)=4d(b,c)=4. A configuration CCC gives the positions of two labelled servers in MMM. A request sequence σ\sigmaσ is a finite list of points of MMM.

A deterministic on-line algorithm assigns to each prefix of a request sequence a configuration, in which the last request is covered. Its configuration after a prefix therefore cannot depend on later requests. Its initial configuration is the one it assigns to the empty prefix, and its cost CA(σ)C_A(\sigma)CA​(σ) on σ\sigmaσ is the total distance its servers move while serving σ\sigmaσ request by request.

The optimal off-line cost Copt(σ)C_{opt}(\sigma)Copt​(σ) from an initial configuration C0C_0C0​ is the infimum, over all schedules that start at C0C_0C0​ and cover each request of σ\sigmaσ in turn, of the total distance moved.

A randomized on-line algorithm AAA is a probability distribution over deterministic on-line algorithms, all starting at C0C_0C0​. The cost on each fixed σ\sigmaσ is required to be measurable in the random choice, and ECA(σ)\mathbf{E}C_A(\sigma)ECA​(σ) is the expected cost. AAA is ρ\rhoρ-competitive against an oblivious adversary if there is a constant aaa such that for every request sequence σ\sigmaσ,

ECA(σ)≤ρ⋅Copt(σ)+a.\mathbf{E}C_A(\sigma) \le \rho\cdot C_{opt}(\sigma) + a .ECA​(σ)≤ρ⋅Copt​(σ)+a.

These are the definitions of p. 543 of the paper. They are the platform's published KServer_model and KServer_randomized, which this mission reuses unchanged: KServer.RandomizedAlgorithm 2 M and A.IsCompetitiveFrom C₀ ρ.

Formalization targets

Goal: Theorem 13

For every initial configuration C0C_0C0​ of the two servers,

(∀A, ∀ρ, A is ρ-competitive from C0⇒ρ≥16521069) ∧ (∃A, A is 16521069-competitive from C0).\Big(\forall A,\ \forall \rho,\ A \text{ is } \rho\text{-competitive from } C_0 \Rightarrow \rho \ge \tfrac{1652}{1069}\Big)\ \wedge\ \Big(\exists A,\ A \text{ is } \tfrac{1652}{1069}\text{-competitive from } C_0\Big).(∀A, ∀ρ, A is ρ-competitive from C0​⇒ρ≥10691652​) ∧ (∃A, A is 10691652​-competitive from C0​).

The first claim is quantified over all randomized algorithms, so it also covers deterministic ones (point masses). The second claim asks for one algorithm. Together they say that 1652/1069≈1.5451652/1069 \approx 1.5451652/1069≈1.545 is the exact optimal randomized factor on this triangle.

Milestones

  1. The phase LP lower bound (p. 568). Twelve linear constraints in nine probabilities π1,…,π9\pi_1,\dots,\pi_9π1​,…,π9​, three potentials Φab,Φac,Φbc\Phi_{ab},\Phi_{ac},\Phi_{bc}Φab​,Φac​,Φbc​ and a ratio α\alphaα, one constraint for each possible phase of the request sequence, of the form
A’s cost≤α⋅(opt’s cost)+Φinitial−Φfinal.\text{A's cost} \le \alpha\cdot(\text{opt's cost}) + \Phi_{\text{initial}} - \Phi_{\text{final}}.A’s cost≤α⋅(opt’s cost)+Φinitial​−Φfinal​.

Every real solution has α≥1652/1069\alpha \ge 1652/1069α≥1652/1069. 2. The LP attainment (p. 568). The paper's printed probabilities lie in [0,1][0,1][0,1], and with suitable potentials they satisfy all twelve constraints at α=1652/1069\alpha = 1652/1069α=1652/1069. 3. Theorem 13, first claim: the lower bound for every randomized algorithm. 4. Theorem 13, second claim: a 1652/10691652/10691652/1069-competitive randomized algorithm exists.

Significance

The result. Theorem 13 shows that the HkH_kHk​ behaviour of randomized paging does not carry over to general metric spaces. Two servers on a three-point space already force a factor above 3/23/23/2. The value is exact, which makes this triangle a test case for any general theory of randomized kkk-server algorithms on small metric spaces. With Theorem 12 (the isosceles triangles, a companion mission of this series), it is one of the few non-uniform metric spaces with a known optimal randomized factor.

Formalizing it. The result has been proved since 1994. To our knowledge there is no machine-checked proof. The paper derives both bounds from two framework theorems for phase-based algorithms: Theorem 3 (an LP lower bound for phase-based algorithms bounds every algorithm) and Theorem 2 (a lazy phase-based algorithm with LP bound α\alphaα is α\alphaα-competitive). The phase tables themselves (which phases can occur and what they cost) are stated without detailed proof. A formal proof has to supply both framework arguments for this space and verify the phase tables, as well as the finite linear algebra of milestones 1 and 2. The milestones isolate the exact-arithmetic core so that it can be closed independently of the probabilistic part.

Difficulty

The two LP milestones are finite exact-arithmetic facts. The hard part is linking them to Theorem 13.

For the lower bound, an algorithm need not be phase-based at all. Its probabilities may depend on the whole history, not only on the current phase, and it may leave the configuration of the off-line optimum at the end of a phase. The obvious attempt is to fix one hard request sequence and compare costs, but that cannot work: randomization defeats any single sequence. The reduction from arbitrary algorithms to phase-based ones (the paper's Theorem 3) is the substantive step.

For the upper bound, the printed probabilities describe the algorithm's marginal position after each prefix of a phase. They have to be realized as a single probability distribution over deterministic on-line algorithms that is lazy (it moves only to serve a request) and whose expected cost per phase equals the table's entry. On top of this, the LP accounting has to be turned into a bound on arbitrary request sequences, including partial phases and a start away from the optimum's configuration.

Formalization scope

  • Model. The platform definitions KServer_model and KServer_randomized are used unchanged. Servers are labelled (Config 2 M = Fin 2 → M). A deterministic algorithm is a function of the request prefix, which makes it on-line by construction. A randomized algorithm is a mixed strategy with a probability measure and a measurability field, and its expected cost is the lower Lebesgue integral of the nonnegative cost. The off-line optimum is a real infimum over schedules from C0C_0C0​; the set is nonempty and bounded below by 000. Competitiveness allows any real additive constant.
  • The triangle is given by hypotheses on an arbitrary metric space: every point equals aaa, bbb or ccc, and d(a,b)=3d(a,b)=3d(a,b)=3, d(a,c)=5d(a,c)=5d(a,c)=5, d(b,c)=4d(b,c)=4d(b,c)=4. These hypotheses are satisfiable (3+4≥53+4\ge53+4≥5) and force three distinct points.
  • Initial configuration. Both claims are stated for every initial configuration C0C_0C0​, including both servers on one point. The paper does not fix the start; the additive constant absorbs it.
  • LP milestones. The thirteen LP variables are free reals, with no box 0≤πi≤10\le\pi_i\le 10≤πi​≤1, exactly as the paper permits. This makes milestone 1 stronger than the boxed version; the minimum is the same either way. The twelve constraints are written out one per hypothesis, in the table's order, with the potential difference Φinitial−Φfinal\Phi_{\text{initial}} - \Phi_{\text{final}}Φinitial​−Φfinal​ on the right. In milestone 2 the potentials are existentially quantified, since the paper names none.
  • Not stated. The paper's Theorems 2 and 3 (the phase framework) and the phase tables are not separate milestones. Milestone 1 feeds the first claim through Theorem 3, and milestone 2 feeds the second claim through Theorem 2. Contributions formalizing phase-based algorithms, laziness and the LP-bound reduction for finite metric spaces would be reusable for Theorem 12 and Theorem 14 of the same paper.
  • Ruled out. The lower bound is not restricted to deterministic or to phase-based algorithms, and it is not stated as "one sequence defeats every algorithm". The constant is exactly 1652/10691652/10691652/1069, not an approximation, and the attainment claim is not weakened to "for some initial configuration".

Selected references

  • A. R. Karlin, M. S. Manasse, L. A. McGeoch, S. Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994) 542–571. https://doi.org/10.1007/BF01189993
  • M. S. Manasse, L. A. McGeoch, D. D. Sleator, Competitive Algorithms for Server Problems, Journal of Algorithms 11 (1990) 208–230. https://doi.org/10.1016/0196-6774(90)90003-W
  • A. Fiat, R. M. Karp, M. Luby, L. A. McGeoch, D. D. Sleator, N. E. Young, Competitive Paging Algorithms, Journal of Algorithms 12 (1991) 685–699. https://doi.org/10.1016/0196-6774(91)90041-V
  • L. A. McGeoch, D. D. Sleator, A Strongly Competitive Randomized Paging Algorithm, Algorithmica 6 (1991) 816–825. https://doi.org/10.1007/BF01759073
7 thms4 active usersReviewed
🏆Completed
Convex OptimizationFunctional AnalysisOperations Research+1·Captain: mikedeng1

Accelerated Proximal Point Method for Maximally Monotone Operators: The Fixed-Point Residual Rate of the Accelerated MethodResearch Paper

Motivation

Many problems in optimization reduce to finding a zero of a maximally monotone operator: minimizing a closed proper convex function (its subdifferential is maximally monotone), finding a saddle point of a convex–concave function, and solving monotone variational inequalities. The basic algorithm for this problem is the proximal point method of Martinet (1970) and Rockafellar (1976), which repeatedly applies the resolvent of the operator. The augmented Lagrangian method, the proximal method of multipliers, the Douglas–Rachford splitting method, ADMM and the primal–dual hybrid gradient method are all instances of it, so any speed-up of the proximal point method transfers to these widely used algorithms.

For convex minimization, Güler (1992) accelerated the proximal point method in the style of Nesterov, improving the rate of the function value from O(1/i)O(1/i)O(1/i) to O(1/i2)O(1/i^2)O(1/i2). For general maximally monotone operators no function value exists, and the natural measure of progress is the fixed-point residual ∥xi−yi−1∥\|x_{i}-y_{i-1}\|∥xi​−yi−1​∥, the distance moved by one resolvent step. Gu and Yang (2020) showed that the plain proximal point method has the exact worst-case rate O(1/i)O(1/i)O(1/i) for the squared residual. Relaxed and inertial variants had been studied, but none guaranteed an accelerated rate for this measure. Kim (arXiv:1905.05149, Math. Program. 2021) found one using the performance estimation problem (PEP) of Drori and Teboulle (2014): a new accelerated proximal point method whose squared fixed-point residual is at most R2/i2R^2/i^2R2/i2.

Setting

Let H\mathcal HH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩. A set-valued operator M:H→2HM:\mathcal H\to2^{\mathcal H}M:H→2H assigns a subset Mx⊆HMx\subseteq\mathcal HMx⊆H to every point xxx. It is monotone if ⟨x−y,u−v⟩≥0\langle x-y,u-v\rangle\ge0⟨x−y,u−v⟩≥0 whenever u∈Mxu\in Mxu∈Mx and v∈Myv\in Myv∈My, and maximally monotone if moreover no monotone operator has a graph that properly contains the graph of MMM. The class of maximally monotone operators is M(H)\mathcal M(\mathcal H)M(H), and X∗(M)={x:0∈Mx}X_*(M)=\{x:0\in Mx\}X∗​(M)={x:0∈Mx} is the set of zeros.

For a step size λ>0\lambda>0λ>0, the resolvent JλM=(I+λM)−1J_{\lambda M}=(I+\lambda M)^{-1}JλM​=(I+λM)−1 maps yyy to the unique xxx with y∈x+λMxy\in x+\lambda Mxy∈x+λMx. It is single-valued for monotone MMM and defined on all of H\mathcal HH for maximally monotone MMM.

The general proximal point method with step coefficients h={hi,k}h=\{h_{i,k}\}h={hi,k​} starts at y0y_0y0​ and iterates

xi+1=JλM(yi),yi+1=yi+∑k=0ihi+1,k+1(xk+1−yk).x_{i+1}=J_{\lambda M}(y_i),\qquad y_{i+1}=y_i+\sum_{k=0}^{i}h_{i+1,k+1}(x_{k+1}-y_k).xi+1​=JλM​(yi​),yi+1​=yi​+k=0∑i​hi+1,k+1​(xk+1​−yk​).

Kim's proposed accelerated proximal point method starts at x0=y0=y−1x_0=y_0=y_{-1}x0​=y0​=y−1​ and iterates

xi+1=JλM(yi),yi+1=xi+1+ii+2(xi+1−xi)−ii+2(xi−yi−1).x_{i+1}=J_{\lambda M}(y_i),\qquad y_{i+1}=x_{i+1}+\frac{i}{i+2}(x_{i+1}-x_i)-\frac{i}{i+2}(x_i-y_{i-1}).xi+1​=JλM​(yi​),yi+1​=xi+1​+i+2i​(xi+1​−xi​)−i+2i​(xi​−yi−1​).

The coefficients (25) are hi,k=−2ki(i+1)h_{i,k}=-\frac{2k}{i(i+1)}hi,k​=−i(i+1)2k​ for k<ik<ik<i and hi,i=2ii+1h_{i,i}=\frac{2i}{i+1}hi,i​=i+12i​.

The PEP of Section 3 bounds the worst case of ∥xN−yN−1∥2/R2\|x_N-y_{N-1}\|^2/R^2∥xN​−yN−1​∥2/R2 over all M∈M(H)M\in\mathcal M(\mathcal H)M∈M(H) and all starts with ∥y0−x∗∥≤R\|y_0-x_*\|\le R∥y0​−x∗​∥≤R. A semidefinite relaxation leads to the dual problem (D): minimize ccc over nonnegative a2,…,aN,bN,ca_2,\dots,a_N,b_N,ca2​,…,aN​,bN​,c such that ∑i=2NaiAi−1,i(h)+bNBN(h)+cC−uNuN⊤⪰0\sum_{i=2}^Na_iA_{i-1,i}(h)+b_NB_N(h)+cC-u_Nu_N^\top\succeq0∑i=2N​ai​Ai−1,i​(h)+bN​BN​(h)+cC−uN​uN⊤​⪰0. The matrices are explicit symmetric (N+1)×(N+1)(N+1)\times(N+1)(N+1)×(N+1) matrices built from hhh and the canonical basis u1,…,uN+1u_1,\dots,u_{N+1}u1​,…,uN+1​. Its optimal value is BD(h)\mathcal B_D(h)BD​(h).

Formalization targets

Goal: Theorem 4.1

For every M∈M(H)M\in\mathcal M(\mathcal H)M∈M(H), every λ>0\lambda>0λ>0, every run of the proposed method, and every x∗∈X∗(M)x_*\in X_*(M)x∗​∈X∗​(M) with ∥x0−x∗∥≤R\|x_0-x_*\|\le R∥x0​−x∗​∥≤R for a constant R>0R>0R>0,

∥xi−yi−1∥2≤R2i2for every i≥1.\|x_i-y_{i-1}\|^2\le\frac{R^2}{i^2}\qquad\text{for every }i\ge1.∥xi​−yi−1​∥2≤i2R2​for every i≥1.

The constant is the paper's, and nothing is left unfixed.

Milestones

  1. Lemma 4.1. For every N≥1N\ge1N≥1, hhh from (25) with ai=2(i−1)iN2a_i=\frac{2(i-1)i}{N^2}ai​=N22(i−1)i​, bN=2Nb_N=\frac2NbN​=N2​, c=1N2c=\frac1{N^2}c=N21​ is feasible for (D) and for (HD) =min⁡hBD(h)=\min_h\mathcal B_D(h)=minh​BD​(h).
  2. Section 3, (D). For any hhh and any feasible point of (D), 1R2∥xN−yN−1∥2≤c\frac1{R^2}\|x_N-y_{N-1}\|^2\le cR21​∥xN​−yN−1​∥2≤c for every run of the general method with ∥y0−x∗∥≤R\|y_0-x_*\|\le R∥y0​−x∗​∥≤R.
  3. Eq. (28). With hhh from (25), 1R2∥xN−yN−1∥2≤BD(h)≤1N2\frac1{R^2}\|x_N-y_{N-1}\|^2\le\mathcal B_D(h)\le\frac1{N^2}R21​∥xN​−yN−1​∥2≤BD​(h)≤N21​ for every N≥1N\ge1N≥1.
  4. Proposition 4.1. The general method with (25) and the proposed method generate identical sequences from the same initial point.

Significance

Theorem 4.1 gives the first O(1/i2)O(1/i^2)O(1/i2) rate for the fixed-point residual of a proximal point method on general maximally monotone operators. The rate uses no strong monotonicity, no smoothness, and no finite dimension. Because the proximal point method underlies the proximal method of multipliers, PDHG, Douglas–Rachford splitting and ADMM, the paper derives accelerated versions of each (Section 6). The same analysis also accelerates the forward method for cocoercive operators (Section 7). Later work related the method to the Halpern iteration (Lieder 2021) and showed that its rate is optimal among a broad class of fixed-point methods up to a constant (Park and Ryu 2022).

The result is proved in the paper, and to our knowledge no machine-checked proof exists. Formalizing it produces a verified chain of four results: an explicit semidefinite certificate (Lemma 4.1), the weak-duality step from an SDP certificate to an algorithmic bound, the resulting rate for the general method, and the algebraic identity between two recursions (Proposition 4.1). It also produces reusable definitions of monotone and maximally monotone set-valued operators on a real Hilbert space, which Mathlib does not have.

Difficulty

The obvious approach would be a Lyapunov (potential) function argument, but the paper does not give one. The rate comes out of a semidefinite program. Lemma 4.1 asks for positive semidefiniteness of an (N+1)×(N+1)(N+1)\times(N+1)(N+1)×(N+1) matrix whose entries are double sums over hhh, uniformly in NNN. The passage from the dual certificate back to the iterates happens in an arbitrary, possibly infinite-dimensional Hilbert space, where each constraint matrix corresponds to a monotonicity inequality between iterates, so matrix positivity has to be turned into an inequality between inner products in H\mathcal HH. The PEP is a relaxation that discards constraints, so only weak duality is available, and a rate that holds only for dim⁡H≥N+1\dim\mathcal H\ge N+1dimH≥N+1 (Lemma 3.1) is not what is asked. Proposition 4.1 is a two-level induction with index bookkeeping at i=0,1i=0,1i=0,1.

Formalization scope

H\mathcal HH is any real Hilbert space (NormedAddCommGroup, InnerProductSpace ℝ, CompleteSpace), with no finite-dimensional specialization. An operator is M : H → Set H. Maximal monotonicity says that every monotone A with M x ⊆ A x for all x equals M.

The resolvent step is relational: xi+1=JλM(yi)x_{i+1}=J_{\lambda M}(y_i)xi+1​=JλM​(yi​) is encoded as λ−1(yi−xi+1)∈Mxi+1\lambda^{-1}(y_i-x_{i+1})\in Mx_{i+1}λ−1(yi​−xi+1​)∈Mxi+1​. For monotone MMM and λ>0\lambda>0λ>0 this determines xi+1x_{i+1}xi+1​ uniquely, and for maximally monotone MMM such an xi+1x_{i+1}xi+1​ exists for every yiy_iyi​ (Minty's theorem). No function-valued resolvent with junk values off its domain is used. Sequences are indexed by ℕ. The paper's y−1=y0y_{-1}=y_0y−1​=y0​ is y (0 - 1) = y 0 under natural-number subtraction. The general method has no x0x_0x0​, so its initial-distance condition is on y0y_0y0​, as in (17). The step size λ\lambdaλ is written lam.

PEP matrices are Matrix (Fin (N+1)) (Fin (N+1)) ℝ, with a 1-based basis basisVec N i =ui=u_i=ui​. BD(h)\mathcal B_D(h)BD​(h) is the infimum of the feasible values of ccc computed in EReal, so an infeasible hhh gets the value +∞+\infty+∞ as in the paper; Eq. (28) compares it with the real bounds cast to EReal.

A formalization in which the iterate predicate cannot be satisfied, the residual is ∥xi−xi−1∥\|x_i-x_{i-1}\|∥xi​−xi−1​∥, the correction term is dropped or has the wrong sign, the initial point is decoupled (x0≠y0x_0\ne y_0x0​=y0​), or MMM is only monotone on finitely many points, would state a different theorem, and none is used here.

Useful infrastructure includes a Minty-type existence lemma, uniqueness of the resolvent, and a lemma turning a positive semidefinite certificate into an inequality between inner products in H\mathcal HH (via Matrix.PosSemidef and Gram matrices). These are reusable for PEP-based rates of other first-order methods. Proofs of any milestone, and of the goal by other routes, are welcome.

Selected references

  • D. Kim, Accelerated proximal point method for maximally monotone operators, Math. Program. 190 (2021) 57–87; arXiv:1905.05149v4. https://arxiv.org/abs/1905.05149
  • R. T. Rockafellar, Monotone operators and the proximal point algorithm, SIAM J. Control Optim. 14 (1976) 877–898. https://doi.org/10.1137/0314056
  • O. Güler, New proximal point algorithms for convex minimization, SIAM J. Optim. 2 (1992) 649–664. https://doi.org/10.1137/0802032
  • Y. Drori, M. Teboulle, Performance of first-order methods for smooth convex minimization: a novel approach, Math. Program. 145 (2014) 451–482. https://doi.org/10.1007/s10107-013-0653-0
  • G. Gu, J. Yang, Tight sublinear convergence rate of the proximal point algorithm for maximal monotone inclusion problems, SIAM J. Optim. 30 (2020) 1905–1921. https://doi.org/10.1137/19M1299049
  • F. Lieder, On the convergence rate of the Halpern-iteration, Optim. Lett. 15 (2021) 405–418. https://doi.org/10.1007/s11590-020-01617-9
  • J. Park, E. K. Ryu, Exact optimal accelerated complexity for fixed-point iterations, ICML 2022; arXiv:2201.11413. https://arxiv.org/abs/2201.11413
  • H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2nd ed., Springer, 2017. https://doi.org/10.1007/978-3-319-48311-5
10 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Global Convergence of Splitting Methods for Nonconvex Composite Optimization I: Cluster Points of the Proximal ADMM Are Stationary and Improve on a Non-Stationary StartResearch Paper

Motivation

Many problems in statistics, signal processing and machine learning have the form

min⁡x h(x)+P(Mx),\min_x\ h(x) + P(\mathcal M x),xmin​ h(x)+P(Mx),

where hhh is smooth (a least-squares loss, for instance), PPP is a nonsmooth regularizer or constraint, and M\mathcal MM is a linear map such as a finite-difference operator. When PPP is nonconvex — the cardinality function ∥⋅∥0\|\cdot\|_0∥⋅∥0​, the ℓ1/2\ell_{1/2}ℓ1/2​ quasi-norm, the indicator of a nonconvex set — the problem is NP-hard in general, and the realistic goal is a stationary point. The alternating direction method of multipliers (ADMM) is widely used on such problems because each iteration splits into a proximal step on PPP and a smooth step on hhh, but for nonconvex PPP it was long used without a convergence theory.

Li and Pong (arXiv:1407.0753v6, SIAM J. Optim. 25(4), 2015) gave one of the first general analyses. Their Theorem 1 shows that, under explicit conditions on the penalty parameter and a proximal term, every cluster point of a proximal ADMM sequence is stationary, and that a suitable start is strictly improved on. Earlier, Ames and Hong (arXiv:1401.5492) proved convergence of the plain ADMM for one specific nonconvex quadratic problem with an ℓ1\ell_1ℓ1​ and norm-ball term; Li–Pong's argument follows their idea of bounding the dual changes by the primal changes, together with a descent analysis of the augmented Lagrangian from Wen, Peng, Liu, Bai and Sun (Optimization Online 2013/01/3730).

Setting

Let h:Rn→Rh : \mathbb{R}^n \to \mathbb{R}h:Rn→R be twice continuously differentiable with bounded Hessian ∇2h\nabla^2 h∇2h, let P:Rm→(−∞,+∞]P : \mathbb{R}^m \to (-\infty, +\infty]P:Rm→(−∞,+∞] be proper (finite somewhere, never −∞-\infty−∞) and closed (lower semicontinuous), and let M:Rn→Rm\mathcal M : \mathbb{R}^n \to \mathbb{R}^mM:Rn→Rm be linear with adjoint M∗\mathcal M^*M∗.

A vector vvv is a regular subgradient of fff at xxx (with f(x)f(x)f(x) finite) if lim inf⁡z→xf(z)−f(x)−⟨v,z−x⟩∥z−x∥≥0\liminf_{z \to x} \frac{f(z) - f(x) - \langle v, z-x\rangle}{\|z - x\|} \ge 0liminfz→x​∥z−x∥f(z)−f(x)−⟨v,z−x⟩​≥0. The limiting subdifferential ∂f(x)\partial f(x)∂f(x) collects all limits v=lim⁡vtv = \lim v^tv=limvt of regular subgradients vtv^tvt at points xt→xx^t \to xxt→x with f(xt)→f(x)f(x^t) \to f(x)f(xt)→f(x). A point xxx is stationary if

0∈∇h(x)+M∗∂P(Mx).0 \in \nabla h(x) + \mathcal M^* \partial P(\mathcal M x).0∈∇h(x)+M∗∂P(Mx).

For β>0\beta > 0β>0 the augmented Lagrangian is Lβ(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+β2∥Mx−y∥2L_\beta(x,y,z) = h(x) + P(y) - \langle z, \mathcal M x - y\rangle + \frac\beta2\|\mathcal M x - y\|^2Lβ​(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+2β​∥Mx−y∥2, and for a convex C2C^2C2 function ϕ\phiϕ the Bregman distance is Dϕ(x1,x2)=ϕ(x1)−ϕ(x2)−⟨∇ϕ(x2),x1−x2⟩D_\phi(x_1,x_2) = \phi(x_1) - \phi(x_2) - \langle\nabla\phi(x_2), x_1 - x_2\rangleDϕ​(x1​,x2​)=ϕ(x1​)−ϕ(x2​)−⟨∇ϕ(x2​),x1​−x2​⟩. The proximal ADMM generates, from arbitrary x0,z0x^0, z^0x0,z0,

yt+1∈Arg min⁡yLβ(xt,y,zt),xt+1∈Arg min⁡x{Lβ(x,yt+1,zt)+Dϕ(x,xt)},zt+1=zt−β(Mxt+1−yt+1).y^{t+1} \in \operatorname{Arg\,min}_y L_\beta(x^t, y, z^t),\quad x^{t+1} \in \operatorname{Arg\,min}_x \{L_\beta(x, y^{t+1}, z^t) + D_\phi(x, x^t)\},\quad z^{t+1} = z^t - \beta(\mathcal M x^{t+1} - y^{t+1}).yt+1∈Argminy​Lβ​(xt,y,zt),xt+1∈Argminx​{Lβ​(x,yt+1,zt)+Dϕ​(x,xt)},zt+1=zt−β(Mxt+1−yt+1).

Assumption 1 requires MM∗⪰σI\mathcal M\mathcal M^* \succeq \sigma\mathcal IMM∗⪰σI for some σ>0\sigma > 0σ>0 (so M\mathcal MM is surjective), Loewner bounds Q1⪰∇2h⪰Q2\mathcal Q_1 \succeq \nabla^2 h \succeq \mathcal Q_2Q1​⪰∇2h⪰Q2​, T12⪰[∇2ϕ]2⪰T22\mathcal T_1^2 \succeq [\nabla^2\phi]^2 \succeq \mathcal T_2^2T12​⪰[∇2ϕ]2⪰T22​ with T1⪰T2⪰0\mathcal T_1 \succeq \mathcal T_2 \succeq 0T1​⪰T2​⪰0, Q3⪰[∇2h+∇2ϕ]2\mathcal Q_3 \succeq [\nabla^2 h + \nabla^2 \phi]^2Q3​⪰[∇2h+∇2ϕ]2, a strong-convexity margin Q2+βM∗M+T2⪰δI\mathcal Q_2 + \beta\mathcal M^*\mathcal M + \mathcal T_2 \succeq \delta\mathcal IQ2​+βM∗M+T2​⪰δI, and some γ∈(0,1)\gamma \in (0,1)γ∈(0,1) with δI+T2≻2σβ(1γQ3+11−γT12)\delta\mathcal I + \mathcal T_2 \succ \frac{2}{\sigma\beta}\big(\frac1\gamma \mathcal Q_3 + \frac1{1-\gamma}\mathcal T_1^2\big)δI+T2​≻σβ2​(γ1​Q3​+1−γ1​T12​). Here ∥x∥T2:=⟨x,Tx⟩\|x\|^2_{\mathcal T} := \langle x, \mathcal T x\rangle∥x∥T2​:=⟨x,Tx⟩.

Formalization targets

Goal: Theorem 1 (p. 7)

Under the standing assumptions and Assumption 1, for every proximal ADMM sequence:

  1. (Global subsequential convergence) at every cluster point (x∗,y∗,z∗)(x^*, y^*, z^*)(x∗,y∗,z∗),
lim⁡t→∞∥yt+1−yt∥2+∥xt+1−xt∥2+∥zt+1−zt∥2=0,∇h(x∗)=M∗z∗,  −z∗∈∂P(y∗),  y∗=Mx∗,\lim_{t\to\infty}\|y^{t+1}-y^t\|^2 + \|x^{t+1}-x^t\|^2 + \|z^{t+1}-z^t\|^2 = 0,\qquad \nabla h(x^*) = \mathcal M^* z^*,\ \ -z^* \in \partial P(y^*),\ \ y^* = \mathcal M x^*,t→∞lim​∥yt+1−yt∥2+∥xt+1−xt∥2+∥zt+1−zt∥2=0,∇h(x∗)=M∗z∗,  −z∗∈∂P(y∗),  y∗=Mx∗,

and x∗x^*x∗ is stationary; 2. (Strict improvement) if x0x^0x0 is not stationary, h(x0)+P(Mx0)<∞h(x^0) + P(\mathcal M x^0) < \inftyh(x0)+P(Mx0)<∞ and M∗z0=∇h(x0)\mathcal M^* z^0 = \nabla h(x^0)M∗z0=∇h(x0), then every cluster point satisfies

h(x∗)+P(Mx∗)<h(x0)+P(Mx0).h(x^*) + P(\mathcal M x^*) < h(x^0) + P(\mathcal M x^0).h(x∗)+P(Mx∗)<h(x0)+P(Mx0).

The theorem does not assert that a cluster point exists; that is the subject of Theorem 2 of the same paper.

Milestones

In attack order: the robustness (3) of ∂\partial∂; the optimality relations (11) of each iterate; the passage from (9) and (10) to (12) and stationarity; the dual-step bound (14); the one-step estimate (20) and its summed form (21) for LβL_\betaLβ​; the vanishing of the primal steps (16); the convergence (10) of P(yti+1)P(y^{t_i+1})P(yti​+1); and, for part (ii), x1≠x0x^1 \ne x^0x1=x0, the first-step estimate (27) and the strict decrease after (28).

Significance

Theorem 1 turns the proximal ADMM into a method with a guarantee for a nonconvex PPP: any limit it produces is a stationary point, and with the initialization of part (ii) — for example, a stationary point of a convex relaxation — it cannot return to a stationary point worse than its start. The conditions are checkable: Remark 1 of the paper shows that the choice ϕ(x)=L2∥x∥2−h(x)\phi(x) = \frac L2\|x\|^2 - h(x)ϕ(x)=2L​∥x∥2−h(x) turns the xxx-update into a convex quadratic program, and that the last condition of Assumption 1 can be enforced by taking β\betaβ large when ϕ\phiϕ, T1\mathcal T_1T1​, T2\mathcal T_2T2​ do not depend on β\betaβ. The estimate (20) is reused by the paper's boundedness result (Theorem 2), and its whole-sequence convergence result for semi-algebraic data (Theorem 3) starts from Theorem 1.

The result is proved in the paper; Mathlib contains neither the limiting subdifferential nor any convergence theorem for ADMM, so none of it is formalized yet. A formalization would give a verified library of the limiting subdifferential of extended-real-valued functions, its robustness and its Fermat rule with a smooth sum, and the first formally verified convergence theorem for ADMM with a nonconvex term.

Difficulty

The obvious argument — "the augmented Lagrangian decreases, so it converges" — fails: LβL_\betaLβ​ need not decrease, because the multiplier step increases it by 1β∥zt+1−zt∥2\frac1\beta\|z^{t+1}-z^t\|^2β1​∥zt+1−zt∥2. The proof has to bound this increase by primal steps, which uses surjectivity of M\mathcal MM and the squared Hessian bounds, and it produces a two-step recursion (involving xt−1x^{t-1}xt−1) rather than a monotone sequence. Nor is LβL_\betaLβ​ known to be bounded below; the proof uses the cluster point and lower semicontinuity to get a lower bound along a subsequence. Passing to the limit in the inclusion for ∂P\partial P∂P requires P(yti+1)→P(y∗)P(y^{t_i+1}) \to P(y^*)P(yti​+1)→P(y∗), which lower semicontinuity alone does not give. For part (ii), the start y0y^0y0 is not an iterate at all, so the first step needs its own estimate.

Formalization scope

Spaces are EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m); M\mathcal MM is a continuous linear map and M∗\mathcal M^*M∗ is ContinuousLinearMap.adjoint. PPP and LβL_\betaLβ​ take values in EReal; inequalities involving LβL_\betaLβ​ are written additively (a≤b+ra \le b + ra≤b+r with real rrr), never through EReal.toReal. The Hessian is the derivative of the gradient. ⪰\succeq⪰ is Mathlib's Loewner order on self-maps, which includes symmetry of the difference; ≻\succ≻ adds positive definiteness. ∥x∥T2=⟨x,Tx⟩\|x\|^2_{\mathcal T} = \langle x, \mathcal T x\rangle∥x∥T2​=⟨x,Tx⟩ for every T\mathcal TT, possibly indefinite. The witnesses of Assumption 1 are explicit parameters, universally quantified. A proximal ADMM sequence is any triple of sequences satisfying the three updates (global minimizers, not necessarily unique); x0,z0x^0, z^0x0,z0 are free and y0y^0y0 is unconstrained. A cluster point is the limit along a strictly increasing subsequence. Stationarity is the inclusion (4) itself.

The limiting subdifferential keeps all three requirements of its definition — xt→xx^t \to xxt→x, f(xt)→f(x)f(x^t) \to f(x)f(xt)→f(x) and vt→vv^t \to vvt→v — and the domain condition f(x)<∞f(x) < \inftyf(x)<∞; dropping fff-attentive convergence or replacing ∂\partial∂ by the convex subdifferential would make stationarity a different, and for nonconvex PPP wrong, notion. Part (ii) is a strict inequality for every cluster point, and its hypotheses are exactly non-stationarity of x0x^0x0, finiteness of the objective at x0x^0x0 and M∗z0=∇h(x0)\mathcal M^* z^0 = \nabla h(x^0)M∗z0=∇h(x0). The paper's assumption that proximal maps of PPP exist is not a hypothesis, since no statement asserts that the iteration can be run.

Needed infrastructure: Fermat's rule and the smooth sum rule for regular subgradients, a diagonal argument for (3), Taylor bounds for C2C^2C2 functions with Loewner-bounded Hessians (the paper's (5) and (6)), strong convexity from a Hessian lower bound, and the monotonicity of the positive square root in the Loewner order. These are reusable well beyond this mission; contributions of any of them as separate lemmas are welcome.

Selected references

  • G. Li, T. K. Pong, Global Convergence of Splitting Methods for Nonconvex Composite Optimization, SIAM J. Optim. 25(4), 2015. arXiv:1407.0753v6, https://arxiv.org/abs/1407.0753 (cited version), DOI https://doi.org/10.1137/140998135
  • B. P. W. Ames, M. Hong, Alternating direction method of multipliers for sparse zero-variance discriminant analysis and principal component analysis, preprint, 2014. https://arxiv.org/abs/1401.5492
  • Z. Wen, X. Peng, X. Liu, X. Bai, X. Sun, Asset allocation under the Basel accord risk measures, preprint, 2013. http://www.optimization-online.org/DB_HTML/2013/01/3730.html
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
17 thms2 active usersReviewed
🏆Completed
Discrete GeometryLinear OptimizationOperations Research+1·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

Formalization targets

Goal: Theorem 1 (pp. 1011–1012)

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

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

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

Milestone: Remark in §3.3 (p. 1012)

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

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

Selected references

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

Selected Topics in Column Generation II: A Strictly Redundant Column Is Never Optimal for the Ratio Pricing ProblemResearch Paper

Motivation

Column generation solves linear programs with far more columns than can be written down: a restricted master problem holds a few columns, its dual multipliers are passed to a pricing problem, and the pricing problem returns a column to add. It is the standard engine behind branch-and-price for vehicle routing, crew scheduling and cutting stock, where the master problem is very often a set-partitioning problem (Lübbecke and Desrosiers 2005; Desrosiers and Lübbecke 2005).

Which column the pricing problem returns matters. The classical Dantzig rule picks the column of most negative reduced cost, but in set-partitioning masters with identical subproblems this rule tends to produce columns that are "weak" in the dual: their dual constraint is implied by the constraints of smaller columns. Sol (1994, PhD thesis, Eindhoven) called such columns redundant and studied pricing rules that avoid them. In their survey, Lübbecke and Desrosiers state the key fact as Proposition 2 (Operations Research 53(6), p. 1016): under ratio pricing, a strictly redundant column is never the optimal choice.

Setting

Let the rows of a set-partitioning master problem be {1,…,m}\{1,\dots,m\}{1,…,m}. A column is a subset sss of the rows, with incidence vector as∈{0,1}m\mathbf a_s \in \{0,1\}^mas​∈{0,1}m ((as)i=1(\mathbf a_s)_i = 1(as​)i​=1 iff i∈si \in si∈s). Let A\mathcal AA be a finite collection of nonempty columns with costs csc_scs​. The master problem is

min⁡∑s∈Acsλss.t.∑s∈Aasλs=1, λ≥0,\min \sum_{s \in \mathcal A} c_s \lambda_s \quad\text{s.t.}\quad \sum_{s \in \mathcal A} \mathbf a_s \lambda_s = \mathbf 1,\ \lambda \ge 0,mins∈A∑​cs​λs​s.t.s∈A∑​as​λs​=1, λ≥0,

with λ\lambdaλ integer in the integer program. Its dual has one free multiplier uiu_iui​ per row and one constraint uTas≤cs\mathbf u^{\mathsf T}\mathbf a_s \le c_suTas​≤cs​ per column.

A column sss is redundant, eq. (30), p. 1015, if

as=∑r⊂sarλrandcs≥∑r⊂scrλr,\mathbf a_s = \sum_{r \subset s} \mathbf a_r \lambda_r \qquad\text{and}\qquad c_s \ge \sum_{r \subset s} c_r \lambda_r ,as​=r⊂s∑​ar​λr​andcs​≥r⊂s∑​cr​λr​,

with λr≥0\lambda_r \ge 0λr​≥0 and rrr ranging over the columns of A\mathcal AA that are proper subsets of sss; then its dual constraint is implied by those of its subcolumns. It is strictly redundant if the cost inequality is strict. The pair (A,c)(\mathcal A, \mathbf c)(A,c) has the subcolumn property if cr<csc_r < c_scr​<cs​ for all r,s∈Ar, s \in \mathcal Ar,s∈A with r⊊sr \subsetneq sr⊊s. Given dual multipliers uˉ∈Rm\bar{\mathbf u} \in \mathbb R^muˉ∈Rm, the ratio pricing problem (31) is

min⁡{c(a)−uˉTa1Ta  |  a∈A},\min\left\{ \frac{c(\mathbf a) - \bar{\mathbf u}^{\mathsf T}\mathbf a}{\mathbf 1^{\mathsf T}\mathbf a} \;\middle|\; \mathbf a \in \mathcal A \right\},min{1Tac(a)−uˉTa​​a∈A},

the reduced cost per covered row. In Lean these objects are incidence, IsRedundant, IsStrictlyRedundant, SubcolumnProperty and pricingRatio in the namespace Lubbecke2005.SubcolumnPricing.

Formalization targets

Goal: Proposition 2 (p. 1016)

Let (A,c)(\mathcal A, \mathbf c)(A,c) satisfy the subcolumn property, ∅∉A\emptyset \notin \mathcal A∅∈/A, and let uˉ∈Rm\bar{\mathbf u} \in \mathbb R^muˉ∈Rm be arbitrary. If s∈As \in \mathcal As∈A is strictly redundant, then

¬(∀a∈A: cs−uˉTas1Tas≤c(a)−uˉTa1Ta),\neg\Bigl(\forall \mathbf a \in \mathcal A:\ \frac{c_s - \bar{\mathbf u}^{\mathsf T}\mathbf a_s}{\mathbf 1^{\mathsf T}\mathbf a_s} \le \frac{c(\mathbf a) - \bar{\mathbf u}^{\mathsf T}\mathbf a}{\mathbf 1^{\mathsf T}\mathbf a}\Bigr),¬(∀a∈A: 1Tas​cs​−uˉTas​​≤1Tac(a)−uˉTa​),

that is, as\mathbf a_sas​ is not an optimal solution of (31). The paper states the proposition and refers to Sol (1994) for the concept; it gives no proof.

Milestone: the cost shift (§5.1, p. 1016)

If only cr≤csc_r \le c_scr​≤cs​ holds for r⊊sr \subsetneq sr⊊s in A\mathcal AA, the shifted costs cs′=cs+∣s∣c'_s = c_s + |s|cs′​=cs​+∣s∣ satisfy the subcolumn property, and on every λ\lambdaλ with ∑sasλs=1\sum_s \mathbf a_s \lambda_s = \mathbf 1∑s​as​λs​=1,

∑scs′λs=∑scsλs+m.\sum_{s} c'_s \lambda_s = \sum_s c_s \lambda_s + m .s∑​cs′​λs​=s∑​cs​λs​+m.

This is the paper's remark that the shift "adds to z⋆z^\starz⋆ a constant term equal to the number of rows and does not change the problem".

Significance

Proposition 2 is the paper's argument for alternative pricing rules (§5.2): it shows that dividing the reduced cost by the number of covered rows filters out a whole class of columns that contribute nothing to the dual polyhedron, whatever the current dual multipliers are. Steepest-edge pricing, Devex and the lambda pricing rule are motivated along the same lines. The cost-shift remark extends the proposition to cost structures that are only weakly monotone under inclusion, which covers the frequent case of costs that do not decrease when rows are added to a column.

The result is published and elementary once stated precisely, but the paper leaves the definition of redundancy informal (no sign on λ\lambdaλ, no index set of the sum), and those choices decide whether the proposition is true. A formal statement pins them down. To our knowledge neither the proposition nor the vocabulary of redundant columns and ratio pricing has a machine-checked formalization; the definitions here are reusable for other statements about pricing rules in set-partitioning column generation.

Difficulty

The mathematical difficulty is modest; the difficulty is in the reading. With multipliers λr\lambda_rλr​ of arbitrary sign in (30), the proposition is false: on rows {1,2,3}\{1,2,3\}{1,2,3} take s={1,2,3}s = \{1,2,3\}s={1,2,3}, r1={1,2}r_1 = \{1,2\}r1​={1,2}, r2={2,3}r_2 = \{2,3\}r2​={2,3}, r3={2}r_3 = \{2\}r3​={2} with costs 2.22.22.2, 222, 222, 1.91.91.9 and uˉ=0\bar{\mathbf u} = 0uˉ=0; then as=ar1+ar2−ar3\mathbf a_s = \mathbf a_{r_1} + \mathbf a_{r_2} - \mathbf a_{r_3}as​=ar1​​+ar2​​−ar3​​, 2.2>2.12.2 > 2.12.2>2.1, the subcolumn property holds, and sss has the unique smallest ratio. The empty column is a second trap: its denominator 1Ta\mathbf 1^{\mathsf T}\mathbf a1Ta is zero. The formal statement has to exclude both, and has to keep the minimum in (31) over A\mathcal AA only.

Formalization scope

Conventions committed to in Lean:

  • Rows are Fin m (indexed from 000); a column is a Finset (Fin m), and its incidence vector is the real 0/1 vector incidence s : Fin m → ℝ. The collection A\mathcal AA is a Finset (Finset (Fin m)); costs are a function Finset (Fin m) → ℝ, of which only the values on A\mathcal AA matter.
  • Reading of (30): the multipliers are nonnegative (λr≥0\lambda_r \ge 0λr​≥0), the Farkas form of "the corresponding constraint is redundant for the dual problem". The paper leaves the sign implicit; with signed multipliers the proposition fails (example above).
  • Reading of r⊂sr \subset sr⊂s: proper inclusion, over columns r∈Ar \in \mathcal Ar∈A only. With r⊆sr \subseteq sr⊆s every column would be redundant via λs=1\lambda_s = 1λs​=1.
  • Strictly redundant: (30) with strict cost inequality; the equality part is unchanged.
  • Reading of (31)'s denominator: ∅∉A\emptyset \notin \mathcal A∅∈/A is a hypothesis of the goal ("a set-partitioning column covers at least one row"); it is named here as an addition to the literal text. The denominator is 1 ⬝ᵥ incidence a, which equals ∣a∣|a|∣a∣.
  • Dual multipliers: uˉ∈Rm\bar{\mathbf u} \in \mathbb R^muˉ∈Rm is arbitrary; no sign, no optimality for the restricted master.
  • "Cannot be an optimal solution" is stated literally as the negation of "the ratio of as\mathbf a_sas​ is at most the ratio of every column of A\mathcal AA"; this is equivalent to the existence of a column with strictly smaller ratio. No infimum over real sets is used.
  • The subcolumn property is kept as a hypothesis because the paper states it, although the conclusion may hold without it.
  • Cost shift: stated for real multipliers; the optimal value z⋆z^\starz⋆ is not formalized, and "does not change the problem" is rendered as the pointwise identity on the feasible set.

A trivializing formalization — a redundancy witness not tied to the proper subcolumns of sss in A\mathcal AA, signed multipliers, or an empty column with ratio 000 — is ruled out by the definitions above.

Needed infrastructure is only finite sums of vectors in Rm\mathbb R^mRm and the identity 1Tas=∣s∣\mathbf 1^{\mathsf T}\mathbf a_s = |s|1Tas​=∣s∣. Contributions welcome: proofs of the goal and the milestone, and further statements from §5 (for example the redundancy characterisation of Sol 1994) built on the same definitions.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • M. Sol, Column Generation Techniques for Pickup and Delivery Problems, PhD thesis, Eindhoven University of Technology, 1994 (cited in the paper as Sol 1994).
  • J. Desrosiers and M. E. Lübbecke, A Primer in Column Generation, in Column Generation, Springer, 2005. https://doi.org/10.1007/0-387-25486-2_1
  • F. Vanderbeck, Decomposition and Column Generation for Integer Programs, PhD thesis, Université catholique de Louvain, 1994.
3 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

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

Motivation

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

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

Timeline:

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

Setting

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

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

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

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

Formalization targets

Goal: Proposition 3 (p. 1020)

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

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

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

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

A New Branch-and-Cut Algorithm for the Capacitated Vehicle Routing Problem: Safe Shrinking of Customer SetsResearch Paper

Motivation

The capacitated vehicle routing problem (CVRP) asks for minimum-cost routes, starting and ending at a depot, that serve every customer exactly once without any vehicle carrying more than its capacity. It is one of the central problems of operations research and logistics, and exact algorithms for it have been built on branch-and-cut for three decades: a linear programming relaxation is strengthened at every node of a search tree by adding valid inequalities that the current LP solution violates.

The most important of these inequalities are the capacity inequalities. Deciding whether an LP solution violates one of them is strongly NP-hard, so practical codes rely on heuristics, and most heuristics first shrink the support graph: groups of customers are contracted into single supervertices so that the search runs on a smaller graph. Shrinking is only useful if it is safe, meaning it cannot hide a violated inequality. Before the work of Lysgaard, Letchford and Eglese, the standard safe rule allowed shrinking a single edge whose LP value is at least one (Augerat et al. 1998; Ralphs et al. 2003). Lysgaard, Letchford & Eglese (2004), whose separation routines were released as the widely used CVRPSEP package, generalized the rule to customer sets of any size in their Proposition 1, the only numbered result of the paper.

Setting

Let G=(V,E)G = (V, E)G=(V,E) be the complete undirected graph on V={0,1,…,n}V = \{0, 1, \dots, n\}V={0,1,…,n}. Vertex 000 is the depot and Vc={1,…,n}V_c = \{1, \dots, n\}Vc​={1,…,n} are the customers. Vehicles have capacity Q>0Q > 0Q>0 and each customer iii has an integer demand qiq_iqi​ with 0<qi≤Q0 < q_i \le Q0<qi​≤Q. An LP point is a vector x=(xe)e∈Ex = (x_e)_{e \in E}x=(xe​)e∈E​; xijx_{ij}xij​ and xjix_{ji}xji​ are the same variable, and LP solutions satisfy x≥0x \ge 0x≥0.

For a vertex set SSS, δ(S)\delta(S)δ(S) is the set of edges with exactly one end-vertex in SSS (edges to the depot included), and x(δ(S))=∑e∈δ(S)xex(\delta(S)) = \sum_{e \in \delta(S)} x_ex(δ(S))=∑e∈δ(S)​xe​ is its cut value. For a customer set S⊆VcS \subseteq V_cS⊆Vc​:

  • q(S)=∑i∈Sqiq(S) = \sum_{i \in S} q_iq(S)=∑i∈S​qi​ is its total demand;
  • r(S)r(S)r(S), the bin-packing number, is the minimum number of bins of capacity QQQ into which the items of sizes qiq_iqi​, i∈Si \in Si∈S, can be packed;
  • k(S)=⌈q(S)/Q⌉≤r(S)k(S) = \lceil q(S)/Q \rceil \le r(S)k(S)=⌈q(S)/Q⌉≤r(S) is the rounded capacity bound.

The capacity inequalities and the rounded capacity inequalities (RCIs) are

x(δ(S))≥2r(S)andx(δ(S))≥2k(S),S⊆Vc, ∣S∣≥2.x(\delta(S)) \ge 2r(S) \quad\text{and}\quad x(\delta(S)) \ge 2k(S), \qquad S \subseteq V_c,\ |S| \ge 2 .x(δ(S))≥2r(S)andx(δ(S))≥2k(S),S⊆Vc​, ∣S∣≥2.

The violation of such an inequality at xxx is 2r(S)−x(δ(S))2r(S) - x(\delta(S))2r(S)−x(δ(S)) (resp. 2k(S)−x(δ(S))2k(S) - x(\delta(S))2k(S)−x(δ(S))); it is violated when this is positive.

Shrinking a customer set SSS contracts it to one supervertex. The supervertices of the shrunk graph are then SSS and the single customers outside SSS, so a union of supervertices is a customer set T′T'T′ with S⊆T′S \subseteq T'S⊆T′ or S∩T′=∅S \cap T' = \emptysetS∩T′=∅. Shrinking SSS is safe if for every customer set TTT with ∣T∣≥2|T| \ge 2∣T∣≥2 whose inequality is violated, there is such a union T′T'T′ with ∣T′∣≥2|T'| \ge 2∣T′∣≥2 and at least the same violation.

Formalization targets

Goal: Proposition 1

For every x≥0x \ge 0x≥0 and every customer set SSS with

x(δ(S))≤2andx(δ(R))≥2  for every nonempty proper subset R⊊S,x(\delta(S)) \le 2 \qquad\text{and}\qquad x(\delta(R)) \ge 2 \ \text{ for every nonempty proper subset } R \subsetneq S,x(δ(S))≤2andx(δ(R))≥2  for every nonempty proper subset R⊊S,

shrinking SSS is safe for the capacity inequalities x(δ(T))≥2r(T)x(\delta(T)) \ge 2r(T)x(δ(T))≥2r(T).

Milestones (proof of Proposition 1, p. 426)

  1. Monotonicity of the bin-packing number: 2r(S∪T)−2r(T)≥02r(S \cup T) - 2r(T) \ge 02r(S∪T)−2r(T)≥0.
  2. Submodularity of the cut function, in the paper's arrangement: x(δ(T))−x(δ(S∪T))≥x(δ(S∩T))−x(δ(S))x(\delta(T)) - x(\delta(S \cup T)) \ge x(\delta(S \cap T)) - x(\delta(S))x(δ(T))−x(δ(S∪T))≥x(δ(S∩T))−x(δ(S)) for x≥0x \ge 0x≥0.
  3. The crossing-set inequality: if TTT crosses SSS (T∩ST \cap ST∩S, T∖ST \setminus ST∖S, S∖TS \setminus TS∖T all nonempty), then 2r(T)−x(δ(T))≤2r(S∪T)−x(δ(S∪T))2r(T) - x(\delta(T)) \le 2r(S \cup T) - x(\delta(S \cup T))2r(T)−x(δ(T))≤2r(S∪T)−x(δ(S∪T)).

Further statements on the same page

  1. The same shrinking condition is safe for the rounded capacity inequalities x(δ(T))≥2k(T)x(\delta(T)) \ge 2k(T)x(δ(T))≥2k(T), which are the inequalities the algorithm separates.
  2. The paper's first separation heuristic checks the RCI for each connected component SiS_iSi​ of the support graph on the customers, for each complement Vc∖SiV_c \setminus S_iVc​∖Si​, and for the union of the components with no support edge to the depot. At an integer point satisfying the degree equations x(δ({i}))=2x(\delta(\{i\})) = 2x(δ({i}))=2 and the bounds xij∈{0,1}x_{ij} \in \{0,1\}xij​∈{0,1}, x0j∈{0,1,2}x_{0j} \in \{0,1,2\}x0j​∈{0,1,2}, this heuristic finds a violated RCI whenever one exists. This claim is stated in the paper without proof and is not needed for the goal.

Significance

Proposition 1 justifies contracting whole groups of customers before running separation heuristics, which shrinks the graph those heuristics work on while preserving every violated capacity inequality up to its violation. The rule is part of the separation routines of CVRPSEP and of later branch-and-cut and branch-cut-and-price codes for vehicle routing that reuse them.

The result is proved in the paper; to the best of the platform's records, none of it is formalized. The mission produces a reusable formal layer for the two-index CVRP formulation: cut values on the complete graph with a depot, the bin-packing number, the rounded capacity bound, and the notion of safe shrinking. Submodularity of the cut function (target 2) is a classical fact that the paper cites rather than proves; the platform already has a related statement for symmetric weight matrices on Boolean regions (EmergentGeometry.cutWeight_submodular), in a different representation. Target 5 records a claim of the paper that it asserts without proof.

Difficulty

When the violated set TTT contains SSS or misses it, TTT itself is a union of supervertices and there is nothing to show. The difficulty is a set TTT that crosses SSS: no union of supervertices is obviously as violated as TTT, because enlarging TTT can raise its cut value — x(δ(S∪T))x(\delta(S \cup T))x(δ(S∪T)) can be smaller or larger than x(δ(T))x(\delta(T))x(δ(T)) depending on the edges leaving S∖TS \setminus TS∖T — and the hypotheses on SSS say nothing about TTT directly. Both hypotheses on SSS and the sign condition x≥0x \ge 0x≥0 matter here; for signed xxx the statement fails. A violated TTT strictly inside SSS is not a crossing set in the paper's sense and has to be handled as well.

On the formal side, the bin-packing number is an optimum of a combinatorial problem; its properties must be derived from a definition by assignments to bins, and it is well defined only because every demand fits in one vehicle. Target 5 needs a structural understanding of integer points satisfying the degree equations, which the paper does not supply.

Formalization scope

Vertices are Fin (n+1), the depot is 0, and a customer set is a Finset (Fin (n+1)) not containing 0. The edge vector is a function x : Sym2 (Fin (n+1)) → ℝ on unordered pairs, and the cut value is ∑ i ∈ S, ∑ j ∈ Sᶜ, x s(i, j), which includes the edges to the depot. The capacity QQQ is real (the paper does not say it is an integer) and demands are natural numbers with 0<qi≤Q0 < q_i \le Q0<qi​≤Q for customers. The bin-packing number is the least number of bins over assignments of the customers of SSS to bins of total demand at most QQQ; under qi≤Qq_i \le Qqi​≤Q this minimum exists. Of the LP point only x≥0x \ge 0x≥0 is assumed in Proposition 1 and targets 1–4, which is at least as strong as the paper's setting. The hypothesis "x(δ(R))≥2x(\delta(R)) \ge 2x(δ(R))≥2 for all R⊂SR \subset SR⊂S" ranges over nonempty proper subsets.

A formalization that lets R=∅R = \emptysetR=∅ in that hypothesis is vacuous, because x(δ(∅))=0x(\delta(\emptyset)) = 0x(δ(∅))=0; one that drops the condition "S⊆T′S \subseteq T'S⊆T′ or S∩T′=∅S \cap T' = \emptysetS∩T′=∅" from safe shrinking is trivial (take T′=TT' = TT′=T); and one that defines rrr as kkk, as an arbitrary monotone function, or with a junk value 000, or that omits the depot edges from the cut, states a different result. None of these is the mission's statement.

Needed infrastructure: finite sums over cuts of Sym2-indexed vectors, a working API for the bin-packing number, and, for target 5, connected components of the support graph (SimpleGraph.Reachable). The cut-function lemmas and the bin-packing number are reusable for any later formalization of CVRP polyhedra (framed capacity, comb and multistar inequalities). Contributions of general lemmas about cut functions on complete graphs are welcome as separate theorems.

Selected references

  • J. Lysgaard, A. N. Letchford, R. W. Eglese, A new branch-and-cut algorithm for the capacitated vehicle routing problem, Mathematical Programming Ser. A 100 (2004) 423–445. https://doi.org/10.1007/s10107-003-0481-8
  • G. L. Nemhauser, L. A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1988. https://doi.org/10.1002/9781118627372
  • P. Augerat, J. M. Belenguer, E. Benavent, A. Corberán, D. Naddef, Separating capacity constraints in the CVRP using tabu search, European Journal of Operational Research 106 (1998) 546–557. https://doi.org/10.1016/S0377-2217(97)00290-7
  • T. K. Ralphs, L. Kopman, W. R. Pulleyblank, L. E. Trotter, On the capacitated vehicle routing problem, Mathematical Programming 94 (2003) 343–359. https://doi.org/10.1007/s10107-002-0323-0
13 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research+1·Captain: mikedeng1

Algorithmic Mechanism Design I: MinWork Is a Strongly Truthful n-Approximation Mechanism for Task Scheduling on Unrelated MachinesResearch Paper

Motivation

Algorithmic mechanism design asks for algorithms whose inputs are held by self-interested parties. Each party reports its private data, the algorithm computes an outcome, and payments are arranged so that no party gains by misreporting. Nisan and Ronen introduced the field in Algorithmic Mechanism Design (Games Econ. Behav. 35, 2001). Their running example is task scheduling on unrelated machines: kkk tasks are distributed among nnn machines owned by different agents, each agent knows only its own processing times, and the designer wants to minimize the make-span.

Without incentives the problem is classical: minimizing make-span on unrelated machines is NP-hard and admits a polynomial 2-approximation (Lenstra, Shmoys, Tardos, 1990). With selfish agents the question changes: which approximation ratios can a truthful mechanism guarantee? This mission formalizes the paper's upper bound, the MinWork mechanism, which is the benchmark every later lower bound for truthful scheduling is compared with.

Timeline.

  • 1961: Vickrey introduces the second-price auction (J. Finance 16).
  • 1971–1973: Clarke and Groves generalize it to the VCG family of truthful mechanisms for utilitarian objectives (Groves, Econometrica 41, 1973).
  • 1999/2001: Nisan and Ronen show MinWork is a strongly truthful nnn-approximation, and that no truthful mechanism beats ratio 2.
  • 2007: Christodoulou, Koutsoupias and Vidali raise the deterministic lower bound to 1+21+\sqrt21+2​ for n≥3n \ge 3n≥3; Koutsoupias and Vidali later raise it to 1+φ≈2.6181+\varphi \approx 2.6181+φ≈2.618.
  • 2023: Christodoulou, Koutsoupias and Kovács prove the Nisan–Ronen conjecture: no deterministic truthful mechanism achieves a ratio below nnn (STOC 2023, arXiv:2301.11905), so MinWork is optimal among deterministic truthful mechanisms.

Setting

There are nnn agents and kkk tasks. Agent iii's type is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive times, tji>0t^i_j > 0tji​>0 being the time agent iii needs to perform task jjj. A type vector is t=(t1,…,tn)t = (t^1,\dots,t^n)t=(t1,…,tn). An allocation xxx sends each task jjj to one agent; xix^ixi is the set of tasks agent iii receives. The make-span of xxx is

g(x,t)=max⁡i∑j∈xitji,g(x,t) = \max_{i} \sum_{j \in x^i} t^i_j ,g(x,t)=imax​j∈xi∑​tji​,

and agent iii's valuation is vi(x,ti)=−∑j∈xitjiv^i(x,t^i) = -\sum_{j \in x^i} t^i_jvi(x,ti)=−∑j∈xi​tji​.

A direct mechanism asks every agent to declare a type, computes an allocation x(d)x(d)x(d) from the declared vector ddd, and hands agent iii a payment pi(d)p^i(d)pi(d). Agent iii's utility is pi(d)+vi(x(d),ti)p^i(d) + v^i(x(d), t^i)pi(d)+vi(x(d),ti), with tit^iti its true type. The mechanism is truthful if declaring tit^iti maximizes agent iii's utility for every declaration of the others, and strongly truthful if truth-telling is the only such dominant strategy. An allocation rule is a ccc-approximation if g(x(t),t)≤c⋅g(y,t)g(x(t),t) \le c \cdot g(y,t)g(x(t),t)≤c⋅g(y,t) for every type vector ttt and every allocation yyy.

The MinWork mechanism allocates each task to an agent with minimal declared time for it, breaking ties arbitrarily. For each task it wins, an agent receives the second-best declared time min⁡i′≠idji′\min_{i' \ne i} d^{i'}_jmini′=i​dji′​:

pi(d)=∑j∈xi(d)min⁡i′≠idji′.p^i(d) = \sum_{j \in x^i(d)} \min_{i' \neq i} d^{i'}_j .pi(d)=j∈xi(d)∑​i′=imin​dji′​.

The Lean development uses the same names: load, makespan, IsTruthful, IsStronglyTruthful, IsApprox, IsMinWorkAlloc, secondBest, minTime, minWorkPay.

Formalization targets

Goal: Theorem 4.1

For n≥2n \ge 2n≥2 and every MinWork allocation rule xxx with payments ppp as above,

(x,p) is strongly truthfulandg(x(t),t)≤n⋅g(y,t)  for all positive t and all allocations y.(x,p)\ \text{is strongly truthful} \quad\text{and}\quad g(x(t),t) \le n \cdot g(y,t)\ \ \text{for all positive } t \text{ and all allocations } y .(x,p) is strongly truthfulandg(x(t),t)≤n⋅g(y,t)  for all positive t and all allocations y.

Milestones

  1. Theorem 3.1 (Groves): a VGC mechanism is truthful. This is an existing platform theorem, used as a reference.
  2. MinWork belongs to the VGC family. Its allocation maximizes ∑ivi(ti,x)\sum_i v^i(t^i,x)∑i​vi(ti,x), and its payment is ∑i′≠ivi′(ti′,x(t))+h−i\sum_{i'\ne i} v^{i'}(t^{i'},x(t)) + h^{-i}∑i′=i​vi′(ti′,x(t))+h−i with h−i=∑jmin⁡i′≠itji′h^{-i} = \sum_j \min_{i'\ne i} t^{i'}_jh−i=∑j​mini′=i​tji′​.
  3. Claim 4.2: MinWork is strongly truthful.
  4. g(x(t),t)≤∑jmin⁡itjig(x(t),t) \le \sum_{j} \min_i t^i_jg(x(t),t)≤∑j​mini​tji​.
  5. g(y,t)≥1n∑jmin⁡itjig(y,t) \ge \frac1n \sum_j \min_i t^i_jg(y,t)≥n1​∑j​mini​tji​ for every allocation yyy.
  6. Claim 4.3: MinWork is an nnn-approximation.

Significance

The theorem gives the first positive result for truthful scheduling: a mechanism that is truthful in the strongest sense and is within a factor nnn of optimal, whatever the tie-breaking rule. Every lower bound in the paper (Theorems 4.6, 4.10 and 4.12) and in the later literature measures itself against this ratio. Since the 2023 resolution of the Nisan–Ronen conjecture, the ratio nnn is known to be tight for deterministic truthful mechanisms.

The result is proved in the paper; it is not known to be formalized in any proof assistant. The platform already has Groves' theorem in an abstract form (AGT.vcg_incentive_compatible). This mission connects that abstract statement to a concrete combinatorial mechanism, and it adds the strict part of strong truthfulness for any number of tasks and agents, which the paper proves only for one task and two agents. The vocabulary (make-span over unrelated machines, direct scheduling mechanisms, strong truthfulness) is shared with the seven later missions of this series.

Difficulty

Truthfulness follows from Groves' theorem once MinWork is identified as a VGC mechanism. The identification requires the payment identity at every declared vector and under every tie-breaking rule, including ties at the winning time. The main difficulty is the strict part of strong truthfulness. A misreport that differs from the truth only on one task must still be shown to lose strictly for some declarations of the others. Those declarations must stay positive, and on every other task they must leave the outcome unchanged. The paper's proof covers only one task and two agents and leaves the general case as "similar". Its printed inequality also has the two utilities in the wrong order (see below), so it cannot be transcribed directly.

Formalization scope

  • Agents are Fin n and tasks are Fin k. An allocation is a function Fin k → Fin n, and an agent may receive no task. Types are positive reals, and every truthfulness and approximation quantifier ranges over positive true types, positive misreports and positive declarations of the others.
  • Payments are handed to the agent, so utility is the payment minus the true time spent. Payments are computed from the declared vector, never from true types.
  • The allocation rule is a parameter satisfying the MinWork specification (IsMinWorkAlloc). Every result holds for every tie-breaking rule, including rules that depend on the whole declared vector. No particular argmin is fixed.
  • n≥2n \ge 2n≥2 is a hypothesis of the goal and of the truthfulness items: with a single agent the paper's second-best minimum is undefined. The approximation items need only n≥1n \ge 1n≥1. There is no hypothesis on kkk.
  • The make-span and both minima are Finset.sup' / Finset.inf' over nonempty finite sets, so they are true maxima and minima with no default values.
  • Strong truthfulness is formalized as truthfulness plus: every misreport di≠tid^i \ne t^idi=ti is strictly worse than the truth for some positive declarations of the others. Given truthfulness this is equivalent to Definition 5. A formalization that states only that truth-telling is dominant, or proves strictness only for single-task instances, does not meet the goal. Neither does an existential ratio in place of nnn.
  • Printed slip: in the proof of Claim 4.2 (p. 177) the case di>tid^i > t^idi>ti reads "the utility for agent iii is ti−di<0t^i - d^i < 0ti−di<0, instead of 0 in the case of truth-telling". With the Definition 11 payments the misreporting agent loses the task (utility 0), and the truthful agent wins it with utility d3−i−ti>0d^{3-i} - t^i > 0d3−i−ti>0. The milestone text keeps the paper's words; the Lean statements assert what the argument establishes.
  • Out of scope: running time ("polynomial time"), and the paper's general revelation-principle framework (Proposition 2.1).
  • Welcome contributions: proofs of the milestones, and a reusable lemma connecting the local VGC milestone to AGT.vcg_incentive_compatible.

Selected references

  • N. Nisan, A. Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196. https://doi.org/10.1006/game.1999.0790
  • T. Groves, Incentives in Teams, Econometrica 41 (1973) 617–631. https://doi.org/10.2307/1914085
  • W. Vickrey, Counterspeculation, Auctions, and Competitive Sealed Tenders, Journal of Finance 16 (1961) 8–37. https://doi.org/10.1111/j.1540-6261.1961.tb02789.x
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A Proof of the Nisan-Ronen Conjecture, STOC 2023. https://arxiv.org/abs/2301.11905
9 thms4 active usersReviewed
PreviousNext

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