Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

420 open missions

Missions

261–280 of 420
OpenCompletedAll
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

On the Approximability of Single-Machine Scheduling with Precedence Constraints 4: Vertex Cover in Connected Graphs of Degree ≤ 3 Reduces to Weighted Vertex Cover for Interval-Order InstancesResearch Paper

Motivation

In the single-machine scheduling problem 1∣prec∣∑wjCj1|\mathrm{prec}|\sum w_jC_j1∣prec∣∑wj​Cj​, a set NNN of nnn jobs, each with a processing time pj≥0p_j\ge 0pj​≥0 and a weight wj≥0w_j\ge 0wj​≥0, is processed on one machine without interruption, subject to precedence constraints given by a partial order PPP on NNN. The aim is to minimize the weighted sum of completion times ∑jwjCj\sum_j w_jC_j∑j​wj​Cj​. The problem is strongly NP-hard for general precedence constraints (Lawler 1978; Lenstra and Rinnooy Kan 1978), and its approximability was a recurring open question in scheduling theory (Schuurman and Woeginger 1999).

A line of work by Chudak and Hochbaum, Correa and Schulz, and Ambühl and Mastrolilli showed that the problem is a special case of minimum weighted vertex cover in a graph GPSG^S_PGPS​ built from the instance. Many problems on partial orders become polynomial when the order is an interval order, so it is natural to ask whether this one does too. Section 7 of Ambühl, Mastrolilli, Mutsanas and Svensson (Math. Oper. Res. 2011) answers no: the problem stays NP-hard on interval orders. The proof is a reduction from vertex cover in connected graphs of maximum degree 3. This mission formalizes the correctness of that reduction.

Setting

A poset P=(N,P)P=(N,P)P=(N,P) is read as a reflexive relation: (x,y)∈P(x,y)\in P(x,y)∈P means x≤yx\le yx≤y. Jobs x,yx,yx,y are incomparable if neither (x,y)(x,y)(x,y) nor (y,x)(y,x)(y,x) is in PPP, and inc⁡(P)\operatorname{inc}(P)inc(P) is the set of ordered incomparable pairs. The vertex cover graph GPSG^S_PGPS​ has one node (i,j)(i,j)(i,j) for each incomparable pair, weighted piwjp_iw_jpi​wj​. Two nodes (i,j)(i,j)(i,j) and (k,ℓ)(k,\ell)(k,ℓ) are adjacent if j=kj=kj=k and i=ℓi=\elli=ℓ, or j=kj=kj=k and (i,ℓ)∈P(i,\ell)\in P(i,ℓ)∈P, or (i,ℓ)∈P(i,\ell)\in P(i,ℓ)∈P and (k,j)∈P(k,j)\in P(k,j)∈P. Write w(CI)w(C_I)w(CI​) for the minimum weight of a vertex cover of GISG^S_IGIS​.

A poset is an interval order if each element xxx can be assigned a closed real interval [ax,bx][a_x,b_x][ax​,bx​] such that x<yx<yx<y if and only if bx<ayb_x<a_ybx​<ay​.

The reduction starts from a graph G=(V,E)G=(V,E)G=(V,E) with vertices v1,…,vNv_1,\dots,v_Nv1​,…,vN​ and a spanning tree T=(V,ET)T=(V,E_T)T=(V,ET​) rooted at v1v_1v1​, numbered so that each parent comes before its children. The paper uses a breadth-first search tree.

  • Stage 1. The graph G′G'G′ is built from TTT. Each viv_ivi​ gets a pendant path vi−u1i−u2iv_i - u^i_1 - u^i_2vi​−u1i​−u2i​. Each non-tree edge {vi,vj}∈E∖ET\{v_i,v_j\}\in E\setminus E_T{vi​,vj​}∈E∖ET​ with i<ji<ji<j gets the path vi−e1ij−e2ij−u2jv_i - e^{ij}_1 - e^{ij}_2 - u^j_2vi​−e1ij​−e2ij​−u2j​. The non-tree edges themselves are not edges of G′G'G′.
  • Stage 2. The scheduling instance SSS has jobs s0s_0s0​, s1,…,sNs_1,\dots,s_Ns1​,…,sN​, m1,…,mNm_1,\dots,m_Nm1​,…,mN​, e1,…,eNe_1,\dots,e_Ne1​,…,eN​, and bijb_{ij}bij​ for each non-tree edge. Their intervals, processing times and weights are given in a table on p. 662. For example, sjs_jsj​ has interval [i,j][i,j][i,j], processing time 1/kj1/k^j1/kj and weight kik^iki, where viv_ivi​ is the parent of vjv_jvj​. The precedence constraints III are the interval order of these intervals. With nnn the number of jobs, the parameter is k=n2+1k=n^2+1k=n2+1.
  • The set DDD. It is {(s0,s1)}∪{(si,sj):vi parent of vj}∪{(si,mi),(mi,ei)}∪{(si,bij),(bij,mj)}\{(s_0,s_1)\}\cup\{(s_i,s_j): v_i \text{ parent of } v_j\}\cup\{(s_i,m_i),(m_i,e_i)\}\cup\{(s_i,b_{ij}),(b_{ij},m_j)\}{(s0​,s1​)}∪{(si​,sj​):vi​ parent of vj​}∪{(si​,mi​),(mi​,ei​)}∪{(si​,bij​),(bij​,mj​)}. The graph GI′G'_IGI′​ is the subgraph of GISG^S_IGIS​ induced by DDD.

Formalization targets

Goal: Theorem 7.1 (p. 661)

For every connected graph GGG of maximum degree at most 333, every parent-first spanning tree TTT and every m∈Nm\in\mathbb Nm∈N, the precedence constraints III of SSS form an interval order, and

G has a vertex cover of size≤m  ⟺  ⌊w(CI)⌋≤m+∣V∣+∣E∖ET∣.G \text{ has a vertex cover of size} \le m \iff \lfloor w(C_I)\rfloor \le m + |V| + |E\setminus E_T|.G has a vertex cover of size≤m⟺⌊w(CI​)⌋≤m+∣V∣+∣E∖ET​∣.

