Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

881–900 of 1094
OpenCompletedAll
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
🏆Completed
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
🏆Completed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

On the Graph Structure of Convex Polyhedra in n-Space II: Whitney's Theorem, a Graph Is n-Tuply Connected iff Any Two Points Are Joined by n Disjoint PathsResearch Paper

Motivation

Vertex connectivity measures how robust a network is against the failure of nodes. It can be measured in two ways that look different. One way counts the fewest nodes whose removal disconnects the network. The other counts the routes between two nodes that share no intermediate node. Whitney's theorem (1932) says that the two measures agree for every pair of nodes. It is the vertex form of Menger's theorem, and it underlies reliability analysis of communication and transportation networks, the design of fault-tolerant routing, and much of structural graph theory.

M. L. Balinski's 1961 paper On the graph structure of convex polyhedra in n-space proves that the graph of a bounded full-dimensional polyhedron in nnn-space is nnn-tuply connected (the subject of Mission I of this series). It then invokes Whitney's theorem to conclude that any two vertices of such a polyhedron are joined by nnn disjoint paths. Balinski gives a short new proof of Whitney's theorem through the max-flow min-cut theorem of Ford and Fulkerson and of Dantzig and Fulkerson. That makes the theorem a consequence of linear programming duality. This mission formalizes that part of the paper: the network vocabulary, the max-flow min-cut theorem with capacities on both points and lines, the integrality of maximum flows, and Whitney's theorem itself.

Timeline.

  • 1927: Menger states the disjoint-paths theorem for separating sets.
  • 1932: Whitney proves the characterization of nnn-connected graphs by nnn disjoint paths between every pair of points.
  • 1956: Ford and Fulkerson and Dantzig and Fulkerson prove the max-flow min-cut theorem.
  • 1961: Balinski derives Whitney's theorem from it with a unit-capacity network.

Setting

A graph GGG consists of a finite set VVV of points and a set of lines, each line being a pair of distinct points. A path from psp_sps​ to pkp_kpk​ is a sequence of lines (p1,p2),(p2,p3),…,(pm,pm+1)(p_1,p_2),(p_2,p_3),\dots,(p_m,p_{m+1})(p1​,p2​),(p2​,p3​),…,(pm​,pm+1​) with p1=psp_1 = p_sp1​=ps​, pm+1=pkp_{m+1} = p_kpm+1​=pk​ and m≥1m \ge 1m≥1. Paths are disjoint if they have no point in common except possibly their first and last points.

GGG is nnn-tuply connected if it has at least n+1n+1n+1 points and, for every set XXX of fewer than nnn points, the graph G−XG - XG−X remaining after deleting XXX is connected. GGG has nnn disjoint paths from psp_sps​ to pkp_kpk​ if there are nnn pairwise distinct paths from psp_sps​ to pkp_kpk​, none of which repeats a point, and no two of which share a point other than psp_sps​ and pkp_kpk​.

A network is a connected graph with a capacity c(x)≥0c(x) \ge 0c(x)≥0 on every point and c(e)≥0c(e) \ge 0c(e)≥0 on every line, and with a distinguished source psp_sps​ and sink pkp_kpk​. A flow assigns a number f(C)≥0f(C) \ge 0f(C)≥0 to every path CCC from psp_sps​ to pkp_kpk​, such that for every point xxx and every line eee

∑C∋xf(C)≤c(x),∑C∋ef(C)≤c(e).\sum_{C \ni x} f(C) \le c(x), \qquad \sum_{C \ni e} f(C) \le c(e).C∋x∑​f(C)≤c(x),C∋e∑​f(C)≤c(e).

Its value is val⁡(f)=∑Cf(C)\operatorname{val}(f) = \sum_C f(C)val(f)=∑C​f(C). A disconnecting set is a pair (X,F)(X,F)(X,F) of points and lines that meets every walk from psp_sps​ to pkp_kpk​. Its value is ∑x∈Xc(x)+∑e∈Fc(e)\sum_{x\in X} c(x) + \sum_{e \in F} c(e)∑x∈X​c(x)+∑e∈F​c(e).

The unit network of the proof has capacity 111 on every point except psp_sps​ and pkp_kpk​, and capacity n+1n+1n+1 on every line except the line pspkp_sp_kps​pk​ (if present), which has capacity 111. In Lean these are IsNTuplyConnected, HasNDisjointPaths, IsFlow, flowValue, IsDisconnecting, cutValue, unitCapV and unitCapE, all in the namespace Balinski61.Whitney.

Formalization targets

Goal: Whitney's theorem (p. 434)

For a finite graph GGG with at least two points and any n≥0n \ge 0n≥0:

G is n-tuply connected  ⟺  for all ps≠pk, G has n disjoint paths from ps to pk.G \text{ is } n\text{-tuply connected} \iff \text{for all } p_s \ne p_k,\ G \text{ has } n \text{ disjoint paths from } p_s \text{ to } p_k.G is n-tuply connected⟺for all ps​=pk​, G has n disjoint paths from ps​ to pk​.

Both directions are part of the goal.

Milestones, in the order of the proof

  1. Max-flow min-cut (p. 433). In every network there is a number MMM that is the value of some flow and of some disconnecting set, with every flow of value at most MMM and every disconnecting set of value at least MMM.
  2. Integrality (p. 434). If all capacities are integers, some maximum flow has only integer path flows.
  3. Min-cut in the unit network (p. 434). If GGG is nnn-tuply connected and ps≠pkp_s \ne p_kps​=pk​, every disconnecting set of the unit network has value at least nnn.
  4. Paths from unit flows (p. 434). An integral flow of value at least nnn in the unit network yields nnn disjoint paths from psp_sps​ to pkp_kpk​.
  5. Sufficiency (p. 434). If every pair of distinct points is joined by nnn disjoint paths, GGG is nnn-tuply connected.

Significance

Whitney's theorem turns a statement about all small deletion sets into the existence of explicit, verifiable path systems, and back again. In applications it certifies connectivity by exhibiting paths, and it certifies that connectivity is no larger by exhibiting a separating set. It is the base of the theory of kkk-connected graphs: ear decompositions, the fan lemma, and the structure of minimally kkk-connected graphs all use it. Inside this paper it supplies the COROLLARY that any two vertices of a bounded full-dimensional polyhedron in nnn-space are joined by nnn disjoint edge paths.

None of these results is formalized for vertex connectivity at this Mathlib revision. Mathlib has edge connectivity and connected components but no vertex Menger theorem. The Prove2Me library has max-flow min-cut statements for arc capacities only and integrality results for basic solutions of network LPs, but no flow model with capacities on points. A completed development gives a reusable vertex-capacitated max-flow min-cut theorem for undirected graphs and the first machine-checked Whitney theorem in this library. The results are classical and proved; the remaining work is the formalization.

Difficulty