Milestones, in the order the proof uses them

  • Claim 1 (p. 662): τ(G′)=τ(G)+∣V∣+∣E∖ET∣\tau(G') = \tau(G)+|V|+|E\setminus E_T|τ(G′)=τ(G)+∣V∣+∣E∖ET​∣, where τ\tauτ is the vertex cover number.
  • Remark 7.1 (p. 662): for jobs with intervals [a,b][a,b][a,b] and [c,d][c,d][c,d] and a≤da\le da≤d, pi≤1/k⌈b⌉p_i\le 1/k^{\lceil b\rceil}pi​≤1/k⌈b⌉ and wj≤k⌈c⌉w_j\le k^{\lceil c\rceil}wj​≤k⌈c⌉. On incomparable pairs piwj∈{1}∪[0,1/k]p_iw_j\in\{1\}\cup[0,1/k]pi​wj​∈{1}∪[0,1/k]. Moreover, piwj≥kp_iw_j\ge kpi​wj​≥k forces b<cb<cb<c, and piwj=1p_iw_j=1pi​wj​=1 forces ⌈b⌉=⌈c⌉\lceil b\rceil=\lceil c\rceil⌈b⌉=⌈c⌉.
  • Claim 2 (p. 663): an incomparable pair (i,j)(i,j)(i,j) has piwj=1p_iw_j=1pi​wj​=1 if it is in DDD, and piwj≤1/kp_iw_j\le 1/kpi​wj​≤1/k otherwise.
  • Claim 3 (p. 663): GI′≅G′G'_I\cong G'GI′​≅G′.
  • §7, p. 664: with k=n2+1k=n^2+1k=n2+1, ∑(i,j)∈inc⁡(I)∖Dpiwj<1\sum_{(i,j)\in\operatorname{inc}(I)\setminus D}p_iw_j<1∑(i,j)∈inc(I)∖D​pi​wj​<1, and hence w(CI′)=⌊w(CI)⌋w(C'_I)=\lfloor w(C_I)\rfloorw(CI′​)=⌊w(CI​)⌋.

Significance

The result. Interval orders are a standard tractable class: several scheduling and order-theoretic problems that are hard in general become polynomial on them (Papadimitriou and Yannakakis 1979). Theorem 7.1 puts 1∣prec∣∑wjCj1|\mathrm{prec}|\sum w_jC_j1∣prec∣∑wj​Cj​ outside this pattern. Section 6 of the same paper shows that the problem nonetheless has a 3/23/23/2-approximation on interval orders, so hardness and approximability are separated on this class. The paper also remarks that the proof makes weighted vertex cover NP-hard to approximate within some factor r>1r>1r>1 on the graphs GISG^S_IGIS​ arising from interval orders.

Formalizing it. The theorem is proved in the paper. Nothing in this mission is open, and none of it has been machine-checked before. The work splits into the following parts:

  • a gadget argument on unweighted vertex covers (Claim 1, after Alimonti and Kann);
  • an exact case analysis of incomparable pairs in a concrete interval order (Remark 7.1, Claim 2);
  • a graph isomorphism (Claim 3);
  • a rounding argument that links weighted and unweighted optima.

The definitions of GPSG^S_PGPS​ and of minimum-weight vertex covers are shared with the other missions of this series.

Difficulty

The construction is explicit, and each step is elementary. The work is in the bookkeeping. Claim 2 requires classifying every incomparable pair of jobs, including pairs of different kinds such as (bij,sℓ)(b_{ij}, s_\ell)(bij​,sℓ​), by comparing ceilings of interval endpoints. Half-integer endpoints (mim_imi​, bijb_{ij}bij​) are exactly what separates weight-one pairs from comparable ones. Claim 3 requires checking adjacency in GISG^S_IGIS​ for all pairs of nodes of DDD in both directions. The paper writes out two cases in each direction and calls the rest similar.

Claim 1 has a direction that is not simply local. A vertex cover of G′G'G′ that misses both endpoints of a non-tree edge has to be repaired by swapping gadget vertices, and the repair must be repeated without increasing the size.

A natural first idea is to treat the light nodes (weight at most 1/k1/k1/k) as negligible one at a time. This does not suffice: the argument needs their total weight to stay below 111, which is what forces kkk to grow with n2n^2n2.

Formalization scope

  • Graph and tree. GGG is a SimpleGraph (Fin N); vertex vi+1v_{i+1}vi+1​ is i, and the root is index 0. The tree is a TreeLayout: a parent function returning none exactly at the root, with each parent of smaller index and adjacent in GGG. The statements hold for every such layout. This is stronger than the paper's breadth-first tree, and the proof uses only "parent before child".
  • Hypotheses of the goal. Connectivity and the degree bound ((G.neighborSet v).ncard ≤ 3) are kept as in the paper. They matter only for the NP-completeness of the source problem.
  • Jobs. The jobs form an inductive type with one constructor per row of the table. Their order is a PartialOrder instance: x≤yx\le yx≤y iff x=yx=yx=y or bx<ayb_x<a_ybx​<ay​. Processing times and weights are real numbers. Section 1 of the paper asks for nonnegative integers, but the instance uses 1/kj1/k^j1/kj and the formalization follows the instance as printed.
  • Constants. The constants are explicit: k=n2+1k=n^2+1k=n2+1 with nnn the cardinality of the job type, and c=∣V∣+∣E∖ET∣c=|V|+|E\setminus E_T|c=∣V∣+∣E∖ET​∣. Remark 7.1 and Claim 2 are stated for every real k>1k>1k>1.
  • Optimum values. w(CI)w(C_I)w(CI​) is a minimum over the finite family of vertex covers. Unweighted cover numbers are Mathlib's SimpleGraph.vertexCoverNum. The floor is Nat.floor, which agrees with the integer floor because w(CI)≥0w(C_I)\ge 0w(CI​)≥0.
  • Not formalized. The goal's wording ("NP-hard") is not formalized. Neither are the NP-completeness of degree-3 vertex cover (Garey, Johnson and Stockmeyer), the polynomial size of the construction, or Theorem 2.1 (cited), which turns a vertex cover of GISG^S_IGIS​ into a schedule. What is stated is the correctness of the reduction: the instance has interval-order constraints, and its optimum decides the vertex cover question.
  • No trivialization. The instance SSS is built from GGG and TTT exactly as in the table. The goal quantifies over all graphs and layouts, never over an instance SSS assumed to have the properties.
  • Contributions. Contributions are welcome on any milestone. Claims 1 and 3 are independent of the weights, and Claim 2 is independent of the graph theory.

Selected references

  • C. Ambühl, M. Mastrolilli, N. Mutsanas, O. Svensson, On the Approximability of Single-Machine Scheduling with Precedence Constraints, Math. Oper. Res. 36(4):653–669, 2011. https://doi.org/10.1287/moor.1110.0512
  • C. Ambühl, M. Mastrolilli, Single machine precedence constrained scheduling is a vertex cover problem, Algorithmica 53(4):488–503, 2009. https://doi.org/10.1007/s00453-008-9251-1
  • J. R. Correa, A. S. Schulz, Single machine scheduling with precedence constraints, Math. Oper. Res. 30(4):1005–1021, 2005. https://doi.org/10.1287/moor.1050.0158
  • P. Alimonti, V. Kann, Some APX-completeness results for cubic graphs, Theoret. Comput. Sci. 237(1–2):123–134, 2000. https://doi.org/10.1016/S0304-3975(98)00158-3
  • M. R. Garey, D. S. Johnson, L. Stockmeyer, Some simplified NP-complete graph problems, Theoret. Comput. Sci. 1(3):237–267, 1976. https://doi.org/10.1016/0304-3975(76)90059-1
  • C. H. Papadimitriou, M. Yannakakis, Scheduling interval-ordered tasks, SIAM J. Comput. 8(3):405–409, 1979. https://doi.org/10.1137/0208031
10 thms1 active userReviewed
Bandit AlgorithmsOperations ResearchProbability+1·Captain: mikedeng1

Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms I: The Nonparametric Learn-then-Price Policy Has Regret at Most C(log n)^{1/2}/n^{1/4}Research Paper

Why price without knowing demand

A seller with a fixed stock of a single product and a finite selling season has to set prices without knowing how demand responds to them. This is the standard situation in revenue management: airline seats, hotel rooms, fashion goods and event tickets. The classical theory of dynamic pricing (Gallego and van Ryzin, 1994) assumes that the demand function λ(p)\lambda(p)λ(p), the rate of purchase requests at price ppp, is known. In practice it has to be learned from sales, while the season runs and the stock is consumed.

Besbes and Zeevi (2009) asked how much revenue is lost for not knowing λ\lambdaλ. They answered it with explicit policies and matching-order bounds. Their setting differs from the multi-armed bandit literature it borrows from in three ways:

  • the problem is constrained by an initial inventory;
  • the set of prices is a continuum;
  • the set of possible demand functions is a nonparametric class.

This mission formalizes their first main result, Proposition 1: a simple learn-then-price policy has worst-case relative regret of order (log⁡n)1/2n−1/4(\log n)^{1/2}n^{-1/4}(logn)1/2n−1/4 in a market of size nnn.

Setting

Prices. Fix 0<p‾<p‾<∞0<\underline p<\overline p<\infty0<p​<p​<∞ and an off price p∞>0p_\infty>0p∞​>0 outside [p‾,p‾][\underline p,\overline p][p​,p​]. The seller may charge any price in [p‾,p‾]∪{p∞}[\underline p,\overline p]\cup\{p_\infty\}[p​,p​]∪{p∞​}; charging p∞p_\inftyp∞​ stops demand.

Demand. Requests arrive as a Poisson process whose intensity at time ttt is λ(p(t))\lambda(p(t))λ(p(t)). Let NNN be a unit-rate Poisson process. By the time change (1), the cumulative requests up to time ttt under a price path p(⋅)p(\cdot)p(⋅) are N(∫0tλ(p(s)) ds)N\big(\int_0^t\lambda(p(s))\,ds\big)N(∫0t​λ(p(s))ds). The seller starts with inventory xxx and sells until either the horizon TTT ends or the stock runs out. The expected revenue of a policy π\piπ is Jπ(x,T;λ)J^\pi(x,T;\lambda)Jπ(x,T;λ).

Demand class. L=L(M,K‾,K‾,m)\mathcal L=\mathcal L(M,\underline K,\overline K,m)L=L(M,K​,K,m) is the set of regular demand functions satisfying Assumption 1. Regular means:

  • λ≥0\lambda\ge0λ≥0 and λ(p∞)=0\lambda(p_\infty)=0λ(p∞​)=0;
  • λ\lambdaλ is non-increasing on [p‾,p‾][\underline p,\overline p][p​,p​], with inverse γ\gammaγ;
  • the revenue rate r(l)=lγ(l)r(l)=l\gamma(l)r(l)=lγ(l) is concave.

Assumption 1 requires:

  • (i) λ≤M\lambda\le Mλ≤M on [p‾,p‾][\underline p,\overline p][p​,p​];
  • (ii) λ\lambdaλ is K‾\overline KK-Lipschitz and γ\gammaγ is K‾−1\underline K^{-1}K​−1-Lipschitz;
  • (iii) max⁡ppλ(p)≥m\max_p p\lambda(p)\ge mmaxp​pλ(p)≥m.

Benchmark. The deterministic relaxation (5) replaces the random demand by its mean:

JD(x,T∣λ)=sup⁡{∫0Tp(s)λ(p(s)) ds:∫0Tλ(p(s)) ds≤x}.J^D(x,T\mid\lambda)=\sup\Big\{\int_0^T p(s)\lambda(p(s))\,ds:\int_0^T\lambda(p(s))\,ds\le x\Big\}.JD(x,T∣λ)=sup{∫0T​p(s)λ(p(s))ds:∫0T​λ(p(s))ds≤x}.

The regret of a policy is Rπ=1−Jπ/JD\mathcal R^\pi=1-J^\pi/J^DRπ=1−Jπ/JD.

Scaling. In a market of size nnn the inventory is nxnxnx and the demand function is nλn\lambdanλ, as in (11). The corresponding quantities are JnπJ^\pi_nJnπ​, JnD=nJDJ^D_n=nJ^DJnD​=nJD and Rnπ\mathcal R^\pi_nRnπ​.

Algorithm 1, π(τ,κ)\pi(\tau,\kappa)π(τ,κ). The policy has three phases.

  1. Learning. On [0,τ][0,\tau][0,τ] it tests κ\kappaκ equally spaced prices pi=p‾+(i−1)(p‾−p‾)/κp_i=\underline p+(i-1)(\overline p-\underline p)/\kappapi​=p​+(i−1)(p​−p​)/κ, each for Δ=τ/κ\Delta=\tau/\kappaΔ=τ/κ time units. It estimates λ(pi)\lambda(p_i)λ(pi​) by the normalized request counts λ^(pi)\hat\lambda(p_i)λ^(pi​).
  2. Optimization. It chooses p^u=arg⁡max⁡ipiλ^(pi)\hat p^u=\arg\max_i p_i\hat\lambda(p_i)p^​u=argmaxi​pi​λ^(pi​) and p^c=arg⁡min⁡i∣λ^(pi)−x/T∣\hat p^c=\arg\min_i|\hat\lambda(p_i)-x/T|p^​c=argmini​∣λ^(pi​)−x/T∣, and sets p^=max⁡{p^u,p^c}\hat p=\max\{\hat p^u,\hat p^c\}p^​=max{p^​u,p^​c}.
  3. Pricing. It charges p^\hat pp^​ on (τ,T](\tau,T](τ,T] until the stock runs out.

Formalization targets

Goal: Proposition 1

Let τn≍n−1/4\tau_n\asymp n^{-1/4}τn​≍n−1/4 and κn≍n1/4\kappa_n\asymp n^{1/4}κn​≍n1/4, and let πn=π(τn,κn)\pi_n=\pi(\tau_n,\kappa_n)πn​=π(τn​,κn​). Then there is a finite constant CCC, independent of λ\lambdaλ and nnn, such that

sup⁡λ∈LRnπ(x,T;λ)≤C(log⁡n)1/2n1/4(n≥2).\sup_{\lambda\in\mathcal L}\mathcal R^{\pi}_n(x,T;\lambda)\le\frac{C(\log n)^{1/2}}{n^{1/4}}\qquad(n\ge2).λ∈Lsup​Rnπ​(x,T;λ)≤n1/4C(logn)1/2​(n≥2).

The constant is left unspecified, as in the paper. Its dependence on the class parameters, xxx and TTT is "somewhat complex" (p. 12), and the order (log⁡n)1/2n−1/4(\log n)^{1/2}n^{-1/4}(logn)1/2n−1/4 is the content of the result.

Milestones

The milestones follow the proof in the appendix, in order:

  • the scaling JnD=nJDJ^D_n=nJ^DJnD​=nJD (p. 12);
  • Fact 1, JD≥mmin⁡{T,x/M}J^D\ge m\min\{T,x/M\}JD≥mmin{T,x/M} on L\mathcal LL;
  • Lemma 1, the solution of (5): charge pD=max⁡{pu,pc}p^D=\max\{p^u,p^c\}pD=max{pu,pc} until the stock runs out;
  • Lemma 2, a Poisson deviation bound;
  • the revenue lower bound (A-2);
  • Lemma 3, the learned price is near pDp^DpD with high probability;
  • Lemma 4 and the Case 1 bound (A-11), for λ(p‾)≤x/T\lambda(\overline p)\le x/Tλ(p​)≤x/T;
  • Lemma 5 and the Case 2 bound (A-15), for λ(p‾)>x/T\lambda(\overline p)>x/Tλ(p​)>x/T;
  • the Step 4 bound Rnπ≤C12(un+τn)\mathcal R^\pi_n\le C_{12}(u_n+\tau_n)Rnπ​≤C12​(un​+τn​), where un=(log⁡n)1/2max⁡{1/κn,(nΔn)−1/2}u_n=(\log n)^{1/2}\max\{1/\kappa_n,(n\Delta_n)^{-1/2}\}un​=(logn)1/2max{1/κn​,(nΔn​)−1/2}.

Significance

Proposition 1 shows that a seller who knows only a nonparametric class of demand functions can approach the full-information revenue uniformly over the class. Learning costs a vanishing fraction of revenue, and the policy needs no parametric model. Together with the paper's lower bound of order n−1/2n^{-1/2}n−1/2 for every admissible policy (Proposition 2, not in this mission), it brackets the minimax regret of nonparametric pricing under an inventory constraint. The result is a reference point for the learning-and-earning literature in operations management that followed it.

The result is proved in the paper; to our knowledge, it has no machine-checked proof. Formalizing it requires:

  • a working theory of policies driven by a time-changed Poisson process, with sales capped by an inventory;
  • the deterministic relaxation of Gallego and van Ryzin for a continuum of prices with an off price;
  • uniform (over the class) Poisson concentration bounds.

The mission produces Lean statements of all of these. A proof would also check every constant chain of the appendix, where the argument uses some displays in a form slightly different from their printed statement (see the scope section).

Difficulty

The obvious argument controls the estimation error at the tested prices and concludes that p^\hat pp^​ is close to the optimal price. It breaks in two places.

First, pDp^DpD is the larger of two prices, the revenue maximizer and the price that sells the inventory exactly. Near the boundary between these regimes, the revenue rate at p^\hat pp^​ is not controlled by the error in p^\hat pp^​ alone: it needs the concavity of the revenue rate and the inverse Lipschitz bound on γ\gammaγ.

Second, when demand at the highest price exceeds the inventory rate (λ(p‾)>x/T\lambda(\overline p)>x/Tλ(p​)>x/T), the revenue is limited by stock-outs rather than by the price. The bound must then show that nearly all of the inventory is sold during the pricing phase, uniformly over the class.

Throughout, every constant must be independent of the demand function, so the estimates have to hold uniformly over an infinite-dimensional class.

Formalization scope

  • Poisson process. The demand is driven by IsPoissonProcess N 1 on a probability space (Ω,P)(\Omega,\mathbb P)(Ω,P), a published platform definition: ℕ-valued, N(0)=0N(0)=0N(0)=0, monotone paths, independent Poisson increments. The time change (1) is rendered by evaluating NNN at cumulative intensities.
  • Inventory. The inventory of the market of size nnn is ⌊nx⌋\lfloor nx\rfloor⌊nx⌋ units, and sales are min⁡{N(⋅),⌊nx⌋}\min\{N(\cdot),\lfloor nx\rfloor\}min{N(⋅),⌊nx⌋}. The cap is never dropped.
  • Revenue. JnπJ^\pi_nJnπ​ is the Bochner expectation of a bounded, finitely-valued revenue, so it is a genuine integral.
  • Demand functions. A demand function is a map R→R\mathbb R\to\mathbb RR→R, nonnegative, with λ(p∞)=0\lambda(p_\infty)=0λ(p∞​)=0. Regularity and Assumption 1 are imposed on [p‾,p‾][\underline p,\overline p][p​,p​], and the inverse γ\gammaγ is Function.invFunOn.
  • Benchmark. JDJ^DJD is a supremum over measurable price paths with integrable demand rate. The supremum is genuine: the set of path revenues is nonempty and bounded.
  • Algorithm. The grid excludes p‾\overline pp​, as in the paper. Ties in the grid argmax and argmin go to the smallest index. The estimates compare λ^(pi)\hat\lambda(p_i)λ^(pi​) with x/Tx/Tx/T.
  • Tuning. τn≍n−1/4\tau_n\asymp n^{-1/4}τn​≍n−1/4 and κn≍n1/4\kappa_n\asymp n^{1/4}κn​≍n1/4 are encoded with explicit constants 0<c≤c′0<c\le c'0<c≤c′, with τn∈(0,T]\tau_n\in(0,T]τn​∈(0,T] and κn≥1\kappa_n\ge1κn​≥1. Constants may depend on c,c′c,c'c,c′, the class parameters, the prices, xxx and TTT, but never on λ\lambdaλ or nnn.
  • Range of nnn. Bounds whose right side vanishes at n=1n=1n=1 because log⁡1=0\log1=0log1=0 are stated for n≥2n\ge2n≥2: the goal and (A-15).
  • Typo correction. Lemma 5's event uses nx−C9nunnx-C_9nu_nnx−C9​nun​, as in its proof, not the printed nx−C9unnx-C_9u_nnx−C9​un​.
  • Ruled out. A specific demand curve, a fixed nnn, deterministic demand, a finite price set, a known λ\lambdaλ, constants depending on λ\lambdaλ, or dropping the inventory cap would each make the statement a different and easier theorem. None is used.
  • Not included. The lower bound of Proposition 2 and the second assertion of Lemma 1 (Jπ≤JDJ^\pi\le J^DJπ≤JD for all admissible policies) are not included.

Contributions are welcome at any level: proofs of the milestones (Fact 1, Lemma 1 and Lemma 2 are self-contained), measurability and integrability lemmas for the revenue functional, and a reusable Poisson concentration library built on Mathlib's poissonMeasure.

Selected references

  • O. Besbes and A. Zeevi, Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms, Operations Research 57(6):1407–1420, 2009. https://doi.org/10.1287/opre.1080.0640
  • G. Gallego and G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8):999–1020, 1994. https://doi.org/10.1287/mnsc.40.8.999
  • K. Talluri and G. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2005. https://doi.org/10.1007/b139000
15 thms3 active usersReviewed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey 3: A Uniform Lower Bound on the Probability of Moving to State 0 Reduces Average Cost to Discounted CostResearch Paper

Why average cost is a control problem

A controller acting over an indefinite horizon must decide whether a lower cost today is worth a higher cost later. Average cost measures the expected expenditure per stage as the horizon grows. It is appropriate when operation has no natural terminal date, but its limiting definition makes it difficult to compute an optimal policy directly. Discounted cost assigns less weight to distant stages and has a more direct optimality equation. Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus survey these criteria for controlled Markov processes and state a condition under which solving one discounted problem yields a solution to an average-cost problem (Arapostathis et al., 1993, §5.1).

The condition is a common lower bound on the one-step probability of moving to a distinguished state. Ross's reduction, reported as Theorem 5.6 of the survey, uses that bound to define a new transition law and a specific discount factor. The survey's theorem states the reduction informally; its proof specifies the transformed law, the optimality equation and the resulting average-cost policy. Those claims are the targets of this mission (Arapostathis et al., 1993, pp. 303–304).

Controlled process and criteria

The state space is S={0,1,2,…}S=\{0,1,2,\ldots\}S={0,1,2,…}. In state iii, the controller may choose an action aaa from a nonempty compact set U(i)U(i)U(i) in a metric action space. Choosing aaa incurs the one-stage cost c(i,a)≥0c(i,a)\ge0c(i,a)≥0 and moves the state to jjj with probability P(j∣i,a)P(j\mid i,a)P(j∣i,a). The cost is measurable, and for each fixed i,ji,ji,j its value and P(j∣i,a)P(j\mid i,a)P(j∣i,a) vary continuously with aaa on U(i)U(i)U(i). Section 5 imposes these state and continuity conventions; §5.1 additionally assumes the costs are bounded (Arapostathis et al., 1993, pp. 284–288, 299, 301).

An admissible policy π\piπ chooses a probability law for the next action from the entire observed history, and assigns probability one to admissible actions. A stationary deterministic policy is a map fff with f(i)∈U(i)f(i)\in U(i)f(i)∈U(i); it always takes action f(i)f(i)f(i) in state iii. These are distinct classes. Let JN(i,π)J_N(i,\pi)JN​(i,π) be expected cost over the first NNN stages from iii, and let Jβ(i,π)J_\beta(i,\pi)Jβ​(i,π) be expected cost when stage ttt is weighted by βt\beta^tβt, where 0<β<10<\beta<10<β<1. The average-cost criterion is J(i,π)=lim sup⁡N→∞JN(i,π)/NJ(i,\pi)=\limsup_{N\to\infty}J_N(i,\pi)/NJ(i,π)=limsupN→∞​JN​(i,π)/N. The optimal values J∗(i)J^*(i)J∗(i) and Jβ∗(i)J_\beta^*(i)Jβ∗​(i) are infima over all admissible policies, including randomized and history-dependent ones (Arapostathis et al., 1993, pp. 285–287).

The average cost optimality equation, or ACOE, asks for a scalar ρ\rhoρ and a real function hhh such that, for each state iii,

ρ+h(i)=min⁡a∈U(i){c(i,a)+∑j∈SP(j∣i,a)h(j)}.\rho+h(i)=\min_{a\in U(i)}\left\{c(i,a)+\sum_{j\in S}P(j\mid i,a)h(j)\right\}.ρ+h(i)=a∈U(i)min​⎩⎨⎧​c(i,a)+j∈S∑​P(j∣i,a)h(j)⎭⎬⎫​.

The minimum is attained. The survey's verification theorem identifies ρ\rhoρ with the optimal average cost when the terminal contribution of h(Xt)h(X_t)h(Xt​) vanishes after division by ttt (Arapostathis et al., 1993, p. 299, (5.1), Theorem 5.1).

Formalization targets

The reduction

Assume that P(0∣i,a)≥αP(0\mid i,a)\ge\alphaP(0∣i,a)≥α on every admissible state-action pair for a single constant 0<α<10<\alpha<10<α<1. The transformed process M~\widetilde MM has the same admissible actions and costs and has transition probabilities

P~(j∣i,a)=P(j∣i,a)−α1{j=0}1−α.\widetilde P(j\mid i,a)=\frac{P(j\mid i,a)-\alpha\mathbf1_{\{j=0\}}}{1-\alpha}.P(j∣i,a)=1−αP(j∣i,a)−α1{j=0}​​.

Write J~1−α∗\widetilde J^*_{1-\alpha}J1−α∗​ for its discounted value at discount factor 1−α1-\alpha1−α. The goal states that this value is finite, a stationary deterministic discounted-optimal policy exists, and every such policy is average-cost optimal for the original process. It also identifies a constant optimal average cost for every initial state:

J∗(i)=αJ~1−α∗(0),i∈S.J^*(i)=\alpha\widetilde J^*_{1-\alpha}(0),\qquad i\in S.J∗(i)=αJ1−α∗​(0),i∈S.

The goal does not assume the average optimality that it asserts. It requires the transformed law to satisfy the displayed formula at every admissible state-action pair (Arapostathis et al., 1993, Theorem 5.6 and proof, pp. 303–304).

Supporting targets

The milestones establish that the transformed law gives a controlled Markov process, that the discounted problem has an optimal stationary deterministic policy, and that the transformed discounted value satisfies the original ACOE with ρ=αJ~1−α∗(0)\rho=\alpha\widetilde J^*_{1-\alpha}(0)ρ=αJ1−α∗​(0). The final milestone is the ACOE verification theorem needed to identify the average cost. The source gives the first two discounted claims through Theorem 2.1 and writes out the transformed equation in the proof of Theorem 5.6 (Arapostathis et al., 1993, pp. 289, 299, 304).

What the result supplies

The theorem replaces an average-cost optimization problem by one discounted problem with a prescribed discount factor and transition law. It yields a stationary deterministic policy that is optimal even when compared with every history-dependent randomized policy, and it shows that the optimal average cost is independent of the initial state. Without the common return probability, neither this particular law nor this fixed discount factor follows from the survey's argument (Arapostathis et al., 1993, Theorem 5.6).

The survey reports this as a known result of Ross rather than an open conjecture. The formalization work is to give the path measures, value functions, transformed process and verification result machine-checkable meanings. The Lean declarations here are open theorem statements awaiting proofs; compiling a statement with sorry does not establish the mathematical theorem. The policy and cost definitions can also support the other countable-state missions drawn from §5.

Difficulty

The transformed probabilities have to form a measurable stochastic kernel, preserve the action continuity assumptions and yield a controlled process with the original feasible actions and costs. The discounted value must be finite and uniformly bounded before its real form can enter the ACOE. A simple comparison of numerical optimal values is insufficient: a policy chosen in the transformed model must be shown optimal for the original model against the full policy class. The verification theorem also requires control of the terminal expectation of h(Xt)h(X_t)h(Xt​) for arbitrary admissible policies, rather than only the stationary policies named in its printed condition (Arapostathis et al., 1993, pp. 299–300, 304).

Formalization scope

Lean uses N\mathbb NN for the countable state space and Mathlib probability kernels for the transition and randomized decision rules. Strategic path measures are constructed from those kernels. Nonnegative expected costs and their infima live in [0,∞][0,\infty][0,∞], so an unbounded integral cannot silently become a finite real value. The transformed discounted value is converted to a real only in conclusions that also assert its finiteness. The ACOE uses real sums with explicit summability and an attained minimum. The model requires a Borel metric action space, nonempty compact action sets, measurable costs, and coordinatewise action continuity of the transition probabilities.

The source's §5.1 bounded-cost assumption is explicit in the goal and its discounted milestones. The displayed transformation needs α<1\alpha<1α<1; the paper's theorem sentence gives only α>0\alpha>0α>0, so the case α=1\alpha=1α=1 is excluded from this version. The paper prints (5.2) for stationary deterministic policies, but the proof uses it for all admissible policies to compare with J∗J^*J∗; the verification milestone takes the stronger, proof-supported hypothesis. Expectations in that condition are explicitly integrable. The converse part of Theorem 5.1 is not used and is outside this mission.

The transformed process is represented by another CMP constrained to have exactly the source's action sets, admissible costs and transition formula. A milestone poses its existence. This representation keeps the definition layer free of an unproved stochastic-kernel construction. The discount-optimal policy conclusion ranges over every stationary deterministic policy attaining the transformed discounted value, while the values themselves take infima over all admissible policies. Definitions of admissible path laws and the verification theorem are reusable contributions; proofs of the transformed kernel, stationary discounted existence and ACOE identity are welcome.

Selected references

  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh and S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM Journal on Control and Optimization 31(2), 282–344, 1993. DOI: 10.1137/0331018.
7 thms1 active userReviewed
Bandit AlgorithmsOperations ResearchProbability+1·Captain: mikedeng1

Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms II: The Parametric Learn-then-Price Policy Has Regret at Most C(log n)^{1/2}/n^{1/3}Research Paper

Why learn demand while pricing?

A seller with a fixed inventory must choose prices before knowing how customers respond to them. A price that earns a high margin can sell too slowly; a price that sells quickly can exhaust stock before the selling season ends. Learning demand uses time and inventory, so the seller must account for the cost of its own experiments. This mission formalizes the parametric policy and regret bound of Besbes and Zeevi (2009), Proposition 3. Their setting differs from a finite-arm bandit: the permitted ordinary prices form an interval, customer arrivals are random, and the available stock caps total sales.

The paper first analyzes a nonparametric class with a slower upper bound in Proposition 1, then imposes a known finite-dimensional form on the unknown demand curve in Section 5. Proposition 3 shows how that additional information improves the regret rate for its Algorithm 2. The authors also prove a lower bound for a suitable parametric family in Proposition 4; that result is outside this mission's capstone, which concerns the performance guarantee of the concrete policy.

Market, demand, and policy

The selling horizon has length T>0T>0T>0, and the initial stock is x>0x>0x>0. An ordinary price ppp lies in [p‾,p‾][\underline p,\overline p][p​,p​], with 0<p‾<p‾0<\underline p<\overline p0<p​<p​. The special price p∞>0p_\infty>0p∞​>0 stops demand. At parameter θ∈Θ⊆Rk\theta\in\Theta\subseteq\mathbb R^kθ∈Θ⊆Rk, the demand rate is λ(p;θ)≥0\lambda(p;\theta)\ge0λ(p;θ)≥0. The parameter set Θ\ThetaΘ is nonempty, compact, and convex; kkk is positive. The seller knows the family λ(⋅;θ)\lambda(\cdot;\theta)λ(⋅;θ) but does not know the true parameter θ∗\theta^*θ∗.

For each parameter, demand is nonincreasing in the price and has an inverse γ(⋅;θ)\gamma(\cdot;\theta)γ(⋅;θ) on the attainable rate interval. The rate revenue is r(ℓ;θ)=ℓγ(ℓ;θ)r(\ell;\theta)=\ell\gamma(\ell;\theta)r(ℓ;θ)=ℓγ(ℓ;θ), a concave function of the rate. Every member of the family satisfies Assumption 1 with the same positive constants M,K‾,K‾,mM,\underline K,\overline K,mM,K​,K,m: demand is at most MMM, its price variation is at most K‾\overline KK times the price difference, its inverse is K‾−1\underline K^{-1}K​−1-Lipschitz, and some ordinary price earns revenue rate at least mmm. These conditions define the class in which the bound is uniform. See §§3–4.2 of the source.

Customer requests follow a unit-rate Poisson process NNN run on a demand-dependent clock. Under price p(t)p(t)p(t), cumulative requests at time ttt equal N(∫0tλ(p(s);θ∗) ds)N(\int_0^t\lambda(p(s);\theta^*)\,ds)N(∫0t​λ(p(s);θ∗)ds). The market of size nnn has stock nxnxnx and rate nλn\lambdanλ. Sales stop when stock runs out. The deterministic relaxation JnDJ_n^DJnD​ is the best integrated rate revenue over measurable price paths satisfying the expected-demand stock constraint, with the same scaling. The policy revenue JnπJ_n^\piJnπ​ is its expected sales revenue, and its relative regret is Rnπ=1−Jnπ/JnDR_n^\pi=1-J_n^\pi/J_n^DRnπ​=1−Jnπ​/JnD​. Fact 1 states JnD=nJDJ_n^D=nJ^DJnD​=nJD and gives a positive uniform lower bound on JDJ^DJD.

Assumption 2 selects kkk distinct ordinary test prices. Their mean rates identify the parameter through a Lipschitz inverse map ggg, and demand changes at most K‾2∥θ−θ′∥∞\overline K_2\|\theta-\theta'\|_\inftyK2​∥θ−θ′∥∞​ as the parameter varies. The square root of each test-price rate is differentiable on Θ\ThetaΘ. Algorithm 2 spends τn\tau_nτn​ time units testing these prices in equal subintervals, estimates each rate from its Poisson count increment, and sets θ^=g(d^)\widehat\theta=g(\widehat d)θ=g(d). It then posts p^=max⁡{pu(θ^),pc(θ^)}\widehat p=\max\{p^u(\widehat\theta),p^c(\widehat\theta)\}p​=max{pu(θ),pc(θ)}, where pup^upu maximizes revenue rate and pcp^cpc minimizes the distance of demand to x/Tx/Tx/T. It keeps that price until time TTT or stock-out. See §5.1–5.2.

Formalization targets

The capstone is the uniform bound in Proposition 3, equation (17). With τn≍n−1/3\tau_n\asymp n^{-1/3}τn​≍n−1/3, the mission asks for one constant C>0C>0C>0, independent of nnn, θ∗\theta^*θ∗, the optimizer choices, and the probability space, such that

∀θ∗∈Θ,Rnπ(x,T;θ∗)≤Clog⁡nn1/3(n≥2).\forall\theta^*\in\Theta,\qquad R_n^\pi(x,T;\theta^*)\le C\frac{\sqrt{\log n}}{n^{1/3}}\quad(n\ge2).∀θ∗∈Θ,Rnπ​(x,T;θ∗)≤Cn1/3logn​​(n≥2).

The intermediate quantitative target is equation (A-25), which retains the learning time:

Rnπ≤C3mD(τn+log⁡nnτn),mD=mmin⁡{T,x/M}.R_n^\pi\le\frac{C_3}{m^D}\left(\tau_n+\frac{\sqrt{\log n}}{\sqrt{n\tau_n}}\right),\qquad m^D=m\min\{T,x/M\}.Rnπ​≤mDC3​​(τn​+nτn​​logn​​),mD=mmin{T,x/M}.

The milestone list also carries Fact 1, the optimal deterministic price path and value from the first assertion of Lemma 1, both Poisson tails of Lemma 2, the pricing-phase revenue bound (A-17), the deterministic stability bounds (A-19), (A-22), and (A-23), and the parameter-estimation bound of Lemma 6. The paper's assertion that the policy is “asymptotically optimal” follows from the displayed regret estimate together with nonnegative regret; the displayed numerical estimate is the formal goal.

What the result provides

A finite-dimensional demand model lets the seller learn from a fixed set of kkk prices rather than probing an increasingly fine price grid. Proposition 3 quantifies the resulting revenue loss at O(log⁡n n−1/3)O(\sqrt{\log n}\,n^{-1/3})O(logn​n−1/3), compared with the paper's O(log⁡n n−1/4)O(\sqrt{\log n}\,n^{-1/4})O(logn​n−1/4) upper bound for its nonparametric learn-then-price policy. Both guarantees compare actual expected revenue with the full-information deterministic benchmark, including stock-out. These rates are proved in the article; the mission seeks machine-checked Lean proofs of the stated model, auxiliary bounds, and capstone. No such proof is claimed here.

The formalization would also provide reusable interfaces for a unit-rate Poisson counting process, deterministic inventory-constrained revenue optimization, measurable price selectors, and a random price chosen from normalized count observations. The later single-parameter policy in the paper uses related ideas but is a separate mission with different stages and a different rate.

Main difficulty

A rate estimate can be close to the true rate while the selected price changes between two different optimizers: the unconstrained revenue maximizer and the price that matches inventory to expected demand. A bound for only one optimizer does not control the maximum of the two. The learning price is random, and the number of requests in the pricing phase is evaluated at a random Poisson clock. Stock-out further couples the learning phase to the amount available for later sales. These features prevent a direct substitution of an ordinary parameter-estimation bound into the final revenue formula.

Formalization scope

Lean uses Fin(k)→R\mathrm{Fin}(k)\to\mathbb RFin(k)→R with its sup norm for parameter vectors, a finite positive off price, and a Poisson process on an arbitrary probability space. Each demand curve is defined on all real prices but is constrained on [p‾,p‾][\underline p,\overline p][p​,p​] and at p∞p_\inftyp∞​; the inverse and concavity conditions apply on the attainable rate interval. The deterministic benchmark is a real supremum over measurable, integrable admissible price paths. The class assumptions make its value nonempty and bounded. Policy revenue uses a nonnegative integral of pathwise revenue, avoiding a default zero from a nonintegrable signed expectation.

Inventory is measured in whole units, so the cap is ⌊nx⌋\lfloor nx\rfloor⌊nx⌋, equal to the paper's nxnxnx when that quantity is integral. Test-price observations remain uncapped in the formula for d^\widehat dd; if stock runs out during learning, capped later sales are already zero. The continuous optimizer choices are measurable selections satisfying the actual max/min properties for every member of Θ\ThetaΘ. The bound is uniform over these choices and over all unit-rate Poisson processes.

The printed Assumption 2(i)b asks for a solution to the test-rate equations for every vector in Rk\mathbb R^kRk. Such a solution cannot always lie in compact Θ\ThetaΘ, although the proof applies Assumption 2(ii) to θ^\widehat\thetaθ. Here ggg is a Lipschitz map into Θ\ThetaΘ that recovers each true parameter from its test-rate vector; it can be viewed as the unconstrained inverse followed by a nonexpansive projection in the paper's box example. This explicit convention is required to make the estimate and subsequent use of Assumption 2(ii) coherent. It is an interpretive repair of the printed condition.

The paper prints the regret bound for n≥1n\ge1n≥1, where log⁡1=0\sqrt{\log1}=0log1​=0. The exploration policy can lose revenue at n=1n=1n=1, so the formal theorem starts at n≥2n\ge2n≥2. The comparison τn≍n−1/3\tau_n\asymp n^{-1/3}τn​≍n−1/3 is encoded by positive lower and upper multipliers after a fixed threshold, with 0<τn≤T0<\tau_n\le T0<τn​≤T for all relevant market sizes. This admits the usual finite initial adjustments and leaves the bound uniform over the sequence. No fixed demand curve, known parameter, finite price grid, or uncapped sales model can satisfy this target by substitution.

Selected references

  • Omar Besbes and Assaf Zeevi, Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms, Operations Research 57(6), 2009, authors' final manuscript revised December 16, 2007. DOI: 10.1287/opre.1080.0640.
13 thms2 active usersReviewed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

On the Approximability of Single-Machine Scheduling with Precedence Constraints 6: The Optimal Value of S_G Lies Between n² − an²(ln 1/a + 2) and n² − an²Research Paper

Motivation

The problem 1 ∣ prec ∣ ∑wjCj1\,|\,\mathrm{prec}\,|\,\sum w_jC_j1∣prec∣∑wj​Cj​ asks for a single-machine sequence of jobs, respecting precedence constraints, that minimizes the weighted sum of completion times. It has been known to be strongly NP-hard since Lawler (1978) and Lenstra and Rinnooy Kan (1978), several different 2-approximation algorithms are known, and closing the approximability gap is listed by Schuurman and Woeginger (1999) as one of ten outstanding open problems in scheduling theory. Ambühl, Mastrolilli, Mutsanas and Svensson (Math. Oper. Res. 36(4), 2011) give the first inapproximability result for this problem: under a widely believed complexity assumption it has no polynomial-time approximation scheme (PTAS). The bridge to that result is a quantitative link, Lemma 9.1, between the optimal value of a special bipartite scheduling instance and the maximum edge biclique of a bipartite graph, a problem whose hardness of approximation was established by Ambühl, Mastrolilli and Svensson (FOCS 2007). This mission formalizes that link.

Setting

A schedule of a finite job set is a sequence σ\sigmaσ listing every job once; the machine processes the jobs in that order from time 000 without idle time or pre-emption. Job jjj has a processing time pjp_jpj​ and a weight wjw_jwj​; its completion time CjC_jCj​ is the sum of the processing times of the jobs up to and including jjj, and the value of σ\sigmaσ is val(σ)=∑jwjCj\mathrm{val}(\sigma)=\sum_j w_jC_jval(σ)=∑j​wj​Cj​. Precedence constraints are a relation PPP on jobs: (i,j)∈P(i,j)\in P(i,j)∈P with i≠ji\ne ji=j means job iii must be completed before job jjj starts. A schedule respecting all of them is feasible, and a feasible schedule σ∗\sigma^*σ∗ of least value is optimal.

Let G=(U,V,E)G=(U,V,E)G=(U,V,E) be an nnn-by-nnn bipartite graph: ∣U∣=∣V∣=n|U|=|V|=n∣U∣=∣V∣=n and E⊆U×VE\subseteq U\times VE⊆U×V. An edge biclique is a pair A⊆UA\subseteq UA⊆U, B⊆VB\subseteq VB⊆V with A×B⊆EA\times B\subseteq EA×B⊆E, of value ∣A∣⋅∣B∣|A|\cdot|B|∣A∣⋅∣B∣; the maximum edge biclique problem (Definition 9.1) asks for one of largest value. The bipartite scheduling instance SGS_GSG​ has jobs U∪VU\cup VU∪V and precedence constraints

P=(U×V)∖E,P=(U\times V)\setminus E,P=(U×V)∖E,

so u∈Uu\in Uu∈U must precede v∈Vv\in Vv∈V exactly when (u,v)(u,v)(u,v) is not an edge. Jobs of UUU have p=1p=1p=1, w=0w=0w=0; jobs of VVV have p=0p=0p=0, w=1w=1w=1. Thus val(σ)=∑v∈VCv\mathrm{val}(\sigma)=\sum_{v\in V}C_vval(σ)=∑v∈V​Cv​, where CvC_vCv​ is the number of UUU-jobs scheduled before vvv. For i≥1i\ge1i≥1, σ(i)\sigma(i)σ(i) denotes the number of VVV-jobs scheduled before iii jobs of UUU have been scheduled.

In the Lean development these are weightedCompletion, IsOptimalSchedule, IsEdgeBiclique, maxBicliqueValue, precSG, procSG, weightSG, valSG, IsOptimalSG and vBefore in the namespace SingleMachinePrec.Biclique.

Formalization targets

Goal: Lemma 9.1 (p. 666)

If a maximum edge biclique of GGG has value an2an^2an2 with a∈(0,1]a\in(0,1]a∈(0,1], then SGS_GSG​ has an optimal schedule and every optimal schedule σ∗\sigma^*σ∗ satisfies

n2−an2(ln⁡1a+2)≤val(σ∗)≤n2−an2.n^2-an^2\Bigl(\ln\frac1a+2\Bigr)\le\mathrm{val}(\sigma^*)\le n^2-an^2 .n2−an2(lna1​+2)≤val(σ∗)≤n2−an2.

Milestones (proof of Lemma 9.1, §9, p. 666)

  1. For every edge biclique (A,B)(A,B)(A,B), a schedule in the block order U∖A→B→A→V∖BU\setminus A\to B\to A\to V\setminus BU∖A→B→A→V∖B exists, and every such schedule is feasible with
val(σ)=n2−∣A∣⋅∣B∣.\mathrm{val}(\sigma)=n^2-|A|\cdot|B| .val(σ)=n2−∣A∣⋅∣B∣.
  1. For every schedule, σ(n+1)=n\sigma(n+1)=nσ(n+1)=n and
val(σ)=∑i=1n(σ(i+1)−σ(i))i=n2−∑i=1nσ(i).\mathrm{val}(\sigma)=\sum_{i=1}^n\bigl(\sigma(i+1)-\sigma(i)\bigr)i=n^2-\sum_{i=1}^n\sigma(i).val(σ)=i=1∑n​(σ(i+1)−σ(i))i=n2−i=1∑n​σ(i).
  1. For every feasible schedule and i=1,…,ni=1,\dots,ni=1,…,n,
σ(i)(n−i+1)≤an2,σ(i)≤n.\sigma(i)(n-i+1)\le an^2,\qquad \sigma(i)\le n .σ(i)(n−i+1)≤an2,σ(i)≤n.

Significance

Lemma 9.1 shows that the optimal value of SGS_GSG​ determines the maximum edge biclique of GGG up to a factor of order ln⁡(1/a)\ln(1/a)ln(1/a) in the "area above the work line" n2−val(σ∗)n^2-\mathrm{val}(\sigma^*)n2−val(σ∗). Combined with the hardness of approximating maximum edge biclique (Theorem 9.1, cited from Ambühl, Mastrolilli and Svensson 2007) it yields Theorem 9.2: 1 ∣ prec ∣ ∑wjCj1\,|\,\mathrm{prec}\,|\,\sum w_jC_j1∣prec∣∑wj​Cj​ has no PTAS unless SAT can be decided by a probabilistic algorithm in time 2Nϵ2^{N^\epsilon}2Nϵ for every ϵ>0\epsilon>0ϵ>0. It also makes precise the two-dimensional Gantt chart picture of Eastman, Even and Isaacs (1964) and of Goemans and Williamson (2000), in which every point on the work line of a schedule defines an edge biclique.

The lemma is proved in the paper; it is not formalized anywhere to our knowledge. A formal proof certifies the combinatorial core of the no-PTAS result independently of the complexity-theoretic layer, and its definitions (the bipartite instance SGS_GSG​, edge bicliques, the profile σ(i)\sigma(i)σ(i)) are reusable for the gap inequality behind Theorem 9.2.

Difficulty

The upper bound is a direct computation on one explicit schedule. The lower bound is a statement about every feasible schedule, of which there are exponentially many, and it must hold with the explicit constant 222 and the factor ln⁡(1/a)\ln(1/a)ln(1/a) for every a∈(0,1]a\in(0,1]a∈(0,1]. The printed argument splits the sum at i=(1−a)ni=(1-a)ni=(1−a)n and uses ⌊an⌋\lfloor an\rfloor⌊an⌋, treating ananan as an integer; for general aaa (for example n=3n=3n=3, value 222, an=2/3an=2/3an=2/3) the split point is not an integer, so the printed estimate does not apply verbatim and the constant 222 has to be re-checked for non-integral ananan. On the formal side, the value identity requires relating completion times in a list to counting UUU-jobs before each VVV-job, with ties among zero-length jobs.

Formalization scope

Jobs are the disjoint union U ⊕ V of two finite types with Fintype.card U = Fintype.card V = n; EEE is a relation U → V → Prop. A schedule is a duplicate-free list containing every job; feasibility is the published LawlerPrec.MinMax.IsFeasible and completion times are the published MooreLateJobs.Shared.completionTime (time 000 start, no idle time). Processing times and weights are reals, here in {0,1}\{0,1\}{0,1}. The maximum edge biclique value is the maximum of ∣A∣⋅∣B∣|A|\cdot|B|∣A∣⋅∣B∣ over all edge bicliques, the empty ones included, so the hypothesis a>0a>0a>0 means E≠∅E\ne\emptysetE=∅. The logarithm is natural (Real.log).

Conventions and readings committed to:

  • The goal is stated for every optimal schedule, and the existence of an optimal schedule is a separate conclusion, so the bounds cannot hold vacuously. Proving the bounds for one particular schedule, or for an optimal value defined as an infimum that could be a junk default, would not be this lemma.
  • No integrality hypothesis on ananan is added.
  • Milestones 2 and 3 are stated for every schedule (respectively every feasible schedule), not only for σ∗\sigma^*σ∗; milestone 1 states the value of the block-order schedule as an equality, where the paper writes "≤⋯=\le\cdots=≤⋯=".
  • The paper's P=(U×V)∖EP=(U\times V)\setminus EP=(U×V)∖E is irreflexive; feasibility only constrains distinct jobs, so it agrees with the reflexive partial order of §1.

Not formalized: Theorem 9.1 (cited hardness of maximum edge biclique) and Theorem 9.2 (no PTAS under a complexity assumption); no polynomial-time or complexity-theoretic statement appears in the mission. Contributions welcome: proofs of the three milestones and of the goal; Mathlib's bounds on harmonic numbers (Mathlib/NumberTheory/Harmonic/Bounds.lean) are the relevant library.

Selected references

  • C. Ambühl, M. Mastrolilli, N. Mutsanas, O. Svensson, On the Approximability of Single-Machine Scheduling with Precedence Constraints, Mathematics of Operations Research 36(4):653–669, 2011. https://doi.org/10.1287/moor.1110.0512
  • C. Ambühl, M. Mastrolilli, O. Svensson, Inapproximability results for sparsest cut, optimal linear arrangement, and precedence constraint scheduling, Proc. 48th IEEE FOCS, 329–337, 2007 (reference [4] of the paper).
  • W. L. Eastman, S. Even, I. M. Isaacs, Bounds for the optimal scheduling of n jobs on m processors, Management Science 11(2):268–279, 1964 (reference [11]).
  • M. X. Goemans, D. P. Williamson, Two-dimensional Gantt charts and a scheduling algorithm of Lawler, SIAM J. Discrete Math. 13(3):281–294, 2000 (reference [15]).
  • P. Schuurman, G. J. Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, J. Scheduling 2(5):203–213, 1999 (reference [36]).
8 thms1 active userReviewed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey 2: Uniformly Bounded Mean Return Times Make the Differential Discounted Values Uniformly BoundedResearch Paper

Motivation

Controlled Markov processes with the average cost criterion model systems that run indefinitely, such as queues, inventories, maintenance and communication networks, where only the long-run cost per unit time matters. The standard route to an optimal stationary policy goes through the average cost optimality equation (ACOE). The ACOE is usually obtained by the vanishing discount method: solve the discounted problem for each discount factor β<1\beta<1β<1 and let β→1\beta\to1β→1. The method works only when the differences of discounted values stay bounded as β→1\beta\to1β→1. Conditions that guarantee this are therefore central in the survey of Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus (SIAM J. Control Optim. 31 (1993), §5).

This mission formalizes one such condition, due to Ross: if the mean return time to a fixed state is bounded uniformly over all stationary policies and initial states, the differential discounted value functions are bounded uniformly in the discount factor and the state.

Timeline. Derman (Management Sci. 9 (1962); survey reference [38]) and Derman–Veinott (Ann. Math. Statist. 38 (1967); survey reference [43]) introduced recurrence conditions of this kind for countable-state processes. Ross (Ann. Math. Statist. 39 (1968), survey reference [147]; Introduction to Stochastic Dynamic Programming, 1983, survey reference [150]) showed, for bounded costs, that under a Derman–Veinott type recurrence condition hβh_\betahβ​ is bounded uniformly in β\betaβ, and obtained a bounded solution of the ACOE by letting β↑1\beta\uparrow1β↑1 (survey, pp. 291 and 301). Later work replaced the condition with weaker ones (survey Assumptions 5.1–5.3) and with Sennott's conditions (survey Theorem 5.9).

Setting

The state space is S={0,1,2,… }S=\{0,1,2,\dots\}S={0,1,2,…}. In each state iii, an action aaa is chosen from a nonempty compact set U(i)U(i)U(i) of a metric space AAA. The one-stage cost c(i,a)c(i,a)c(i,a) is nonnegative and the next state is drawn from the transition law P(⋅∣i,a)P(\cdot\mid i,a)P(⋅∣i,a). For fixed i,ji,ji,j, the maps a↦c(i,a)a\mapsto c(i,a)a↦c(i,a) and a↦P(j∣i,a)a\mapsto P(j\mid i,a)a↦P(j∣i,a) are continuous on U(i)U(i)U(i). A policy π∈Π\pi\in\Piπ∈Π chooses the action at time ttt at random, given the whole history, and must choose from U(Xt)U(X_t)U(Xt​). A stationary deterministic policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is a map f:S→Af:S\to Af:S→A with f(i)∈U(i)f(i)\in U(i)f(i)∈U(i). PiπP^\pi_iPiπ​ and EiπE^\pi_iEiπ​ denote the law and the expectation of the controlled process (Xt,At)(X_t,A_t)(Xt​,At​) started at iii.

For a discount factor β∈(0,1)\beta\in(0,1)β∈(0,1), the discounted cost and the optimal discounted cost are

Jβ(i,π)=Eiπ[∑t=0∞βtc(Xt,At)],Jβ∗(i)=inf⁡π∈ΠJβ(i,π).J_\beta(i,\pi)=E^\pi_i\Big[\sum_{t=0}^\infty\beta^t c(X_t,A_t)\Big],\qquad J^*_\beta(i)=\inf_{\pi\in\Pi}J_\beta(i,\pi).Jβ​(i,π)=Eiπ​[t=0∑∞​βtc(Xt​,At​)],Jβ∗​(i)=π∈Πinf​Jβ​(i,π).

A policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is β\betaβ-discount optimal if Jβ(i,f)=Jβ∗(i)J_\beta(i,f)=J^*_\beta(i)Jβ​(i,f)=Jβ∗​(i) for all iii. The differential discounted value function is

hβ(i)=Jβ∗(i)−Jβ∗(0),h_\beta(i)=J^*_\beta(i)-J^*_\beta(0),hβ​(i)=Jβ∗​(i)−Jβ∗​(0),

measured relative to the fixed state 000. The return time to 000 is

τ=min⁡{t≥1: Xt=0},\tau=\min\{t\ge1:\ X_t=0\},τ=min{t≥1: Xt​=0},

with τ=∞\tau=\inftyτ=∞ if the process never returns. Throughout, as in §5.1 of the survey, the cost is bounded: c(i,a)≤Mc(i,a)\le Mc(i,a)≤M on admissible pairs.

Formalization targets

Goal: Theorem 5.3

If there is a constant K>0K>0K>0 with

Eif[τ]<Kfor all f∈ΠSD, i∈S,(5.7)E^f_i[\tau]<K\qquad\text{for all } f\in\Pi_{SD},\ i\in S, \tag{5.7}Eif​[τ]<Kfor all f∈ΠSD​, i∈S,(5.7)

then there is a constant BBB such that

∣hβ(i)∣≤Bfor all β∈(0,1), i∈S.|h_\beta(i)|\le B\qquad\text{for all }\beta\in(0,1),\ i\in S.∣hβ​(i)∣≤Bfor all β∈(0,1), i∈S.

This is the theorem as printed: it asserts only uniform boundedness and fixes no constant.

Milestones

  1. Theorem 2.1 (iii): for every β∈(0,1)\beta\in(0,1)β∈(0,1), a β\betaβ-discount optimal fβ∈ΠSDf_\beta\in\Pi_{SD}fβ​∈ΠSD​ exists.
  2. (5.8): for such an fβf_\betafβ​, Jβ∗(i)≤M Eifβ[τ]+Jβ∗(0) Eifβ[βτ]J^*_\beta(i)\le M\,E^{f_\beta}_i[\tau]+J^*_\beta(0)\,E^{f_\beta}_i[\beta^\tau]Jβ∗​(i)≤MEifβ​​[τ]+Jβ∗​(0)Eifβ​​[βτ].
  3. (5.9): Jβ∗(i)−βJβ∗(0)≤MKJ^*_\beta(i)-\beta J^*_\beta(0)\le MKJβ∗​(i)−βJβ∗​(0)≤MK.
  4. Jensen step: Jβ∗(i)≥Jβ∗(0) Eifβ[βτ]≥Jβ∗(0) βKJ^*_\beta(i)\ge J^*_\beta(0)\,E^{f_\beta}_i[\beta^\tau]\ge J^*_\beta(0)\,\beta^KJβ∗​(i)≥Jβ∗​(0)Eifβ​​[βτ]≥Jβ∗​(0)βK.
  5. (5.10): Jβ∗(0)−Jβ∗(i)≤(1−βK)Jβ∗(0)≤(1−βK)M1−β≤MKJ^*_\beta(0)-J^*_\beta(i)\le(1-\beta^K)J^*_\beta(0)\le(1-\beta^K)\frac{M}{1-\beta}\le MKJβ∗​(0)−Jβ∗​(i)≤(1−βK)Jβ∗​(0)≤(1−βK)1−βM​≤MK.
  6. Explicit bound: ∣hβ(i)∣≤MK|h_\beta(i)|\le MK∣hβ​(i)∣≤MK. This is stronger than the goal and is the constant the survey's argument yields.

Significance

The result. Theorem 5.3 verifies the hypothesis of the vanishing discount theorem (Theorem 5.2 of the survey) from a condition on the uncontrolled dynamics of stationary policies. Theorem 5.2 then gives a bounded solution (ρ,h)(\rho,h)(ρ,h) of the ACOE, an average optimal stationary policy, and the limit lim⁡β→1(1−β)Jβ∗(i)=ρ\lim_{\beta\to1}(1-\beta)J^*_\beta(i)=\rholimβ→1​(1−β)Jβ∗​(i)=ρ. Mean return times can often be estimated directly, for instance through Foster–Lyapunov drift arguments on queues, which makes (5.7) checkable in applications. The explicit bound MKMKMK also controls the span of the relative value function.

Formalizing it. The result is proved in the literature; to our knowledge it has not been machine-checked. A formal proof needs discounted dynamic programming on a countable state space with compact action sets, the existence of optimal stationary policies (Theorem 2.1 (iii), which the survey cites without proof), and the strong Markov property of the controlled chain at a return time. All of these are reusable well beyond this mission.

Difficulty

The estimates (5.9) and (5.10) are elementary once (5.8) and the existence of fβf_\betafβ​ are available. The weight lies elsewhere.

  • Optimal stationary policies. The infimum defining Jβ∗J^*_\betaJβ∗​ ranges over all history-dependent randomized policies. Bringing it down to a single stationary deterministic policy requires the discounted optimality equation, a measurable selection of minimizers on compact action sets, and a verification argument against arbitrary policies.
  • Restarting at τ\tauτ. (5.8) splits the discounted cost at the random time τ\tauτ. The tail must be identified with βτ\beta^\tauβτ times the discounted cost from state 000. This is the strong Markov property for the process built by the Ionescu-Tulcea theorem, applied at a stopping time that may be infinite.

Formalization scope

  • The state space is ℕ; the action space is a metric space with its Borel σ\sigmaσ-algebra. The model CMP carries compact nonempty U(i)U(i)U(i), a nonnegative measurable cost, and continuity of c(i,⋅)c(i,\cdot)c(i,⋅) and P(j∣i,⋅)P(j\mid i,\cdot)P(j∣i,⋅) on U(i)U(i)U(i), the standing assumptions of §5.
  • Policies are history-dependent, randomized and admissible. The path measure is Mathlib's Kernel.trajMeasure. Jβ∗J^*_\betaJβ∗​ is an infimum over all such policies, not over Markov or stationary policies only.
  • Costs are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. hβh_\betahβ​ is the difference of the real parts of Jβ∗(i)J^*_\beta(i)Jβ∗​(i) and Jβ∗(0)J^*_\beta(0)Jβ∗​(0). This is exact here because bounded cost gives Jβ∗≤M/(1−β)<∞J^*_\beta\le M/(1-\beta)<\inftyJβ∗​≤M/(1−β)<∞.
  • Explicit choices:
    • The bounded-cost hypothesis c≤Mc\le Mc≤M on admissible pairs is a binder of every §5.1 statement. It is the section's standing assumption, and without it the theorem is false.
    • τ\tauτ counts from t≥1t\ge1t≥1 and takes values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, so (5.7) applies from i=0i=0i=0 and forces τ<∞\tau<\inftyτ<∞ almost surely; βτ=0\beta^\tau=0βτ=0 on {τ=∞}\{\tau=\infty\}{τ=∞}.
    • The typo βn\beta^nβn in (5.8) is read as βt\beta^tβt.
    • K≥1K\ge1K≥1 in (5.10) is not assumed; it follows from (5.7).
  • Theorem 2.1 is stated in the survey for Borel models under Assumptions 2.1–2.3. Here it is posed in the countable model, where those assumptions follow from the §5 continuity and compactness assumptions.
  • The goal's bound BBB is quantified before β\betaβ and iii. A per-β\betaβ or per-state bound would be trivial, since every hβ(i)h_\beta(i)hβ​(i) is a finite number.
  • Welcome contributions include discounted dynamic programming on countable state spaces, the strong Markov property for trajMeasure, and return-time estimates.

Selected references

  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993) 282–344. https://doi.org/10.1137/0331018
  • C. Derman, On sequential decisions and Markov chains, Management Sci. 9 (1962) 16–24. https://doi.org/10.1287/mnsc.9.1.16
  • C. Derman, A. F. Veinott Jr., A solution to a countable system of equations arising in Markovian decision processes, Ann. Math. Statist. 38 (1967) 582–584 (cited as [43] in the survey, https://doi.org/10.1137/0331018).
  • S. M. Ross, Non-discounted denumerable Markovian decision models, Ann. Math. Statist. 39 (1968) 412–423 (cited as [147] in the survey, https://doi.org/10.1137/0331018).
  • S. M. Ross, Introduction to Stochastic Dynamic Programming, Academic Press, 1983 (cited as [150] in the survey, https://doi.org/10.1137/0331018).
10 thms1 active userReviewed
Bandit AlgorithmsOperations ResearchProbability+1·Captain: mikedeng1

Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms III: With One Unknown Parameter, Staged Re-estimation Has Regret O((log log n)(log n)^{1/2}/n^{1/2})Research Paper

Motivation

A seller with a fixed stock of a single product and a finite selling season must post prices without knowing how demand responds to price. Revenue management treats this as a constrained stochastic control problem; with the demand curve known, the problem was solved by Gallego and van Ryzin (Management Science, 1994). When the curve is unknown, every price posted also serves as an experiment, so the seller faces an exploration–exploitation trade-off. Unlike a multi-armed bandit, this problem has a continuum of actions and a hard inventory constraint.

Besbes and Zeevi (Operations Research, 2009) measure a pricing policy by its worst-case relative revenue loss against a full-information benchmark, in an asymptotic regime where inventory and demand grow together. They give three upper bounds. This mission takes the third, Proposition 5: when the demand model has a single unknown scalar parameter, a policy that keeps re-estimating that parameter in stages of growing length has regret O((log⁡log⁡n)(log⁡n)1/2/n1/2)O\big((\log\log n)(\log n)^{1/2}/n^{1/2}\big)O((loglogn)(logn)1/2/n1/2). The paper's lower bound for parametric families (Proposition 4) is of order n−1/2n^{-1/2}n−1/2, so the rate is optimal up to logarithmic factors.

Setting

Market. Prices lie in [p‾,p‾]∪{p∞}[\underline p,\overline p]\cup\{p_\infty\}[p​,p​]∪{p∞​} with 0<p‾<p‾<p∞0<\underline p<\overline p<p_\infty0<p​<p​<p∞​. Posting the off price p∞p_\inftyp∞​ stops demand. The seller starts with inventory x>0x>0x>0 and sells over the horizon [0,T][0,T][0,T], T>0T>0T>0.

Demand. A demand function λ\lambdaλ maps a price to a demand rate. The class L(M,K‾,K‾,m)\mathcal L(M,\underline K,\overline K,m)L(M,K​,K,m) consists of the functions that are non-increasing with an inverse γ\gammaγ on [p‾,p‾][\underline p,\overline p][p​,p​], have a concave revenue rate r(l)=lγ(l)r(l)=l\gamma(l)r(l)=lγ(l), are bounded by MMM, are K‾\overline KK-Lipschitz with a K‾−1\underline K^{-1}K​−1-Lipschitz inverse, and attain a revenue rate max⁡ppλ(p)≥m\max_p p\lambda(p)\ge mmaxp​pλ(p)≥m. The parametric family is λ(p;θ)\lambda(p;\theta)λ(p;θ), θ∈Θ=[θlo,θhi]\theta\in\Theta=[\theta_{\mathrm{lo}},\theta_{\mathrm{hi}}]θ∈Θ=[θlo​,θhi​], with every member in the class (Assumption 1). Assumption 2 adds a test price p1p_1p1​, differentiability of λ(p1;⋅)\sqrt{\lambda(p_1;\cdot)}λ(p1​;⋅)​ and the Lipschitz bound ∣λ(p;θ)−λ(p;θ′)∣≤K‾2∣θ−θ′∣|\lambda(p;\theta)-\lambda(p;\theta')|\le\overline K_2|\theta-\theta'|∣λ(p;θ)−λ(p;θ′)∣≤K2​∣θ−θ′∣. Assumption 3 requires inf⁡p,θλ(p;θ)>l0>0\inf_{p,\theta}\lambda(p;\theta)>l_0>0infp,θ​λ(p;θ)>l0​>0 and an α\alphaα-Lipschitz solution map d↦g(p,d)d\mapsto g(p,d)d↦g(p,d) of the equation λ(p;⋅)=d\lambda(p;\cdot)=dλ(p;⋅)=d.

Demand process. Let NNN be a unit-rate Poisson process. Under a price path p(⋅)p(\cdot)p(⋅) and parameter θ∗\theta^*θ∗, the cumulative demand up to time ttt is N(∫0tλ(p(s);θ∗) ds)N\big(\int_0^t\lambda(p(s);\theta^*)\,ds\big)N(∫0t​λ(p(s);θ∗)ds). Sales stop when the inventory runs out.

Benchmark and regret. The deterministic relaxation JD(x,T∣θ)J^D(x,T\mid\theta)JD(x,T∣θ) is the supremum of ∫0Tp(s)λ(p(s);θ) ds\int_0^T p(s)\lambda(p(s);\theta)\,ds∫0T​p(s)λ(p(s);θ)ds over price paths with ∫0Tλ(p(s);θ) ds≤x\int_0^T\lambda(p(s);\theta)\,ds\le x∫0T​λ(p(s);θ)ds≤x. In the market of size nnn the inventory is nxnxnx and the demand nλn\lambdanλ. If Jnπ(x,T;θ)J^\pi_n(x,T;\theta)Jnπ​(x,T;θ) is the expected revenue of a policy π\piπ, its regret is Rnπ=1−Jnπ/JnD\mathcal R^\pi_n=1-J^\pi_n/J^D_nRnπ​=1−Jnπ​/JnD​.

Algorithm 3. Start from p^1=p1\hat p_1=p_1p^​1​=p1​ and use stages of lengths Δn(1),…,Δn(ℓn)\Delta^{(1)}_n,\dots,\Delta^{(\ell_n)}_nΔn(1)​,…,Δn(ℓn​)​ summing to TTT. Stage iii applies p^i\hat p_ip^​i​, estimates the demand rate d^i\hat d_id^i​ from the stage's demand, solves for θ^i=g(p^i,d^i)\hat\theta_i=g(\hat p_i,\hat d_i)θ^i​=g(p^​i​,d^i​), and sets p^i+1=max⁡{pu(θ^i),pc(θ^i)}\hat p_{i+1}=\max\{p^u(\hat\theta_i),p^c(\hat\theta_i)\}p^​i+1​=max{pu(θ^i​),pc(θ^i​)}. Here pu(θ)p^u(\theta)pu(θ) maximizes pλ(p;θ)p\lambda(p;\theta)pλ(p;θ) and pc(θ)p^c(\theta)pc(θ) minimizes ∣λ(p;θ)−x/T∣|\lambda(p;\theta)-x/T|∣λ(p;θ)−x/T∣. The tuning (19)–(20) is ℓn=(log⁡2)−1log⁡log⁡n\ell_n=(\log2)^{-1}\log\log nℓn​=(log2)−1loglogn stages with Δn(m)=βnn(aℓn/am)−1\Delta^{(m)}_n=\beta_n n^{(a_{\ell_n}/a_m)-1}Δn(m)​=βn​n(aℓn​​/am​)−1 and am=2m−1/(2m−1)a_m=2^{m-1}/(2^m-1)am​=2m−1/(2m−1).

Formalization targets

Goal: Proposition 5

∃ C>0, ∃ n0,∀n≥n0, ∀θ∈Θ:Rnπn(x,T;θ)≤C (log⁡log⁡n)(log⁡n)1/2n1/2.\exists\,C>0,\ \exists\,n_0,\quad \forall n\ge n_0,\ \forall\theta\in\Theta:\qquad \mathcal R^{\pi_n}_n(x,T;\theta)\le C\,\frac{(\log\log n)(\log n)^{1/2}}{n^{1/2}} .∃C>0, ∃n0​,∀n≥n0​, ∀θ∈Θ:Rnπn​​(x,T;θ)≤Cn1/2(loglogn)(logn)1/2​.

The constants are uniform in θ\thetaθ and nnn. This is the paper's (21): sup⁡θRnπ=O(⋅)\sup_\theta\mathcal R^{\pi}_n=O(\cdot)supθ​Rnπ​=O(⋅).

Milestones, in proof order

  1. Fact 1: JnD=nJDJ^D_n=nJ^DJnD​=nJD and JD≥mmin⁡{T,x/M}J^D\ge m\min\{T,x/M\}JD≥mmin{T,x/M} on the class.
  2. Lemma 1: the deterministic relaxation is solved by the fixed price pD=max⁡{pu,pc}p^D=\max\{p^u,p^c\}pD=max{pu,pc}.
  3. Lemma 2: Poisson deviation bounds at scale (log⁡n/rn)1/2(\log n/r_n)^{1/2}(logn/rn​)1/2.
  4. (A-27): a revenue lower bound that splits the loss into stage-wise terms and an overflow term.
  5. The per-stage revenue gap r(pD)−E r(p^i)≤C2(nΔn(i−1))−1/2r(p^D)-\mathbb E\,r(\hat p_i)\le C_2(n\Delta^{(i-1)}_n)^{-1/2}r(pD)−Er(p^​i​)≤C2​(nΔn(i−1)​)−1/2.
  6. (A-30): the stage-iii demand rate rarely exceeds the run-out rate.
  7. The overflow bound E[(Yn−nx)+]≤nC8(log⁡n)1/2naℓn−1\mathbb E[(Y_n-nx)^+]\le nC_8(\log n)^{1/2}n^{a_{\ell_n}-1}E[(Yn​−nx)+]≤nC8​(logn)1/2naℓn​​−1.
  8. (A-31): the revenue ratio before the exponents are evaluated.
  9. The rate estimate naℓn−1≤e n−1/2n^{a_{\ell_n}-1}\le e\,n^{-1/2}naℓn​​−1≤en−1/2.

Milestones 6–8 hold in the case λ(p‾;θ∗)≤x/T\lambda(\overline p;\theta^*)\le x/Tλ(p​;θ∗)≤x/T, the only case the paper's proof treats in detail.

Significance

Proposition 5 shows that with one unknown parameter, learning while earning reaches the n−1/2n^{-1/2}n−1/2 rate, up to logarithms. The learn-then-price policies of Propositions 1 and 3 stop learning after an initial phase and reach only n−1/4n^{-1/4}n−1/4 and n−1/3n^{-1/3}n−1/3. The paper leaves open whether the multi-parameter case attains the lower bound.

The analysis combines a continuous-time controlled Poisson model, an inventory constraint and a staged estimator, which also appear in later work on dynamic pricing with learning. A formal development would provide a time-changed Poisson demand model with random stage boundaries, a deterministic-relaxation benchmark, and concentration bounds stated for the scales this literature uses.

The result is proved in the paper, but parts of the proof are only sketched. The case λ(p‾;θ∗)>x/T\lambda(\overline p;\theta^*)>x/Tλ(p​;θ∗)>x/T is dismissed with "a similar result holds". The per-stage gap is obtained "by parallel reasoning". Display (A-30) has a typographical error in its threshold. To our knowledge, none of these results has been machine-checked.

Difficulty

The naive argument conditions each stage on its start time, as if that time were deterministic. It is not: the stage boundaries Λi=∑j≤inλ(p^j;θ∗)Δn(j)\Lambda_i=\sum_{j\le i}n\lambda(\hat p_j;\theta^*)\Delta^{(j)}_nΛi​=∑j≤i​nλ(p^​j​;θ∗)Δn(j)​ depend on all earlier observations, so every per-stage estimate needs the strong Markov property of the Poisson process at a random time. The inventory constraint makes the revenue a nonlinear function of the whole demand path. Bounding the loss therefore means controlling estimation error and overflow at the same time. The geometric stage lengths (20) are chosen so that the stage losses Δn(i)/(nΔn(i−1))1/2\Delta^{(i)}_n/(n\Delta^{(i-1)}_n)^{1/2}Δn(i)​/(nΔn(i−1)​)1/2 are all of the same order. That balance has to be checked exactly, including the rounding of ℓn\ell_nℓn​ to an integer.

Formalization scope

  • Poisson process. A structure on an arbitrary probability space: N(0)=0N(0)=0N(0)=0, monotone right-continuous paths, measurable marginals, Poisson increments, and independent increments over finite partitions. No process is published on the platform.
  • Class and family. Conditions on λ\lambdaλ are imposed on [p‾,p‾]∪{p∞}[\underline p,\overline p]\cup\{p_\infty\}[p​,p​]∪{p∞​}, the only prices a path uses. The inverse γ\gammaγ is Function.invFunOn. Θ\ThetaΘ is a nonempty closed interval of R\mathbb RR.
  • Assumption 3. As printed it cannot hold for d>sup⁡θλ(p;θ)d>\sup_\theta\lambda(p;\theta)d>supθ​λ(p;θ). It is read as an α\alphaα-Lipschitz map g(p,⋅):[0,∞)→Θg(p,\cdot):[0,\infty)\to\Thetag(p,⋅):[0,∞)→Θ that inverts λ(p;⋅)\lambda(p;\cdot)λ(p;⋅) on Θ\ThetaΘ. ggg is jointly measurable, so that estimates at random prices are random variables.
  • Selections. pu,pcp^u,p^cpu,pc are any measurable selections of the maximizer and minimizer; the statements hold for each.
  • Inventory. The inventory is ⌊nx⌋\lfloor nx\rfloor⌊nx⌋ units, and sales are capped cumulative counts.
  • Time change. Eq. (1) is applied stage by stage with random stage boundaries.
  • Typos. In Algorithm 3, "λ(pi,θ)\lambda(p_i,\theta)λ(pi​,θ)" is read as λ(p^i;θ)\lambda(\hat p_i;\theta)λ(p^​i​;θ) and "x/tx/tx/t" as x/Tx/Tx/T.
  • Stages. ℓn=⌈log⁡2log⁡n⌉\ell_n=\lceil\log_2\log n\rceilℓn​=⌈log2​logn⌉.
  • Integrals. Expectations are lower Lebesgue integrals of nonnegative quantities, converted to reals. The relaxation is a real supremum over measurable paths.
  • Asymptotics. The O(⋅)O(\cdot)O(⋅) is rendered with an explicit n0n_0n0​. The clause "asymptotically optimal" is omitted, since it needs the second half of Lemma 1.
  • Ruled out. Each of the following would trivialize the statement: removing the inventory cap, replacing the random stage boundaries by deterministic ones, fixing θ\thetaθ, letting CCC depend on θ\thetaθ, or using a non-measurable selection (whose expectation would be a junk value).

Contributions are welcome on every milestone. The Poisson process structure, its strong Markov property at stage boundaries, and Lemma 2 can be reused in other Poisson-demand pricing and queueing missions. Lemma 1 and Fact 1 are deterministic, and the rate estimate already has a local proof.

Selected references

  • O. Besbes and A. Zeevi, Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms, Operations Research 57(6):1407–1420, 2009. https://doi.org/10.1287/opre.1080.0640
  • G. Gallego and G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8):999–1020, 1994. https://doi.org/10.1287/mnsc.40.8.999
  • K. Talluri and G. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2005. https://doi.org/10.1007/b139000
15 thms2 active usersReviewed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey 4: Under Sennott's Conditions an Average-Cost Optimal Stationary Policy ExistsResearch Paper

Motivation

Many controlled queueing, inventory and maintenance systems are modelled as controlled Markov processes (CMPs) on a countable state space whose one-stage cost grows without bound: the holding cost of a queue grows with its length. For such systems the natural performance measure is the long-run average cost, and the basic question is whether some simple policy, one that looks only at the current state and never randomizes, is optimal among all policies, including those that use the whole history.

When the cost is bounded, the classical answer goes through a bounded solution of the average cost optimality equation (ACOE). For unbounded costs, bounded solutions are rare: in many queueing models the relative value function grows with the state, and growth conditions such as (5.2) of the survey may fail (Arapostathis et al. 1993, p. 307). Sennott (1986; 1989) replaced boundedness by one-sided conditions on the discounted value functions, which are often easy to verify for queueing models because the relative values are bounded below. This mission formalizes Sennott's existence theorem in the form given in the survey of Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus, Theorem 5.9.

Timeline. For bounded costs, Ross (1983, the survey's Theorem 5.2) obtained a bounded ACOE solution, and with it an optimal stationary policy, when the differential discounted values are uniformly bounded. Federgruen, Hordijk and Tijms (1979) treated unbounded costs under Lyapunov-type recurrence conditions, which restrict how fast the cost may grow (survey, Remark 5.7). Sennott (1986, 1989) replaced these by a uniform lower bound and a pointwise, one-step integrable upper bound on the differential discounted values. The survey (1993, Theorem 5.9) states the result with compact action sets and continuous data, and Sennott's 1999 book (§7.2) gives the finite-action version in textbook form.

Setting

The state space is S={0,1,2,… }S=\{0,1,2,\dots\}S={0,1,2,…}. For each state iii the set U(i)U(i)U(i) of admissible actions is a nonempty compact subset of a metric space AAA. Choosing a∈U(i)a\in U(i)a∈U(i) in state iii costs c(i,a)≥0c(i,a)\ge0c(i,a)≥0, and the next state is jjj with probability P(j∣i,a)P(j\mid i,a)P(j∣i,a). For fixed i,ji,ji,j, the maps a↦c(i,a)a\mapsto c(i,a)a↦c(i,a) and a↦P(j∣i,a)a\mapsto P(j\mid i,a)a↦P(j∣i,a) are continuous on U(i)U(i)U(i).

An admissible policy π∈Π\pi\in\Piπ∈Π chooses the action at time ttt according to a probability distribution πt(⋅∣ht)\pi_t(\cdot\mid h_t)πt​(⋅∣ht​) concentrated on U(xt)U(x_t)U(xt​), where ht=(x0,a0,…,xt)h_t=(x_0,a_0,\dots,x_t)ht​=(x0​,a0​,…,xt​) is the history; it may use the whole history and may randomize. A stationary deterministic policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is a map f:S→Af:S\to Af:S→A with f(i)∈U(i)f(i)\in U(i)f(i)∈U(i), applied at every step. Given an initial state iii and a policy π\piπ, the states and actions (Xt,At)(X_t,A_t)(Xt​,At​) form a stochastic process with law PiπP^\pi_iPiπ​ and expectation EiπE^\pi_iEiπ​.

For β∈(0,1)\beta\in(0,1)β∈(0,1), the discounted cost and the average cost of π\piπ from iii are

Jβ(i,π)=Eiπ∑t=0∞βtc(Xt,At),J(i,π)=lim sup⁡N→∞1N Eiπ∑t=0N−1c(Xt,At),J_\beta(i,\pi)=E^\pi_i\sum_{t=0}^\infty\beta^tc(X_t,A_t),\qquad J(i,\pi)=\limsup_{N\to\infty}\frac1N\,E^\pi_i\sum_{t=0}^{N-1}c(X_t,A_t),Jβ​(i,π)=Eiπ​t=0∑∞​βtc(Xt​,At​),J(i,π)=N→∞limsup​N1​Eiπ​t=0∑N−1​c(Xt​,At​),

both in [0,∞][0,\infty][0,∞]. The optimal values are Jβ∗(i)=inf⁡π∈ΠJβ(i,π)J^*_\beta(i)=\inf_{\pi\in\Pi}J_\beta(i,\pi)Jβ∗​(i)=infπ∈Π​Jβ​(i,π) and J∗(i)=inf⁡π∈ΠJ(i,π)J^*(i)=\inf_{\pi\in\Pi}J(i,\pi)J∗(i)=infπ∈Π​J(i,π), and the differential discounted value is hβ(i)=Jβ∗(i)−Jβ∗(0)h_\beta(i)=J^*_\beta(i)-J^*_\beta(0)hβ​(i)=Jβ∗​(i)−Jβ∗​(0). A policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is AC-optimal if J(i,f)=J∗(i)J(i,f)=J^*(i)J(i,f)=J∗(i) for every iii.

Sennott's conditions (Assumptions 5.14–5.16) are:

  1. Jβ∗(i)<∞J^*_\beta(i)<\inftyJβ∗​(i)<∞ for all i∈Si\in Si∈S and β∈(0,1)\beta\in(0,1)β∈(0,1);
  2. there is a nonnegative integer LLL with hβ(i)≥−Lh_\beta(i)\ge-Lhβ​(i)≥−L for all iii and β\betaβ;
  3. there is M:S→R+M:S\to\mathbb R_+M:S→R+​ with hβ(i)≤M(i)h_\beta(i)\le M(i)hβ​(i)≤M(i) for all iii and β\betaβ, and for each iii some a(i)∈U(i)a(i)\in U(i)a(i)∈U(i) with ∑jP(j∣i,a(i))M(j)<∞\sum_jP(j\mid i,a(i))M(j)<\infty∑j​P(j∣i,a(i))M(j)<∞.

Formalization targets

Goal: Theorem 5.9

Under Assumptions 5.14–5.16, there is f∈ΠSD with J(i,f)=inf⁡π∈ΠJ(i,π)  for every i∈S.\text{Under Assumptions 5.14–5.16, there is } f\in\Pi_{SD}\text{ with } J(i,f)=\inf_{\pi\in\Pi}J(i,\pi)\ \text{ for every } i\in S.Under Assumptions 5.14–5.16, there is f∈ΠSD​ with J(i,f)=π∈Πinf​J(i,π)  for every i∈S.

The goal asserts only existence. It does not fix the optimal cost, and it does not claim that the optimal cost is constant or that an optimality equation holds.

Milestones

  1. Theorem 2.1 (i), (iii), countable form: the discounted cost optimality equation Jβ∗(i)=inf⁡a∈U(i){c(i,a)+β∑jP(j∣i,a)Jβ∗(j)}J^*_\beta(i)=\inf_{a\in U(i)}\{c(i,a)+\beta\sum_jP(j\mid i,a)J^*_\beta(j)\}Jβ∗​(i)=infa∈U(i)​{c(i,a)+β∑j​P(j∣i,a)Jβ∗​(j)} and a β\betaβ-discount optimal fβ∈ΠSDf_\beta\in\Pi_{SD}fβ​∈ΠSD​.
  2. Display (5.15): (1−β)Jβ∗(0)+hβ(i)=c(i,fβ(i))+β∑jP(j∣i,fβ(i))hβ(j)(1-\beta)J^*_\beta(0)+h_\beta(i)=c(i,f_\beta(i))+\beta\sum_jP(j\mid i,f_\beta(i))h_\beta(j)(1−β)Jβ∗​(0)+hβ​(i)=c(i,fβ​(i))+β∑j​P(j∣i,fβ​(i))hβ​(j).
  3. The limit objects: along a subsequence βn→1\beta_n\to1βn​→1, fβn→ff_{\beta_n}\to ffβn​​→f, hβn→h≥−Lh_{\beta_n}\to h\ge-Lhβn​​→h≥−L pointwise, and (1−βn)Jβn∗(i)→ρ∗(1-\beta_n)J^*_{\beta_n}(i)\to\rho^*(1−βn​)Jβn​∗​(i)→ρ∗, a constant.
  4. The average cost optimality inequality (ACOI) ρ∗+h(i)≥c(i,f(i))+∑jP(j∣i,f(i))h(j)\rho^*+h(i)\ge c(i,f(i))+\sum_jP(j\mid i,f(i))h(j)ρ∗+h(i)≥c(i,f(i))+∑j​P(j∣i,f(i))h(j).
  5. An ACOI along fff with hhh bounded below gives J(i,f)≤ρJ(i,f)\le\rhoJ(i,f)≤ρ.
  6. Theorem A.2: the Abelian inequalities between Cesàro and Abel means (already on the platform).
  7. J(i,π)≥ρ∗J(i,\pi)\ge\rho^*J(i,π)≥ρ∗ for every π∈Π\pi\in\Piπ∈Π.

Significance

The result. Theorem 5.9 is the standard existence theorem for average-optimal stationary policies with unbounded costs on countable state spaces. Its conditions are verified routinely for controlled queues, where relative values are monotone in the queue length and hence bounded below. It shows that randomization and memory do not reduce the long-run average cost, and the ACOI it produces is the starting point for value and policy iteration and for structural results such as threshold policies.

Formalizing it. The theorem is proved in the literature (Sennott 1989; Sennott 1999, Theorem 7.2.3; survey, p. 308). It has no machine-checked proof. The finite-action version, SennottDP.SEN.thm_7_2_3_sen_acoi, is posed on Prove2Me and still open; this mission poses the compact-action version, which needs continuity and compactness arguments that the finite case avoids. A formal proof also requires a general theory of history-dependent policies on path space (Ionescu-Tulcea), the discounted optimality equation with unbounded costs, and the passage from Abel to Cesàro means. All three are reusable well beyond this paper.

Difficulty

The obvious argument lets β→1\beta\to1β→1 in the discounted optimality equation (5.6). Two steps fail without more structure. First, hβh_\betahβ​ need not converge, and with unbounded costs it is not uniformly bounded, so the limit has to be taken pointwise along a subsequence, with only a lower bound uniform in the state. Second, the limit cannot be passed through the infinite sum ∑jP(j∣i,a)hβ(j)\sum_jP(j\mid i,a)h_\beta(j)∑j​P(j∣i,a)hβ​(j) by dominated convergence, because no integrable dominating function exists for every action. Only an inequality survives (Fatou), so the limit is an ACOI, not an equation. The inequality then has to be turned into optimality against all of Π\PiΠ, which includes history-dependent randomized policies whose costs are not described by any optimality equation. The lower bound for these comes from comparing Cesàro and Abel means, not from dynamic programming.

Formalization scope

The Lean development uses the following representation and conventions.

  • States, actions, model. The state space is ℕ. The action space is a metric space with its Borel σ-algebra. U i is nonempty and compact, c is measurable and nonnegative on admissible pairs, P is a Markov kernel, and c(i,⋅)c(i,\cdot)c(i,⋅), P(j∣i,⋅)P(j\mid i,\cdot)P(j∣i,⋅) are continuous on U(i)U(i)U(i).
  • Policies. Π\PiΠ consists of all history-dependent randomized policies, with admissibility required almost surely. J∗J^*J∗ and Jβ∗J^*_\betaJβ∗​ are infima over all of Π\PiΠ, never over stationary policies only. Restricting the infimum to ΠSD\Pi_{SD}ΠSD​ would drop the Tauberian half of the theorem and is not the paper's statement.
  • Costs. Costs are lower Lebesgue integrals in [0,∞][0,\infty][0,∞] against the Ionescu-Tulcea path measure, and the average cost is a limsup in [0,∞][0,\infty][0,∞].
  • Explicit hypotheses. hβh_\betahβ​ is a difference of real parts and is used only under Assumption 5.14, so it is never read off an infinite Jβ∗J^*_\betaJβ∗​. The quantifiers over iii and β\betaβ in Assumption 5.15, implicit on the page, are universal, and LLL is a natural number as printed. Every series ∑jP(j∣i,a)h(j)\sum_jP(j\mid i,a)h(j)∑j​P(j∣i,a)h(j) carries a summability hypothesis or conclusion.
  • Corrected claim. Remark 5.8(a) as printed claims that any scalar ρ\rhoρ satisfying the ACOI with hhh bounded below is the optimal average cost. That is false (h≡0h\equiv0h≡0, ρ=sup⁡c\rho=\sup cρ=supc), so only the inequality J(i,f)≤ρJ(i,f)\le\rhoJ(i,f)≤ρ, which the proof uses, is stated.
  • Sequences. The milestones about limits are stated for any sequence βn∈(0,1)\beta_n\in(0,1)βn​∈(0,1) with βn→1\beta_n\to1βn​→1, not only increasing ones.

A trivializing formalization is excluded. Sennott's conditions are satisfiable (a one-action, zero-cost model satisfies all three), and AC-optimality is measured against all admissible policies, so the goal cannot hold vacuously or by a junk value.

Welcome contributions: the Markov property of the path measure for history-dependent policies; the discounted optimality equation for nonnegative unbounded costs; a measurable-selection or compactness argument for minimizing actions on compact U(i)U(i)U(i); Fatou's lemma for series with converging weights; and the Abelian inequalities in a form applied to expected costs.

Selected references

  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993) 282–344. https://doi.org/10.1137/0331018
  • L. I. Sennott, Average cost optimal stationary policies in infinite state Markov decision processes with unbounded costs, Oper. Res. 37(4) (1989) 626–633. https://doi.org/10.1287/opre.37.4.626
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
  • L. I. Sennott, A new condition for the existence of optimal stationary policies in average cost Markov decision processes, Oper. Res. Lett. 5 (1986) 17–23 (reference [155] of the survey; no stable link checked).
  • S. M. Ross, Introduction to Stochastic Dynamic Programming, Academic Press, New York, 1983 (reference [150] of the survey).
  • A. Federgruen, A. Hordijk, H. C. Tijms, Denumerable state semi-Markov decision processes with unbounded costs, average cost criterion, Stochastic Process. Appl. 9 (1979) 223–235 (reference [53] of the survey).
  • R. Sznajder, J. A. Filar, Some comments on a theorem of Hardy and Littlewood, J. Optim. Theory Appl. 75 (1992) (reference [176] of the survey, cited for Theorem A.2).
11 thms2 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Airline Seat Allocation with Multiple Nested Fare Classes 1: Protection Levels Solving f₁Pr[X₁ > p₁ ∩ … ∩ X₁ + … + X_k > p_k] = f_{k+1} Maximize Expected RevenueResearch Paper

Motivation

An airline sells the seats of one flight leg at several fares. Cheaper fares are booked earlier, so the airline must decide, while low-fare requests arrive, how many seats to hold back for later and more valuable passengers. In nested booking control a seat that could be sold at a low fare is always available to a higher fare. The airline therefore chooses protection levels: pkp_kpk​ seats are reserved for the kkk most expensive classes together, and a request of class k+1k+1k+1 is accepted only while more than pkp_kpk​ seats remain.

For two classes the optimal protection level was found by Littlewood (1972): protect p1p_1p1​ seats, where f1Pr⁡[X1>p1]=f2f_1 \Pr[X_1 > p_1] = f_2f1​Pr[X1​>p1​]=f2​. For more classes the industry used the EMSRa heuristic of Belobaba (1987, 1989), which applies Littlewood's rule to each pair of classes separately and adds the results. Brumelle and McGill (1993) gave the exact optimality conditions for any number of nested classes and showed that EMSRa is in general not optimal. Their conditions are part of the standard theory of single-leg revenue management, as presented in Talluri and van Ryzin (2004).

Setting

There are fare classes k=1,2,…k = 1, 2, \dotsk=1,2,…, numbered from the highest fare. Class kkk has fare fkf_kfk​ and random demand Xk≥0X_k \ge 0Xk​≥0. The standing assumptions (pp. 128–129) are: the demands are mutually independent random variables on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P), and the fares are strictly decreasing, f1>f2>⋯f_1 > f_2 > \cdotsf1​>f2​>⋯. Demands arrive in order of increasing fare: all of class k+1k+1k+1 before any of class kkk. There are no cancellations or no-shows, and the decision to close a class depends only on the number of current bookings.

A protection-level policy is a vector p=(p1,p2,… )p = (p_1, p_2, \dots)p=(p1​,p2​,…) with pk≥0p_k \ge 0pk​≥0; the dummy p0=0p_0 = 0p0​=0. The revenue Rk[s;p;x]R_k[s; p; x]Rk​[s;p;x] of the kkk highest classes with sss seats available and demand vector xxx is defined recursively by (8)–(9), p. 130:

R1[s;p;x]=f1min⁡(s,x1),R_1[s; p; x] = f_1 \min(s, x_1),R1​[s;p;x]=f1​min(s,x1​), Rk+1[s;p;x]={Rk[s;p;x]0≤s<pk,(s−pk)fk+1+Rk[pk;p;x]pk≤s<pk+xk+1,xk+1fk+1+Rk[s−xk+1;p;x]pk+xk+1≤s.R_{k+1}[s; p; x] = \begin{cases} R_k[s; p; x] & 0 \le s < p_k, \\ (s - p_k) f_{k+1} + R_k[p_k; p; x] & p_k \le s < p_k + x_{k+1}, \\ x_{k+1} f_{k+1} + R_k[s - x_{k+1}; p; x] & p_k + x_{k+1} \le s. \end{cases}Rk+1​[s;p;x]=⎩⎨⎧​Rk​[s;p;x](s−pk​)fk+1​+Rk​[pk​;p;x]xk+1​fk+1​+Rk​[s−xk+1​;p;x]​0≤s<pk​,pk​≤s<pk​+xk+1​,pk​+xk+1​≤s.​

The expected revenue is ERk[s;p;X]=E Rk[s;p;X]ER_k[s; p; X] = E\,R_k[s; p; X]ERk​[s;p;X]=ERk​[s;p;X]. A policy ppp is optimal if ERk[s;q;X]≤ERk[s;p;X]ER_k[s; q; X] \le ER_k[s; p; X]ERk​[s;q;X]≤ERk​[s;p;X] for every policy qqq, every k≥1k \ge 1k≥1 and every s≥0s \ge 0s≥0.

For g:R→Rg : \mathbb R \to \mathbb Rg:R→R, δ+g[s]\delta_+ g[s]δ+​g[s] and δ−g[s]\delta_- g[s]δ−​g[s] denote the right and left derivatives, and the subdifferential δg[s]\delta g[s]δg[s] is the interval [δ+g[s],δ−g[s]][\delta_+ g[s], \delta_- g[s]][δ+​g[s],δ−​g[s]], with δ−g[0]=+∞\delta_- g[0] = +\inftyδ−​g[0]=+∞ (p. 131).

Formalization targets

Goal: Theorem 3 (p. 134)

If the protection levels satisfy

f1Pr⁡[X1>p1∩X1+X2>p2∩⋯∩X1+⋯+Xk>pk]=fk+1for all k≥1,(31)f_1 \Pr[X_1 > p_1 \cap X_1 + X_2 > p_2 \cap \dots \cap X_1 + \dots + X_k > p_k] = f_{k+1} \quad \text{for all } k \ge 1, \tag{31}f1​Pr[X1​>p1​∩X1​+X2​>p2​∩⋯∩X1​+⋯+Xk​>pk​]=fk+1​for all k≥1,(31)

then ppp is optimal.

Milestones

  1. (27), p. 132: ER1ER_1ER1​ is concave, and δER1[s;p;X]=[f1Pr⁡[X1>s],f1Pr⁡[X1≥s]]\delta ER_1[s; p; X] = [f_1 \Pr[X_1 > s], f_1 \Pr[X_1 \ge s]]δER1​[s;p;X]=[f1​Pr[X1​>s],f1​Pr[X1​≥s]].
  2. Lemma 1, p. 131: if ERk[ ⋅ ;p;X]ER_k[\,\cdot\,; p; X]ERk​[⋅;p;X] is concave on s≥0s \ge 0s≥0 and fk+1∈δERk[pk;p;X]f_{k+1} \in \delta ER_k[p_k; p; X]fk+1​∈δERk​[pk​;p;X], then E{Rk+1[s;p;X]∣Xk+1}E\{R_{k+1}[s; p; X] \mid X_{k+1}\}E{Rk+1​[s;p;X]∣Xk+1​} is concave in sss.
  3. Corollary 1, p. 131: under the same conditions ERk+1[ ⋅ ;p;X]ER_{k+1}[\,\cdot\,; p; X]ERk+1​[⋅;p;X] is concave on s≥0s \ge 0s≥0.
  4. Theorem 1, p. 131: if fk+1∈δERk[pk;p;X]f_{k+1} \in \delta ER_k[p_k; p; X]fk+1​∈δERk​[pk​;p;X] for every kkk (condition (20)), then ppp is optimal.
  5. Lemma 2, p. 134: under (31), for s≥pks \ge p_ks≥pk​,
δ+E{Rk+1[s;p;X]∣Xk+1}=f1Pr⁡[X1>p1∩⋯∩X1+⋯+Xk>pk∩X1+⋯+Xk+1>s∣Xk+1].\delta_+ E\{R_{k+1}[s; p; X] \mid X_{k+1}\} = f_1 \Pr[X_1 > p_1 \cap \dots \cap X_1 + \dots + X_k > p_k \cap X_1 + \dots + X_{k+1} > s \mid X_{k+1}].δ+​E{Rk+1​[s;p;X]∣Xk+1​}=f1​Pr[X1​>p1​∩⋯∩X1​+⋯+Xk​>pk​∩X1​+⋯+Xk+1​>s∣Xk+1​].
  1. Corollary 2, p. 134: the unconditional version (37) of Lemma 2 for δ+ERk+1[s;p;X]\delta_+ ER_{k+1}[s; p; X]δ+​ERk+1​[s;p;X].

Significance

Theorem 3 turns the optimal nested protection levels into a sequence of equations in the joint distribution of the cumulative demands X1+⋯+XjX_1 + \dots + X_jX1​+⋯+Xj​. For k=1k = 1k=1 it is Littlewood's rule. For k≥2k \ge 2k≥2 it identifies exactly what EMSRa approximates: EMSRa replaces the joint event in (31) by separate pairwise comparisons, and the paper shows (§4) that EMSRa can both over- and underestimate the optimal protection levels. The conditions are also the input of numerical methods: given demand forecasts, the levels p1,p2,…p_1, p_2, \dotsp1​,p2​,… are found one after another by solving (31), and §3.3 notes that a continuous joint demand distribution guarantees a solution exists.

The results are proved in the paper. As far as is known they have no machine-checked proof. Related platform items cover the two-class, integer-seat case from Belobaba (1987) (SeatInventory.Nested.emsr_protection_level_optimal) and the integer marginal-seat-revenue analogue of (27). They use a different model: two classes, natural-number seats and first differences. This mission formalizes the multi-class statement with real-valued seats and one-sided derivatives. A sister mission of the series proves the existence of optimal integer policies for integer-valued demand (Theorem 2).

Difficulty

The expected revenue is not differentiable: for discrete demand it is piecewise linear, so first-order conditions must be stated with one-sided derivatives and subdifferentials. The natural approach, to optimize each protection level separately with the others fixed, fails without concavity, and concavity of ERk+1ER_{k+1}ERk+1​ in sss is not automatic. It holds only when the lower protection levels already satisfy the first-order conditions. Concavity and optimality must therefore be carried through one joint induction over the classes. Passing from (31) to (20) requires computing the right derivative of the expected revenue in closed form for every s≥pks \ge p_ks≥pk​. This involves exchanging differentiation with expectation and conditioning on one class's demand at a time.

Formalization scope

  • Classes are indexed by N\mathbb NN from 111; fares, demands and protection levels are sequences N→R\mathbb N \to \mathbb RN→R, with no bound on the number of classes. Seats and protection levels are real numbers.
  • Expectation is the Bochner integral on a probability space. The standing assumptions are a single predicate: probability measure, measurable nonnegative demands, mutual independence (iIndepFun), strictly decreasing fares.
  • E{⋅∣Xk}E\{\cdot \mid X_k\}E{⋅∣Xk​} evaluated at Xk=yX_k = yXk​=y is the integral with the kkk-th demand frozen at yyy. Because the demands are independent this is a version of the conditional expectation, and "with probability 1" becomes "for every y≥0y \ge 0y≥0", which is stronger.
  • One-sided derivatives are HasDerivWithinAt on half-lines and must exist; derivWithin, which returns 000 where no derivative exists, is not used. δ−g[0]=+∞\delta_- g[0] = +\inftyδ−​g[0]=+∞ is encoded as a disjunct.
  • Optimality is global: ppp beats every policy qqq at every level kkk and every s≥0s \ge 0s≥0. The page's proof of Theorem 1 shows coordinatewise optimality of pkp_kpk​, and the global form follows by induction on kkk.
  • Fares are not assumed positive in the model: under (20) or (31) with strictly decreasing fares, f1>0f_1 > 0f1​>0 follows. The milestone (27), stated with only the hypotheses on X1X_1X1​ that it needs, assumes X1≥0X_1 \ge 0X1​≥0 and f1≥0f_1 \ge 0f1​≥0, without which ER1ER_1ER1​ is not concave.
  • No continuity of the demand distribution is assumed. Theorem 3 is conditional on a solution of (31).
  • The page's hypothesis of Lemma 1 has the misprint "(p0,…,pk+1)(p_0, \dots, p_{k+1})(p0​,…,pk+1​)" for (p0,…,pk−1)(p_0, \dots, p_{k-1})(p0​,…,pk−1​). The formal statement uses the latter.

The goal assumes only the standing assumptions, p≥0p \ge 0p≥0, and (31). It does not assume concavity, condition (20) or any derivative formula: those are milestones. A formalization that quantified optimality over one level, one value of sss, or policies differing from ppp in one coordinate would be weaker than the paper and is excluded.

A complete development needs one-sided derivatives of integrals of piecewise-linear functions (dominated convergence for difference quotients), concavity of piecewise functions glued at points where the slopes decrease, and the independence calculus that turns E[E{⋅∣Xk+1}]E[E\{\cdot \mid X_{k+1}\}]E[E{⋅∣Xk+1​}] into an iterated integral. These pieces are reusable for other newsvendor-type and revenue-management models. Proofs of any milestone, and alternative arguments for Theorem 1, are welcome.

Selected references

  • S. L. Brumelle and J. I. McGill, Airline Seat Allocation with Multiple Nested Fare Classes, Operations Research 41(1), 127–137, 1993. https://doi.org/10.1287/opre.41.1.127
  • K. Littlewood, Forecasting and Control of Passenger Bookings, AGIFORS Symposium Proceedings 12, 95–117, 1972; reprinted in Journal of Revenue and Pricing Management 4(2), 2005. https://doi.org/10.1057/palgrave.rpm.5170134
  • P. P. Belobaba, Air Travel Demand and Airline Seat Inventory Management, PhD thesis, MIT, 1987. http://hdl.handle.net/1721.1/68077
  • P. P. Belobaba, Application of a Probabilistic Decision Model to Airline Seat Inventory Control, Operations Research 37(2), 183–197, 1989. https://doi.org/10.1287/opre.37.2.183
  • K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
8 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity I: The Center of Gravity Method Satisfies f(x_t) − min f ≤ 2B(1 − 1/e)^{t/n}Textbook

Motivation

Black-box convex optimization asks how many queries to an oracle are needed to minimize a convex function to accuracy ε\varepsilonε. In fixed dimension nnn the answer is of order nlog⁡(1/ε)n\log(1/\varepsilon)nlog(1/ε), and the first algorithm to attain it is the center of gravity method, discovered independently by Levin (1965) and Newman (1965). It is the opening example of cutting plane methods: algorithms that keep a set known to contain a minimizer and shrink it with one half-space per oracle call. The ellipsoid method and Vaidya's method, which underlie the polynomial-time solvability of linear programming and convex feasibility problems, follow the same template with cheaper sets. This mission is the first of a series formalizing S. Bubeck's monograph Convex Optimization: Algorithms and Complexity (2015), and covers its §2.1.

Timeline:

  • 1960: B. Grünbaum proves that every half-space whose boundary passes through the centroid of a convex body in Rn\mathbb R^nRn contains at least a fraction (n/(n+1))n≥1/e(n/(n+1))^n \ge 1/e(n/(n+1))n≥1/e of its volume.
  • 1965: A. Levin and D. J. Newman independently introduce the center of gravity method and prove its linear rate.
  • 1983: A. Nemirovski and D. Yudin show that Ω(nlog⁡(1/ε))\Omega(n\log(1/\varepsilon))Ω(nlog(1/ε)) oracle calls are necessary for small ε\varepsilonε, so the method's oracle complexity is optimal.

Setting

Let X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn be a convex body: a compact convex set with non-empty interior. Let f:X→[−B,B]f:\mathcal X\to[-B,B]f:X→[−B,B] be continuous and convex, and let x∗∈Xx^*\in\mathcal Xx∗∈X be a minimizer of fff on X\mathcal XX. A vector www is a subgradient of fff at x∈Xx\in\mathcal Xx∈X if f(x)−f(y)≤w⊤(x−y)f(x)-f(y)\le w^\top(x-y)f(x)−f(y)≤w⊤(x−y) for every y∈Xy\in\mathcal Xy∈X. The first order oracle returns, at a query point, some subgradient there; the zeroth order oracle returns the value of fff.

For a set S\mathcal SS of finite positive volume, its center of gravity is

c(S)=1vol(S)∫x∈Sx dx.c(\mathcal S)=\frac{1}{\mathrm{vol}(\mathcal S)}\int_{x\in\mathcal S}x\,dx .c(S)=vol(S)1​∫x∈S​xdx.

The center of gravity method sets S1=X\mathcal S_1=\mathcal XS1​=X and, for t≥1t\ge1t≥1, computes ct=c(St)c_t=c(\mathcal S_t)ct​=c(St​), queries the first order oracle at ctc_tct​ to obtain a subgradient wtw_twt​, and sets

St+1=St∩{x∈Rn:(x−ct)⊤wt≤0}.\mathcal S_{t+1}=\mathcal S_t\cap\{x\in\mathbb R^n:(x-c_t)^\top w_t\le0\}.St+1​=St​∩{x∈Rn:(x−ct​)⊤wt​≤0}.

After ttt steps it outputs xt∈argmin⁡1≤r≤tf(cr)x_t\in\operatorname{argmin}_{1\le r\le t}f(c_r)xt​∈argmin1≤r≤t​f(cr​), found with ttt calls to the zeroth order oracle.

The Lean development names these objects IsConvexBody, IsSubgradientOn, centroid and IsCenterOfGravityRun in the namespace ConvexOptAlg.CenterGravity.

Formalization targets

Goal: Theorem 2.1 (p. 245)

For every run of the method and every t≥1t\ge1t≥1,

f(xt)−min⁡x∈Xf(x)≤2B(1−1e)t/n.f(x_t)-\min_{x\in\mathcal X}f(x)\le 2B\Big(1-\frac1e\Big)^{t/n}.f(xt​)−x∈Xmin​f(x)≤2B(1−e1​)t/n.

Milestones (proof of Theorem 2.1, pp. 246–247)

  1. Lemma 2.2 (Grünbaum). If K\mathcal KK is centered, ∫Kx dx=0\int_{\mathcal K}x\,dx=0∫K​xdx=0, then for every w≠0w\ne0w=0,
Vol(K∩{x:x⊤w≥0})≥1e Vol(K).\mathrm{Vol}\big(\mathcal K\cap\{x:x^\top w\ge0\}\big)\ge\tfrac1e\,\mathrm{Vol}(\mathcal K).Vol(K∩{x:x⊤w≥0})≥e1​Vol(K).
  1. (2.2). St∖St+1⊂{x∈X:(x−ct)⊤wt>0}⊂{x∈X:f(x)>f(ct)}\mathcal S_t\setminus\mathcal S_{t+1}\subset\{x\in\mathcal X:(x-c_t)^\top w_t>0\}\subset\{x\in\mathcal X:f(x)>f(c_t)\}St​∖St+1​⊂{x∈X:(x−ct​)⊤wt​>0}⊂{x∈X:f(x)>f(ct​)}, hence x∗∈Stx^*\in\mathcal S_tx∗∈St​ for every ttt.
  2. Volume decay. If ws≠0w_s\ne0ws​=0 for s≤ts\le ts≤t, then vol(St+1)≤(1−1/e)t vol(X)\mathrm{vol}(\mathcal S_{t+1})\le(1-1/e)^t\,\mathrm{vol}(\mathcal X)vol(St+1​)≤(1−1/e)tvol(X).
  3. Shrunk copies. For ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1] and Xε={(1−ε)x∗+εx:x∈X}\mathcal X_\varepsilon=\{(1-\varepsilon)x^*+\varepsilon x: x\in\mathcal X\}Xε​={(1−ε)x∗+εx:x∈X}, vol(Xε)=εn vol(X)\mathrm{vol}(\mathcal X_\varepsilon)=\varepsilon^n\,\mathrm{vol}(\mathcal X)vol(Xε​)=εnvol(X).
  4. Values on shrunk copies. Every xε∈Xεx_\varepsilon\in\mathcal X_\varepsilonxε​∈Xε​ satisfies f(xε)≤f(x∗)+2εBf(x_\varepsilon)\le f(x^*)+2\varepsilon Bf(xε​)≤f(x∗)+2εB.

Significance

Theorem 2.1 is a linear rate whose number of queries to reach accuracy ε\varepsilonε, O(nlog⁡(2B/ε))O(n\log(2B/\varepsilon))O(nlog(2B/ε)), depends on the dimension only linearly and on the accuracy only logarithmically, and matches the Nemirovski–Yudin lower bound. It is the reference point against which the ellipsoid method (O(n2log⁡(1/ε))O(n^2\log(1/\varepsilon))O(n2log(1/ε)) queries) and Vaidya's method are measured, and the randomized center of gravity method of §6.7 of the book rests on the same analysis. Grünbaum's inequality is a basic fact of convex geometry with uses well beyond optimization, for instance in the analysis of query complexity and of approximate centroid computations by random walks.

On the formal side, the theorem has been proved since 1965 and the lemma since 1960; neither is known to have a machine-checked proof. A complete development adds to Mathlib-based libraries the center of gravity of a set, the volume of homothetic images in the form used here, Grünbaum's inequality, and a reusable predicate for cutting plane runs. The later missions of this series (the ellipsoid method in particular) reuse the shrunk-copy argument of milestones 4 and 5.

Difficulty

The steps (2.2), the shrunk-copy volume and the value bound are short. The volume decay and the final comparison are bookkeeping once one knows that each cut keeps the method's sets convex bodies with positive volume. The difficulty is Lemma 2.2. A half-space through the centroid need not split the volume evenly: for a cone the smaller side tends to 1/e1/e1/e of the volume as n→∞n\to\inftyn→∞, so no symmetry argument works, and the bound must hold uniformly in the dimension. The classical proofs rely on tools of convex geometry, such as volume comparisons between a body and a symmetrized body, that are not available in Lean in the needed form. A second source of work is that the method's sets are defined through centroids: it has to be shown that they remain convex bodies of positive volume, so that each centroid is the genuine center of gravity, and this fact is not available before the volume estimates are.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure volume; volumes are kept in [0,∞][0,\infty][0,∞] in every statement. The function is a total map f : EuclideanSpace ℝ (Fin n) → ℝ with ∣f∣≤B|f|\le B∣f∣≤B, continuity and convexity required on X\mathcal XX only; its values off X\mathcal XX are irrelevant. Subgradients are relative to X\mathcal XX (Definition 1.2). A run is a predicate on sequences indexed from 111; the oracle's choice of subgradient is free, and every theorem holds for all runs. The minimizer x∗x^*x∗ is a hypothesis, as in the book's standing notation; it exists here by compactness. The output xtx_txt​ is any argmin, so the goal bounds the minimum min⁡1≤r≤tf(cr)\min_{1\le r\le t}f(c_r)min1≤r≤t​f(cr​).

Added hypotheses, all disclosed in the statements: n≥1n\ge1n≥1 in the goal, because the exponent t/nt/nt/n is undefined for n=0n=0n=0; and in Lemma 2.2, that the centered set is a convex body, because in Lean the integral of a non-integrable function is 000, which would make every unbounded convex set "centered". The milestone on volume decay assumes ws≠0w_s\ne0ws​=0, which is the book's own reduction.

The center of gravity is defined with the real volume vol(S)\mathrm{vol}(\mathcal S)vol(S) and is meaningless when that volume is 000 or infinite. The run predicate does not assume the volumes are positive; that every set of a run is a convex body of positive volume is part of what has to be proved, and a formalization in which runs could degenerate to sets of zero volume, or in which the centroid is an arbitrary point, is not the book's method.

Contributions welcome: proofs of any item; a general Grünbaum inequality for convex sets of finite positive volume; lemmas on centroids (membership in the closed convex hull, translation behaviour) that later missions can reuse.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §2.1. https://arxiv.org/abs/1405.4980
  • B. Grünbaum, Partitions of mass-distributions and of convex bodies by hyperplanes, Pacific Journal of Mathematics 10(4):1257–1261, 1960. https://doi.org/10.2140/pjm.1960.10.1257
  • A. Yu. Levin, On an algorithm for the minimization of convex functions, Soviet Mathematics Doklady 6:286–290, 1965.
  • D. J. Newman, Location of the maximum on unimodal surfaces, Journal of the ACM 12(3):395–398, 1965. https://doi.org/10.1145/321281.321291
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
7 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity II: For t ≥ 2n² log(R/r) the Ellipsoid Method Satisfies f(x_t) − min f ≤ (2BR/r)·exp(−t/(2n²))Textbook

Motivation

The ellipsoid method is the cutting-plane algorithm that settled the polynomial-time solvability of linear programming and, more generally, of convex optimization over any set that comes with an efficient separation oracle. It was introduced for convex minimization by Shor and by Yudin and Nemirovski in the 1970s, and Khachiyan used it in 1979 to give the first polynomial-time algorithm for linear programming. Grötschel, Lovász and Schrijver later turned it into the general equivalence between separation and optimization that underlies much of combinatorial optimization.

This mission is the second of a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning 8(3–4), 2015; arXiv:1405.4980v2). Its goal is the convergence guarantee of the ellipsoid method, Theorem 2.4 (p. 250), together with the geometric lemma and the steps of the proof on which it rests.

Timeline:

  • 1976–1977: Yudin–Nemirovski and Shor introduce the method for convex minimization.
  • 1979: Khachiyan applies it to linear programming and obtains polynomial time.
  • 1981: Grötschel, Lovász and Schrijver derive the equivalence of separation and optimization.

Setting

Write Rn\mathbb R^nRn for the space of real nnn-vectors, with the dot product x⊤yx^\top yx⊤y. An ellipsoid is a set

E={x∈Rn:(x−c)⊤H−1(x−c)≤1},\mathcal E=\{x\in\mathbb R^n:(x-c)^\top H^{-1}(x-c)\le 1\},E={x∈Rn:(x−c)⊤H−1(x−c)≤1},

where c∈Rnc\in\mathbb R^nc∈Rn is its center and HHH is a symmetric positive definite matrix.

A convex body X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn is a compact convex set with non-empty interior. The objective fff is continuous and convex on X\mathcal XX with values in [−B,B][-B,B][−B,B], and r,R>0r,R>0r,R>0 are such that X\mathcal XX lies in the Euclidean ball E0\mathcal E_0E0​ of center c0c_0c0​ and radius RRR and contains some Euclidean ball of radius rrr. A subgradient of fff at x∈Xx\in\mathcal Xx∈X is a vector ggg with f(x)+g⊤(y−x)≤f(y)f(x)+g^\top(y-x)\le f(y)f(x)+g⊤(y−x)≤f(y) for all y∈Xy\in\mathcal Xy∈X.

The method starts from E0\mathcal E_0E0​, H0=R2InH_0=R^2\mathrm I_nH0​=R2In​. At step t≥0t\ge0t≥0 it asks for a vector wtw_twt​:

  • if ct∉Xc_t\notin\mathcal Xct​∈/X, a separating vector, with X⊂{x:(x−ct)⊤wt≤0}\mathcal X\subset\{x:(x-c_t)^\top w_t\le0\}X⊂{x:(x−ct​)⊤wt​≤0};
  • otherwise a subgradient of fff at ctc_tct​.

It then replaces Et\mathcal E_tEt​ by the ellipsoid Et+1\mathcal E_{t+1}Et+1​ given by

ct+1=ct−1n+1Htwtwt⊤Htwt,Ht+1=n2n2−1(Ht−2n+1Htwtwt⊤Htwt⊤Htwt).c_{t+1}=c_t-\frac1{n+1}\frac{H_tw_t}{\sqrt{w_t^\top H_tw_t}},\qquad H_{t+1}=\frac{n^2}{n^2-1}\Big(H_t-\frac2{n+1}\frac{H_tw_tw_t^\top H_t}{w_t^\top H_tw_t}\Big).ct+1​=ct​−n+11​wt⊤​Ht​wt​​Ht​wt​​,Ht+1​=n2−1n2​(Ht​−n+12​wt⊤​Ht​wt​Ht​wt​wt⊤​Ht​​).

After ttt iterations the output xtx_txt​ is the best of the queried centers that lie in X\mathcal XX.

Formalization targets

Goal: Theorem 2.4

For n≥2n\ge2n≥2 and every t≥2n2log⁡(R/r)t\ge 2n^2\log(R/r)t≥2n2log(R/r), t≥1t\ge1t≥1, some queried center lies in X\mathcal XX, and every output satisfies

f(xt)−min⁡x∈Xf(x)≤2BRrexp⁡(−t2n2).f(x_t)-\min_{x\in\mathcal X}f(x)\le\frac{2BR}{r}\exp\Big(-\frac{t}{2n^2}\Big).f(xt​)−x∈Xmin​f(x)≤r2BR​exp(−2n2t​).

Milestones

  1. The scalar inequality (1+1/n)2(1−1/n2)n−1≥exp⁡(1/n)(1+1/n)^2(1-1/n^2)^{n-1}\ge\exp(1/n)(1+1/n)2(1−1/n2)n−1≥exp(1/n) for n≥2n\ge2n≥2 (proof of Lemma 2.3, pp. 248–249).
  2. Lemma 2.3 (p. 247): for w≠0w\ne0w=0 the half-ellipsoid {x∈E0:w⊤(x−c0)≤0}\{x\in\mathcal E_0:w^\top(x-c_0)\le0\}{x∈E0​:w⊤(x−c0​)≤0} lies in an ellipsoid E\mathcal EE with
vol(E)≤exp⁡(−12n)vol(E0),\mathrm{vol}(\mathcal E)\le\exp\Big(-\frac1{2n}\Big)\mathrm{vol}(\mathcal E_0),vol(E)≤exp(−2n1​)vol(E0​),

and for n≥2n\ge2n≥2 the explicit ellipsoid (2.5)–(2.6) works. 3. The remark before Theorem 2.4 (p. 250): a point of X\mathcal XX can leave the current ellipsoid only at a step with ct∈Xc_t\in\mathcal Xct​∈X, and then its value exceeds f(ct)f(c_t)f(ct​). 4. Two steps reused from Theorem 2.1 (pp. 246–247): vol(Xε)=εnvol(X)\mathrm{vol}(\mathcal X_\varepsilon)=\varepsilon^n\mathrm{vol}(\mathcal X)vol(Xε​)=εnvol(X) for Xε=(1−ε)x∗+εX\mathcal X_\varepsilon=(1-\varepsilon)x^*+\varepsilon\mathcal XXε​=(1−ε)x∗+εX, and f≤f(x∗)+2εBf\le f(x^*)+2\varepsilon Bf≤f(x∗)+2εB on Xε\mathcal X_\varepsilonXε​.

Significance

Theorem 2.4 bounds the oracle complexity of the ellipsoid method: accuracy ε\varepsilonε needs O(n2log⁡(1/ε))O(n^2\log(1/\varepsilon))O(n2log(1/ε)) oracle calls. Each step costs O(n2)O(n^2)O(n2) arithmetic operations plus one oracle call. With the separation oracles of linear and semidefinite programs this gives polynomial overall complexity (p. 250). The rate depends on the instance only through log⁡(R/r)\log(R/r)log(R/r) and BBB, so the method needs no smoothness and no strong convexity. Lemma 2.3 is also the geometric step of the ellipsoid method for linear feasibility.

The result has a textbook proof. The work of this mission is to formalize it. The same update is published on the platform from Bertsimas and Tsitsiklis's Introduction to Linear Optimization (Theorem 8.1), with a proved volume factor of exp⁡(−1/(2(n+1)))\exp(-1/(2(n+1)))exp(−1/(2(n+1))). That factor is weaker than (2.4)'s exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)) and does not give Theorem 2.4's constant. The sharper factor and the optimization version of the method (subgradient cuts, the output rule and the value bound) are not formalized on the platform.