The sufficiency direction is elementary. The necessity direction needs a global object (a flow, or a family of paths) to exist from purely local hypotheses about deletions. The obvious induction on nnn, which deletes a point and applies the hypothesis to a smaller graph, does not keep the path systems disjoint. In Balinski's route the weight falls on max-flow min-cut and integrality for path flows with capacities on points, neither of which exists in the library. A second difficulty sits in a case the paper's proof skips: a disconnecting set of the unit network may use the line pspkp_sp_kps​pk​ (capacity 111) together with up to n−2n-2n−2 points, and the deletion hypothesis of nnn-tuple connectedness speaks only about points.

Formalization scope

Graphs are Mathlib SimpleGraphs on a Fintype with decidable equality and adjacency. Paths are walks with IsPath. A flow is a real function on the finite type G.Path ps pk of simple paths; "through a point" and "through a line" mean membership in the walk's support and edge list. Capacities are functions V → ℝ and Sym2 V → ℝ. Nonnegativity, connectivity of GGG and ps≠pkp_s \ne p_kps​=pk​ are hypotheses of the network theorems.

The following readings of loose phrases are explicit in the statements:

  • "dropping out n−1n-1n−1 or fewer points" is ∣X∣<n|X| < n∣X∣<n;
  • "nnn disjoint paths" means nnn pairwise distinct simple paths. The printed path syntax permits repeated vertices; in a graph with lines psap_s aps​a, psbp_s bps​b, and pspkp_s p_kps​pk​, the distinct walks ps,a,ps,pkp_s,a,p_s,p_kps​,a,ps​,pk​ and ps,b,ps,pkp_s,b,p_s,p_kps​,b,ps​,pk​ share only their endpoints even though the graph is not 222-tuply connected. The theorem therefore uses its conventional simple-path reading;
  • path flows live on simple paths (merging and shortcutting changes no maximum value);
  • the paper leaves the capacities of psp_sps​ and pkp_kpk​ in the unit network unassigned, and here they are n+1n+1n+1;
  • "the condition is sufficient is obvious" is the full statement that nnn-tuple connectedness follows;
  • the hypothesis ∣V∣≥2|V| \ge 2∣V∣≥2 is added to the goal and to sufficiency, because the paper's "any pair of points" presupposes it and the equivalence fails for a one-point graph.

The max-flow min-cut milestone states that the maximum and the minimum are attained. A statement that only bounds some flow by every cut is satisfied by the zero flow. A connectivity notion without the n+1n+1n+1 point count would make every complete graph nnn-connected for all nnn. Both trivializations are excluded.

Contributions welcome: a vertex-capacitated augmenting-path or LP-duality proof of max-flow min-cut for path flows, integrality by an augmenting-path argument, the unit-network lemmas, and direct combinatorial proofs of Whitney's theorem that bypass flows.

Selected references

  • M. L. Balinski, On the graph structure of convex polyhedra in n-space, Pacific J. Math. 11 (1961), 431–434. https://doi.org/10.2140/pjm.1961.11.431
  • H. Whitney, Congruent graphs and the connectivity of graphs, Amer. J. Math. 54 (1932), 150–168. https://doi.org/10.2307/2371086
  • L. R. Ford, Jr. and D. R. Fulkerson, Maximal flow through a network, Canadian J. Math. 8 (1956), 399–404. https://doi.org/10.4153/CJM-1956-045-5
  • G. B. Dantzig and D. R. Fulkerson, On the max-flow min-cut theorem of networks, in Linear Inequalities and Related Systems, Ann. of Math. Stud. 38, Princeton Univ. Press, 1956, 215–221. https://doi.org/10.1515/9781400881987
  • K. Menger, Zur allgemeinen Kurventheorie, Fund. Math. 10 (1927), 96–115. https://doi.org/10.4064/fm-10-1-96-115
9 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
🏆Completed
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 thms5 active usersReviewed
🏆Completed
Dynamic ProgrammingGraph TheoryOperations Research+1·Captain: mikedeng1

On a Routing Problem: Successive Approximations from the Direct-Route Policy Decrease to the Unique Solution of the Routing Equation Within N − 1 IterationsResearch Paper

Motivation

Finding the quickest route between two points of a road network is among the oldest problems of operations research. It is the subproblem inside vehicle routing, network flow and many dynamic programs. Richard Bellman's four-page note On a routing problem (Quarterly of Applied Mathematics, 1958) treats it as a dynamic program. The minimal travel times satisfy a nonlinear system of equations, and that system can be solved by successive approximations that terminate after a number of steps bounded in advance. The iteration is now known as the Bellman–Ford method. A footnote added in proof records that Max Woodbury and George Dantzig had obtained the same scheme independently, and Ford's RAND report of 1956 describes a closely related labelling procedure.

Timeline.

  • 1956. L. R. Ford Jr., Network flow theory (RAND P-923): a label-improving procedure for shortest paths.
  • 1957. Bellman's Dynamic Programming (Princeton) states the principle of optimality used here.
  • 1958. Bellman's note: the routing equation, its uniqueness, approximation in policy space with an (N − 1)-step bound, and a second, monotone increasing scheme.
  • 1959. Dijkstra gives a label-setting method for nonnegative lengths.
  • 1962. Floyd's Algorithm 97 computes all pairs of shortest distances.

Setting

There are NNN cities, numbered 1,…,N1, \dots, N1,…,N. Every two of them are linked by a direct road, and city NNN is the destination. The travel time from iii to jjj is a real number tijt_{ij}tij​; the matrix T=(tij)T = (t_{ij})T=(tij​) need not be symmetric. Throughout, tij>0t_{ij} > 0tij​>0 for i≠ji \ne ji=j.

A route from iii to NNN is a sequence of cities i=c0,c1,…,cm=Ni = c_0, c_1, \dots, c_m = Ni=c0​,c1​,…,cm​=N in which consecutive cities differ. Its stops are c1,…,cm−1c_1, \dots, c_{m-1}c1​,…,cm−1​, and its time is ∑r<mtcrcr+1\sum_{r<m} t_{c_r c_{r+1}}∑r<m​tcr​cr+1​​. The minimal time fif_ifi​ (3.1) is the least time of a route from iii to NNN, and fN=0f_N = 0fN​=0.

The routing equation (3.2) is the system

Fi=min⁡j≠i [tij+Fj](i=1,…,N−1),FN=0.F_i = \min_{j \ne i}\,[t_{ij} + F_j]\quad (i = 1, \dots, N-1), \qquad F_N = 0 .Fi​=j=imin​[tij​+Fj​](i=1,…,N−1),FN​=0.

Approximation in policy space (§5) starts from the direct-route policy (5.2), fi(0)=tiNf_i^{(0)} = t_{iN}fi(0)​=tiN​, and iterates (5.1):

fi(k+1)=min⁡j≠i [tij+fj(k)](i≠N),fN(k+1)=0.f_i^{(k+1)} = \min_{j \ne i}\,[t_{ij} + f_j^{(k)}]\quad (i \ne N), \qquad f_N^{(k+1)} = 0 .fi(k+1)​=j=imin​[tij​+fj(k)​](i=N),fN(k+1)​=0.

The second scheme (§7, (7.1)) starts instead from f‾i(0)=min⁡j≠itij\underline f_i^{(0)} = \min_{j\ne i} t_{ij}f​i(0)​=minj=i​tij​ and uses the same step.

Formalization targets

Goal: convergence within N−1N - 1N−1 iterations

For every k≥N−1k \ge N - 1k≥N−1 the following hold. Each fi(k)f_i^{(k)}fi(k)​ is the minimal time from iii to NNN, attained by a route. The vector f(k)f^{(k)}f(k) solves (3.2). Every real solution of (3.2) equals f(k)f^{(k)}f(k):

k≥N−1  ⟹  f(k)=f=the unique solution of (3.2).k \ge N-1 \;\Longrightarrow\; f^{(k)} = f = \text{the unique solution of (3.2)}.k≥N−1⟹f(k)=f=the unique solution of (3.2).

This is the claim of the Summary ("converges after at most (N−1)(N-1)(N−1) iterations") and of the last sentence of §5. The paper's bound N−1N - 1N−1 is kept, although N−2N - 2N−2 also suffices.

Milestones

  1. (3.2): the minimal times exist and satisfy the routing equation.
  2. §4: (3.2) has at most one solution.
  3. (5.4): f(1)≤f(0)f^{(1)} \le f^{(0)}f(1)≤f(0).
  4. §5, the sentence after (5.4): fi(k)f_i^{(k)}fi(k)​ is the minimal time over routes with at most kkk stops.
  5. (5.5): f(k+1)≤f(k)f^{(k+1)} \le f^{(k)}f(k+1)≤f(k) for all kkk.
  6. §7: the scheme (7.1) increases, stays below the solution of (3.2) (7.2), and equals it from some index on.

Significance

The result. The note turns an enumeration over exponentially many paths into N−1N - 1N−1 rounds of NNN minimisations each, with a bound fixed before the computation starts. The uniqueness theorem makes the routing equation a characterisation of the minimal times, not merely a property of them. This is the template for later correctness proofs of shortest-path and value-iteration algorithms. The monotone decrease (5.5) is the first instance of policy improvement: every iterate is the value of an actual routing policy.

Formalizing it. The results are classical and proved. What this mission adds is a machine-checked development against the paper's own objects. Routes, their times and minimal times are defined from scratch. The iteration is stated exactly as printed, apart from the corrected initial value at the destination. The (N − 1)-step termination is asserted as an equality, not a limit. Related platform items treat other methods and do not cover these statements. One is the label-correcting method (BertsekasDP.label_correcting_correctness_of_nonneg_arcs, BertsekasDP.label_correcting_terminates). Another is the stochastic shortest path problem under a termination assumption that fails for deterministic routing (BertsekasDP.ssp_main_theorem). There are also the generic candidate-list algorithm (BertsekasNetwork.generic_shortest_path_algorithm), Floyd's Algorithm 97 and Dijkstra's method.

Difficulty

The minimum in (3.2) may be attained at a jjj whose own optimal route passes back through iii. The routing equation is a fixed-point equation for an operator that is monotone but not a contraction in any fixed norm. The standard contraction argument for discounted dynamic programs therefore does not apply. Uniqueness has to use tij>0t_{ij} > 0tij​>0 to exclude zero-time cycles: with t12=t21=0t_{12} = t_{21} = 0t12​=t21​=0, the system (3.2) has infinitely many solutions. The N−1N - 1N−1 bound depends on the at-most-kkk-stops reading of f(k)f^{(k)}f(k) and on the fact that an optimal route never needs to revisit a city. Neither is visible from the recursion alone. For the scheme of §7, the page gives no bound on the number of iterations, and none holds uniformly in ttt.

Formalization scope

Cities are Fin (n + 1), so N=n+1N = n + 1N=n+1, with standing hypothesis n≥1n \ge 1n≥1. City NNN is Fin.last n, and travel times are t : Fin (n + 1) → Fin (n + 1) → ℝ with tij>0t_{ij} > 0tij​>0 for i≠ji \ne ji=j. Diagonal entries are unconstrained and never used. No symmetry, triangle inequality or integrality is assumed. A route is a list of cities with distinct consecutive entries ending at NNN. Repeated cities are allowed; with positive times this changes no minimum. Minimal times are attained minima over routes (IsMinTime, IsMinTimeWithin), not real infima. The minimum in (3.2) is a Finset.inf' over all j≠ij \ne ij=i, the destination included.

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

  • "Using an optimal policy" (3.1) becomes a minimum attained by a route and below every route.
  • "Represents the minimum time for a path with at most one stop" becomes, for every kkk, a minimum over routes with at most k+1k + 1k+1 roads.
  • "Converges after at most (N−1)(N - 1)(N−1) iterations" becomes f(k)=ff^{(k)} = ff(k)=f for every k≥N−1k \ge N - 1k≥N−1.
  • "Only a finite number of iterations will be required" (§7) becomes ∃K,∀k≥K\exists K, \forall k \ge K∃K,∀k≥K, f‾(k)=f\underline f^{(k)} = ff​(k)=f.
  • "The solution of (3.2)" in §7 becomes an arbitrary solution of (3.2), which milestones 1–2 show is the vector of minimal times.

Two printed slips are corrected. (5.2) is printed for i=1,…,Ni = 1, \dots, Ni=1,…,N, which would set fN(0)=tNNf_N^{(0)} = t_{NN}fN(0)​=tNN​, and with tNN>0t_{NN} > 0tNN​>0 statements (5.4), (5.5) and the goal would be false. The formalization uses fN(0)=0f_N^{(0)} = 0fN(0)​=0, the value the paper's own justification needs. (7.1) prints "N=1N = 1N=1" for N−1N - 1N−1. Section 6 (computational aspects) and the closing expectation of §7 that the first method converges faster are not formalized.

The goal cannot be satisfied trivially. The minimal times are defined from routes, not as a solution of (3.2) or as a limit of the iteration, so the goal connects the recursion to the routing problem itself.

The development needs only finite minima, lists and induction; nothing beyond core Mathlib. The route and minimal-time layer is reusable for other deterministic shortest-path results. Proofs of any milestone are welcome, as are proofs of the sharper bound N−2N - 2N−2.

Selected references

  • R. Bellman, On a routing problem, Quarterly of Applied Mathematics 16(1) (1958), 87–90. https://doi.org/10.1090/qam/102435
  • R. Bellman, Dynamic Programming, Princeton University Press, 1957.
  • R. Bellman, The theory of dynamic programming, Bull. Amer. Math. Soc. 60 (1954), 503–515. https://doi.org/10.1090/S0002-9904-1954-09848-8
  • L. R. Ford Jr., Network flow theory, RAND Corporation P-923, 1956. https://www.rand.org/pubs/papers/P923.html
  • E. W. Dijkstra, A note on two problems in connexion with graphs, Numerische Mathematik 1 (1959), 269–271. https://doi.org/10.1007/BF01386390
  • R. W. Floyd, Algorithm 97: Shortest path, Communications of the ACM 5(6) (1962), 345. https://doi.org/10.1145/367766.368168
8 thms2 active usersReviewed
🏆Completed
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.

67 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
🏆Completed
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
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