Difficulty

There are two difficulties: Lemma 2.3 with the sharp constant, and the bookkeeping that turns per-step volume decrease into a value bound.

For the lemma, the volume of the explicit ellipsoid is (n/n2−1)n(n−1)/(n+1)\big(n/\sqrt{n^2-1}\big)^n\sqrt{(n-1)/(n+1)}(n/n2−1​)n(n−1)/(n+1)​ times that of E0\mathcal E_0E0​. Bounding it by exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)) rather than by the cruder exp⁡(−1/(2(n+1)))\exp(-1/(2(n+1)))exp(−1/(2(n+1))) needs the scalar inequality of milestone 1 for every n≥2n\ge2n≥2. The reduction from a general ellipsoid to the unit ball also needs determinants under an affine map.

For the theorem, the obvious argument compares vol(Xε)\mathrm{vol}(\mathcal X_\varepsilon)vol(Xε​) with vol(Et)\mathrm{vol}(\mathcal E_t)vol(Et​). This only works if no cut removes an optimal point and if every removed point of X\mathcal XX is worse than a queried center. At the threshold t=2n2log⁡(R/r)t=2n^2\log(R/r)t=2n2log(R/r) the admissible ε\varepsilonε is exactly 111, so a non-strict volume bound alone does not close the argument there.

Formalization scope

  • Rn\mathbb R^nRn is Fin n → ℝ with Lebesgue measure, as in the reused Bertsimas–Tsitsiklis ellipsoid definitions (LinearOptimization.ellipsoid, ellipsoidUpdateCenter, ellipsoidUpdateMatrix, IsSubgradientOn).
  • Euclidean balls are written with the dot product, because Mathlib's norm on Fin n → ℝ is the sup norm.
  • The method is a run predicate, IsEllipsoidRun. Every theorem holds for every admissible oracle answer. The update is the published one with a=−wta=-w_ta=−wt​.
  • If an oracle answer is wt=0w_t=0wt​=0 (possible only at a minimizer ct∈Xc_t\in\mathcal Xct​∈X), the run stops. The page's update would divide by zero there.

Conventions and hypotheses added to the page:

  1. n≥2n\ge2n≥2, because the update (2.6) is defined only for n≥2n\ge2n≥2.
  2. A minimizer x∗x^*x∗ exists (the book's standing assumption, p. 242).
  3. The output ranges over the queried centers c0,…,ct−1c_0,\dots,c_{t-1}c0​,…,ct−1​. The page writes {c1,…,ct}\{c_1,\dots,c_t\}{c1​,…,ct​}, but ctc_tct​ has not been cut yet and c0c_0c0​ has.
  4. t≥1t\ge1t≥1, because at R=rR=rR=r and t=0t=0t=0 no center has been queried.

A run predicate whose separation branch does not require X⊂{x:(x−ct)⊤wt≤0}\mathcal X\subset\{x:(x-c_t)^\top w_t\le0\}X⊂{x:(x−ct​)⊤wt​≤0}, or that accepts wt=0w_t=0wt​=0 with an update, would make the statements false or vacuous. Both are excluded.

Lemma 2.3's volume factor is exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)). The weaker published factor does not prove that milestone. The published theorem LinearOptimization.ellipsoid_update_halfspace_volume is included as a reference: it supplies the containment (2.3) and positive definiteness. Contributions are welcome on every milestone. A determinant formula for the volume of an ellipsoid would be reusable well beyond this mission.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2
  • N. Z. Shor, Cut-off method with space extension in convex programming problems, Cybernetics 13:94–96, 1977. doi:10.1007/BF01071394
  • D. B. Yudin and A. S. Nemirovski, Informational complexity and efficient methods for the solution of convex extremal problems, Matekon 13(2):22–45, 1976.
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Mathematics Doklady 20:191–194, 1979.
  • M. Grötschel, L. Lovász and A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1:169–197, 1981. doi:10.1007/BF02579273
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 (Theorem 8.1).
11 thms4 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Airline Seat Allocation with Multiple Nested Fare Classes 2: With Integer-Valued Demands an Optimal Integer Protection-Level Policy ExistsResearch Paper

Motivation

Airlines sell the seats of one flight leg at several prices. Cheaper fare classes tend to book earlier, so the seller must decide, as low-fare requests arrive, how many seats to hold back for later and more valuable passengers. The standard control is nested protection levels: a number pkp_kpk​ of seats is reserved for the kkk most expensive classes together, and a request of class k+1k+1k+1 is accepted only while more than pkp_kpk​ seats remain. Littlewood (1972) gave the optimal rule for two classes; Belobaba's EMSR heuristic (1987, 1989) extended it to many classes without an optimality guarantee.

S. L. Brumelle and J. I. McGill, Airline Seat Allocation with Multiple Nested Fare Classes (Operations Research 41(1), 1993) treat any number of classes with independent random demands and characterize optimal protection levels by first-order conditions on the expected revenue: Theorem 1 states that a policy with fk+1f_{k+1}fk+1​ in the subdifferential of the expected revenue of the kkk highest classes at pkp_kpk​, for every kkk, is optimal. Their Theorem 2 addresses the question practitioners face first: seats and bookings are whole numbers. If demand is integer valued, is an optimal policy available among integer protection levels? The theorem answers yes. This mission formalizes that theorem and the chain of results in its proof.

Timeline.

  • Littlewood (1972): two fare classes, rule f2=f1Pr⁡[X1>p1]f_2 = f_1 \Pr[X_1 > p_1]f2​=f1​Pr[X1​>p1​].
  • Belobaba (1987, 1989): EMSR heuristic for many classes.
  • Curry (1990) and Wollmer (1992): multiple nested classes, continuous and discrete demand respectively.
  • Brumelle and McGill (1993): subdifferential optimality conditions for any number of classes (Theorem 1), existence of an optimal integer policy for integer demand (Theorem 2), and the probability conditions (31) (Theorem 3).

Setting

Classes are numbered k=1,2,…k = 1, 2, \dotsk=1,2,…, class 111 paying the highest fare. Class kkk has a random demand Xk≥0X_k \ge 0Xk​≥0 and fare fkf_kfk​, with f1>f2>⋯f_1 > f_2 > \cdotsf1​>f2​>⋯. The demands are mutually independent on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P). A protection-level policy is a sequence p=(p1,p2,… )p = (p_1, p_2, \dots)p=(p1​,p2​,…) with pk≥0p_k \ge 0pk​≥0; the dummy level p0=0p_0 = 0p0​=0 is never used.