On the Power of Robust Solutions in Two-Stage Stochastic and Adaptive Optimization Problems 1: For Symmetric Right-Hand-Side Uncertainty, the Robust Optimum Is at Most Twice the Stochastic OptimumResearch Paper

Motivation

Many planning problems are made in two stages: a first decision xxx (capacity, inventory, a network design) is fixed before an uncertain demand is revealed, and a second decision yyy (recourse, routing, overtime) is taken afterwards. Two-stage stochastic optimization models the demand as random and minimizes expected cost; its second stage is a whole policy ω↦y(ω)\omega\mapsto y(\omega)ω↦y(ω), and the problem is intractable in general, especially with integer variables (Dyer and Stougie, 2006). Robust optimization instead picks one static pair (x,y)(x,y)(x,y) that is feasible for every possible demand and minimizes its worst-case cost; it is a single deterministic mixed-integer program and needs no knowledge of the distribution (Ben-Tal and Nemirovski, 2002; Bertsimas and Sim, 2004).

The question this mission addresses is how much is lost by solving the robust problem in place of the stochastic one. Bertsimas and Goyal (Math. Oper. Res. 2010) show that when only the right-hand side is uncertain, the uncertainty set is symmetric and the distribution is centred at its point of symmetry, the loss is at most a factor of two, and that this factor is tight.

Setting

Fix A∈Rm×n1A\in\mathbb R^{m\times n_1}A∈Rm×n1​, B∈Rm×n2B\in\mathbb R^{m\times n_2}B∈Rm×n2​ and nonnegative costs c∈R+n1c\in\mathbb R^{n_1}_+c∈R+n1​​, d∈R+n2d\in\mathbb R^{n_2}_+d∈R+n2​​. A set Ω\OmegaΩ of scenarios carries a probability measure μ\muμ, and each scenario ω\omegaω has a right-hand side b(ω)∈R+mb(\omega)\in\mathbb R^m_+b(ω)∈R+m​. The uncertainty set is Ib(Ω)={b(ω):ω∈Ω}\mathcal I_b(\Omega)=\{b(\omega):\omega\in\Omega\}Ib​(Ω)={b(ω):ω∈Ω}. First-stage variables are nonnegative, with integer values on a designated set of coordinates; second-stage variables are nonnegative reals (p2=0p_2=0p2​=0).

The stochastic problem ΠStoch(b)\Pi_{\mathrm{Stoch}}(b)ΠStoch​(b), (1.1), chooses xxx and a policy y(⋅)y(\cdot)y(⋅):

zStoch(b)=inf⁡ cTx+Eμ[dTy(ω)]s.t.Ax+By(ω)≥b(ω)  ∀ω∈Ω.z_{\mathrm{Stoch}}(b)=\inf\ c^Tx+\mathbb E_\mu[d^Ty(\omega)]\quad\text{s.t.}\quad Ax+By(\omega)\ge b(\omega)\ \ \forall\omega\in\Omega .zStoch​(b)=inf cTx+Eμ​[dTy(ω)]s.t.Ax+By(ω)≥b(ω)  ∀ω∈Ω.

The robust problem ΠRob(b)\Pi_{\mathrm{Rob}}(b)ΠRob​(b), (1.2), chooses one yyy for all scenarios:

zRob(b)=inf⁡ cTx+dTys.t.Ax+By≥b(ω)  ∀ω∈Ω.z_{\mathrm{Rob}}(b)=\inf\ c^Tx+d^Ty\quad\text{s.t.}\quad Ax+By\ge b(\omega)\ \ \forall\omega\in\Omega .zRob​(b)=inf cTx+dTys.t.Ax+By≥b(ω)  ∀ω∈Ω.

A set PPP is symmetric (Definition 1.2) if there is u0∈Pu^0\in Pu0∈P with u0+z∈P  ⟺  u0−z∈Pu^0+z\in P\iff u^0-z\in Pu0+z∈P⟺u0−z∈P for all zzz; u0u^0u0 is its point of symmetry. Hypercubes, ellipsoids and norm balls are symmetric. A probability measure on a symmetric set is symmetric (Definition 1.4) if it gives a set and its reflection {2u0−x}\{2u^0-x\}{2u0−x} the same mass.

Formalization targets

Goal: Theorem 2.1 (p. 10)

If Ib(Ω)\mathcal I_b(\Omega)Ib​(Ω) is symmetric with point of symmetry b(ω0)b(\omega^0)b(ω0), p2=0p_2=0p2​=0, and μ\muμ satisfies

Eμ[b(ω)] ≥ b(ω0)(2.1)\mathbb E_\mu[b(\omega)]\ \ge\ b(\omega^0)\qquad(2.1)Eμ​[b(ω)] ≥ b(ω0)(2.1)

then

zRob(b) ≤ 2⋅zStoch(b).z_{\mathrm{Rob}}(b)\ \le\ 2\cdot z_{\mathrm{Stoch}}(b).zRob​(b) ≤ 2⋅zStoch​(b).

Milestones on the way

  • Lemma 2.2 (p. 12): the coordinatewise bounding box HHH of a symmetric set SSS is the smallest hypercube containing SSS.
  • Lemma 2.3 (p. 12): the centre x0x^0x0 of HHH is the point of symmetry of SSS, and x≤2x0x\le 2x^0x≤2x0 on SSS when S⊆R+nS\subseteq\mathbb R^n_+S⊆R+n​.
  • Eqs. (2.9)–(2.10) (p. 13): if (x,y)(x,y)(x,y) covers b(ω0)b(\omega^0)b(ω0) then (2x,2y)(2x,2y)(2x,2y) covers every b(ω)b(\omega)b(ω), so it is robust feasible.
  • p. 14 display: under (2.1), the mean second-stage decision Eμ[y(ω)]\mathbb E_\mu[y(\omega)]Eμ​[y(ω)] covers b(ω0)b(\omega^0)b(ω0).
  • Lemma 2.1 (p. 11): a symmetric probability measure has mean u0u^0u0, so it satisfies (2.1).
  • Theorem 2.7 (p. 21): the same bound zRob(b)≤2 zStoch(b)z_{\mathrm{Rob}}(b)\le 2\,z_{\mathrm{Stoch}}(b)zRob​(b)≤2zStoch​(b) when Ib(Ω)\mathcal I_b(\Omega)Ib​(Ω) is convex and positive (contained in a symmetric subset of R+m\mathbb R^m_+R+m​ whose centre lies in Ib(Ω)\mathcal I_b(\Omega)Ib​(Ω)).

Significance

The result. The robust problem is one mixed-integer program, independent of μ\muμ; the stochastic problem optimizes over policies and requires the distribution. Theorem 2.1 says that under symmetry the static robust solution (x,y)(x,y)(x,y) used in every scenario is a 2-approximation of the optimal expected cost, for every centred distribution at once. The companion results of the paper show the hypotheses matter: the bound is tight for symmetric sets, the gap is unbounded (at least n+1n+1n+1) on the non-symmetric simplex (Theorem 2.6), and unbounded when costs are uncertain as well (Theorem 3.1). The theorem also underlies later work on the power of static and affine policies in adaptive optimization (Bertsimas and Goyal, 2012).