For a demand vector xxx and sss available seats, the revenue of the kkk highest classes is defined recursively (Eqs. (8)–(9), p. 130):

R1[s;p;x]={f1s0≤s<x1,f1x1x1≤s,R_1[s; p; x] = \begin{cases} f_1 s & 0 \le s < x_1,\\ f_1 x_1 & x_1 \le s,\end{cases}R1​[s;p;x]={f1​sf1​x1​​0≤s<x1​,x1​≤s,​ Rk+1[s;p;x]={Rk[s;p;x]0≤s<pk,(s−pk)fk+1+Rk[pk;p;x]pk≤s<pk+xk+1,xk+1fk+1+Rk[s−xk+1;p;x]pk+xk+1≤s.R_{k+1}[s; p; x] = \begin{cases} R_k[s; p; x] & 0 \le s < p_k,\\ (s - p_k) f_{k+1} + R_k[p_k; p; x] & p_k \le s < p_k + x_{k+1},\\ x_{k+1} f_{k+1} + R_k[s - x_{k+1}; p; x] & p_k + x_{k+1} \le s.\end{cases}Rk+1​[s;p;x]=⎩⎨⎧​Rk​[s;p;x](s−pk​)fk+1​+Rk​[pk​;p;x]xk+1​fk+1​+Rk​[s−xk+1​;p;x]​0≤s<pk​,pk​≤s<pk​+xk+1​,pk​+xk+1​≤s.​

The expected revenue is ERk[s;p;X]=E Rk[s;p;X]ER_k[s; p; X] = E\,R_k[s; p; X]ERk​[s;p;X]=ERk​[s;p;X]. A policy is optimal if it maximizes ERk[s;⋅ ;X]ER_k[s; \cdot\,; X]ERk​[s;⋅;X] for every kkk and every s≥0s \ge 0s≥0 (p. 130).

For a function ggg and t≥0t \ge 0t≥0, δ+g(t)\delta_+ g(t)δ+​g(t) and δ−g(t)\delta_- g(t)δ−​g(t) are the right and left derivatives, with δ−g(0)=+∞\delta_- g(0) = +\inftyδ−​g(0)=+∞, and the subdifferential is δg(t)=[δ+g(t),δ−g(t)]\delta g(t) = [\delta_+ g(t), \delta_- g(t)]δg(t)=[δ+​g(t),δ−​g(t)] (p. 131). Condition (20) is

fk+1∈δERk[pk;(p0,…,pk−1);X],k=1,2,…f_{k+1} \in \delta ER_k[p_k; (p_0, \dots, p_{k-1}); X], \qquad k = 1, 2, \dotsfk+1​∈δERk​[pk​;(p0​,…,pk−1​);X],k=1,2,…

A function is CLBI (Concave and Linear Between Integers, p. 132) if it is concave on s≥0s \ge 0s≥0 and linear on each interval [m,m+1][m, m+1][m,m+1], m=0,1,2,…m = 0, 1, 2, \dotsm=0,1,2,…

Formalization targets

Goal: Theorem 2 (p. 132)

If every XkX_kXk​ is integer valued and the fares are positive, there is a policy p∗p^*p∗ with pk∗∈{0,1,2,… }p^*_k \in \{0, 1, 2, \dots\}pk∗​∈{0,1,2,…} such that

ERk[s;q;X]≤ERk[s;p∗;X]for every policy q, k≥1, s≥0,ER_k[s; q; X] \le ER_k[s; p^*; X] \qquad \text{for every policy } q,\ k \ge 1,\ s \ge 0,ERk​[s;q;X]≤ERk​[s;p∗;X]for every policy q, k≥1, s≥0,

and p∗p^*p∗ satisfies (20). The competitor qqq ranges over all real protection levels.

Milestones (in proof order)

  1. (27): δER1[s;p;X]=[f1Pr⁡[X1>s],f1Pr⁡[X1≥s]]\delta ER_1[s; p; X] = [f_1 \Pr[X_1 > s], f_1 \Pr[X_1 \ge s]]δER1​[s;p;X]=[f1​Pr[X1​>s],f1​Pr[X1​≥s]], and ER1ER_1ER1​ is CLBI.
  2. Covering property (p. 132): if ggg is CLBI and δ+g(s2)<c<δ−g(s1)\delta_+ g(s_2) < c < \delta_- g(s_1)δ+​g(s2​)<c<δ−​g(s1​) with s1<s2s_1 < s_2s1​<s2​, then c∈δg(n)c \in \delta g(n)c∈δg(n) for an integer n∈[s1,s2]n \in [s_1, s_2]n∈[s1​,s2​].
  3. (28)–(29): for s≥pks \ge p_ks≥pk​,
δ+ERk+1[s]=fk+1Pr⁡[Xk+1>s−pk]+∑i=0⌊s−pk⌋δ+ERk[s−i]Pr⁡[Xk+1=i],\delta_+ ER_{k+1}[s] = f_{k+1}\Pr[X_{k+1} > s - p_k] + \sum_{i=0}^{\lfloor s - p_k\rfloor} \delta_+ ER_k[s - i]\Pr[X_{k+1} = i],δ+​ERk+1​[s]=fk+1​Pr[Xk+1​>s−pk​]+i=0∑⌊s−pk​⌋​δ+​ERk​[s−i]Pr[Xk+1​=i],

and the analogous formula for δ−\delta_-δ−​ at s>pks > p_ks>pk​. 4. Corollary 1 (p. 131): concavity of ERkER_kERk​ and fk+1∈δERk[pk]f_{k+1} \in \delta ER_k[p_k]fk+1​∈δERk​[pk​] give concavity of ERk+1ER_{k+1}ERk+1​. 5. CLBI propagation (p. 133): if ERk[⋅;p∗;X]ER_k[\cdot; p^*; X]ERk​[⋅;p∗;X] is CLBI and integer p1∗,…,pk∗p^*_1, \dots, p^*_kp1∗​,…,pk∗​ satisfy (20), then ERk+1[⋅;p∗;X]ER_{k+1}[\cdot; p^*; X]ERk+1​[⋅;p∗;X] is CLBI. 6. (30): for sss large enough, δ+ERk+1[s;p;X]<fk+2\delta_+ ER_{k+1}[s; p; X] < f_{k+2}δ+​ERk+1​[s;p;X]<fk+2​. 7. Theorem 1 (p. 131): a policy satisfying (20) is optimal.

Significance

The result. Theorem 2 justifies computing protection levels in whole seats: with integer demand, restricting to integer policies loses nothing against arbitrary real protection levels. The construction also shows that (20) is solvable at every level, so the sufficient condition of Theorem 1 is never empty for integer demand. Many later revenue-management models assume an optimal nested policy exists and rely on this result or its dynamic-programming analogues.

Formalizing it. The theorem is proved on the page by an induction on the class index, but several steps are compressed: (28)–(29) are printed without the range of sss on which they hold, and (30) is asserted "by recursive application". To our knowledge none of these statements has a machine-checked proof. A formal development gives a verified account of one-sided derivatives of expectations of piecewise-linear random functions and of the integer covering property. These pieces are reusable for other newsvendor-type and nested-inventory models. The probability-condition characterization (Theorem 3) is the subject of a companion mission in the same series.

Difficulty

Concavity of the expected revenue does not hold for arbitrary policies. It is only guaranteed level by level, when the protection level already chosen at level kkk satisfies (20). Existence of an integer optimum therefore cannot be obtained by rounding a real optimum: the integer levels must be chosen one at a time, and each choice must preserve both concavity and the CLBI shape needed for the next. A second obstacle is analytic. The one-sided derivatives of ERk+1ER_{k+1}ERk+1​ are expectations of derivatives of a random piecewise-linear function. Exchanging differentiation and expectation, and computing the sums in (28)–(29) exactly at integer and non-integer sss, is where informal arguments and formal ones diverge. Finally there are infinitely many classes, so the policy p∗p^*p∗ is an infinite sequence built by recursion.

Formalization scope

  • Model. Classes are indexed by N\mathbb NN from 111; fares, demands and protection levels are sequences N→R\mathbb N \to \mathbb RN→R. Seats, demands and protection levels are real; an integer policy is a sequence of natural numbers read as reals. Integer-valued demand means each Xk(ω)X_k(\omega)Xk​(ω) is a natural number. Expectations are Bochner integrals.
  • Standing assumptions (§1). PPP is a probability measure. The demands are measurable, nonnegative and mutually independent, and the fares are strictly decreasing.
  • Added hypotheses. The goal assumes positive fares, fk>0f_k > 0fk​>0 for k≥1k \ge 1k≥1. The page leaves this implicit (fares are average revenues), and without it the theorem is false. The same assumption appears in (30), and (27) assumes f1≥0f_1 \ge 0f1​≥0, without which ER1ER_1ER1​ is convex rather than concave.
  • Derivatives. One-sided derivatives are required to exist, with their value asserted; no default value of an undefined derivative is used. The convention δ−g(0)=+∞\delta_- g(0) = +\inftyδ−​g(0)=+∞ is built into the subdifferential.
  • Optimality. Optimality is global: against every real protection-level policy, at every level k≥1k \ge 1k≥1 and every s≥0s \ge 0s≥0.
  • Paper's slips corrected. (28)–(29) are stated on their range s≥pks \ge p_ks≥pk​ (resp. s>pks > p_ks>pk​). (30) is stated for every k≥1k \ge 1k≥1, as the induction uses it, rather than the printed k=2,3,…k = 2, 3, \dotsk=2,3,…
  • Not a trivialization. The goal assumes only the model, integer demand and positive fares. It does not assume concavity, CLBI, (20) or any derivative formula, and optimality is not restricted to integer competitors or to one kkk.
  • Duplication. Corollary 1 and Theorem 1 are restated from the companion mission in this series.
  • Contributions. Proofs of the measure-theoretic derivative lemmas, of the covering property (a statement about real functions), and of the induction are all welcome.

Selected references

  • S. L. Brumelle and J. I. McGill, Airline Seat Allocation with Multiple Nested Fare Classes, Operations Research 41(1):127–137, 1993. https://doi.org/10.1287/opre.41.1.127
  • K. Littlewood, Forecasting and Control of Passenger Bookings, AGIFORS Symposium Proceedings 12:95–117, 1972; reprinted in Journal of Revenue and Pricing Management 4(2), 2005. https://doi.org/10.1057/palgrave.rpm.5170134
  • P. P. Belobaba, Air Travel Demand and Airline Seat Inventory Management, PhD thesis, MIT, 1987. http://hdl.handle.net/1721.1/68077
  • P. P. Belobaba, Application of a Probabilistic Decision Model to Airline Seat Inventory Control, Operations Research 37(2):183–197, 1989. https://doi.org/10.1287/opre.37.2.183
  • R. E. Curry, Optimal Airline Seat Allocation with Fare Classes Nested by Origins and Destinations, Transportation Science 24(3):193–203, 1990. https://doi.org/10.1287/trsc.24.3.193
  • R. D. Wollmer, An Airline Seat Management Model for a Single Leg Route When Lower Fare Classes Book First, Operations Research 40(1):26–37, 1992. https://doi.org/10.1287/opre.40.1.26

Related work on the platform. The two-class, integer-capacity EMSR rule of Belobaba (1987) is formalized as SeatInventory.Nested.emsr_protection_level_optimal. It is a relative of the k=1k = 1k=1 case of Theorem 2, but it lives in a different model: two classes, a fixed integer capacity, and only integer competitors.

29 thms3 active usersReviewed
Dynamic ProgrammingMarkov ChainOperations Research+1·Captain: mikedeng1

An Analysis of Stochastic Shortest Path Problems: If Every Improper Policy Has Infinite Cost, the Optimal Cost Is the Unique Fixed Point of Bellman's Operator and Value Iteration Converges to ItResearch Paper

Motivation

A shortest path problem asks how to reach a destination at minimum cost. In a stochastic shortest path problem, a decision at a state selects a probability distribution over successor states, so both the route and its total cost are random. Costs may have either sign. This makes the problem relevant to finite-state control models where rewards and expenses occur before eventual termination. Bertsekas and Tsitsiklis analyze this setting without requiring all one-stage costs to be nonnegative or all to be nonpositive. Their condition instead rules out an improper stationary policy whose costs stay finite from every initial state. Bertsekas and Tsitsiklis (1991), pp. 580–583.

Earlier treatments established Bellman-equation and algorithmic conclusions under positive or nonnegative costs. The 1991 paper traces the finite-control development from Eaton and Zadeh and the compact-control extension from Kushner, then removes the sign restriction while retaining finite state space. It also explains why the Bellman mapping need not contract when an improper policy is available. Bertsekas and Tsitsiklis (1991), pp. 581, 585. A separate, proved Prove2Me theorem from Bertsekas's textbook treats the special case in which every policy is proper and controls are finite; the result here permits improper policies and compact control spaces.

Setting

There are n≥1n\ge1n≥1 states. State 111 is the destination. At state iii, a control u∈U(i)u\in U(i)u∈U(i) incurs a real cost ci(u)c_i(u)ci​(u) and moves the process to state jjj with probability pij(u)p_{ij}(u)pij​(u). A selector μ\muμ chooses one control μ(i)\mu(i)μ(i) at every state. A policy π=(μ0,μ1,…)\pi=(\mu_0,\mu_1,\ldots)π=(μ0​,μ1​,…) may change selectors over time; a stationary policy repeats one selector. The matrix P(μ)P(\mu)P(μ) has entries pij(μ(i))p_{ij}(\mu(i))pij​(μ(i)), and c(μ)c(\mu)c(μ) is the vector of one-stage costs. Bertsekas and Tsitsiklis (1991), p. 582.

The cost vector x(π)x(\pi)x(π) is the coordinatewise limit inferior of expected partial costs, including the possibility of infinite values. The optimal cost xi∗x_i^*xi∗​ is the infimum of xi(π)x_i(\pi)xi​(π) over all policies, including nonstationary ones. Optimality of a policy means it attains that infimum from every initial state. The fixed-selector operator is Tμ(x)=c(μ)+P(μ)xT_\mu(x)=c(\mu)+P(\mu)xTμ​(x)=c(μ)+P(μ)x; the Bellman operator TTT takes the coordinatewise infimum of these vectors over selectors. Bertsekas and Tsitsiklis (1991), pp. 582–583, equations (2)–(6).

A stationary policy is proper when its probability of reaching state 111 tends to one from every starting state. Assumption 1 says state 111 is absorbing and cost-free, at least one proper stationary policy exists, and every improper stationary policy has a partial-cost coordinate tending to +∞+\infty+∞. Assumption 2 makes each control space compact, each cost function lower semicontinuous, and each transition-probability coordinate continuous. Work takes place in X={x∈Rn:x1=0}X=\{x\in\mathbb R^n:x_1=0\}X={x∈Rn:x1​=0}. Bertsekas and Tsitsiklis (1991), pp. 583–584.

Formalization targets

Proposition 2: Bellman's equation and value iteration

Under Assumptions 1 and 2, the optimal cost is finite and is the unique fixed point of TTT in XXX. Every initial x∈Xx\in Xx∈X has

lim⁡t→∞Tt(x)=x∗.\lim_{t\to\infty}T^t(x)=x^*.t→∞lim​Tt(x)=x∗.

A stationary selector μ\muμ is optimal exactly when Tμ(x∗)=T(x∗)T_\mu(x^*)=T(x^*)Tμ​(x∗)=T(x∗); an optimal proper stationary selector exists. These are all clauses of Proposition 2, rather than separate targets selected from it. Bertsekas and Tsitsiklis (1991), p. 586, Proposition 2.

Supporting results

The milestone list follows the source's Proposition 1, Lemmas 1–3, and the numbered equations used by their proof. Proposition 1 supplies a weighted maximum-norm contraction when every stationary policy is proper. Lemma 1 describes fixed costs of a proper policy and characterizes properness through a Bellman inequality. Lemma 2 gives continuity of TTT. Lemma 3 controls limits of proper policies; its second part detects a limit that becomes improper through diverging costs. Appendix equations (22) and (24), and the policy-improvement equation (15), provide the paper's intermediate targets. Bertsekas and Tsitsiklis (1991), pp. 585–587, 591–592.

Significance

Proposition 2 identifies the cost of the best policy by a finite-dimensional Bellman equation even though the definition of optimal cost ranges over all, possibly nonstationary, policies. Its convergence clause justifies value iteration from any vector whose destination coordinate is zero. Its policy criterion and existence clause connect a fixed point to an implementable stationary decision rule. The paper applies these conclusions to successive approximation and policy iteration in §4. Bertsekas and Tsitsiklis (1991), pp. 586, 590–591.

The paper proves these statements. This mission seeks machine-checked proofs of their exact finite-state formulation and of the listed intermediate results. The resulting finite stochastic-matrix, hitting, and policy-cost infrastructure can also support other undiscounted control problems. The related proved Prove2Me result for the all-proper finite-control case does not settle this mission's compact-control or improper-policy cases.

Difficulty

When every stationary policy is proper, a common weighted maximum norm makes the Bellman mapping contract. An improper policy can destroy this route: Figure 2 has an absorbing destination and satisfies both assumptions, yet T(0,x2)=(0,min⁡{1+x2,2})T(0,x_2)=(0,\min\{1+x_2,2\})T(0,x2​)=(0,min{1+x2​,2}) is not a contraction in any norm on XXX. The main result therefore needs a way to retain fixed-point uniqueness and convergence without a uniform contraction rate. Compactness matters because a sequence of proper selectors may converge to an improper selector; Lemma 3 explains the associated cost behavior. Bertsekas and Tsitsiklis (1991), pp. 585–586, 591–595.

Formalization scope

States are Fin n, with the paper's state 111 represented by 0; the model requires n≥1n\ge1n≥1. A control set U(i)U(i)U(i) is a type with a metric, with compactness asserted for its whole carrier. Transition rows explicitly have nonnegative entries summing to one. These are the probability-vector conditions implicit in the word “probability.” Assumption 1 supplies a selector and therefore nonempty control sets. The paper writes T:Rn→RnT:\mathbb R^n\to\mathbb R^nT:Rn→Rn; where a theorem uses only Assumption 1, finite real Bellman infima are made explicit through TRealValued. Under Assumption 2, compactness and lower semicontinuity give real attained minima. Bertsekas and Tsitsiklis (1991), pp. 582–584.

Policy costs and their infimum use extended reals so that an improper policy's +∞+\infty+∞ cost is represented without a default finite value. Proposition 2 concludes, rather than assumes, that x∗x^*x∗ has real coordinates. Its policy infimum ranges over every sequence of selectors. Matrix products use the identity at time zero; T0T^0T0 is the identity. The destination-zero restriction is retained in every fixed-point and iteration claim. Defining optimal cost as a Bellman fixed point, or restricting the infimum to stationary policies, would remove the result the paper proves. Solvers can contribute the finite-chain, matrix-inverse, semicontinuity, and convergence arguments needed by these targets.

Selected references

  • Dimitri P. Bertsekas and John N. Tsitsiklis, An Analysis of Stochastic Shortest Path Problems, Mathematics of Operations Research 16(3), 580–595, 1991. DOI.
11 thms2 active usersReviewed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

A Robust Optimization Approach to Inventory Theory: The Optimal Robust Policy Is the Optimal Nominal Policy for an Explicit Modified Demand, at Extra Cost (2ph/(p+h))·ΣA_kResearch Paper

Motivation

Classical inventory theory chooses order quantities against a probability distribution of demand. The resulting dynamic programs are optimal in expectation but need the distribution, and they become intractable once several installations, capacities or fixed costs interact. Robust optimization replaces the distribution by an uncertainty set and asks for the order sequence whose worst-case cost over that set is smallest. Bertsimas and Thiele (Operations Research 54(1), 2006) applied the budget-of-uncertainty approach of Bertsimas and Sim (The Price of Robustness, Operations Research 52(1), 2004) to finite-horizon inventory control. Their main structural result says that robustness does not destroy the structure of the classical problem. The robust problem is a deterministic (nominal) inventory problem with an explicitly modified demand, and the price of robustness is an explicit constant.

Setting

A single item is ordered at a single installation over periods k=0,…,T−1k = 0, \dots, T-1k=0,…,T−1. The stock at the beginning of the horizon is x0x_0x0​. Orders uk≥0u_k \ge 0uk​≥0 arrive immediately, demand wkw_kwk​ is subtracted, and excess demand is backlogged, so the stock at the end of period kkk is

xk+1=x0+∑i=0k(ui−wi).x_{k+1} = x_0 + \sum_{i=0}^{k} (u_i - w_i).xk+1​=x0​+i=0∑k​(ui​−wi​).

The demand of period kkk is uncertain: wk=wˉk+w^kzkw_k = \bar w_k + \hat w_k z_kwk​=wˉk​+w^k​zk​ with a nominal demand wˉk\bar w_kwˉk​, a maximal deviation w^k≥0\hat w_k \ge 0w^k​≥0 and a scaled deviation zk∈[−1,1]z_k \in [-1, 1]zk​∈[−1,1]. A budget of uncertainty Γk\Gamma_kΓk​ limits the total scaled deviation up to period kkk. The budgets satisfy 0≤Γ00 \le \Gamma_00≤Γ0​ and Γk≤Γk+1≤Γk+1\Gamma_k \le \Gamma_{k+1} \le \Gamma_k + 1Γk​≤Γk+1​≤Γk​+1.

Each period costs C(uk)+R(xk+1)C(u_k) + R(x_{k+1})C(uk​)+R(xk+1​). The purchasing cost is C(u)=K+cuC(u) = K + cuC(u)=K+cu for u>0u > 0u>0 and C(0)=0C(0) = 0C(0)=0, with c>0c > 0c>0 and K≥0K \ge 0K≥0. The holding/shortage cost is R(x)=max⁡(hx,−px)R(x) = \max(hx, -px)R(x)=max(hx,−px), with h≥0h \ge 0h≥0 and p>cp > cp>c. The nominal problem with demand www minimizes ∑k<T(C(uk)+R(xk+1))\sum_{k<T} (C(u_k) + R(x_{k+1}))∑k<T​(C(uk​)+R(xk+1​)) over u≥0u \ge 0u≥0 for a fixed demand sequence www.

For each kkk, AkA_kAk​ is the optimal value of the linear program

Ak=max⁡{∑i=0kw^izi  :  ∑i=0kzi≤Γk, 0≤zi≤1}(13)A_k = \max\Big\{\sum_{i=0}^{k} \hat w_i z_i \;:\; \sum_{i=0}^{k} z_i \le \Gamma_k,\ 0 \le z_i \le 1\Big\} \qquad (13)Ak​=max{i=0∑k​w^i​zi​:i=0∑k​zi​≤Γk​, 0≤zi​≤1}(13)

It is the worst-case deviation of the cumulative demand up to kkk from its nominal value, with A−1=0A_{-1} = 0A−1​=0. Write xˉk+1=x0+∑i≤k(ui−wˉi)\bar x_{k+1} = x_0 + \sum_{i\le k}(u_i - \bar w_i)xˉk+1​=x0​+∑i≤k​(ui​−wˉi​) for the nominal stock. The robust formulation (14) minimizes ∑k<T(C(uk)+yk)\sum_{k<T} (C(u_k) + y_k)∑k<T​(C(uk​)+yk​) over (u,y,q,r)(u, y, q, r)(u,y,q,r) subject to the following constraints for every k<Tk < Tk<T:

  • uk≥0u_k \ge 0uk​≥0, qk≥0q_k \ge 0qk​≥0, and rik≥0r_{ik} \ge 0rik​≥0, qk+rik≥w^iq_k + r_{ik} \ge \hat w_iqk​+rik​≥w^i​ for i≤ki \le ki≤k;
  • yk≥h(xˉk+1+qkΓk+∑i≤krik)y_k \ge h(\bar x_{k+1} + q_k\Gamma_k + \sum_{i\le k} r_{ik})yk​≥h(xˉk+1​+qk​Γk​+∑i≤k​rik​);
  • yk≥p(−xˉk+1+qkΓk+∑i≤krik)y_k \ge p(-\bar x_{k+1} + q_k\Gamma_k + \sum_{i\le k} r_{ik})yk​≥p(−xˉk+1​+qk​Γk​+∑i≤k​rik​).

The variables q,rq, rq,r are the dual of (13). Formulation (14) is equivalent to requiring the holding and shortage constraints of period kkk for every demand whose scaled deviations satisfy ∣zi∣≤1|z_i| \le 1∣zi​∣≤1 and ∑i≤k∣zi∣≤Γk\sum_{i \le k}|z_i| \le \Gamma_k∑i≤k​∣zi​∣≤Γk​.

Formalization targets

Goal: Theorem 3.2 (a), (b), (d)

Let the modified demand be

wk′=wˉk+p−hp+h (Ak−Ak−1).(20)w'_k = \bar w_k + \frac{p-h}{p+h}\,(A_k - A_{k-1}). \qquad (20)wk′​=wˉk​+p+hp−h​(Ak​−Ak−1​).(20)

Write Nw′(u)N_{w'}(u)Nw′​(u) for the nominal cost of uuu under demand w′w'w′. Then:

  1. For every u≥0u \ge 0u≥0, the minimum of the objective of (14) over the feasible (y,q,r)(y, q, r)(y,q,r) is attained and equals
Nw′(u)+2php+h∑k=0T−1Ak.N_{w'}(u) + \frac{2ph}{p+h}\sum_{k=0}^{T-1} A_k.Nw′​(u)+p+h2ph​k=0∑T−1​Ak​.
  1. uuu is the order part of an optimal solution of (14) if and only if uuu is optimal for the nominal problem with demand w′w'w′.
  2. The optimal cost of (14) is the optimal nominal cost under w′w'w′ plus 2php+h∑kAk\frac{2ph}{p+h}\sum_k A_kp+h2ph​∑k​Ak​.
  3. If K=0K = 0K=0 and wk′≥0w'_k \ge 0wk′​≥0, the order-up-to policy with levels Sk=wk′S_k = w'_kSk​=wk′​ is robust-optimal.

Milestones

The milestones are the steps of the paper's proof, in order:

  • LP (13) and its dual are attained with the common value AkA_kAk​.
  • The constraints of (14) are the robust counterpart of the kkk-th holding/shortage pair (10)–(11).
  • For fixed orders, the value of (14) is the sum (21).
  • The modified stock (22) satisfies xk+1′=xˉk+1−p−hp+hAkx'_{k+1} = \bar x_{k+1} - \frac{p-h}{p+h}A_kxk+1′​=xˉk+1​−p+hp−h​Ak​.
  • The max identity (23): max⁡(h(xˉ+A),p(−xˉ+A))=max⁡(hx′,−px′)+2php+hA\max(h(\bar x+A), p(-\bar x+A)) = \max(hx', -px') + \frac{2ph}{p+h}Amax(h(xˉ+A),p(−xˉ+A))=max(hx′,−px′)+p+h2ph​A.
  • Lemma 3.1(b): for nonnegative demand, the nominal problem without fixed cost is solved by ordering up to Sk=wkS_k = w_kSk​=wk​.
  • Remark 1: Ak−1≤AkA_{k-1} \le A_kAk−1​≤Ak​, so wk′≥wˉkw'_k \ge \bar w_kwk′​≥wˉk​ when p≥hp \ge hp≥h.
  • Remark 3: under i.i.d. demand, Ak=w^ΓkA_k = \hat w\Gamma_kAk​=w^Γk​, which gives the closed-form thresholds.

Significance

The theorem reduces robust inventory control to nominal inventory control. Every structural fact known for the deterministic problem then transfers to the robust one. These include the optimality of base-stock policies without fixed cost and the threshold structure with a fixed cost. The robust base-stock levels are explicit: they shift the nominal levels by p−hp+h(Ak−Ak−1)\frac{p-h}{p+h}(A_k - A_{k-1})p+hp−h​(Ak​−Ak−1​), upward when shortage is more expensive than holding. The extra cost 2php+h∑kAk\frac{2ph}{p+h}\sum_k A_kp+h2ph​∑k​Ak​ quantifies the price of protection as a function of the budgets. The paper uses the same reduction for capacitated orders (Theorem 3.3) and for supply networks (§4).

The result has been proved since 2006, and no machine-checked proof of it, or of any budgeted robust counterpart, is known to exist. This mission provides several formalizations for reuse:

  • the budgeted robust counterpart of a pair of piecewise-linear constraints;
  • the duality of the fractional knapsack LP (13);
  • the optimality of base-stock orders for a deterministic backlogged inventory problem.

Difficulty

The algebraic core, identity (23), is elementary. The work is in the reductions around it. The first is that (14) really is the worst case of (10)–(11): this needs strong duality for (13), together with attainment on both sides, and the observation that the minimizing and maximizing deviations of a constraint pair differ. The second is that the minimum of (14) over the auxiliary variables, for fixed orders, is (21). This requires the dual optimum to be attained with the value of (13), and h,p≥0h, p \ge 0h,p≥0 so that the cost is monotone in AkA_kAk​. The third is the base-stock part, which needs Lemma 3.1(b), a global optimality statement for a TTT-period problem with backlogging. The paper proves that lemma by an explicit dual certificate. An argument through first-order conditions in each period is not enough, because orders in one period affect every later stock level.

Formalization scope

All data are real numbers and sequences are ℕ → ℝ; only indices k<Tk < Tk<T matter. stock w u k denotes xk+1x_{k+1}xk+1​, the stock at the end of period kkk. The standing assumptions of §3.1 are fields of the model:

  • c>0c > 0c>0, K≥0K \ge 0K≥0, h≥0h \ge 0h≥0, p>cp > cp>c;
  • w^k≥0\hat w_k \ge 0w^k​≥0;
  • Γ0≥0\Gamma_0 \ge 0Γ0​≥0 and Γk≤Γk+1≤Γk+1\Gamma_k \le \Gamma_{k+1} \le \Gamma_k + 1Γk​≤Γk+1​≤Γk​+1.

The conventions and corrections are:

  • Fixed cost. The paper writes it with binary variables and a big-MMM constraint. Here it is the indicator C(uk)C(u_k)C(uk​) in the objective, as in the paper's own (21).
  • "Optimal". It always means minimality over all feasible points.
  • The policy. It is the order sequence chosen at time 0.
  • AkA_kAk​. It is the value of (13), as in Remark 1 after the theorem, not "the optimal q∗,r∗q^*, r^*q∗,r∗ of (14)", which need not be unique.
  • The robust formulation. (14) is formalized as printed: the kkk-th constraint pair is protected by the budget Γk\Gamma_kΓk​ alone, not by the intersection of all budgets up to kkk.
  • Sign slip. The page's xk+1=xˉk+1+∑w^izix_{k+1} = \bar x_{k+1} + \sum \hat w_i z_ixk+1​=xˉk+1​+∑w^i​zi​ is a sign slip for xˉk+1−∑w^izi\bar x_{k+1} - \sum \hat w_i z_ixˉk+1​−∑w^i​zi​. The formal statements use the correct sign; the result is unaffected because the deviation set is symmetric.
  • Part (b). It is stated under wk′≥0w'_k \ge 0wk′​≥0. As printed it fails when p<hp < hp<h makes w′w'w′ negative, for example T=2T = 2T=2, wˉ=w^=(10,0)\bar w = \hat w = (10, 0)wˉ=w^=(10,0), Γ=(0,1)\Gamma = (0, 1)Γ=(0,1), c=1c = 1c=1, h=4h = 4h=4, p=2p = 2p=2, x0=0x_0 = 0x0​=0. Lemma 3.1(b) carries the matching hypothesis of nonnegative demand.
  • Remark 3. It adds Γ0≤1\Gamma_0 \le 1Γ0​≤1.
  • Remark 1. Its inequalities are weak.
  • Not stated. The (s, S) clause of (a) and part (c) are excluded. They rest on a stochastic theorem cited from Bertsekas (1995) and on thresholds stated through the optimal ordering times.

A trivializing formalization is ruled out: the robust cost is formulation (14) with its variables y,q,ry, q, ry,q,r, and AkA_kAk​ is the value of LP (13). Neither is the closed-form objective (21) nor an arbitrary sequence. Contributions are welcome on the LP duality of (13) (a fractional knapsack), on the robust counterpart milestone, and on Lemma 3.1(b), each of which is independent of the others.

Selected references

  • D. Bertsimas, A. Thiele, A Robust Optimization Approach to Inventory Theory, Operations Research 54(1):150–168, 2006. https://doi.org/10.1287/opre.1050.0238
  • D. Bertsimas, M. Sim, The Price of Robustness, Operations Research 52(1):35–53, 2004. https://doi.org/10.1287/opre.1030.0065
  • A. Ben-Tal, A. Nemirovski, Robust solutions of uncertain linear programs, Operations Research Letters 25(1):1–13, 1999. https://doi.org/10.1016/S0167-6377(99)00016-4
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. 1, Athena Scientific, 1995.
12 thms2 active usersReviewed
Linear OptimizationOperations ResearchTheoretical Computer Science·Captain: mikedeng1

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

Motivation

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

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

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Theorem 3.1

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

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

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

Milestones: the three claims of the proof

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Revenue Management with Forward-Looking Buyers: Under Weakly Decreasing Demand the Deterministic Optimal Cutoffs Fall over Time and Satisfy One-Period Look-AheadResearch Paper

Motivation

Retailers of seasonal goods (fashion, electronics, airline seats) sell a fixed stock over a finite season to customers who arrive over time, and those customers know that prices may fall. A customer who expects a markdown waits, and a seller who ignores this loses revenue. The classical revenue-management literature (Gallego and van Ryzin 1994; Talluri and van Ryzin 2004) models myopic customers who buy on arrival or leave; the literature on forward-looking (strategic) buyers, for instance Aviv and Pazgal (2008), studies particular price paths.

Board and Skrzypacz ask the mechanism-design question: among all selling schemes, which maximizes the seller's expected discounted revenue when buyers arrive over time, have private values and time their purchases strategically? Their answer, published in the Journal of Political Economy in 2016, is that the optimal mechanism has a simple structure: in every period the seller sells to the highest remaining buyer if and only if his value exceeds a cutoff that depends only on the period and the number of units left. When demand is weakly decreasing over time, the cutoffs are characterized by one-period indifference conditions, which in the continuous-time limit can be implemented by posted prices. The source used here is the authors' accepted manuscript of February 6, 2015; all page numbers refer to that manuscript.

Setting

A seller has units of a good and sells them over periods t∈{1,…,T}t\in\{1,\dots,T\}t∈{1,…,T}; unsold units are worth zero after period TTT. Payoffs are discounted by δ∈(0,1)\delta\in(0,1)δ∈(0,1). At the start of period ttt a random number NtN_tNt​ of buyers arrives, independently across periods, with a law that may depend on ttt. Each buyer wants one unit; his value is drawn independently from a distribution with continuous density fff, distribution function FFF and support [v‾,vˉ][\underline v,\bar v][v​,vˉ]. The marginal revenue of a buyer with value vvv is

m(v)=v−1−F(v)f(v),m(v)=v-\frac{1-F(v)}{f(v)},m(v)=v−f(v)1−F(v)​,

assumed strictly increasing and continuously differentiable, with m(v‾)<0m(\underline v)<0m(v​)<0.

By the standard mechanism-design reduction (§2.1, eq. (2.5)), the seller's problem is to choose when to serve each buyer so as to maximize the expected discounted sum of the served buyers' marginal revenues. The state in period ttt, after the period-ttt entrants have arrived, is the number kkk of units left and the values y1≥y2≥⋯y^1\ge y^2\ge\cdotsy1≥y2≥⋯ of the buyers present. The value Πtk\Pi^k_tΠtk​ and the pre-entry value Π~tk\tilde\Pi^k_{t}Π~tk​ satisfy the Bellman equation (4.3):

Πtk(y)=max⁡0≤j≤k[∑i=1jm(yi)+δ Π~t+1k−j(y−j)],Π~t+1k(y)=Et+1[Πt+1k(y∪vt+1)],\Pi^k_t(\mathbf y)=\max_{0\le j\le k}\Big[\sum_{i=1}^j m(y^i)+\delta\,\tilde\Pi^{k-j}_{t+1}(\mathbf y^{-j})\Big],\qquad \tilde\Pi^k_{t+1}(\mathbf y)=E_{t+1}\big[\Pi^k_{t+1}(\mathbf y\cup\mathbf v_{t+1})\big],Πtk​(y)=0≤j≤kmax​[i=1∑j​m(yi)+δΠ~t+1k−j​(y−j)],Π~t+1k​(y)=Et+1​[Πt+1k​(y∪vt+1​)],

where y−j\mathbf y^{-j}y−j is the set of buyers left after the jjj highest are served and vt+1\mathbf v_{t+1}vt+1​ the next period's entrants. Selling one unit to y1y^1y1 today rather than none gives the difference function

ΔΠtk(y1,y−1)=m(y1)+δΠ~t+1k−1(y−1)−δΠ~t+1k(y1,y−1),\Delta\Pi^k_t(y^1,\mathbf y^{-1})=m(y^1)+\delta\tilde\Pi^{k-1}_{t+1}(\mathbf y^{-1})-\delta\tilde\Pi^k_{t+1}(y^1,\mathbf y^{-1}),ΔΠtk​(y1,y−1)=m(y1)+δΠ~t+1k−1​(y−1)−δΠ~t+1k​(y1,y−1),

and the cutoff xtkx^k_txtk​ is the smallest y∈[v‾,vˉ]y\in[\underline v,\bar v]y∈[v​,vˉ] with ΔΠtk(y,∅)≥0\Delta\Pi^k_t(y,\varnothing)\ge 0ΔΠtk​(y,∅)≥0. Comparing selling to y1y^1y1 today with waiting and selling at least one unit tomorrow (to the best of y1y^1y1 and the entrants) gives DΠtk(y1)D\Pi^k_t(y^1)DΠtk​(y1) (p. 17). Demand is weakly decreasing in the usual stochastic order if P(Nt+1>x)≤P(Nt>x)P(N_{t+1}>x)\le P(N_t>x)P(Nt+1​>x)≤P(Nt​>x) for all xxx and ttt.

Formalization targets

Goal: Theorem 2 (p. 17)

If NtN_tNt​ is weakly decreasing in the usual stochastic order then, for every k≥1k\ge 1k≥1,

xt+1k≤xtk(1≤t≤T−1),DΠtk(xtk)=0,x^k_{t+1}\le x^k_t\quad(1\le t\le T-1),\qquad D\Pi^k_t(x^k_t)=0,xt+1k​≤xtk​(1≤t≤T−1),DΠtk​(xtk​)=0,

and xtkx^k_txtk​ is the unique root of DΠtkD\Pi^k_tDΠtk​ in [v‾,vˉ][\underline v,\bar v][v​,vˉ] for t≤T−1t\le T-1t≤T−1: the seller is indifferent between selling to the cutoff type today and waiting one period to sell that unit tomorrow (the one-period-look-ahead property).

Central milestone: Theorem 1 (p. 15)

For every ttt and k≥1k\ge 1k≥1, the optimal rule sells to the highest buyer iff y1≥xtky^1\ge x^k_ty1≥xtk​, whatever the values of the lower buyers; xtk+1≤xtkx^{k+1}_t\le x^k_txtk+1​≤xtk​; and xtkx^k_txtk​ is the unique root of ΔΠtk\Delta\Pi^k_tΔΠtk​.

Milestones

In attack order:

  1. Lemma 1: allocations are monotone in values.
  2. Lemma 2: with cutoffs decreasing in the unit index, units can be treated one at a time.
  3. Equation (A.1): increasing differences of Π\PiΠ.
  4. Lemma 3: ΔΠ\Delta\PiΔΠ is independent of lower buyers, continuous and strictly increasing in y1y^1y1, and increasing in kkk.
  5. Footnote 12: the boundary values of ΔΠ\Delta\PiΔΠ.
  6. Theorem 1.
  7. Strict monotonicity of DΠD\PiDΠ in y1y^1y1 (p. 18).
  8. Lemma 4: DΠt+1k≥DΠtkD\Pi^k_{t+1}\ge D\Pi^k_tDΠt+1k​≥DΠtk​.

After the goal, (4.7) gives the period-(T−1)(T-1)(T−1) cutoff equation m(xT−1k)=δET[max⁡{m(xT−1k),m(vTk)}]m(x^k_{T-1})=\delta E_T[\max\{m(x^k_{T-1}),m(v^k_T)\}]m(xT−1k​)=δET​[max{m(xT−1k​),m(vTk​)}].

Significance

Theorem 1 says that the optimal allocation does not depend on how many buyers are present or what their values are, only on time and inventory. This is what makes the optimal mechanism implementable without eliciting values from buyers as they arrive. Theorem 2 turns the global dynamic program into local indifference conditions. In the continuous-time limit (§5 of the paper) these become differential equations, and the optimum is implemented by posted prices with an auction at the end of the season. Under weakly decreasing demand, therefore, the classical revenue-management practice of posting prices loses nothing against the best possible mechanism.

The paper's results are proved, in prose, with envelope-theorem and coupling arguments. They have not been machine-checked. A formal development would produce a verified backward-induction model of multi-unit dynamic allocation with random arrivals, with the structural results (monotonicity, deterministic cutoffs, monotone comparative statics in inventory and time) that recur across dynamic pricing and optimal stopping. Two printed gaps are recorded below: the positivity of m(vˉ)m(\bar v)m(vˉ), and the restriction of footnote 12 to t≤T−1t\le T-1t≤T−1.

Difficulty

The obvious argument fails at "deterministic". A priori the cutoff for the highest buyer depends on the values of the lower buyers, because selling a unit today changes which of them will be served later and when. Lemma 3(a) holds only under the induction hypothesis that all future cutoffs are already deterministic and decreasing in inventory, so Lemma 3, Theorem 1 and (A.1) form a single backward induction over periods and units, and none of them can be proved in isolation. The value function is an expectation, over a random number of i.i.d. entrants, of a maximum over sorted values, so continuity and strict monotonicity in y1y^1y1 (Lemma 3(b), and the same for DΠD\PiDΠ) are not available from general facts. The tempting argument for Theorem 2, that cutoffs fall over time simply because fewer buyers arrive later, is incomplete: Lemma 4 has to compare two periods with different arrival laws and different future cutoffs at once.

Formalization scope

Periods are natural numbers 1,…,T1,\dots,T1,…,T with T≥1T\ge1T≥1, and units are natural numbers. Values, marginal revenues and profits are real numbers. The buyers present form a finite multiset of reals, and an absent buyer is absent, never a value 000. The value law is the measure with density fff; the density is positive and continuous on [v‾,vˉ][\underline v,\bar v][v​,vˉ] and zero outside, and mmm is defined from fff and FFF. Expectations over a cohort are lower Lebesgue integrals against ∑nP(Nt=n) μ⊗n\sum_n P(N_t=n)\,\mu^{\otimes n}∑n​P(Nt​=n)μ⊗n of nonnegative bounded quantities, so no non-measurable or non-integrable integrand can silently become 000. The value function is defined by the Bellman equation (4.3), with ΠT+1≡0\Pi_{T+1}\equiv0ΠT+1​≡0. The sequence problem (4.1) over purchase times is not formalized; the paper says either may be used (footnote 16).

Standing assumptions and handled gaps:

  • δ∈(0,1)\delta\in(0,1)δ∈(0,1);
  • NtN_tNt​ independent across periods (only the marginal laws enter);
  • mmm strictly increasing and C1C^1C1 on [v‾,vˉ][\underline v,\bar v][v​,vˉ] with m(v‾)<0m(\underline v)<0m(v​)<0;
  • added: m(vˉ)>0m(\bar v)>0m(vˉ)>0, which footnote 12 uses without stating; without it no unit is ever sold and no cutoff exists;
  • added: f>0f>0f>0 on the closed support, needed for mmm to be defined there;
  • footnote 12's equality ΔΠtk(vˉ)=(1−δ)m(vˉ)\Delta\Pi^k_t(\bar v)=(1-\delta)m(\bar v)ΔΠtk​(vˉ)=(1−δ)m(vˉ) is stated for t≤T−1t\le T-1t≤T−1 only, since ΔΠTk=m\Delta\Pi^k_T=mΔΠTk​=m;
  • DΠtkD\Pi^k_tDΠtk​ is used only for t≤T−1t\le T-1t≤T−1, and Lemma 4 needs t+1≤T−1t+1\le T-1t+1≤T−1;
  • "decreasing" and "increasing" are weak except in Lemma 3(b) and for DΠD\PiDΠ;
  • at y1=xtky^1=x^k_ty1=xtk​ both selling and waiting are optimal.

The cutoff is defined from ΔΠ\Delta\PiΔΠ, never as the threshold of an optimal policy, and "optimal" always means maximal in (4.3) over every number of units sold. A formalization that postulates a threshold policy, replaces the random cohort by its mean, or sets absent buyers to value 000 would trivialize or change the statements and is ruled out. The mechanism-design reduction (IC/IR to (2.5)) and the continuous-time results of §5 are out of scope.

The usual stochastic order is the published platform definition StochasticOrders.Usual.UsualOrder. A complete development needs finite-horizon dynamic programming over multisets, expectations of functions of sorted i.i.d. samples, envelope arguments, and monotone coupling for the usual stochastic order on N\mathbb NN; these parts are reusable beyond this mission. Proofs of any milestone are welcome, as is a proof that (4.3) agrees with the sequence problem (4.1).

Selected references

  • S. Board and A. Skrzypacz, Revenue Management with Forward-Looking Buyers, Journal of Political Economy 124(4), 2016. https://doi.org/10.1086/686713
  • R. B. Myerson, Optimal Auction Design, Mathematics of Operations Research 6(1), 1981. https://doi.org/10.1287/moor.6.1.58
  • G. Gallego and G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8), 1994. https://doi.org/10.1287/mnsc.40.8.999
  • Y. Aviv and A. Pazgal, Optimal Pricing of Seasonal Products in the Presence of Forward-Looking Consumers, Manufacturing & Service Operations Management 10(3), 2008. https://doi.org/10.1287/msom.1070.0183
  • K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
  • M. Shaked and J. G. Shanthikumar, Stochastic Orders, Springer, 2007. https://doi.org/10.1007/978-0-387-34675-5
14 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

The Exact Feasibility of Randomized Solutions of Uncertain Convex Programs: Fully-Supported Problems Attain the Binomial Violation Tail ExactlyResearch Paper

Motivation

Many design problems in control, finance and engineering are convex programs whose constraints depend on an uncertain parameter δ\deltaδ: a solution must satisfy x∈Xδx\in\mathcal X_\deltax∈Xδ​ for every δ\deltaδ in a possibly infinite set Δ\DeltaΔ. Enforcing all constraints (robust optimization) is often intractable or overly conservative. The scenario approach draws NNN independent samples of δ\deltaδ, solves the convex program with those NNN constraints only, and asks how likely it is that the resulting solution violates a fresh constraint. The question matters wherever a randomized design is certified by a confidence statement, from robust control to chance-constrained portfolio selection.

Timeline.

  • Calafiore and Campi (Math. Program. 2005; IEEE TAC 2006) introduced the method and bounded the probability that the violation exceeds ε\varepsilonε by a quantity of order (Nd)(1−ε)N−d\binom Nd(1-\varepsilon)^{N-d}(dN​)(1−ε)N−d. The bound is valid but loose.
  • Campi and Garatti (SIAM J. Optim. 2008, this mission's source) proved the bound ∑i=0d−1(Ni)εi(1−ε)N−i\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}∑i=0d−1​(iN​)εi(1−ε)N−i for every convex problem satisfying existence and uniqueness of solutions. They showed it is attained with equality by every fully-supported problem, so it cannot be improved without further assumptions.
  • Later work extended the result to non-unique solutions, constraint removal, and non-convex decisions (Campi and Garatti, Introduction to the Scenario Approach, SIAM 2018).

Setting

Let (Δ,D,P)(\Delta,\mathcal D,\mathbb P)(Δ,D,P) be a probability space, c∈Rdc\in\mathbb R^dc∈Rd with d≥1d\ge1d≥1, and let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd and Xδ⊆Rd\mathcal X_\delta\subseteq\mathbb R^dXδ​⊆Rd (δ∈Δ\delta\in\Deltaδ∈Δ) be convex closed sets. The violation probability of a point xxx is

V(x)=P{δ∈Δ: x∉Xδ}.V(x)=\mathbb P\{\delta\in\Delta:\ x\notin\mathcal X_\delta\}.V(x)=P{δ∈Δ: x∈/Xδ​}.

For a multi-extraction (δ(1),…,δ(m))∈Δm(\delta^{(1)},\dots,\delta^{(m)})\in\Delta^m(δ(1),…,δ(m))∈Δm, the program PmP_mPm​ minimises c⊤xc^\top xc⊤x over x∈X∩⋂i=1mXδ(i)x\in\mathcal X\cap\bigcap_{i=1}^m\mathcal X_{\delta^{(i)}}x∈X∩⋂i=1m​Xδ(i)​. It is assumed that every PmP_mPm​ has a unique solution xm∗x^*_mxm∗​. A constraint δ(r)\delta^{(r)}δ(r) is a support constraint of PmP_mPm​ if its removal changes the solution. A convex PmP_mPm​ has at most ddd support constraints (Proposition 2.2). The problem is fully-supported if, for every m≥dm\ge dm≥d, the program PmP_mPm​ built from mmm independent samples has exactly ddd support constraints with Pm\mathbb P^mPm-probability one.

Two further objects carry the argument. For I⊆{1,…,m}\mathcal I\subseteq\{1,\dots,m\}I⊆{1,…,m} of cardinality ddd, SIS_{\mathcal I}SI​ is the set of multi-extractions whose support constraints have exactly the indexes in I\mathcal II. The violation law is

F(α)=Pd{V(xd∗)≤α},F(\alpha)=\mathbb P^d\{V(x^*_d)\le\alpha\},F(α)=Pd{V(xd∗​)≤α},

the distribution of the violation of the solution built from ddd samples.

Formalization targets

Goal: Theorem 2.4, equation (2.3)

For a fully-supported problem, every N≥dN\ge dN≥d and every ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1],

PN{V(xN∗)>ε}=∑i=0d−1(Ni)εi(1−ε)N−i.\mathbb P^N\{V(x^*_N)>\varepsilon\}=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}.PN{V(xN∗​)>ε}=i=0∑d−1​(iN​)εi(1−ε)N−i.

Milestones (PART 1 of §3)

  • Proposition 2.2: at most ddd support constraints.
  • SIˉ⊆S~IˉS_{\bar{\mathcal I}}\subseteq\widetilde S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ for Iˉ={1,…,d}\bar{\mathcal I}=\{1,\dots,d\}Iˉ={1,…,d}, where S~Iˉ\widetilde S_{\bar{\mathcal I}}SIˉ​ is the set where δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m) are not violated by the solution generated by δ(1),…,δ(d)\delta^{(1)},\dots,\delta^{(d)}δ(1),…,δ(d); and S~Iˉ⊆SIˉ\widetilde S_{\bar{\mathcal I}}\subseteq S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ up to a probability-zero set.
  • (3.3): Pm{SI}=∫01(1−α)m−dF(dα)\mathbb P^m\{S_{\mathcal I}\}=\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)Pm{SI​}=∫01​(1−α)m−dF(dα) for every I\mathcal II of cardinality ddd.
  • (3.4): (md)∫01(1−α)m−dF(dα)=1\binom md\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)=1(dm​)∫01​(1−α)m−dF(dα)=1 for all m≥dm\ge dm≥d.
  • Moment uniqueness: F(α)=αdF(\alpha)=\alpha^dF(α)=αd is the only distribution on [0,1][0,1][0,1] satisfying (3.4).
  • (3.2): F(α)=αdF(\alpha)=\alpha^dF(α)=αd.
  • Partition chain: PN{V(xN∗)>ε}=(Nd)∫(ε,1](1−α)N−dF(dα)\mathbb P^N\{V(x^*_N)>\varepsilon\}=\binom Nd\int_{(\varepsilon,1]}(1-\alpha)^{N-d}F(\mathrm d\alpha)PN{V(xN∗​)>ε}=(dN​)∫(ε,1]​(1−α)N−dF(dα).
  • Integration by parts: (Nd)∫ε1(1−α)N−d d αd−1 dα=∑i=0d−1(Ni)εi(1−ε)N−i\binom Nd\int_\varepsilon^1(1-\alpha)^{N-d}\,d\,\alpha^{d-1}\,\mathrm d\alpha=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}(dN​)∫ε1​(1−α)N−ddαd−1dα=∑i=0d−1​(iN​)εi(1−ε)N−i.