Formalizing it. The theorem and its proof are published; nothing in this mission is open mathematics. To our knowledge none of these statements has a machine-checked proof. The mission produces a reusable Lean model of two-stage stochastic and robust mixed-integer covering problems with arbitrary scenario spaces, extended-real optimal values and genuine expectations, together with the elementary geometry of point-symmetric sets. The same objects are used by the other missions of this series (the simplex and cost-uncertainty gaps, and the adaptability gap).

Difficulty

Each step of the published argument is short; the difficulty is in stating it at the right generality. The paper begins "consider an optimal solution" of ΠStoch(b)\Pi_{\mathrm{Stoch}}(b)ΠStoch​(b); optimal policies need not exist for an arbitrary scenario space, so the statement is about infima and every step must work for an arbitrary feasible pair. Passing from "Ax+By(ω)≥b(ω)Ax+By(\omega)\ge b(\omega)Ax+By(ω)≥b(ω) for all ω\omegaω" to "Ax+B Eμ[y]≥Eμ[b]Ax+B\,\mathbb E_\mu[y]\ge\mathbb E_\mu[b]Ax+BEμ​[y]≥Eμ​[b]" needs integrability of the policy and of bbb and linearity of the Bochner integral through a matrix. The bound b(ω)≤2b(ω0)b(\omega)\le 2b(\omega^0)b(ω)≤2b(ω0) uses symmetry together with nonnegativity of the uncertainty set; symmetry alone does not give it. Integrality of the second stage breaks the argument, since Eμ[y(ω)]\mathbb E_\mu[y(\omega)]Eμ​[y(ω)] need not be integral.

Formalization scope

  • Vectors are Fin k → ℝ with the componentwise order, products A *ᵥ x and inner products c ⬝ᵥ x. The mixed-integer domain is "nonnegative with integer values on a set III of coordinates", which is the paper's R+n−p×Z+p\mathbb R^{n-p}_+\times\mathbb Z^p_+R+n−p​×Z+p​ up to relabelling.
  • Ω\OmegaΩ is an arbitrary measurable space with a probability measure; Ib(Ω)\mathcal I_b(\Omega)Ib​(Ω) is Set.range b. Constraints hold for every scenario, not almost surely.
  • Second-stage policies are μ\muμ-integrable, and bbb is μ\muμ-integrable in every statement that uses (2.1). Without these, Lean's integral of a non-integrable function is 000 and (2.1) would degenerate.
  • zStochz_{\mathrm{Stoch}}zStoch​ and zRobz_{\mathrm{Rob}}zRob​ are infima in EReal, equal to +∞+\infty+∞ when infeasible; no attainment is assumed. A real-valued infimum would return 000 on an infeasible robust problem and make the goal trivial; that formalization is ruled out.
  • The bounding box of (2.5)–(2.7) uses suprema and infima, with boundedness assumed where needed.
  • Corrections to the page: Lemma 2.3's inequality x≤2x0x\le 2x^0x≤2x0 is stated under S⊆R+nS\subseteq\mathbb R^n_+S⊆R+n​, which its proof uses and which holds in every application; Lemma 2.1 assumes the measure has a mean; Theorem 2.7 carries the standing assumption p2=0p_2=0p2​=0 of §2.

Contributions welcome: proofs of the milestones and the goal, and general lemmas on point-symmetric sets and on interchanging Bochner integrals with matrix–vector products, both reusable outside this mission.

Selected references

  • D. Bertsimas, V. Goyal, On the power of robust solutions in two-stage stochastic and adaptive optimization problems, Mathematics of Operations Research 35(2), 2010. https://doi.org/10.1287/moor.1090.0440 (cited from the authors' manuscript, MIT DSpace)
  • A. Ben-Tal, A. Nemirovski, Robust optimization — methodology and applications, Mathematical Programming 92, 2002. https://doi.org/10.1007/s101070100286
  • D. Bertsimas, M. Sim, The price of robustness, Operations Research 52(1), 2004. https://doi.org/10.1287/opre.1030.0065
  • M. Dyer, L. Stougie, Computational complexity of stochastic programming problems, Mathematical Programming 106, 2006. https://doi.org/10.1007/s10107-005-0578-0
  • D. Bertsimas, V. Goyal, On the power and limitations of affine policies in two-stage adaptive optimization, Mathematical Programming 134, 2012. https://doi.org/10.1007/s10107-011-0444-4
10 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimal TransportOptimization+1·Captain: mikedeng1

Quantifying Distributional Model Risk via Optimal Transport 1: Strong Duality — the Worst-Case Expectation over an Optimal-Transport Ball on a Polish Space Equals Its Dual over (λ, φ)Research Paper

Motivation

A probability model μ\muμ for a random element XXX is rarely known exactly. Distributionally robust performance analysis replaces the single expectation Eμ[f(X)]E_\mu[f(X)]Eμ​[f(X)] by its worst case over all models within a prescribed distance of μ\muμ. When the distance is an optimal-transport cost, the neighbourhood contains models whose support differs from that of μ\muμ. That matters in stochastic-process applications such as ruin probabilities for insurance reserves, where the natural alternatives (a compensated Poisson process against a Brownian motion) are mutually singular and likelihood-based divergences such as Kullback–Leibler are infinite.

Blanchet and Murthy (arXiv:1604.01446, Math. Oper. Res. 2019) prove that the worst-case expectation over an optimal-transport ball equals a one-dimensional dual problem. They assume only that the underlying space is Polish, the cost lower semicontinuous and the performance function upper semicontinuous and integrable.

Timeline. Esfahani and Kuhn (arXiv:1505.05116, 2015/2018) obtained a dual reformulation for Wasserstein balls around empirical measures on Rd\mathbb R^dRd. Gao and Kleywegt (arXiv:1604.02199, 2016) proved a general duality whose proof, as Blanchet and Murthy note, uses the local compactness of the space. Blanchet and Murthy (2016, v2 2017) removed local compactness and continuity of the cost. This covers path spaces such as C[0,T]C[0,T]C[0,T] and D[0,T]D[0,T]D[0,T].

Setting

Let SSS be a Polish space with Borel σ-algebra B(S)\mathcal B(S)B(S), and let μ\muμ be a probability measure on SSS (the baseline model).

  • Cost (A1). c:S×S→[0,∞)c : S\times S\to[0,\infty)c:S×S→[0,∞) is lower semicontinuous, and c(x,y)=0c(x,y)=0c(x,y)=0 if and only if x=yx=yx=y.
  • Performance function (A2). f:S→Rf : S\to\mathbb Rf:S→R is upper semicontinuous and μ\muμ-integrable.
  • Budget. δ>0\delta>0δ>0.

The primal feasible set Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ consists of the probability measures π\piπ on S×SS\times SS×S whose first marginal is μ\muμ and whose transport cost satisfies ∫c dπ≤δ\int c\,d\pi\le\delta∫cdπ≤δ. The second marginal of π\piπ is the alternative model. The primal objective is I(π)=∫f(y) dπ(x,y)I(\pi)=\int f(y)\,d\pi(x,y)I(π)=∫f(y)dπ(x,y), and the primal value is

I=sup⁡{I(π):π∈Φμ,δ}.I=\sup\{I(\pi):\pi\in\Phi_{\mu,\delta}\}.I=sup{I(π):π∈Φμ,δ​}.

The universal σ-algebra U(S)\mathcal U(S)U(S) is the intersection of the completions of B(S)\mathcal B(S)B(S) under all probability measures. Write mU(S;Rˉ)m\mathcal U(S;\bar{\mathbb R})mU(S;Rˉ) for the U(S)\mathcal U(S)U(S)-measurable functions S→[−∞,∞]S\to[-\infty,\infty]S→[−∞,∞]. The dual feasible set Λc,f\Lambda_{c,f}Λc,f​ consists of the pairs (λ,φ)(\lambda,\varphi)(λ,φ) with λ≥0\lambda\ge0λ≥0, φ∈mU(S;Rˉ)\varphi\in m\mathcal U(S;\bar{\mathbb R})φ∈mU(S;Rˉ) and φ(x)+λc(x,y)≥f(y)\varphi(x)+\lambda c(x,y)\ge f(y)φ(x)+λc(x,y)≥f(y) for all x,yx,yx,y. The dual objective is J(λ,φ)=λδ+∫φ dμJ(\lambda,\varphi)=\lambda\delta+\int\varphi\,d\muJ(λ,φ)=λδ+∫φdμ, and the dual value is J=inf⁡{J(λ,φ):(λ,φ)∈Λc,f}J=\inf\{J(\lambda,\varphi):(\lambda,\varphi)\in\Lambda_{c,f}\}J=inf{J(λ,φ):(λ,φ)∈Λc,f​}. Finally,

φλ(x)=sup⁡y∈S{f(y)−λc(x,y)}∈R∪{∞}.\varphi_\lambda(x)=\sup_{y\in S}\{f(y)-\lambda c(x,y)\}\in\mathbb R\cup\{\infty\}.φλ​(x)=y∈Ssup​{f(y)−λc(x,y)}∈R∪{∞}.

Formalization targets

Goal: Theorem 1

Under (A1) and (A2):

  1. strong duality,
sup⁡{I(π):π∈Φμ,δ}=inf⁡{J(λ,φ):(λ,φ)∈Λc,f};\sup\{I(\pi):\pi\in\Phi_{\mu,\delta}\}=\inf\{J(\lambda,\varphi):(\lambda,\varphi)\in\Lambda_{c,f}\};sup{I(π):π∈Φμ,δ​}=inf{J(λ,φ):(λ,φ)∈Λc,f​};
  1. there is λ∗≥0\lambda^*\ge0λ∗≥0 such that (λ∗,φλ∗)(\lambda^*,\varphi_{\lambda^*})(λ∗,φλ∗​) is a dual optimizer;
  2. a feasible π∗\pi^*π∗ and a feasible (λ∗,φλ∗)(\lambda^*,\varphi_{\lambda^*})(λ∗,φλ∗​) with finite J(λ∗,φλ∗)J(\lambda^*,\varphi_{\lambda^*})J(λ∗,φλ∗​) are optimal with I(π∗)=J(λ∗,φλ∗)I(\pi^*)=J(\lambda^*,\varphi_{\lambda^*})I(π∗)=J(λ∗,φλ∗​) if and only if the complementary slackness conditions hold:
f(y)−λ∗c(x,y)=φλ∗(x)  π∗-a.s.,λ∗(∫c dπ∗−δ)=0.f(y)-\lambda^*c(x,y)=\varphi_{\lambda^*}(x)\ \ \pi^*\text{-a.s.},\qquad \lambda^*\Big(\int c\,d\pi^*-\delta\Big)=0.f(y)−λ∗c(x,y)=φλ∗​(x)  π∗-a.s.,λ∗(∫cdπ∗−δ)=0.

The "if" direction is stated without the finiteness assumption.

Milestones

Weak duality I≤JI\le JI≤J (5). Lemma 15. Strong duality with a primal optimizer on compact SSS, first for continuous costs (Proposition 5), then for lower semicontinuous ones (Proposition 6). Universal measurability of φλ\varphi_\lambdaφλ​ (§4.2). Lemma 16. The restricted dual bound of Proposition 7. Lemma 8. The univariate formula (9):

I=inf⁡λ≥0{λδ+Eμ[sup⁡y∈S{f(y)−λc(X,y)}]}.I=\inf_{\lambda\ge0}\Big\{\lambda\delta+E_\mu\Big[\sup_{y\in S}\{f(y)-\lambda c(X,y)\}\Big]\Big\}.I=λ≥0inf​{λδ+Eμ​[y∈Ssup​{f(y)−λc(X,y)}]}.

Significance

The result. Formula (9) turns an infinite-dimensional optimization over probability measures into a one-dimensional convex minimization that involves only the baseline μ\muμ. A modeller can therefore evaluate it by sampling from μ\muμ. Theorem 1 is the input for the worst-case probability formula for closed sets (Theorem 3 of the paper) and for the existence of worst-case transport plans (Corollary 1). Its complementary slackness conditions describe the structure of every worst-case plan: mass is moved from xxx to maximizers of f(z)−λ∗c(x,z)f(z)-\lambda^*c(x,z)f(z)−λ∗c(x,z), and the budget is exhausted whenever λ∗>0\lambda^*>0λ∗>0.

Formalizing it. The result is proved on paper. To our knowledge it has no machine-checked proof. The only related statement on Prove2Me is a special case (empirical baseline, bounded continuous loss, power-of-norm cost on Rm\mathbb R^mRm). A complete development would contain duality on compact spaces via Fenchel duality, the extension to σ-compact supports, and measurable-selection arguments for universally measurable functions. The measurable-selection part reuses Bertsekas–Shreve's analytic-set theory, which is already posed on the platform.

Difficulty

The obvious route copies Kantorovich duality. That route fails here because the feasible set Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ fixes only one marginal, so it is not tight on a non-compact space. Prokhorov compactness is available only on compact pieces Sn×SnS_n\times S_nSn​×Sn​. The duality must then be transported to the whole space by a limiting argument that keeps control of the dual multipliers.

A second obstacle is measurability. For a merely lower semicontinuous cost on a non-locally-compact space, φλ\varphi_\lambdaφλ​ need not be Borel measurable, so the dual must range over universally measurable functions. Removing the restriction y∈Sπy\in S_\piy∈Sπ​ from the envelope (Lemma 8) needs a measurable selection theorem. Arguments that assume closed balls are compact do not apply in the target spaces C[0,T]C[0,T]C[0,T] and D[0,T]D[0,T]D[0,T].