Significance

The result. Equation (2.3) shows that the scenario bound (2.2) is tight: no bound that depends only on NNN, ddd and ε\varepsilonε can be smaller, because a fully-supported problem attains it. The distribution of V(xN∗)V(x^*_N)V(xN∗​) is then a Beta law, PN{V(xN∗)≤ε}\mathbb P^N\{V(x^*_N)\le\varepsilon\}PN{V(xN∗​)≤ε} being the probability that a Binomial(N,ε)\mathrm{Binomial}(N,\varepsilon)Binomial(N,ε) variable is at least ddd, the same for every fully-supported problem. This is what fixes the sample sizes used in practice: NNN is chosen so that the binomial tail is below a confidence level β\betaβ. Fact (3.2), that V(xd∗)V(x^*_d)V(xd∗​) has distribution function αd\alpha^dαd whatever the problem, is a distribution-free statement of independent interest.

Formalizing it. The result is proved in the source. As far as is known it has no machine-checked proof. The goal statement is already posed on the platform, and this mission supplies the paper's proof structure as milestones. Two milestones are reusable outside the scenario approach: the uniqueness of a distribution on [0,1][0,1][0,1] given the moments ∫(1−α)k dF=1/(d+kd)\int(1-\alpha)^k\,\mathrm dF=1/\binom{d+k}d∫(1−α)kdF=1/(dd+k​), and the incomplete-beta identity for binomial tails.