Formalization scope

  • Space and costs. S carries [TopologicalSpace S] [PolishSpace S] [MeasurableSpace S] [BorelSpace S]. The cost is a real-valued curried function c : S → S → ℝ; (A1) is the structure AssumptionA1; (A2) is UpperSemicontinuous f together with Integrable f μ; and 0 < δ is assumed throughout.
  • Extended reals. III, JJJ, I(π)I(\pi)I(π), J(λ,φ)J(\lambda,\varphi)J(λ,φ) and φλ\varphi_\lambdaφλ​ live in EReal. The integral of an extended-real function is ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− with lower Lebesgue integrals, and ∞−∞\infty-\infty∞−∞ evaluates to −∞-\infty−∞. A coupling with ∫f− dπ=∞\int f^-\,d\pi=\infty∫f−dπ=∞ therefore never raises III, which is the paper's reading in footnote 2.
  • Measurability and integrals. Universal measurability is the published BertsekasShreve.AnalyticSelection.IsUniversallyMeasurable. For such φ\varphiφ the lower integral equals the integral against the completion of μ\muμ.
  • Variants. The dual feasible set takes a set KKK: with K=SK=SK=S it is (6b), and with K=SπK=S_\piK=Sπ​ it is (29).
  • Hidden hypothesis. The "only if" part of Theorem 1(b) carries the hypothesis J(λ∗,φλ∗)<∞J(\lambda^*,\varphi_{\lambda^*})<\inftyJ(λ∗,φλ∗​)<∞. Without it the equivalence fails when I=J=∞I=J=\inftyI=J=∞.
  • Ruled-out trivializations. A primal that fixes both marginals (or neither), a dual over Borel-measurable φ\varphiφ, and a Bochner integral for ∫f dπ\int f\,d\pi∫fdπ (which is 000 off L1(π)L^1(\pi)L1(π)) all describe different problems and are ruled out by the definitions.
  • Infrastructure and contributions. Needed: Fenchel duality on Cb(S×S)C_b(S\times S)Cb​(S×S) and its dual M(S×S)M(S\times S)M(S×S) (Riesz–Markov–Kakutani), Prokhorov's theorem, Sion's minimax theorem, and Jankov–von Neumann selection. Several are on the platform or in Mathlib, and all are reusable beyond this mission. Proofs of the milestones in any order, and of the posed Bertsekas–Shreve tools, are welcome.

Selected references

  • J. Blanchet and K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Math. Oper. Res. 44(2):565–600, 2019. arXiv:1604.01446v2, doi:10.1287/moor.2018.0936
  • R. Gao and A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, 2016. arXiv:1604.02199
  • P. Mohajerin Esfahani and D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Math. Program. 171:115–166, 2018. arXiv:1505.05116
  • D. Bertsekas and S. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978, Chapter 7. MIT open copy
  • C. Villani, Optimal Transport: Old and New, Springer, 2008. doi:10.1007/978-3-540-71050-9
19 thms3 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
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+1·Captain: mikedeng1

A Probabilistic Production and Inventory Problem: The Optimal Discounted Cost Is the Greatest Point of the Constraint Set (9) and the Unique Optimum of the Linear Program (P2)Research Paper

Motivation

A Markov decision process with finitely many states and actions and a discounted cost criterion can be solved in three classical ways: policy iteration, value iteration, and linear programming. The third goes back to F. d'Epenoux's paper A Probabilistic Production and Inventory Problem (Management Science 10(1), 1963, partly redrafted from a translation of d'Epenoux's 1960 article in the Revue Française de Recherche Opérationnelle), which showed that the optimal discounted cost of a stochastic production and inventory model is the solution of a single linear program. Together with Manne's linear program for the average-cost case (1960), it is the origin of the linear programming approach to dynamic programming, which underlies occupation-measure methods, constrained Markov decision processes, and approximate linear programming for large models.

Timeline:

  • 1957–1960. Bellman's Dynamic Programming (value iteration, the principle of optimality); Howard's policy iteration for average costs (1960); Manne's linear program for average costs (Linear programming and sequential decisions, Management Sci., 1960).
  • 1960/1963. d'Epenoux treats the discounted case: policy iteration and value iteration (Sections 2–4), then the linear program (P2)(P_2)(P2​) and its dual (Sections 5–6). Footnote 2 credits Guilbaud (1957) with an earlier observation of an equivalent linear program in another context.
  • 1967. Denardo, Contraction mappings in the theory underlying dynamic programming, places the linear programs in an abstract contraction framework.

Setting

The stock at the beginning of a period is i∈{0,1,…,σ}i \in \{0, 1, \dots, \sigma\}i∈{0,1,…,σ}, where σ\sigmaσ is the stock capacity. The decision is the potential jjj, the quantity available for the period (output plus initial stock), with i≤j≤σi \le j \le \sigmai≤j≤σ. Given the potential jjj, the stock at the end of the period is sss with probability pjsp_{js}pjs​; each row (pjs)s(p_{js})_s(pjs​)s​ is a probability vector. The expected cost of a period with initial stock iii and potential jjj is a real number dijd_{ij}dij​. Costs one period ahead are discounted by λ\lambdaλ, 0<λ<10 < \lambda < 10<λ<1.

A strategy is a map JJJ with i≤J(i)i \le J(i)i≤J(i) for every iii: the potential depends only on the current stock. It has the transition matrix (PJ)is=pJ(i)s(P_J)_{is} = p_{J(i)s}(PJ​)is​=pJ(i)s​ and the cost vector (dJ)i=diJ(i)(d_J)_i = d_{iJ(i)}(dJ​)i​=diJ(i)​. The cost of following JJJ forever is the solution uuu of (2), u=dJ+λPJuu = d_J + \lambda P_J uu=dJ​+λPJ​u. The optimal cost u∗u^*u∗ solves the fundamental equation (7),

ui∗=min⁡j≥i(dij+λ∑s=0σpjsus∗),i=0,…,σ.u^*_i = \min_{j \ge i}\Big( d_{ij} + \lambda \sum_{s=0}^{\sigma} p_{js} u^*_s \Big), \qquad i = 0, \dots, \sigma .ui∗​=j≥imin​(dij​+λs=0∑σ​pjs​us∗​),i=0,…,σ.

For a vector uuu put Uij=ui−λ∑spjsus−dijU_{ij} = u_i - \lambda \sum_s p_{js} u_s - d_{ij}Uij​=ui​−λ∑s​pjs​us​−dij​. The set AAA consists of the vectors satisfying the linear constraints (9), Uij≤0U_{ij} \le 0Uij​≤0 for all admissible pairs i≤ji \le ji≤j. The set BBB consists of the vectors with ∏j≥iUij=0\prod_{j \ge i} U_{ij} = 0∏j≥i​Uij​=0 for every iii.

Formalization targets

Goal: u∗=max⁡(u∈A)u^* = \max(u \in A)u∗=max(u∈A), and (P2)(P_2)(P2​)

The system (7) has a solution, and every solution u∗u^*u∗ is the greatest element of AAA:

u∗∈A,u≤u∗ componentwise for every u∈A.u^* \in A, \qquad u \le u^* \ \text{componentwise for every } u \in A .u∗∈A,u≤u∗ componentwise for every u∈A.