Difficulty

The obvious route would compute the law of V(xN∗)V(x^*_N)V(xN∗​) directly, but it depends on the geometry of the constraints. The paper never computes it. It obtains the law of V(xd∗)V(x^*_d)V(xd∗​) only implicitly, through the infinite family of identities (3.4), and recovers it by a uniqueness theorem for moment problems. Two points need care. First, full support holds only almost surely: duplicated samples, for instance, produce programs with fewer than ddd support constraints, so every set identity holds only up to null sets. Second, the claim that removing a non-support constraint keeps the first ddd constraints as the only support constraints uses Proposition 2.2. Two identical non-support constraints show that a constraint can become a support constraint after another is removed, unless the count is bounded by ddd.

Formalization scope

Goal. The goal is the already-posed platform statement ScenarioApproach.Generalization.violation_tail_eq_binomial_sum_of_fullySupported (theorem id cffaa932-832c-42ca-9e81-1848ffab7e34), referenced as it stands and not restated. Proposition 2.2 is the platform statement card_support_constraints_le_dim (f70e8aa3-…). This mission adds the PART 1 steps as milestones under ScenarioExact.PartOne.

Representation. Decisions are vectors in EuclideanSpace ℝ (Fin d). A multi-extraction is ω : Fin m → Δ, with 0-based indexes, so Iˉ\bar{\mathcal I}Iˉ is {i:i<d}\{i : i<d\}{i:i<d} and "δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m)" are the indexes j≥dj\ge dj≥d. Pm\mathbb P^mPm is Measure.pi (fun _ : Fin m => P). VVV, the feasible set, solutions, support constraints and full support are the published definitions violation, feasibleSet, IsSolution, IsSupportConstraint and FullySupported. A support constraint is one whose removal admits a feasible point of strictly smaller cost, which under uniqueness is the paper's "its removal changes the solution". Full support is almost sure, not pointwise.

Hypotheses made explicit. Assumption 1 is entered as existence and uniqueness of the solution for every number of constraints and every sample, together with a family of solution maps θs k, each assumed to solve PkP_kPk​ and to be measurable. Under uniqueness, θs N is the goal's solution map. The paper's "measurability ... is assumed for granted" (p. 4) is replaced by joint measurability of {(x,δ):x∈Xδ}\{(x,\delta):x\in\mathcal X_\delta\}{(x,δ):x∈Xδ​} and measurability of the solution maps, the same two hypotheses as the goal. No set SIS_{\mathcal I}SI​ is assumed measurable. The nonempty-interior clause of Assumption 1 is unused in PART 1 and is not assumed, so the milestones compose with the goal.

Conventions. FFF is the push-forward measure violationLaw on R\mathbb RR, with F(α)F(\alpha)F(α) = violationLaw … (Set.Iic α). Integrals against FFF are lower Lebesgue integrals of nonnegative integrands, as extended nonnegative reals: over [0,1][0,1][0,1] for ∫01\int_0^1∫01​, and over (ε,1](\varepsilon,1](ε,1] for ∫ε1\int_\varepsilon^1∫ε1​ in the partition chain, since that integral comes from the event V>εV>\varepsilonV>ε. The integration-by-parts identity is a real interval integral. Ranges are 1≤d1\le d1≤d, d≤md\le md≤m, d≤Nd\le Nd≤N and 0≤ε≤10\le\varepsilon\le10≤ε≤1.

Ruled out. A pointwise "exactly ddd support constraints for every sample" would be unsatisfiable for many problems (repeated samples) and would trivialise the probabilistic content, so it is not used. Assuming measurability of the event {V(xN∗)>ε}\{V(x^*_N)>\varepsilon\}{V(xN∗​)>ε} or of SIS_{\mathcal I}SI​, or the identity Pm{SI}=Pm{S~I}\mathbb P^m\{S_{\mathcal I}\}=\mathbb P^m\{\widetilde S_{\mathcal I}\}Pm{SI​}=Pm{SI​}, as a hypothesis would assume part of the conclusion, so none of these is a hypothesis.

Infrastructure. A complete development needs: the support-constraint count (Proposition 2.2, a Helly-type argument), invariance of product measures under coordinate permutations, the change-of-variables formula for push-forward measures, the Hausdorff moment uniqueness theorem on [0,1][0,1][0,1], and the binomial–incomplete-beta identity. The last two are general results, and contributions of them are welcome independently.