Moreover, for every weight vector ccc with all ci>0c_i > 0ci​>0 and ∑ici=1\sum_i c_i = 1∑i​ci​=1, u∗u^*u∗ is the unique optimal solution of

(P2)maximize (1−λ)∑iciuisubject to Uij≤0  (i≤j).(P_2) \qquad \text{maximize } (1-\lambda) \sum_i c_i u_i \quad \text{subject to } U_{ij} \le 0 \ \ (i \le j).(P2​)maximize (1−λ)i∑​ci​ui​subject to Uij​≤0  (i≤j).

Milestones

  1. Eq. (3). For a stochastic matrix PPP and 0<λ<10<\lambda<10<λ<1, I−λPI - \lambda PI−λP is invertible and (I−λP)−1=∑k≥0λkPk(I-\lambda P)^{-1} = \sum_{k \ge 0} \lambda^k P^k(I−λP)−1=∑k≥0​λkPk.
  2. Eq. (4). u−λPu≥0u - \lambda P u \ge 0u−λPu≥0 implies u≥0u \ge 0u≥0.
  3. Eq. (5). If moreover u−λPu≠0u - \lambda P u \ne 0u−λPu=0 and PPP is indecomposable, then ui>0u_i > 0ui​>0 for all iii.
  4. Eq. (7). (7) has a unique solution, the cost of an optimal strategy (referenced, Proved).
  5. Section 5. uuu solves (7) iff u∈A∩Bu \in A \cap Bu∈A∩B; the points of BBB are exactly the costs of strategies.
  6. Section 5. Every point of AAA lies below every point of BBB.
  7. Section 5. If every PJP_JPJ​ is indecomposable, u∗u^*u∗ is a strict vectorial maximum of AAA: u∈Au \in Au∈A, u≠u∗u \ne u^*u=u∗ imply ui<ui∗u_i < u^*_iui​<ui∗​ for all iii.

Significance

The result turns a fixed-point equation with a minimum in it into a linear program with 12(σ+1)(σ+2)\tfrac12(\sigma+1)(\sigma+2)21​(σ+1)(σ+2) linear constraints. Its consequences are the ones the paper draws in Section 6: the dual of (P2)(P_2)(P2​) has a probabilistic interpretation (discounted state–action frequencies), its optimal basic solutions are optimal strategies, and every linear programming algorithm becomes an algorithm for discounted dynamic programs. The uniqueness clause is what makes the weighted objective recover the whole cost vector; with a single objective ueu_eue​, as the paper notes, the optimum need not determine the complete optimal strategy when the states decompose into several groups.

The dynamic programming half of the paper (Sections 2–4: policy evaluation, policy iteration, value iteration) is already formalized and proved on the platform for the general finite discounted model, as Bertsekas, Dynamic Programming and Optimal Control, Prop. 7.3.1 (BertsekasDP.discounted_main_theorem); it enters this mission as a reference item, and the mission's model is an instance of the same published structure BertsekasSSPModel. The linear programming half is not formalized. Related items in other models are posed elsewhere: Bäuerle and Rieder's Theorem 7.5.9 (finite-state linear program in a measure-theoretic reward model, open) and Denardo's Programs I–II in an abstract contraction model; neither states the componentwise maximality of u∗u^*u∗ in AAA in this model.

Difficulty

The individual steps are short, but the goal combines several facts that are easy to state wrongly. The paper calls the invertibility of I−λPI-\lambda PI−λP and the positivity of its inverse "known and obvious"; in Lean they are statements about an arbitrary stochastic matrix over Fin m, for which Mathlib provides no default matrix norm, and the comparison of AAA with BBB depends on them. Uniqueness of the optimum of (P2)(P_2)(P2​) needs both strict positivity of the weights and the componentwise maximality; with a zero weight it fails. The obvious first idea for the strict maximum, that indecomposability of the optimal strategy's matrix alone suffices, is not the formalized statement: only the sufficient condition over all strategies is posed.

Formalization scope

Stock levels and potentials are Fin (σ + 1), 000-based. The kernel pjsp_{js}pjs​ is an arbitrary stochastic kernel indexed by the potential, and the costs dijd_{ij}dij​ are arbitrary reals; the paper's demand-driven kernel and its cost decomposition dij=d′(j−i)+∑npnd′′(i,j,n)d_{ij} = d'(j-i) + \sum_n p_n d''(i,j,n)dij​=d′(j−i)+∑n​pn​d′′(i,j,n) are an instance and are not built in, because the arguments of Sections 2–5 use only stochasticity (the paper itself remarks on p. 101 that its methods apply far beyond the inventory problem). Only admissible pairs i≤ji \le ji≤j enter AAA, BBB, the minimum in (7), and strategies. The discount is called lam in Lean. Equation (7) is the fixed-point equation of the Bellman operator BertsekasDiscountedBellmanOp of the model.

Explicit readings of the paper's phrases:

  • "u∗=max⁡(u∈A)u^* = \max(u \in A)u∗=max(u∈A)" is IsGreatest in the componentwise order.
  • "the complete solution" of (P2)(P_2)(P2​) is uniqueness of its optimal solution, for every admissible weight vector.
  • "u>0u > 0u>0" in (5) and "strict vectorial maximum" mean every component strictly positive, respectively strictly smaller.
  • "indecomposable" means irreducible: for all i,ki,ki,k some power PnP^nPn has (Pn)ik>0(P^n)_{ik} > 0(Pn)ik​>0. The weaker reading (one closed class plus transient states) makes (5) false.
  • "the points of the set BBB correspond to the costs associated with every possible strategy" is the equivalence between membership in BBB and solving (2) for some strategy.

Ruled out: defining u∗u^*u∗ as the optimum of the linear program, as a supremum of AAA, or as a limit (which would make the goal circular); assuming a solution of (7) without the existence conjunct; constraining also the inadmissible pairs j<ij < ij<i (which can exclude u∗u^*u∗ from AAA); and weakening the weights to ci≥0c_i \ge 0ci​≥0.

Not formalized: the demand-driven kernel, the finite-horizon recursion of Section 2, the monotone convergence remark of Section 4 (c), the count of strategies, the reformulations (P1)(P_1)(P1​) and (P3)(P_3)(P3​), and all of Section 6 (duality). Contributions welcome: proofs of the milestones and of the goal, and, as a follow-up mission, the dual programs of Section 6. The matrix facts (3)–(5) are stated for arbitrary stochastic matrices and are reusable beyond this mission.

Selected references

  • F. d'Epenoux, A Probabilistic Production and Inventory Problem, Management Science 10(1), 98–108, 1963. https://doi.org/10.1287/mnsc.10.1.98
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3), 259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press and John Wiley, 1960.
  • R. Bellman, Dynamic Programming, Princeton University Press, 1957.
  • E. V. Denardo, Contraction Mappings in the Theory Underlying Dynamic Programming, SIAM Review 9(2), 165–177, 1967. https://doi.org/10.1137/1009030
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005, Prop. 7.3.1.
  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Springer, 2011, Section 7.5. https://doi.org/10.1007/978-3-642-18324-9
10 thms4 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me