Selected references

  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM J. Optim. 19(3) (2008) 1211–1230. https://doi.org/10.1137/07069821X
  • G. Calafiore, M. C. Campi, Uncertain convex programs: randomized solutions and confidence levels, Math. Program. 102 (2005) 25–46. https://doi.org/10.1007/s10107-003-0499-y
  • G. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Trans. Automat. Control 51(5) (2006) 742–753. https://doi.org/10.1109/TAC.2006.875041
  • M. C. Campi, S. Garatti, Introduction to the Scenario Approach, SIAM, 2018. https://doi.org/10.1137/1.9781611975444
  • A. N. Shiryaev, Probability, 2nd ed., Springer, 1996, Chapter II, §12. https://doi.org/10.1007/978-1-4757-2539-1
14 thms2 active usersReviewed
Linear OptimizationOperations ResearchTheoretical Computer Science·Captain: mikedeng1

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

Motivation

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

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

Timeline:

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Lemma 5.4

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

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

Milestone: Theorem 3.2 (packing half, on routing)

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

Milestone: Lemma 5.3

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

Selected references

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

Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case 1: Additive Demand: k-Concave Profit-to-Go, Optimal (s, S, p) PolicyResearch Paper

Motivation

A retailer that sets both its replenishment quantities and its prices over a finite selling season faces a coupled decision: the price shapes the demand that the inventory must serve, and the inventory position shapes which price is worth charging. With a fixed cost per order, the classical inventory answer is the (s, S) policy of Scarf (1960): when the stock falls below a reorder point sss, order up to the level SSS. Thomas (1974) asked what happens when the price is also a decision, and conjectured that an (s, S, p) policy — an (s, S) ordering rule together with a price that depends on the stock level — is optimal "under fairly general conditions". He also gave a counterexample when prices are restricted to a discrete set.

Chen and Simchi-Levi (Operations Research 52(6), 2004) settled the conjecture for the finite horizon. When demand is additive in a random shock, wt=Dt(pt)+βtw_t = D_t(p_t) + \beta_twt​=Dt​(pt​)+βt​, the conjecture holds (§3, Theorem 3.1). When the shock is not additive, it fails, and a weaker policy class is optimal (§4, the second mission of this series). This mission formalizes the additive case.

Timeline:

  • Scarf (1960): (s, S) policies are optimal for the fixed-cost inventory problem, through k-convexity.
  • Thomas (1974): conjectures (s, S, p) optimality with a continuous price range.
  • Federgruen and Heching (1999): joint pricing and inventory without a fixed cost; base-stock list-price policies are optimal.
  • Polatoglu and Sahin (2000): the lost-sales variant; sufficient conditions for (s, S, p) optimality.
  • Chen and Simchi-Levi (2004): (s, S, p) optimality for additive demand with backlogging, and its failure in general.

Setting

There are TTT periods t=1,…,Tt = 1, \dots, Tt=1,…,T. In period ttt the firm starts with inventory xxx, orders up to a level y≥xy \ge xy≥x at cost k δ(y−x)+ct(y−x)k\,\delta(y - x) + c_t(y - x)kδ(y−x)+ct​(y−x), where k≥0k \ge 0k≥0 is a fixed cost, ctc_tct​ a unit cost and δ(u)=1\delta(u) = 1δ(u)=1 if u>0u > 0u>0 and 000 otherwise, and sets a price. Demand is wt=αtDt(pt)+βtw_t = \alpha_t D_t(p_t) + \beta_twt​=αt​Dt​(pt​)+βt​ for a random pair ϵt=(αt,βt)\epsilon_t = (\alpha_t, \beta_t)ϵt​=(αt​,βt​) with Eαt=1\mathbb E\alpha_t = 1Eαt​=1, Eβt=0\mathbb E\beta_t = 0Eβt​=0; in the additive case αt=1\alpha_t = 1αt​=1. Unmet demand is backlogged, and an end-of-period inventory xxx costs ht(x)h_t(x)ht​(x), a convex function.

Since price and expected demand determine each other, the decision is an expected demand d∈[d‾t,dˉt]d \in [\underline d_t, \bar d_t]d∈[d​t​,dˉt​], with price Pt(d)=Dt−1(d)P_t(d) = D_t^{-1}(d)Pt​(d)=Dt−1​(d) and expected revenue Rt(d)=d Pt(d)R_t(d) = d\,P_t(d)Rt​(d)=dPt​(d), assumed concave. With Gt(y,d)=E ht(y−αtd−βt)G_t(y, d) = \mathbb E\,h_t(y - \alpha_t d - \beta_t)Gt​(y,d)=Eht​(y−αt​d−βt​), the profit-to-go functions satisfy vT+1≡0v_{T+1} \equiv 0vT+1​≡0 and, for t=T,…,1t = T, \dots, 1t=T,…,1,

vt(x)=ctx+max⁡y≥x[−k δ(y−x)+gt(y,dt(y))],(2)v_t(x) = c_t x + \max_{y \ge x}\Big[-k\,\delta(y - x) + g_t\big(y, d_t(y)\big)\Big], \qquad (2)vt​(x)=ct​x+y≥xmax​[−kδ(y−x)+gt​(y,dt​(y))],(2) gt(y,d)=Rt(d)−cty+E{−ht(y−αtd−βt)+vt+1(y−αtd−βt)},(3)g_t(y, d) = R_t(d) - c_t y + \mathbb E\big\{-h_t(y - \alpha_t d - \beta_t) + v_{t+1}(y - \alpha_t d - \beta_t)\big\}, \qquad (3)gt​(y,d)=Rt​(d)−ct​y+E{−ht​(y−αt​d−βt​)+vt+1​(y−αt​d−βt​)},(3)

where dt(y)d_t(y)dt​(y) maximizes gt(y,⋅)g_t(y, \cdot)gt​(y,⋅) over [d‾t,dˉt][\underline d_t, \bar d_t][d​t​,dˉt​]. A function fff is k-convex if k+f(z+y)≥f(y)+zb(f(y)−f(y−b))k + f(z + y) \ge f(y) + \frac{z}{b}\big(f(y) - f(y - b)\big)k+f(z+y)≥f(y)+bz​(f(y)−f(y−b)) for all z≥0z \ge 0z≥0, b>0b > 0b>0, yyy (Definition 2.1), and k-concave if −f-f−f is k-convex. Assumptions 3–5 of the paper give GtG_tGt​ the stated one-sided growth limits and polynomial growth O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ), and give demand a finite ρ\rhoρ-th moment.

Formalization targets

Goal: Theorem 3.1(c)–(d)

For additive demand and every period ttt: gt(y,⋅)g_t(y, \cdot)gt​(y,⋅) attains its maximum at some dt(y)d_t(y)dt​(y), the functions y↦gt(y,dt(y))y \mapsto g_t(y, d_t(y))y↦gt​(y,dt​(y)) and x↦vt(x)x \mapsto v_t(x)x↦vt​(x) are k-concave, and there exist st≤Sts_t \le S_tst​≤St​ such that

y∗(x)={St,x<st,x,x≥st,y^*(x) = \begin{cases} S_t, & x < s_t,\\ x, & x \ge s_t,\end{cases}y∗(x)={St​,x,​x<st​,x≥st​,​

maximizes −k δ(y−x)+gt(y,dt(y))-k\,\delta(y - x) + g_t(y, d_t(y))−kδ(y−x)+gt​(y,dt​(y)) over y≥xy \ge xy≥x, vt(x)=ctx−k δ(y∗(x)−x)+gt(y∗(x),dt(y∗(x)))v_t(x) = c_t x - k\,\delta(y^*(x) - x) + g_t(y^*(x), d_t(y^*(x)))vt​(x)=ct​x−kδ(y∗(x)−x)+gt​(y∗(x),dt​(y∗(x))), and a best expected demand exists at y∗(x)y^*(x)y∗(x); the price is Dt−1D_t^{-1}Dt−1​ of it.

Milestones

  1. Definitions 2.1 and 2.2 of k-convexity are equivalent.
  2. Lemma 1(d): a continuous coercive k-convex function has the (s, S) shape (already proved on the platform).
  3. Lemma 2: a maximizer dt(y)d_t(y)dt​(y) can be chosen with y−dt(y)y - d_t(y)y−dt​(y) nondecreasing.
  4. Theorem 3.1(a): gt(y,d)=O(∣y∣ρ)g_t(y, d) = O(|y|^\rho)gt​(y,d)=O(∣y∣ρ) and vt(x)=O(∣x∣ρ)v_t(x) = O(|x|^\rho)vt​(x)=O(∣x∣ρ).
  5. Theorem 3.1(b): gtg_tgt​ is continuous, gt(y,d)→−∞g_t(y, d) \to -\inftygt​(y,d)→−∞ as ∣y∣→∞|y| \to \infty∣y∣→∞, and dt(y)d_t(y)dt​(y) exists.
  6. Inequality (7): gt(y,dt(y))g_t(y, d_t(y))gt​(y,dt​(y)) is k-concave when the continuation value is.
  7. The display of vtv_tvt​: its (s, S) form and the transfer of k-concavity from gt(y,dt(y))g_t(y, d_t(y))gt​(y,dt​(y)) to vtv_tvt​.

Significance

The theorem identifies the structure of an optimal policy for a basic model of coordinated pricing and replenishment: two numbers per period determine the ordering decision, and the price is a function of the post-order stock. It confirms Thomas's conjecture in the additive case and tells a computation or an approximation scheme which policy class it may restrict to; §5 of the paper extends it to a nonincreasing fixed cost, the infinite horizon and Markovian demand.

The result is proved in the paper; to our knowledge it has no machine-checked proof. A formalization adds checked versions of the k-convexity toolkit (the equivalence of the two standard definitions; the (s, S) structure lemma), a checked monotone-selection argument for a parametric maximization, and a checked finite-horizon induction in which an expectation, a maximization over a continuous action and a fixed cost interact. The proof of part (a) is omitted in the paper ("similar to that of Theorem 1 in Federgruen and Heching (1999)"), so formalizing it supplies a missing argument.

Difficulty

The obvious argument fails at the expectation. A k-concave function composed with a shift y↦y−d−βy \mapsto y - d - \betay↦y−d−β is k-concave for a fixed ddd, but here the demand decision depends on yyy, and k-concavity, unlike concavity, is not preserved under an arbitrary reparametrization: Definition 2.2 is asymmetric in its two points. The inequality needed for the continuation value requires the post-demand levels y−dt(y)−βty - d_t(y) - \beta_ty−dt​(y)−βt​ to be ordered like the inventory levels yyy. That is the content of Lemma 2, and it uses additivity; for multiplicative demand the ordering fails, and so does the theorem (§4).

The second difficulty is analytic: each step of the induction needs a continuous continuation value of polynomial growth, so that the expectation in (3) is finite and continuous, the maximum over ddd is attained, and gtg_tgt​ is coercive.

Formalization scope

The model is a structure of real data indexed by t∈Nt \in \mathbb Nt∈N, with periods 1,…,T1, \dots, T1,…,T; the law of (αt,βt)(\alpha_t, \beta_t)(αt​,βt​) is a probability measure on R2\mathbb R^2R2 and expectations are Bochner integrals. The formalization works in expected-demand space d∈[d‾t,dˉt]d \in [\underline d_t, \bar d_t]d∈[d​t​,dˉt​], equivalent to price space because DtD_tDt​ is a continuous strictly decreasing bijection. Additivity is "αt=1\alpha_t = 1αt​=1 almost surely". The profit-to-go is defined by recursion on the number of periods to go, with vT+1=0v_{T+1} = 0vT+1​=0. Maxima are written as real suprema; every target that uses them asserts that they are attained, so the convention that an unbounded supremum is 000 never enters. k-convexity is the platform's BertsekasKConvex (Definition 2.1); k-concavity of fff is k-convexity of −f-f−f.

Conventions and restrictions relative to the printed page:

  • O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ) is an explicit bound C(1+∣y∣ρ)C(1 + |y|^\rho)C(1+∣y∣ρ) with ρ∈N\rho \in \mathbb Nρ∈N, uniform in ddd.
  • Assumption 5, printed E{Dt(p,ϵt)}ρ<∞E\{D_t(p, \epsilon_t)\}^\rho < \inftyE{Dt​(p,ϵt​)}ρ<∞, is read as E∣αtd+βt∣ρ<∞\mathbb E|\alpha_t d + \beta_t|^\rho < \inftyE∣αt​d+βt​∣ρ<∞.
  • Integrability of ht(y−αtd−βt)h_t(y - \alpha_t d - \beta_t)ht​(y−αt​d−βt​) is part of Assumption 4, and Theorem 3.1(a) also asserts that the expectation of vt+1v_{t+1}vt+1​ in (3) is finite.
  • Added hypotheses: cT+1=0c_{T+1} = 0cT+1​=0 (the paper uses cT+1c_{T+1}cT+1​ without defining it), ct≥0c_t \ge 0ct​≥0 (used in the proof of part (b); without it gtg_tgt​ need not tend to −∞-\infty−∞), and k≥0k \ge 0k≥0.
  • Independence across periods is not stated; the dynamic program uses only each period's marginal law.
  • The paper writes st<Sts_t < S_tst​<St​ in the proof; for k=0k = 0k=0 equality is possible, so the targets use st≤Sts_t \le S_tst​≤St​.

A trivializing formalization is ruled out: the targets assert attainment of every maximum they mention and the identity between vt(x)v_t(x)vt​(x) and the maximized objective, so a supremum that defaults to 000, or an integral of a non-integrable function, cannot make them hold vacuously; and the assumptions are satisfiable (a one-period instance with h(x)=∣x∣h(x) = |x|h(x)=∣x∣ meets all of them).

A complete development needs: continuity of parametric integrals under polynomial domination; attainment of maxima over compact intervals; Topkis-style monotone selection for functions with increasing differences; the (s, S) structure lemma for k-convex functions (proved on the platform); and the closure of k-concavity under the operations above. The k-convexity results and the monotone-selection lemma are reusable for the general-demand mission of this series and for other fixed-cost inventory models. Contributions to any milestone are welcome, including proofs that rely on platform results by Topkis (Supermodularity.Monotonicity.argmax_increasing_of_increasing_differences).

Selected references

  • X. Chen, D. Simchi-Levi, Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case, Operations Research 52(6), 887–896, 2004. https://doi.org/10.1287/opre.1040.0127
  • H. Scarf, The Optimality of (S, s) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960.
  • L. J. Thomas, Price and Production Decisions with Random Demand, Operations Research 22, 513–518, 1974.
  • E. L. Porteus, On the Optimality of Generalized (s, S) Policies, Management Science 17, 411–426, 1971.
  • A. Federgruen, A. Heching, Combined Pricing and Inventory Control Under Uncertainty, Operations Research 47(3), 454–475, 1999. https://doi.org/10.1287/opre.47.3.454
  • H. Polatoglu, I. Sahin, Optimal Procurement Policies under Price-Dependent Demand, International Journal of Production Economics 65, 141–171, 2000.
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998.
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, Athena Scientific, 1995.
11 thms3 active usersReviewed
Discrete GeometryLinear OptimizationOperations Research+1·Captain: mikedeng1

A Friendly Smoothed Analysis of the Simplex Method: Gaussian-Perturbed Shadows Have at Most 3 + 128πe²d²√(log n)σ⁻²(1 + 4σ√(d log n))(1 + 16σ√(log n)) Expected EdgesResearch Paper

Why the simplex method needs smoothed analysis

The simplex method solves linear programs quickly in practice, yet for most pivot rules there are inputs on which it takes exponentially many steps (Klee and Minty, 1972). Smoothed analysis, introduced by Spielman and Teng (JACM 2004), explains the gap: it measures the expected running time when every constraint row of a worst-case input is perturbed by a small random amount of size σ\sigmaσ. For the shadow vertex pivot rule, the running time is controlled by a purely geometric quantity, the number of edges of a random polygon, and the smoothed complexity of the method is essentially an upper bound on that number.

Timeline (bounds on the expected shadow size of smoothed unit LPs, as surveyed in §1.1 of the paper). Borgwardt (1987) proved Θ(d1.5log⁡n)\Theta(d^{1.5}\sqrt{\log n})Θ(d1.5logn​) for rows drawn from a centered Gaussian, asymptotically as n→∞n\to\inftyn→∞; this is the case aˉi=0\bar a_i=0aˉi​=0 of the model below. Spielman and Teng (2004) gave the first smoothed bound, O(d3nσ−6+d6nlog⁡3n)O(d^3n\sigma^{-6}+d^6n\log^3 n)O(d3nσ−6+d6nlog3n). Deshpande and Spielman (FOCS 2005) improved the dependence on σ\sigmaσ to O(dn2log⁡n σ−2+d2n2log⁡2n)O(dn^2\log n\,\sigma^{-2}+d^2n^2\log^2 n)O(dn2lognσ−2+d2n2log2n). Vershynin (SIAM J. Comput. 2009) reduced the dependence on nnn to polylogarithmic, O(d3σ−4+d5log⁡2n)O(d^3\sigma^{-4}+d^5\log^2 n)O(d3σ−4+d5log2n). Dadush and Huiberts (arXiv:1711.05667, STOC 2018, SIAM J. Comput. 2020) proved O(d2log⁡n σ−2+d2.5log⁡n σ−1+d2.5log⁡1.5n)O(d^2\sqrt{\log n}\,\sigma^{-2}+d^{2.5}\log n\,\sigma^{-1}+d^{2.5}\log^{1.5}n)O(d2logn​σ−2+d2.5lognσ−1+d2.5log1.5n) for Gaussian perturbations by a simpler argument, which also gives bounds for Laplace perturbations.

Setting

Fix dimensions n≥d≥3n\ge d\ge3n≥d≥3 and a shadow plane, a two-dimensional linear subspace W⊆RdW\subseteq\mathbb R^dW⊆Rd, chosen independently of the randomness. The constraint vectors a1,…,an∈Rda_1,\dots,a_n\in\mathbb R^da1​,…,an​∈Rd are independent, and ai∼Nd(aˉi,σ)a_i\sim N_d(\bar a_i,\sigma)ai​∼Nd​(aˉi​,σ) is Gaussian with center aˉi\bar a_iaˉi​, ∥aˉi∥≤1\|\bar a_i\|\le1∥aˉi​∥≤1, and standard deviation σ>0\sigma>0σ>0 in every coordinate, i.e. with density (2πσ2)−d/2e−∥x−aˉi∥2/(2σ2)(2\pi\sigma^2)^{-d/2}e^{-\|x-\bar a_i\|^2/(2\sigma^2)}(2πσ2)−d/2e−∥x−aˉi​∥2/(2σ2).

Let Q=conv⁡(a1,…,an)Q=\operatorname{conv}(a_1,\dots,a_n)Q=conv(a1​,…,an​). The shadow polygon is Q∩WQ\cap WQ∩W. An edge of a convex set KKK is a segment [u,v][u,v][u,v], u≠vu\ne vu=v, which is an extreme subset of KKK; ∣edges⁡(K)∣|\operatorname{edges}(K)|∣edges(K)∣ is the number of edges. The number of pivots of the shadow vertex method on the unit LP {x:Ax≤1}\{x:Ax\le\mathbf1\}{x:Ax≤1} between two objectives spanning WWW is at most ∣edges⁡(Q∩W)∣|\operatorname{edges}(Q\cap W)|∣edges(Q∩W)∣ (the paper's Lemma 11 and Theorem 12).

The proof passes through general row distributions with density μ\muμ and mean yyy, described by four parameters: the log-Lipschitz constant LLL (μ(x)≤eL∥x−x′∥μ(x′)\mu(x)\le e^{L\|x-x'\|}\mu(x')μ(x)≤eL∥x−x′∥μ(x′)); the line variance τ2\tau^2τ2 (the least variance of μ\muμ restricted to a line); the nnn-th deviation rnr_nrn​ (the least rrr with ∫r∞Pr⁡[∣(X−y)Tθ∣≥t] dt≤r/n\int_r^\infty\Pr[|(X-y)^\mathsf T\theta|\ge t]\,dt\le r/n∫r∞​Pr[∣(X−y)Tθ∣≥t]dt≤r/n for all unit θ\thetaθ); and the cutoff radius Rn,dR_{n,d}Rn,d​ (the least RRR with Pr⁡[∥X−y∥≥R]≤1/(d(nd))\Pr[\|X-y\|\ge R]\le 1/(d\binom nd)Pr[∥X−y∥≥R]≤1/(d(dn​))). The Gaussian is not log-Lipschitz; the Laplace–Gaussian distribution LGd(aˉ,σ,r)LG_d(\bar a,\sigma,r)LGd​(aˉ,σ,r), whose density equals the Gaussian one inside the ball of radius rσr\sigmarσ around aˉ\bar aaˉ and decays like e−∥x−aˉ∥r/σe^{-\|x-\bar a\|r/\sigma}e−∥x−aˉ∥r/σ outside, replaces it.

Formalization targets

Goal: Theorem 13 with explicit constants

E[∣edges⁡(conv⁡(a1,…,an)∩W)∣]≤3+128πe2d2log⁡nσ2(1+4σdlog⁡n)(1+16σlog⁡n).\mathbb E\big[|\operatorname{edges}(\operatorname{conv}(a_1,\dots,a_n)\cap W)|\big]\le 3+\frac{128\pi e^2 d^2\sqrt{\log n}}{\sigma^2}\big(1+4\sigma\sqrt{d\log n}\big)\big(1+16\sigma\sqrt{\log n}\big).E[∣edges(conv(a1​,…,an​)∩W)∣]≤3+σ2128πe2d2logn​​(1+4σdlogn​)(1+16σlogn​).

The paper states O(d2log⁡n σ−2+d2.5log⁡n σ−1+d2.5log⁡1.5n)O(d^2\sqrt{\log n}\,\sigma^{-2}+d^{2.5}\log n\,\sigma^{-1}+d^{2.5}\log^{1.5}n)O(d2logn​σ−2+d2.5lognσ−1+d2.5log1.5n); the constant above is the one its proof produces (Theorem 22's proof, Lemma 45, Lemma 46).

Intermediate targets (milestones)

  • the parametrized shadow bound (Theorem 22), E∣edges⁡∣≤2+8πe2d1.5(L/τ)(1+Rn,d)(1+4rn)\mathbb E|\operatorname{edges}|\le 2+8\pi e^2d^{1.5}(L/\tau)(1+R_{n,d})(1+4r_n)E∣edges∣≤2+8πe2d1.5(L/τ)(1+Rn,d​)(1+4rn​);
  • its ingredients: the edge-counting reduction (Lemma 25), the perimeter bound 2π(1+4rn)2\pi(1+4r_n)2π(1+4rn​) (Lemmas 19, 26), the conditioning on bounded diameter (Lemma 29), the chord combination calculus (Lemmas 35, 36), and the two expected-length bounds (Lemmas 39, 40, 41), together with the trade-off LR(1/2)≥d/3LR(1/2)\ge d/3LR(1/2)≥d/3 (Lemma 21);
  • the Gaussian specialisation: Laplace–Gaussian tails (Lemma 44), its parameters (Lemma 45), and the comparison with the Gaussian (Lemma 46).

Significance

The bound gives the best known smoothed complexity of a simplex method, with only log⁡n\sqrt{\log n}logn​ dependence on the number of constraints. Section 4 of the paper turns it into a complete two-phase shadow vertex algorithm with O(d2log⁡n σ−2+d3log⁡1.5n)O(d^2\sqrt{\log n}\,\sigma^{-2}+d^3\log^{1.5}n)O(d2logn​σ−2+d3log1.5n) expected pivots. The parametrized Theorem 22 applies to any perturbation family with bounded parameters, so it also yields shadow bounds for Laplace and other noise models.

The result is proved; it has not been machine-checked. A formalization adds a verified chain from four distributional parameters to a polygon edge count. The intermediate statements have independent value: an expected-perimeter bound for random polygons, the deterministic chord-length identity for simplices, and tail estimates for the Laplace–Gaussian distribution.

Difficulty

The expected number of edges is a sum, over all (nd)\binom nd(dn​) index sets, of the probability that their simplex meets WWW in an edge; there are far too many terms for per-set estimates to give a bound polylogarithmic in nnn. The paper's route (inspired by Kelner and Spielman) instead compares the expected perimeter with the expected length of an edge, and the hard part is a lower bound on the expected length of an edge conditioned on it appearing. That conditioning is on a probability-zero configuration (the simplex lying in a fixed hyperplane), and its analysis needs Blaschke's change of variables, the shape decomposition of the simplex, and log-Lipschitz shifts of densities. On the Gaussian side, the density is not log-Lipschitz, which forces the Laplace–Gaussian detour and a comparison of edge counts under two different laws.

Formalization scope

Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d), [n][n][n] is Fin n, log⁡\loglog is the natural logarithm. The Gaussian is the published SmoothedSimplex.Shadow.gaussian, the edge relation is the published Hirsch.Adj, and the rows' joint law is Measure.pi. Edges are segments counted once; the perimeter is the sum of edge lengths. Expectations are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and every edge-count bound also asserts almost-everywhere measurability of the count, so the integral is a genuine expectation. Conditional expectations are stated multiplied out (no division by a probability), and the parameters of Definitions 15–18 are upper-bound predicates (lower bound for the line variance), which is how every statement of the paper uses them.

Hypotheses added relative to the page, each implicit there: σ>0\sigma>0σ>0; L,τ>0L,\tau>0L,τ>0 and R,r≥0R,r\ge0R,r≥0 in Theorem 22; positivity of log-Lipschitz densities; the standing n≥d≥3n\ge d\ge3n≥d≥3 of §3 in Lemma 44. Lemmas 39 and 41 are stated on the explicit conditional densities that the paper derives in Lemma 37, instead of through regular conditional distributions; Lemma 39 takes the conclusion d/3≤LRd/3\le LRd/3≤LR of Lemma 21 as a hypothesis, as its proof uses it. Two printed slips are corrected: Lemma 46's formula is stated for conv⁡(a1,…,an)∩W\operatorname{conv}(a_1,\dots,a_n)\cap Wconv(a1​,…,an​)∩W, as its sentence and proof have it, and Lemma 35 refers to Definition 33 (not 34).

The goal mentions only Gaussian rows, WWW, and the edge count of conv⁡(a)∩W\operatorname{conv}(a)\cap Wconv(a)∩W. It cannot be trivialized by an unsatisfiable parameter hypothesis or a bound on edge lengths, since it has neither; and it counts edges of the polygon, not of the polytope conv⁡(a)\operatorname{conv}(a)conv(a).

A complete development needs: Gaussian and Laplace–Gaussian tail bounds; measurability of the edge count of a random polygon; the perimeter monotonicity of convex sets; Blaschke's change of variables (Theorem 7 of the paper, quoted from Blaschke 1935), which Mathlib does not have; and the regular conditioning of Lemmas 32, 37 and 38. The Blaschke formula, the perimeter facts for convex polygons, and the tail bounds are reusable well beyond this mission. Contributions to any milestone, or to these supporting results as separate theorems, are welcome.

Selected references

  • D. Dadush, S. Huiberts, A Friendly Smoothed Analysis of the Simplex Method, SIAM J. Comput. 49(5), 2020 (STOC 2018); preprint arXiv:1711.05667v4, 2019. https://arxiv.org/abs/1711.05667
  • D. A. Spielman, S.-H. Teng, Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time, J. ACM 51(3), 2004. https://doi.org/10.1145/990308.990310
  • R. Vershynin, Beyond Hirsch Conjecture: Walks on Random Polytopes and Smoothed Complexity of the Simplex Method, SIAM J. Comput. 39(2), 2009. https://doi.org/10.1137/070683386
  • A. Deshpande, D. A. Spielman, Improved smoothed analysis of the shadow vertex simplex method, FOCS 2005 (cited as [DS05] in the paper).
  • V. Klee, G. J. Minty, How good is the simplex algorithm?, in Inequalities III, Academic Press, 1972 (cited as [KM70] in the paper).
20 thms3 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