Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

889 missions · 488 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open401Completed488All889
🏆Completed
Linear OptimizationStochastic Systems·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 8.4

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Correlated Equilibrium as an Expression of Bayesian Rationality I: Bayes Rationality at Every State Yields Exactly the Correlated Equilibrium DistributionsResearch Paper

Motivation

Nash equilibrium is the standard solution concept for strategic games, but it is usually justified by appeal to what players "would" do once they somehow coordinate on a profile. Correlated equilibrium, introduced by Aumann (J. Math. Econ. 1, 1974), enlarges the set of outcomes by letting players condition their actions on correlated private signals. In Correlated Equilibrium as an Expression of Bayesian Rationality (Econometrica 55, 1987), Aumann gave the concept a decision-theoretic foundation: if the players share a common prior over the states of the world and each player maximizes expected utility given his information at every state, then what they play is a correlated equilibrium — and every correlated equilibrium arises this way. The result is a standard entry point to the epistemic foundations of game theory, and correlated equilibria are central in algorithmic game theory because no-swap-regret learning dynamics converge to them (Foster–Vohra 1997; Hart–Mas-Colell 2000).

Timeline:

  • 1974, Aumann: correlated equilibrium defined, in a measure-theoretic model with subjective probabilities and information σ-fields.
  • 1987, Aumann: the Main Theorem (Bayes rationality at every state under a common prior implies correlated equilibrium play) and its converse, in a finite model with information partitions.

Setting

A game GGG in strategic form has players iii, action sets SiS^iSi, action nnn-tuples s∈S=S1×⋯×Sns\in S=S^1\times\dots\times S^ns∈S=S1×⋯×Sn, and payoffs hi(s)∈Rh^i(s)\in\mathbb Rhi(s)∈R.

A correlated strategy nnn-tuple is a function f:Γ→Sf:\Gamma\to Sf:Γ→S on a finite probability space (Γ,q)(\Gamma,q)(Γ,q), with q≥0q\ge 0q≥0 and ∑γq(γ)=1\sum_\gamma q(\gamma)=1∑γ​q(γ)=1. Its expected payoff is Ehi(f)=∑γq(γ)hi(f(γ))Eh^i(f)=\sum_\gamma q(\gamma)h^i(f(\gamma))Ehi(f)=∑γ​q(γ)hi(f(γ)). For gi:Γ→Sig^i:\Gamma\to S^igi:Γ→Si, the profile (f−i,gi)(f^{-i},g^i)(f−i,gi) replaces player iii's coordinate of fff by gig^igi. The function fff is a correlated equilibrium (Definition 2.1) if

Ehi(f) ≥ Ehi(f−i,gi)(2.2)Eh^i(f)\ \ge\ Eh^i(f^{-i},g^i)\qquad(2.2)Ehi(f) ≥ Ehi(f−i,gi)(2.2)

for every player iii and every gig^igi that is a function of fif^ifi (i.e. gi=φ∘fig^i=\varphi\circ f^igi=φ∘fi). The distribution of fff assigns to each s∈Ss\in Ss∈S the number q{f−1(s)}q\{f^{-1}(s)\}q{f−1(s)}, and a correlated equilibrium distribution (c.e.d.) is the distribution of some correlated equilibrium.

An information system consists of a finite set Ω\OmegaΩ of states of the world, a common prior ppp on Ω\OmegaΩ, an information partition Pi\mathcal P^iPi of Ω\OmegaΩ for each player, and action functions si:Ω→Si\mathbf s^i:\Omega\to S^isi:Ω→Si with s=(s1,…,sn)\mathbf s=(\mathbf s^1,\dots,\mathbf s^n)s=(s1,…,sn), each si\mathbf s^isi constant on the elements of Pi\mathcal P^iPi (each player knows his own action). For a random variable xxx, E(x∣Pi)(ω)E(x\mid\mathcal P^i)(\omega)E(x∣Pi)(ω) is the ppp-average of xxx over the element of Pi\mathcal P^iPi containing ω\omegaω. Player iii is Bayes rational at ω\omegaω if

E(hi(s)∣Pi)(ω) ≥ E(hi(s−i,a)∣Pi)(ω)for every a∈Si.E\big(h^i(\mathbf s)\mid\mathcal P^i\big)(\omega)\ \ge\ E\big(h^i(\mathbf s^{-i},a)\mid\mathcal P^i\big)(\omega)\quad\text{for every }a\in S^i .E(hi(s)∣Pi)(ω) ≥ E(hi(s−i,a)∣Pi)(ω)for every a∈Si.

Formalization targets

Goal: Main Theorem with its converse

Q is a c.e.d. of G  ⟺  ∃ information system (Ω,p,(Pi),s): every player is Bayes rational at every state, and Q(a)=p{s=a} ∀a.Q\ \text{is a c.e.d. of }G\iff\exists\ \text{information system }(\Omega,p,(\mathcal P^i),\mathbf s):\ \text{every player is Bayes rational at every state, and } Q(a)=p\{\mathbf s=a\}\ \forall a.Q is a c.e.d. of G⟺∃ information system (Ω,p,(Pi),s): every player is Bayes rational at every state, and Q(a)=p{s=a} ∀a.

This is the two-sided statement the paper announces in its introduction (p. 2) and closes in Sect. 4d (p. 11): "under Bayesian rationality, the set of all information systems corresponds precisely to the set of all correlated equilibria."

Milestones

  1. Main Theorem, proof: summing the cell-wise inequalities over the partition, Ehi(s−i,gi)≤Ehi(s)Eh^i(\mathbf s^{-i},g^i)\le Eh^i(\mathbf s)Ehi(s−i,gi)≤Ehi(s) for gig^igi constant on the cells of Pi\mathcal P^iPi.
  2. Main Theorem, proof: s\mathbf ss itself is a correlated equilibrium on (Ω,p)(\Omega,p)(Ω,p).
  3. Main Theorem (p. 7): the distribution of s\mathbf ss is a c.e.d.
  4. Sect. 4d: in the system generated by fff (partitions generated by fif^ifi), Bayes rationality everywhere is equivalent to (2.2).
  5. Sect. 4d: every correlated equilibrium is realized by a Bayes-rational information system with the same distribution.

The mission also states, as a supporting lemma without a milestone, the cell-wise step of the proof of the Main Theorem: Bayes rationality at every state gives E(hi(s−i,gi)∣P)≤E(hi(s)∣P)E(h^i(\mathbf s^{-i},g^i)\mid P)\le E(h^i(\mathbf s)\mid P)E(hi(s−i,gi)∣P)≤E(hi(s)∣P) on every cell PPP for gig^igi constant on cells.

Significance

The theorem identifies correlated equilibrium as the outcome of individual Bayesian decision making under a common prior, without any assumption that players randomize or that their choices are independent. It shows that the Nash equilibrium's independence requirement is not implied by rationality alone, and it is the template for later epistemic characterizations of solution concepts. On the computational side, correlated equilibrium distributions form a polytope described by linear inequalities (the companion mission of this series), which is why they are the tractable equilibrium notion in algorithmic game theory.

The result is proved in the paper; it has no machine-checked formalization known to this mission. Formalizing it pins down the exact role of the standing assumptions — finiteness, a common prior, measurability of each player's action with respect to his own partition, rationality at every state — and of the conditional expectation on cells of probability zero. The definitions (information systems, Bayes rationality, correlated equilibria as functions on a finite probability space) are reusable for later formalizations of the paper's Sect. 5 (subjective correlated equilibrium) and of other epistemic results.

Difficulty

The mathematics is short; the difficulty lies in the bookkeeping that the paper's notation hides. The hypothesis is interim (a conditional inequality at each state), while Definition 2.1 is ex ante (an unconditional inequality). Passing between them requires the law of total expectation over a partition whose cells may have probability zero, where conditional expectations are undefined. Deviations in Definition 2.1 are functions of fif^ifi, not arbitrary maps, and must be shown constant on cells, which uses measurability of si\mathbf s^isi. A tempting first idea — that rationality against every fixed action already gives rationality against every deviation — fails without measurability: a player who does not know his own action could be rational at each state against constant deviations while a deviation φ∘si\varphi\circ\mathbf s^iφ∘si varies inside his cells. The converse direction needs an information system that satisfies every axiom of the goal's right-hand side, not just one that is Bayes rational.

Formalization scope

  • Players form a finite type ι with decidable equality; action sets S i are arbitrary types (the paper's finiteness of SiS^iSi is not used); payoffs are h : ι → (∀ i, S i) → ℝ.
  • Probability spaces are finite types with a real weight vector satisfying AGT.IsLottery (from the published definition agt_games). State spaces and the witnessing probability spaces of a c.e.d. range over Type; for finite sets this loses nothing.
  • Partitions are Setoids. The Common Prior Assumption is built into the information system, which has a single prior. Measurability of each action function is a field of the structure.
  • Conditional expectation on a cell is a ratio of finite sums; on a cell of probability zero Lean returns 000, so Bayes rationality at such states holds vacuously. The prior is not required to have full support. This matches the paper, whose argument multiplies each cell inequality by the cell's probability.
  • Deviations in Definition 2.1 are exactly the compositions φ∘fi\varphi\circ f^iφ∘fi; neither all maps nor only constant maps. A c.e.d. requires a genuine probability vector, ruling out the trivializing reading in which the zero weight function witnesses every QQQ.
  • Contributions welcome: proofs of the milestones, a general law-of-total-expectation lemma for finite partitions, and lemmas relating distr to sums over action profiles.

Selected references

  • R. J. Aumann, Correlated Equilibrium as an Expression of Bayesian Rationality, Econometrica 55 (1987), no. 1, 1–18. https://doi.org/10.2307/1911154
  • R. J. Aumann, Subjectivity and Correlation in Randomized Strategies, Journal of Mathematical Economics 1 (1974), 67–96. https://doi.org/10.1016/0304-4068(74)90037-8
  • D. P. Foster and R. V. Vohra, Calibrated Learning and Correlated Equilibrium, Games and Economic Behavior 21 (1997), 40–55. https://doi.org/10.1006/game.1997.0595
  • S. Hart and A. Mas-Colell, A Simple Adaptive Procedure Leading to Correlated Equilibrium, Econometrica 68 (2000), 1127–1150. https://doi.org/10.1111/1468-0262.00153
9 thms3 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOptimization·Captain: mikedeng1

Linear Programming: Foundations and Extensions II: Farkas' Lemma and Strict Complementary SlacknessTextbook

Motivation

Every linear program comes with a second linear program, its dual, and most of what is known about linear programming is a statement about how the two interact. Weak duality gives certificates of optimality; strong duality says those certificates always exist; complementary slackness turns optimality into a system of equations. These three facts are the core of any first course in optimization and of every correctness argument for the simplex method.

Strict complementarity is the sharpest statement of the same kind. Complementary slackness says that in each pair (a primal variable and its dual slack, a dual variable and its primal slack) at least one member vanishes at optimality. Strict complementarity says that some optimal pair can be chosen so that exactly one member vanishes in each pair. The result is due to Goldman and Tucker (1956). It is what identifies the optimal face of a linear program and its partition of the variables into those that can be positive at an optimum and those that cannot, and it is a standing ingredient in the analysis of interior-point methods, which approach this strictly complementary optimum rather than a vertex.

This mission formalizes the chain from duality to strict complementarity as it is developed in Chapters 5 and 10 of Vanderbei, Linear Programming: Foundations and Extensions (4th ed., Springer 2014, doi:10.1007/978-1-4614-7630-6). It is the second mission of a series on that book.

Timeline:

  • 1902 — Farkas publishes the lemma on the solvability of linear inequality systems.
  • 1947–1951 — von Neumann, and Gale, Kuhn and Tucker, establish linear programming duality.
  • 1956 — Goldman and Tucker prove the existence of strictly complementary optimal solutions (in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38).

Setting

Fix integers m,n≥0m, n \ge 0m,n≥0, a real m×nm \times nm×n matrix A=(aij)A = (a_{ij})A=(aij​), a vector b∈Rmb \in \mathbb{R}^mb∈Rm and a vector c∈Rnc \in \mathbb{R}^nc∈Rn. The primal problem is

maximize cTxsubject toAx+w=b,x≥0, w≥0,(10.9)\text{maximize } c^T x \quad\text{subject to}\quad Ax + w = b,\quad x \ge 0,\ w \ge 0, \qquad (10.9)maximize cTxsubject toAx+w=b,x≥0, w≥0,(10.9)

where w=b−Axw = b - Axw=b−Ax is the primal slack. The dual problem is

minimize bTysubject toATy−z=c,y≥0, z≥0,(10.10)\text{minimize } b^T y \quad\text{subject to}\quad A^T y - z = c,\quad y \ge 0,\ z \ge 0, \qquad (10.10)minimize bTysubject toATy−z=c,y≥0, z≥0,(10.10)

where z=ATy−cz = A^T y - cz=ATy−c is the dual slack. A vector xxx is primal feasible if x≥0x \ge 0x≥0 and w≥0w \ge 0w≥0; it is primal optimal if it is feasible and cTx′≤cTxc^T x' \le c^T xcTx′≤cTx for every feasible x′x'x′. Dual feasibility and dual optimality are defined in the same way, with minimization. Inequalities between vectors are componentwise, and ξ>0\xi > 0ξ>0 means that every component of ξ\xiξ is strictly positive.

A halfspace of Rn\mathbb{R}^nRn is a set {x:aTx≤β}\{x : a^T x \le \beta\}{x:aTx≤β} with a≠0a \ne 0a=0; a polyhedron is a set {x:Ax≤b}\{x : Ax \le b\}{x:Ax≤b} for some mmm, AAA and bbb.

In the Lean development these objects live in the namespace VanderbeiLP.StrictComp: primalSlack A b x, dualSlack A c y, PrimalFeasible, DualFeasible, PrimalOptimal, DualOptimal, IsHalfspace, IsPolyhedron.

Formalization targets

Goal: Strict Complementary Slackness (Theorem 10.7)

If the primal (10.9) has an optimal solution, then there exist a primal optimal x∗x^*x∗ and a dual optimal y∗y^*y∗, with slacks w∗=b−Ax∗w^* = b - Ax^*w∗=b−Ax∗ and z∗=ATy∗−cz^* = A^T y^* - cz∗=ATy∗−c, such that

x∗+z∗>0andy∗+w∗>0.x^* + z^* > 0 \qquad\text{and}\qquad y^* + w^* > 0.x∗+z∗>0andy∗+w∗>0.

The only hypothesis is primal optimality; the existence of a dual optimum is part of the conclusion.

Milestones

  1. Theorem 5.1 (Weak Duality). Primal feasible xxx and dual feasible yyy satisfy cTx≤bTyc^T x \le b^T ycTx≤bTy.
  2. Theorem 5.2 (Strong Duality). If the primal has an optimal x∗x^*x∗, the dual has an optimal y∗y^*y∗ with cTx∗=bTy∗c^T x^* = b^T y^*cTx∗=bTy∗.
  3. Theorem 5.3 (Complementary Slackness). Feasible xxx, yyy are both optimal if and only if xjzj=0x_j z_j = 0xj​zj​=0 for all jjj and wiyi=0w_i y_i = 0wi​yi​=0 for all iii.
  4. Lemma 10.5 (Farkas' Lemma). Ax≤bAx \le bAx≤b has no solution if and only if some yyy satisfies ATy=0A^T y = 0ATy=0, y≥0y \ge 0y≥0, bTy<0b^T y < 0bTy<0.
  5. Theorem 10.4 (Separation of polyhedra). Two disjoint nonempty polyhedra lie in two disjoint halfspaces.
  6. Theorem 10.6. If both problems are feasible, there are feasible xˉ\bar xxˉ, yˉ\bar yyˉ​ with xˉ+zˉ>0\bar x + \bar z > 0xˉ+zˉ>0 and yˉ+wˉ>0\bar y + \bar w > 0yˉ​+wˉ>0.

Theorem 10.6 is the feasible-solution version of the goal; Theorem 10.4 is a further consequence of Farkas' Lemma in the same chapter.

Significance

Strict complementarity determines the optimal partition: the set of indices jjj for which some optimal x∗x^*x∗ has xj∗>0x^*_j > 0xj∗​>0 is exactly the complement of the set for which some optimal dual slack zj∗z^*_jzj∗​ is positive. This partition describes the optimal faces of both problems, is the object that interior-point methods recover in the limit, and is the starting point of sensitivity analysis beyond a single optimal basis. Farkas' Lemma and the separation theorem are the linear-algebraic form of convex separation and are reused across optimization, game theory and polyhedral combinatorics.

All results of this mission are classical and proved in the literature. What the mission adds is a machine-checked version of them in one fixed linear-programming form, the inequality form with explicit slacks used throughout Vanderbei's book. Weak duality, strong duality and complementary slackness are already formalized on this platform for other forms (Bertsimas–Tsitsiklis's general form, a minimization, and a covering pair with the roles of primal and dual exchanged). Those statements are equivalent to the ones here only after a transformation (negating the objective, swapping primal and dual), so they are not the same theorems. The Farkas variant for inequality systems, the separation theorem for two polyhedra, and both strict complementarity theorems have no formal counterpart on the platform.

Difficulty

Weak duality and the converse direction of complementary slackness are short computations. The substance lies elsewhere. Strong duality and Farkas' Lemma require a genuine existence argument; the book obtains them from the simplex method, whose termination is itself a nontrivial fact, and any other route needs an independent theorem of the alternative.

For strict complementarity the obvious attempt fails. Complementary slackness gives, for each optimal pair, only that one member of each complementary pair vanishes; nothing in a single optimal basic solution forces the other member to be positive, and in degenerate problems every basic optimal pair can fail strictness. A strictly complementary pair is in general not a vertex of either optimal face, so it cannot be found by inspecting basic solutions. The goal also asks for more than Theorem 10.6: the positivity must be achieved within the optimal sets, which are faces cut out by an additional objective-level constraint, so the feasible-solution argument does not transfer verbatim.

Formalization scope

Vectors are Fin n → ℝ and Fin m → ℝ; the constraint matrix is Matrix (Fin m) (Fin n) ℝ; m and n are arbitrary natural numbers, including zero. The slacks are functions of the solution (primalSlack A b x = b - A *ᵥ x, dualSlack A c y = Aᵀ *ᵥ y - c), never free variables, so a "solution (x,w)(x, w)(x,w)" of the book is the vector xxx with the slack it determines. Optimality is attainment of the maximum (minimum) over the feasible set; no supremum, value function or extended reals are involved. The strict inequality ξ>0\xi > 0ξ>0 is written componentwise as ∀ j, 0 < x j + dualSlack A c y j and ∀ i, 0 < y i + primalSlack A b x i.

A halfspace carries a nonzero normal vector. Without that requirement the empty set would be a halfspace and the separation theorem would be trivial; the formal definition rules this out.

The book states every result in this mission with its hypotheses explicit, and none of them asserts the existence of an unspecified constant, so no explicit-constant instantiation was needed. The remark after Theorem 10.7 refers to "the complementary slackness theorem (Theorem 5.1)"; the complementary slackness theorem is Theorem 5.3, and the milestones follow the theorem numbering.

A complete development needs a theorem of the alternative for real linear inequality systems (Mathlib has Farkas-type results for cones and the geometric Hahn–Banach theorem, but no ready-made matrix version of Lemma 10.5) and elementary convex-combination arguments on feasible sets. The definitions of this mission are self-contained and reusable for any later chapter that works in Vanderbei's inequality form. Proofs of any milestone are welcome, as are proofs that avoid the simplex method.

Selected references

  • R. J. Vanderbei, Linear Programming: Foundations and Extensions, 4th ed., International Series in Operations Research & Management Science 196, Springer, 2014. doi:10.1007/978-1-4614-7630-6
  • J. Farkas, "Theorie der einfachen Ungleichungen", Journal für die reine und angewandte Mathematik 124 (1902), 1–27. doi:10.1515/crll.1902.124.1
  • A. J. Goldman and A. W. Tucker, "Theory of linear programming", in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, Princeton University Press, 1956, 53–97.
  • D. Gale, H. W. Kuhn and A. W. Tucker, "Linear programming and the theory of games", in Activity Analysis of Production and Allocation, Wiley, 1951, 317–329.
9 thms3 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOptimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions XI: Convexity and Subgradients of the Value Function in Decomposition with Respect to VariablesTextbook

Motivation

Large convex programs often have a block structure: a small set of "complicating" variables xxx couples otherwise separate subproblems in the remaining variables yyy. Decomposition with respect to variables fixes xxx, solves the subproblem in yyy, and treats the optimal subproblem value as a function of xxx alone. The outer problem in xxx is then small but nonsmooth, because the optimal value of a constrained program is generally not differentiable in its parameters. Shor's Chapter 4 (Shor 1985, Ch. 4) presents this reduction as a principal application of subgradient methods: once a subgradient of the outer function can be read off from the subproblem, the methods of Chapters 2–3 apply directly. The same construction underlies Benders decomposition (Benders 1962) and its convex generalization (Geoffrion 1972), and parametric decomposition schemes for linear programs.

The chapter's other numbered results serve the same programme from the dual side: the Lagrangian dual function of a program over a compact set gives a lower bound usable in branch and bound (Theorem 4.3), exact nonsmooth penalty functions turn a constrained convex program into one unconstrained nonsmooth minimization (Theorem 4.2; nonsmooth penalties were first studied systematically by I. I. Eremin, 1967), and a stochastic transportation model is shown to be a convex program before being solved through its dual (Lemma 4.3).

Setting

The variables split into x∈Elxx \in E^x_lx∈Elx​ and y∈Emyy \in E^y_my∈Emy​ (Euclidean spaces, inner product (⋅,⋅)(\cdot,\cdot)(⋅,⋅)). The problem is

min⁡x,yf0(x,y)s.t.fi(x,y)≤0,i=1,…,n,(4.1)–(4.2)\min_{x,y} f_0(x,y) \quad \text{s.t.} \quad f_i(x,y) \le 0,\quad i = 1,\dots,n, \qquad (4.1)\text{–}(4.2)x,ymin​f0​(x,y)s.t.fi​(x,y)≤0,i=1,…,n,(4.1)–(4.2)

with f0,f1,…,fnf_0, f_1, \dots, f_nf0​,f1​,…,fn​ convex functions of z=(x,y)z = (x,y)z=(x,y) (jointly convex), finite everywhere. For a fixed xˉ\bar xxˉ, the subproblem (4.3)–(4.4) is min⁡y∈D(xˉ)f0(xˉ,y)\min_{y \in D(\bar x)} f_0(\bar x, y)miny∈D(xˉ)​f0​(xˉ,y) with D(xˉ)={y:fi(xˉ,y)≤0}D(\bar x) = \{y : f_i(\bar x,y) \le 0\}D(xˉ)={y:fi​(xˉ,y)≤0}. Where it has a solution y(xˉ)y(\bar x)y(xˉ), the value function is

Φ(xˉ)=min⁡y∈D(xˉ)f0(xˉ,y).(4.5)\Phi(\bar x) = \min_{y \in D(\bar x)} f_0(\bar x,y). \qquad (4.5)Φ(xˉ)=y∈D(xˉ)min​f0​(xˉ,y).(4.5)

The Slater condition at xˉ\bar xxˉ asks for a yyy with fi(xˉ,y)<0f_i(\bar x,y) < 0fi​(xˉ,y)<0 for all iii. The Lagrange function is LU(x,y)=f0(x,y)+∑iUifi(x,y)L_U(x,y) = f_0(x,y) + \sum_i U_i f_i(x,y)LU​(x,y)=f0​(x,y)+∑i​Ui​fi​(x,y), and U≥0U \ge 0U≥0 are Kuhn–Tucker multipliers at xˉ\bar xxˉ when Φ(xˉ)=min⁡yLU(xˉ,y)\Phi(\bar x) = \min_y L_U(\bar x,y)Φ(xˉ)=miny​LU​(xˉ,y). A subgradient of a function of (x,y)(x,y)(x,y) is written through its projections (gx,gy)(g^x, g^y)(gx,gy) on the two blocks; a subgradient of Φ\PhiΦ at xˉ\bar xxˉ is a ggg with Φ(x)−Φ(xˉ)≥(x−xˉ,g)\Phi(x) - \Phi(\bar x) \ge (x - \bar x, g)Φ(x)−Φ(xˉ)≥(x−xˉ,g).

Formalization targets

Goal: Theorem 4.1 (p. 94)

If WWW is a convex set of xxx-values at which the subproblem has a solution, then Φ\PhiΦ is convex on WWW; and if xˉ∈W\bar x \in Wxˉ∈W satisfies the Slater condition, then for every optimal y(xˉ)y(\bar x)y(xˉ), multipliers UUU exist, LUL_ULU​ has a subgradient at (xˉ,y(xˉ))(\bar x, y(\bar x))(xˉ,y(xˉ)) with vanishing yyy-projection, and the xxx-projection of any such subgradient satisfies

gΦ(xˉ)=gLUx(xˉ,y(xˉ))∈∂Φ(xˉ).(4.6)g_\Phi(\bar x) = g^x_{L_U}(\bar x, y(\bar x)) \in \partial \Phi(\bar x). \qquad (4.6)gΦ​(xˉ)=gLU​x​(xˉ,y(xˉ))∈∂Φ(xˉ).(4.6)

Milestones for the goal

  1. Convexity of Φ\PhiΦ on WWW (Theorem 4.1, first assertion).
  2. Existence of Kuhn–Tucker multipliers for the subproblem under Slater (p. 95, display).
  3. Existence of a subgradient of LUL_ULU​ with vanishing yyy-projection (p. 95).
  4. Formula (4.6) for a given multiplier vector and such a subgradient (p. 95, final display).

Further results of the chapter

  1. Corollary (4.7): if each fα(x,⋅)f_\alpha(x,\cdot)fα​(x,⋅) is continuously differentiable in yyy, then gf0x+∑iUigfixg^x_{f_0} + \sum_i U_i g^x_{f_i}gf0​x​+∑i​Ui​gfi​x​, built from arbitrary subgradients of the fαf_\alphafα​, is a subgradient of Φ\PhiΦ.
  2. Lemma 4.3: the stochastic transportation problem (4.163)–(4.165) is a convex program.
  3. Theorem 4.2: with nonsmooth penalties pip_ipi​ whose slopes ci=lim⁡t→0+pi(t)/tc_i = \lim_{t\to0+} p_i(t)/tci​=limt→0+​pi​(t)/t exceed a Lagrange multiplier vector yˉ\bar yyˉ​, the minimizers of S=f0+∑pi∘fiS = f_0 + \sum p_i \circ f_iS=f0​+∑pi​∘fi​ are exactly the solutions of the constrained program; and if a minimizer of SSS solves the program, some multiplier vector satisfies yˉ≤c\bar y \le cyˉ​≤c.
  4. Theorem 4.3: for Φ(u)=min⁡x∈X[f0+∑uifi]\Phi(u) = \min_{x\in X}[f_0 + \sum u_i f_i]Φ(u)=minx∈X​[f0​+∑ui​fi​] over a compact XXX, Q=max⁡u≥0Φ(u)≤f∗Q = \max_{u\ge0}\Phi(u) \le f^*Q=maxu≥0​Φ(u)≤f∗.

Significance

The result itself. Theorem 4.1 is what makes decomposition with respect to variables an instance of convex nonsmooth minimization: the outer problem is convex, and one subproblem solve returns both Φ(xˉ)\Phi(\bar x)Φ(xˉ) and a subgradient. The algorithm on p. 96 — solve the subproblem at xkx_kxk​, form gΦ(xk)g_\Phi(x_k)gΦ​(xk​) by (4.6) or (4.7), take a subgradient step — is exactly this, and the step-size theory of Chapter 2 then gives convergence. The Corollary is the version used in practice for linear and quadratic subproblems, where multipliers and partial subgradients are computed directly. Theorem 4.2 justifies replacing constraints by nonsmooth penalties of finite slope, and Theorem 4.3 is the weak-duality bound behind Lagrangian relaxation in branch and bound.

Formalizing it. All results are classical and proved in the book; none is formalized as stated here. The platform already has related statements with different shapes: convexity of the perturbation value function in the constraint right-hand side (VectorSpaceOpt.perturbationValue_convex, Luenberger), Slater strong duality over the whole space (ConvexOptimization.slater_strong_duality), weak duality with an unconstrained domain (ConvexOptimization.weak_duality), weak Lagrangean duality for integer programs (LinearOptimization.integer_program_weak_lagrangean_duality), and the LP special case of convexity of the optimal cost (LinearOptimization.lp_optimal_cost_convex_in_rhs). This mission adds the partial-minimization form in which one block of variables is minimized out under joint convexity, its subgradient calculus, exact nonsmooth penalties, and weak duality over a compact domain.

Difficulty

Convexity of Φ\PhiΦ is elementary once the minimum is attained. The subgradient formula is where the obvious argument fails: an arbitrary subgradient of LUL_ULU​ at (xˉ,y(xˉ))(\bar x, y(\bar x))(xˉ,y(xˉ)) does not project to a subgradient of Φ\PhiΦ, because its yyy-projection contributes a term (y(x)−y(xˉ),gy)(y(x) - y(\bar x), g^y)(y(x)−y(xˉ),gy) of unknown sign. The theorem needs a subgradient whose yyy-projection vanishes, and its existence is a separate fact about partial minimization of a jointly convex, everywhere-finite function. The multipliers come from the Kuhn–Tucker theorem for the subproblem, which requires the Slater condition. In the Corollary, the difficulty is to show that differentiability in yyy forces the yyy-projection of any combination gf0+∑Uigfig_{f_0} + \sum U_i g_{f_i}gf0​​+∑Ui​gfi​​ to vanish. In Theorem 4.2 the necessity part needs a subdifferential chain rule for pi∘fip_i \circ f_ipi​∘fi​.

Formalization scope

  • ElxE^x_lElx​, EmyE^y_mEmy​ and ENE_NEN​ are EuclideanSpace ℝ (Fin l), EuclideanSpace ℝ (Fin m), EuclideanSpace ℝ (Fin N); constraints are indexed by Fin n (or Fin m). All functions are real-valued and finite everywhere; joint convexity is convexity on the product Elx×EmyE^x_l \times E^y_mElx​×Emy​.
  • Φ\PhiΦ is a real infimum over D(x)D(x)D(x). It is the book's minimum wherever the minimum is attained, and every statement assumes attainment at each point of WWW. A statement about Φ\PhiΦ at points where the subproblem has no solution would be about Lean's default value 000, and is ruled out by these hypotheses.
  • "Convex on some convex subset WWW of EnE_nEn​" is read as convexity on every convex WWW on which Φ\PhiΦ is defined. A formalization quantifying over a single unspecified WWW (e.g. a singleton) would be trivially true.
  • Formula (4.6) is stated for subgradients of LUL_ULU​ whose yyy-projection is zero, as the book's proof uses it; the subgradient inequality for Φ\PhiΦ is stated on all of WWW.
  • Kuhn–Tucker multipliers relative to an optimal yˉ\bar yyˉ​: U≥0U \ge 0U≥0, Uifi(xˉ,yˉ)=0U_i f_i(\bar x,\bar y) = 0Ui​fi​(xˉ,yˉ​)=0, and yˉ\bar yyˉ​ minimizes LU(xˉ,⋅)L_U(\bar x,\cdot)LU​(xˉ,⋅) over all yyy.
  • Theorem 4.2: a Lagrange multiplier vector is yˉ≥0\bar y \ge 0yˉ​≥0 with f0+∑yˉifi≥f∗f_0 + \sum\bar y_i f_i \ge f^*f0​+∑yˉ​i​fi​≥f∗ everywhere, f∗f^*f∗ the finite optimal value; the necessity clause is read as "for some multiplier vector" (for all multiplier vectors it is false); the limits cic_ici​ are given as hypotheses.
  • Theorem 4.3: the minimum (4.187) attained for every u≥0u \ge 0u≥0 (the book's "min"; no continuity assumed); f∗f^*f∗ attained; QQQ attained as the book's "max" presupposes.
  • Lemma 4.3: demands with densities and finite mean, penalty coefficients rj≥0r_j \ge 0rj​≥0.

Useful infrastructure beyond this mission: partial minimization of jointly convex functions, subgradients on product spaces, and a Kuhn–Tucker saddle-point theorem for convex programs with inequality constraints. Proofs of any milestone, and reusable lemmas for these, are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, Ch. 4, pp. 93–96, 131–133, 146–148. https://doi.org/10.1007/978-3-642-82118-9
  • J. F. Benders, Partitioning procedures for solving mixed-variables programming problems, Numerische Mathematik 4, 1962, 238–252. https://doi.org/10.1007/BF01386316
  • A. M. Geoffrion, Generalized Benders decomposition, Journal of Optimization Theory and Applications 10, 1972, 237–260. https://doi.org/10.1007/BF00934810
  • I. I. Eremin, The penalty method in convex programming, Soviet Mathematics Doklady 8, 1967, 459–462 (Shor's reference [22]).
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §29 (partial minimization and perturbation functions). https://doi.org/10.1515/9781400873173
12 thms3 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions X: The Space-Dilation Ellipsoid Method Localizes the Solution in Ellipsoids Shrinking by the Ratio q_nTextbook

Motivation

The ellipsoid method is the algorithm that settled the polynomial-time solvability of linear programming (Khachiyan, 1979) and that underlies the equivalence of separation and optimization in combinatorial optimization (Grötschel, Lovász and Schrijver, 1981). Its origin is in nonsmooth convex optimization. In 1976 Yudin and Nemirovskii proposed a modified method of centered sections that localizes an optimum inside a sequence of ellipsoids, and in 1977 N. Z. Shor observed independently that the same scheme is a subgradient method with space dilation along the gradient, the family of methods he had developed since 1969. Section 3.8 of Shor's monograph Minimization Methods for Non-Differentiable Functions (Springer 1985) presents the method in this second form and proves its basic localization property.

Timeline:

  • 1965. A. Yu. Levin proposes the method of centered sections (cuts through the center of gravity of a polyhedron); each cut removes at least a fixed fraction of the volume, but computing centers of gravity is impractical for n>3n > 3n>3.
  • 1969–1972. Shor introduces subgradient methods with space dilation along the gradient (SDG methods).
  • 1976. Yudin and Nemirovskii replace the polyhedron by a minimal ellipsoid containing a half-ellipsoid, obtaining a geometric volume decrease depending only on the dimension ([Yudin–Nemirovskii 1976]).
  • 1977. Shor shows that the same method is an SDG algorithm with coefficient β=(n−1)/(n+1)\beta = \sqrt{(n-1)/(n+1)}β=(n−1)/(n+1)​ ([Shor 1977]).
  • 1979. Khachiyan applies the method to linear inequalities with integer data, obtaining the first polynomial-time algorithm for linear programming ([Khachiyan 1979]).

Setting

Let EnE_nEn​ be nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y), and n>1n > 1n>1. For a unit vector ξ\xiξ and a number α\alphaα, the operator of space dilation along ξ\xiξ with coefficient α\alphaα is Rα(ξ)=I+(α−1)ξξTR_\alpha(\xi) = I + (\alpha - 1)\xi\xi^TRα​(ξ)=I+(α−1)ξξT: it multiplies the component of a vector along ξ\xiξ by α\alphaα and leaves the orthogonal component unchanged.

Let g:En→Eng : E_n \to E_ng:En​→En​ be a vector field, not necessarily continuous. The problem is to find a point x∗x^*x∗ with

(g(x),x−x∗)≥0for all x∈En,(g(x), x - x^*) \ge 0 \quad \text{for all } x \in E_n,(g(x),x−x∗)≥0for all x∈En​,

where it is known that such an x∗x^*x∗ exists in the closed ball S(x0,R)S(x_0, R)S(x0​,R) of radius R>0R > 0R>0 about a given point x0x_0x0​. Put β=(n−1)/(n+1)\beta = \sqrt{(n-1)/(n+1)}β=(n−1)/(n+1)​ and r=n/n2−1r = n/\sqrt{n^2-1}r=n/n2−1​. The algorithm (3.57)–(3.60) starts from x0x_0x0​, B0=InB_0 = I_nB0​=In​, h0=R/(n+1)h_0 = R/(n+1)h0​=R/(n+1), and at iteration k+1k+1k+1 stops if g(xk)=0g(x_k) = 0g(xk​)=0, and otherwise sets

ξk=BkTg(xk)∥BkTg(xk)∥,xk+1=xk−hkBkξk,Bk+1=BkRβ(ξk),hk+1=rhk.\xi_k = \frac{B_k^T g(x_k)}{\|B_k^T g(x_k)\|}, \quad x_{k+1} = x_k - h_k B_k \xi_k, \quad B_{k+1} = B_k R_\beta(\xi_k), \quad h_{k+1} = r h_k .ξk​=∥BkT​g(xk​)∥BkT​g(xk​)​,xk+1​=xk​−hk​Bk​ξk​,Bk+1​=Bk​Rβ​(ξk​),hk+1​=rhk​.

With Ak=Bk−1A_k = B_k^{-1}Ak​=Bk−1​, the localizing ellipsoid is Φk={x:∥Ak(x−xk)∥≤(n+1)hk}\Phi_k = \{x : \|A_k(x - x_k)\| \le (n+1)h_k\}Φk​={x:∥Ak​(x−xk​)∥≤(n+1)hk​}, and the dimension-dependent ratio is

qn=n−1n+1(nn2−1)n<1.q_n = \sqrt{\frac{n-1}{n+1}}\left(\frac{n}{\sqrt{n^2-1}}\right)^n < 1 .qn​=n+1n−1​​(n2−1​n​)n<1.

Three problems produce such a field: minimizing a convex fff on a ball (the field (3.62), a subgradient inside the ball and the outward radial direction outside); the convex program min⁡f0\min f_0minf0​ s.t. fi≤0f_i \le 0fi​≤0 (the field (3.65), a subgradient of the objective at feasible points and of a most violated constraint otherwise); and a convex–concave saddle point problem (the field {gfx,−gfy}\{g_f^x, -g_f^y\}{gfx​,−gfy​}).

Formalization targets

Goal: Theorem 3.14 (p. 86)

For every kkk,

∥Ak(xk−x∗)∥≤hk(n+1),(3.61)\|A_k(x_k - x^*)\| \le h_k (n+1), \tag{3.61}∥Ak​(xk​−x∗)∥≤hk​(n+1),(3.61)

that is, x∗∈Φkx^* \in \Phi_kx∗∈Φk​. The statement holds for every field ggg satisfying the monotonicity condition at x∗x^*x∗; nothing about continuity or convexity is assumed.

Milestones

  1. Eq. (3.4): ∥Rα(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2\|R_\alpha(\xi)x\| = \sqrt{\|x\|^2 + (\alpha^2-1)(x,\xi)^2}∥Rα​(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2​ for unit ξ\xiξ.
  2. Volume of Φk\Phi_kΦk​ (p. 87): (n+1)hk=Rrk(n+1)h_k = R r^k(n+1)hk​=Rrk and v(Φk)=v0Rnrnk/det⁡Akv(\Phi_k) = v_0 R^n r^{nk}/\det A_kv(Φk​)=v0​Rnrnk/detAk​, v0v_0v0​ the volume of the unit ball.
  3. Volume ratio (p. 87–88): v(Φk+1)=qn v(Φk)v(\Phi_{k+1}) = q_n\, v(\Phi_k)v(Φk+1​)=qn​v(Φk​) with qn<1q_n < 1qn​<1, the volumes being positive and finite.
  4. Eq. (3.62): the ball field satisfies (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0.
  5. Eq. (3.65): the convex-programming field satisfies (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0.
  6. Saddle point field (p. 90): (g(z),z−z∗)≥0(g(z), z - z^*) \ge 0(g(z),z−z∗)≥0.

Significance

The result. Theorem 3.14 with the volume identity says that after kkk steps the solution is confined to an ellipsoid of volume qnkq_n^kqnk​ times that of the initial ball, for any field of the above kind. Milestones 4–6 turn this into localization guarantees for constrained convex minimization, general convex programming and convex–concave saddle points, with a rate that depends only on the dimension. The same localization underlies the complexity bounds of the ellipsoid method for linear programming and the polynomial equivalence of separation and optimization.

Formalizing it. The results are classical and proved in the book. No machine-checked proof of the space-dilation form of the method is known to exist. The platform already contains a proved version of the Bertsimas–Tsitsiklis form (LinearOptimization.ellipsoid_update_halfspace_subset, LinearOptimization.ellipsoid_update_volume_lt: a half-ellipsoid E(z,D)∩{aTx≥aTz}E(z, D) \cap \{a^Tx \ge a^Tz\}E(z,D)∩{aTx≥aTz} is covered by an updated ellipsoid whose volume is smaller by a factor below e−1/(2(n+1))e^{-1/(2(n+1))}e−1/(2(n+1))), and Khachiyan's feasibility algorithm (SmaleNinth.khachiyan_ellipsoid_decides). Those statements are about a center/shape-matrix update and give a volume inequality; this mission is about the iterates of Shor's matrix recursion Bk+1=BkRβ(ξk)B_{k+1} = B_k R_\beta(\xi_k)Bk+1​=Bk​Rβ​(ξk​) and the exact ratio qnq_nqn​. Relating the two parametrizations (Dk=(n+1)2hk2BkBkTD_k = (n+1)^2 h_k^2 B_k B_k^TDk​=(n+1)2hk2​Bk​BkT​) is a welcome side result.

Difficulty

The obvious approach, tracking the ellipsoid through the center and shape matrix and invoking a minimum-volume covering argument, is not what the algorithm computes: here the iterate is updated through the factor BkB_kBk​ and the stepsize hkh_khk​ is fixed in advance, independent of the field, so the induction must be carried out in the transformed coordinates zk=Ak(xk−x∗)z_k = A_k(x_k - x^*)zk​=Ak​(xk​−x∗) in which the ellipsoid is a ball. The difficulty is that the monotonicity condition gives only the sign of one inner product, (zk,ξk)≥0(z_k, \xi_k) \ge 0(zk​,ξk​)≥0, while the norm of zk+1z_{k+1}zk+1​ depends on both (zk,ξk)(z_k,\xi_k)(zk​,ξk​) and ∥zk∥\|z_k\|∥zk​∥; the constants β\betaβ and rrr are exactly those for which the resulting quadratic estimate closes. For the volume identity, the main technical step is computing det⁡Rβ(ξ)=β\det R_\beta(\xi) = \betadetRβ​(ξ)=β and the Lebesgue measure of a linear image of a ball in EuclideanSpace.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n); matrices act through Matrix.toEuclideanLin; Bk∗B_k^*Bk∗​ is the transpose. Rα(ξ)R_\alpha(\xi)Rα​(ξ) is the matrix I+(α−1)ξξTI + (\alpha-1)\xi\xi^TI+(α−1)ξξT (the book's property 10); for unit ξ\xiξ this is the operator of the book's definition.
  • The algorithm is the definition ellipsoidMethod g R x₀ : ℕ → EllState n, with state (xk,Bk,hk)(x_k, B_k, h_k)(xk​,Bk​,hk​), B0=IB_0 = IB0​=I, h0=R/(n+1)h_0 = R/(n+1)h0​=R/(n+1). If g(xk)=0g(x_k) = 0g(xk​)=0 the state is repeated from then on (the book stops); the normalization in (3.57) is only performed when g(xk)≠0g(x_k) \ne 0g(xk​)=0. AkA_kAk​ is the matrix inverse of BkB_kBk​, which is nonsingular.
  • Theorem 3.14 is stated for n>1n > 1n>1, R>0R > 0R>0, x∗x^*x∗ with ∥x0−x∗∥≤R\|x_0 - x^*\| \le R∥x0​−x∗∥≤R and (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0 for all xxx, for every kkk. The book's additional assumption that g(x)≠0g(x) \ne 0g(x)=0 for x≠x∗x \ne x^*x=x∗ is not used by its proof and is omitted. The iterates are those of the recursion; a statement about an arbitrary ellipsoid containing x∗x^*x∗, or about an arbitrary invertible matrix in place of BkB_kBk​, would not be this theorem and is ruled out by the definitions.
  • Volumes are Lebesgue measure in ℝ≥0∞. The ellipsoid is given for an arbitrary center (the book writes x∗x^*x∗ in one place and xkx_kxk​ in another; the volume is the same). The volume formula requires the first kkk iterations to have been performed (g(xj)≠0g(x_j) \ne 0g(xj​)=0, j<kj < kj<k); the ratio requires iteration k+1k+1k+1 to be performed.
  • The printed chain on p. 87 has misprints (exponents 222 and 111 on n/n2−1n/\sqrt{n^2-1}n/n2−1​ where nnn is meant, and (n−1)/(n+1)(n-1)/(n+1)(n−1)/(n+1) for (n−1)/(n+1)\sqrt{(n-1)/(n+1)}(n−1)/(n+1)​); the statement follows the value of qnq_nqn​ given on p. 88. The estimate for x∉S(x0,R)x \notin S(x_0,R)x∈/S(x0​,R) before (3.62) has a sign misprint; only the conclusion is stated.
  • Needed infrastructure: determinant of a rank-one perturbation of the identity (det⁡(I+c ξξT)=1+c∥ξ∥2\det(I + c\,\xi\xi^T) = 1 + c\|\xi\|^2det(I+cξξT)=1+c∥ξ∥2, available in Mathlib as the matrix determinant lemma), the measure of a linear image (MeasureTheory.Measure.addHaar_image_linearMap), and elementary real inequalities for qn<1q_n < 1qn​<1. The space-dilation lemmas are reusable in the other Shor missions on SDG methods and the rrr-algorithm.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, §3.8. https://doi.org/10.1007/978-3-642-82118-9
  • D. B. Yudin and A. S. Nemirovskii, Informational complexity and efficient methods for the solution of convex extremal problems, Ekonomika i Matematicheskie Metody 12 (1976), 357–369 (English translation: Matekon 13 (1977), 25–45).
  • N. Z. Shor, Cut-off method with space extension in convex programming problems, Cybernetics 13 (1977), 94–96.
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Mathematics Doklady 20 (1979), 191–194.
  • R. G. Bland, D. Goldfarb and M. J. Todd, The ellipsoid method: a survey, Operations Research 29 (1981), 1039–1091. https://doi.org/10.1287/opre.29.6.1039
  • M. Grötschel, L. Lovász and A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions VII: Geometric Convergence of Subgradient Methods with Space Dilation along the GradientTextbook

Motivation

The subgradient method for a nonsmooth convex function converges, but slowly: when the level sets of the objective are elongated, the subgradient is nearly orthogonal to the direction towards the minimum, and the method zigzags. For smooth functions the remedy is a change of metric (Newton and quasi-Newton methods); for nonsmooth functions no Hessian exists to supply one. N. Z. Shor's answer was to learn a metric from the subgradients themselves: after each step, stretch the space along the latest (transformed) subgradient, so that components of future subgradients parallel to it are damped. These subgradient methods with space dilation along the gradient (SDG methods) are the ancestors of Shor's r-algorithm and of the ellipsoid method, which the book (p. 49) describes as a special case of the same family and which Khachiyan later used to show that linear programming is solvable in polynomial time.

Section 3.4 of Shor's monograph (Springer 1985, translated by K. C. Kiwiel and A. Ruszczyński, doi:10.1007/978-3-642-82118-9) proves that, under a two-sided condition on the objective, a suitable SDG method decreases function values at the speed of a geometric progression whose ratio is invariant under nonsingular linear changes of variables. This mission formalizes that chain of results.

Setting

Let EnE_nEn​ be the nnn-dimensional Euclidean space with inner product (x,y)(x,y)(x,y). For a unit vector ξ\xiξ and a coefficient α≥0\alpha \ge 0α≥0, the operator of space dilation along ξ\xiξ is

Rα(ξ) x=x+(α−1)(x,ξ) ξ,R_\alpha(\xi)\,x = x + (\alpha - 1)(x,\xi)\,\xi ,Rα​(ξ)x=x+(α−1)(x,ξ)ξ,

which multiplies the component of xxx along ξ\xiξ by α\alphaα and leaves the orthogonal complement fixed.

Let f:En→Rf : E_n \to \mathbb{R}f:En​→R and let g:En→Eng : E_n \to E_ng:En​→En​ be a generalized gradient: a subgradient of fff when fff is convex, an almost-gradient when fff is almost differentiable. The SDG method starts from x0x_0x0​ and a nonsingular operator B0=A0−1B_0 = A_0^{-1}B0​=A0−1​. At step k=0,1,…k = 0, 1, \dotsk=0,1,…: if g(xk)=0g(x_k) = 0g(xk​)=0 it stops; otherwise it forms the transformed gradient g~k=Bk∗g(xk)\tilde g_k = B_k^* g(x_k)g~​k​=Bk∗​g(xk​), the direction ξk+1=g~k/∥g~k∥\xi_{k+1} = \tilde g_k/\|\tilde g_k\|ξk+1​=g~​k​/∥g~​k​∥, and

xk+1=xk−hk+1Bkξk+1,Bk+1=BkR1/αk+1(ξk+1),Ak+1=Rαk+1(ξk+1)Ak,x_{k+1} = x_k - h_{k+1} B_k \xi_{k+1}, \qquad B_{k+1} = B_k R_{1/\alpha_{k+1}}(\xi_{k+1}), \qquad A_{k+1} = R_{\alpha_{k+1}}(\xi_{k+1}) A_k ,xk+1​=xk​−hk+1​Bk​ξk+1​,Bk+1​=Bk​R1/αk+1​​(ξk+1​),Ak+1​=Rαk+1​​(ξk+1​)Ak​,

with a stepsize hk+1h_{k+1}hk+1​ and a dilation coefficient αk+1\alpha_{k+1}αk+1​. So AkA_kAk​ is the accumulated space transformation, Bk=Ak−1B_k = A_k^{-1}Bk​=Ak−1​, and each step is a subgradient step for φk(y)=f(Bky)\varphi_k(y) = f(B_k y)φk​(y)=f(Bk​y) in the variables y=Akxy = A_k xy=Ak​x.

The quantitative results assume, for a point x∗x^*x∗ and the ball Sd={x:∥x−x∗∥≤d}S_d = \{x : \|x - x^*\| \le d\}Sd​={x:∥x−x∗∥≤d}, the two-sided condition

N [f(x)−f(x∗)]≤(g(x), x−x∗)≤M [f(x)−f(x∗)],x∈Sd,M>N>0.(3.18)N\,[f(x) - f(x^*)] \le (g(x),\, x - x^*) \le M\,[f(x) - f(x^*)], \qquad x \in S_d, \quad M > N > 0. \qquad (3.18)N[f(x)−f(x∗)]≤(g(x),x−x∗)≤M[f(x)−f(x∗)],x∈Sd​,M>N>0.(3.18)

For a convex function the lower inequality holds with N=1N = 1N=1; the upper one bounds how far fff is from a positively homogeneous function around x∗x^*x∗.

Formalization targets

Goal: Theorem 3.4

Under (3.18), with B0=IB_0 = IB0​=I, x0∈Sdx_0 \in S_dx0​∈Sd​, stepsizes hk+1=2MNM+Nf(xk)−f(x∗)∥g~k∥h_{k+1} = \frac{2MN}{M+N}\frac{f(x_k)-f(x^*)}{\|\tilde g_k\|}hk+1​=M+N2MN​∥g~​k​∥f(xk​)−f(x∗)​, a constant coefficient 1<α≤M+NM−N1 < \alpha \le \frac{M+N}{M-N}1<α≤M−NM+N​, and GGG a bound for ∥g∥\|g\|∥g∥ on SdS_dSd​: there are c>0c > 0c>0 and indices k1<k2<⋯k_1 < k_2 < \cdotsk1​<k2​<⋯ with

f(xkp)−f(x∗)≤c α−kp/n,f(x_{k_p}) - f(x^*) \le c\,\alpha^{-k_p/n},f(xkp​​)−f(x∗)≤cα−kp​/n,

and for every k≥1k \ge 1k≥1

min⁡0≤i≤k−1 [f(xi)−f(x∗)]≤Gk(α2−1) dNα2k/n−1.\min_{0 \le i \le k-1}\,[f(x_i) - f(x^*)] \le \frac{G\sqrt{k(\alpha^2-1)}\,d}{N\sqrt{\alpha^{2k/n}-1}} .0≤i≤k−1min​[f(xi​)−f(x∗)]≤Nα2k/n−1​Gk(α2−1)​d​.

Milestones

  1. Eq. (3.4): ∥Rα(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2\|R_\alpha(\xi)x\| = \sqrt{\|x\|^2 + (\alpha^2-1)(x,\xi)^2}∥Rα​(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2​.
  2. Theorem 3.1: if ∥g(xk)∥≤d\|g(x_k)\| \le d∥g(xk​)∥≤d and 1+δ≤αk≤α∗1+\delta \le \alpha_k \le \alpha^*1+δ≤αk​≤α∗, then ∥g~kp∥<c (∏j≤kpαj)−1/n\|\tilde g_{k_p}\| < c\,(\prod_{j\le k_p}\alpha_j)^{-1/n}∥g~​kp​​∥<c(∏j≤kp​​αj​)−1/n along a subsequence.
  3. Theorem 3.2: for constant α>1\alpha > 1α>1 and B0=IB_0 = IB0​=I, min⁡0≤r≤k−1∥g~r∥≤dk(α2−1)/α2k/n−1\min_{0\le r\le k-1}\|\tilde g_r\| \le d\sqrt{k(\alpha^2-1)}/\sqrt{\alpha^{2k/n}-1}min0≤r≤k−1​∥g~​r​∥≤dk(α2−1)​/α2k/n−1​.
  4. Theorem 3.3: under (3.18) and the rules above, ∥Ak(xk−x∗)∥≤d\|A_k(x_k - x^*)\| \le d∥Ak​(xk​−x∗)∥≤d for all kkk.

Significance

The result shows that one fixed rule, depending only on MMM, NNN and nnn, yields linear convergence of function values for every objective satisfying (3.18), at a ratio α−1/n\alpha^{-1/n}α−1/n that does not deteriorate when the problem is badly scaled: the method, and hence its rate, is invariant under nonsingular linear changes of variables. This is the property the ellipsoid method inherits (Section 3.8 of the book), and the same space-dilation machinery drives the r-algorithm (Section 3.7), still used for large nonsmooth problems such as Lagrangian duals of integer programs.

The theorems are proved in the book; none of them, and no space-dilation method, has a machine-checked proof to our knowledge, and the platform has no statement about variable-metric subgradient methods. The mission provides a reusable formal model of the SDG iteration, the eigenvalue-growth arguments behind Theorems 3.1–3.2, and the one-step invariant of Theorem 3.3. The formalization also corrects two points of the printed text (see Formalization scope).

Difficulty

Theorem 3.3 is a one-step computation, but Theorems 3.1 and 3.2 are not: they relate the size of the transformed gradients to the growth of the singular values of AkA_kAk​, whose determinant is ∏jαj\prod_j \alpha_j∏j​αj​. A bound on ∥g~k∥\|\tilde g_k\|∥g~​k​∥ at a single step says nothing, since the dilations can concentrate in few directions; the argument has to control the largest singular value of AkA_kAk​ over many steps against the geometric-mean lower bound (det⁡Ak)1/n(\det A_k)^{1/n}(detAk​)1/n. The dimension nnn enters the rate exactly through this comparison. Theorem 3.4 then needs the invariant of Theorem 3.3 to keep every iterate inside SdS_dSd​, where (3.18) and the bound GGG are available.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n) with n≥1n \ge 1n≥1 in the rate statements. Operators are continuous linear maps; B0B_0B0​ is a continuous linear equivalence and A0A_0A0​ its inverse. The state (xk,Bk,Ak)(x_k, B_k, A_k)(xk​,Bk​,Ak​) is produced by a defined recursion sdg, not assumed; g~k\tilde g_kg~​k​ is gTilde.
  • The stepsize rule receives the index, the current point and g~k\tilde g_kg~​k​; the dilation coefficient at step kkk is α (k+1). When g(xk)=0g(x_k) = 0g(xk​)=0 the state is repeated, which encodes the book's stop; no division by zero is used.
  • The book states Theorems 3.1–3.4 for almost differentiable fff with ggg an almost-gradient; the proofs use only the bounds on ∥g∥\|g\|∥g∥ and (3.18), so the Lean statements quantify over every map ggg with those properties. GGG is any bound for ∥g∥\|g\|∥g∥ on SdS_dSd​ in place of the maximum.
  • Theorems 3.2–3.4 take B0=IB_0 = IB0​=I, as their proofs do; Theorem 3.1 allows any nonsingular B0B_0B0​.
  • Two corrections to the printed statements, both following the proofs: Theorem 3.4's record bound carries the factor 1/N1/N1/N that the proof derives, and the record minima in Theorems 3.2 and 3.4 range over the indices 0,…,k−10, \dots, k-10,…,k−1 that the proof controls, rather than 1,…,k1, \dots, k1,…,k.
  • Constants ccc and subsequences are existential and chosen after the data of the run, before the index ppp. A statement placing ccc after ppp, or dropping (3.18) on SdS_dSd​, would be trivially true or false and is ruled out.

Useful infrastructure, reusable for the r-algorithm and ellipsoid chapters: identities for Rα(ξ)R_\alpha(\xi)Rα​(ξ), determinants and singular values of products of rank-one dilations, and the invariance of the SDG iteration under a linear change of variables. Proofs of any milestone, and alternative arguments for Theorem 3.1, are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, §§3.2–3.4, pp. 49–62 (translated by K. C. Kiwiel and A. Ruszczyński). https://doi.org/10.1007/978-3-642-82118-9
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions III: Convergence of the Normalized Subgradient Method with Divergent-Series StepsizesTextbook

Motivation

Many optimization problems of operations research have objectives that are convex but not differentiable: Lagrangian duals of integer and combinatorial programs, maxima of finitely many affine or smooth functions, penalty functions for systems of inequalities, and the value functions produced by decomposition. For such functions the gradient method and steepest descent fail. Constant steps cannot work because the subgradients need not tend to zero at a nondifferentiable minimum, and exact line search along the negative gradient can converge to a point that is not a minimizer (the example on pp. 22–23 of the source).

The subgradient method replaces the gradient by an arbitrary subgradient and gives up monotone decrease of the objective. Its convergence theory is the foundation of nondifferentiable optimization and of Lagrangian relaxation in integer programming.

Timeline. N. Z. Shor proposed the method with normalized steps in 1962 (Kiev). Yu. M. Ermoliev proved convergence in finite dimensions with divergent-series stepsizes (Kibernetika, 1966), and B. T. Polyak proved it for constrained problems in Hilbert space (Doklady Akad. Nauk SSSR, 1967). Held, Wolfe and Crowder (Mathematical Programming, 1974) brought the method to large combinatorial problems through Lagrangian relaxation. This mission formalizes the exposition of Section 2.1–2.2 of Shor's monograph (Springer, 1985), which gives self-contained proofs of these results.

Setting

Let EnE_nEn​ be the nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y) and norm ∥x∥\|x\|∥x∥. Let f:En→Rf : E_n \to \mathbb{R}f:En​→R be a convex function finite everywhere. A vector ggg is a subgradient of fff at x0x_0x0​ if

f(x)−f(x0)≥(g,x−x0)for all x∈En.f(x) - f(x_0) \ge (g, x - x_0) \quad \text{for all } x \in E_n.f(x)−f(x0​)≥(g,x−x0​)for all x∈En​.

Every convex fff has at least one subgradient at every point. Let M∗={x:f(x)≤f(y) ∀y}M^* = \{x : f(x) \le f(y) \ \forall y\}M∗={x:f(x)≤f(y) ∀y} be the set of minimum points and, when it is nonempty, f∗=min⁡ff^* = \min ff∗=minf.

A subgradient selection gfg_fgf​ assigns to each xxx some subgradient gf(x)g_f(x)gf​(x) of fff at xxx. No particular choice is made: every result holds for every selection. Given stepsizes h1,h2,⋯>0h_1, h_2, \dots > 0h1​,h2​,⋯>0 and a starting point x0x_0x0​, the normalized subgradient method is

xk+1=xk−hk+1 gf(xk)∥gf(xk)∥,k=0,1,…(2.4)x_{k+1} = x_k - h_{k+1}\, \frac{g_f(x_k)}{\|g_f(x_k)\|}, \qquad k = 0, 1, \dots \tag{2.4}xk+1​=xk​−hk+1​∥gf​(xk​)∥gf​(xk​)​,k=0,1,…(2.4)

If gf(xk)=0g_f(x_k) = 0gf​(xk​)=0, then xkx_kxk​ is a minimizer and the computation stops. The unnormalized method is xk+1=xk−hk+1gf(xk)x_{k+1} = x_k - h_{k+1} g_f(x_k)xk+1​=xk​−hk+1​gf​(xk​) (2.5), and the method with restarts takes that step when hk+1∥gf(xk)∥≤ch_{k+1}\|g_f(x_k)\| \le chk+1​∥gf​(xk​)∥≤c and returns to x0x_0x0​ otherwise.

Formalization targets

Goal: Theorem 2.2 (p. 25)

If M∗M^*M∗ is nonempty and bounded, hk>0h_k > 0hk​>0, hk→0h_k \to 0hk​→0 and ∑k≥1hk=+∞\sum_{k \ge 1} h_k = +\infty∑k≥1​hk​=+∞, then for every x0x_0x0​ and every subgradient selection, the method (2.4) either reaches M∗M^*M∗ at some index kˉ\bar kkˉ or

lim⁡k→∞min⁡y∈M∗∥xk−y∥=0,lim⁡k→∞f(xk)=f∗.\lim_{k \to \infty} \min_{y \in M^*} \|x_k - y\| = 0, \qquad \lim_{k \to \infty} f(x_k) = f^*.k→∞lim​y∈M∗min​∥xk​−y∥=0,k→∞lim​f(xk​)=f∗.

Milestones

  1. Eq. (2.3), the one-step inequality ∥xk+1−x∗∥2≤∥xk−x∗∥2+h2−2h ρ(x∗,Uk)\|x_{k+1} - x^*\|^2 \le \|x_k - x^*\|^2 + h^2 - 2h\,\rho(x^*, U_k)∥xk+1​−x∗∥2≤∥xk​−x∗∥2+h2−2hρ(x∗,Uk​), where Uk={x:f(x)=f(xk)}U_k = \{x : f(x) = f(x_k)\}Uk​={x:f(x)=f(xk​)}.
  2. Theorem 2.1: with constant step length hhh, some level surface {f=f(xk∗)}\{f = f(x_{k^*})\}{f=f(xk∗​)} passes within h(1+ε)/2h(1+\varepsilon)/2h(1+ε)/2 of any x∗∈M∗x^* \in M^*x∗∈M∗.
  3. Corollaries 1 and 2: a suitable constant step length yields a subsequence with f(xki)−f∗<δf(x_{k_i}) - f^* < \deltaf(xki​​)−f∗<δ. If M∗M^*M∗ contains a ball of radius r>h/2r > h/2r>h/2, the method terminates in M∗M^*M∗.
  4. Theorem 2.5: if M∗M^*M∗ contains a ball of radius rrr, ∑hk=∞\sum h_k = \infty∑hk​=∞ and lim sup⁡hk<2r\limsup h_k < 2rlimsuphk​<2r, then (2.4) terminates in M∗M^*M∗.
  5. Theorem 2.3: for the unnormalized method (2.5), bounded subgradients along the trajectory imply convergence, and unbounded subgradients rule it out.
  6. Theorem 2.4: the method with restarts converges for every c>0c > 0c>0.

Significance

Theorem 2.2 is the basic convergence guarantee for first-order methods on general nonsmooth convex functions. It needs no Lipschitz constant, no bound on the subgradients and no smoothness: normalizing the step makes the step length independent of the size of the subgradient. The divergent-series rule hk→0h_k \to 0hk​→0, ∑hk=∞\sum h_k = \infty∑hk​=∞ is the standard stepsize condition of stochastic approximation and of Lagrangian relaxation codes. Theorems 2.3–2.5 mark its boundaries. The unnormalized method needs bounded subgradients (Theorem 2.3), restarts remove that need (Theorem 2.4), and a solution set with nonempty interior gives finite termination (Theorem 2.5). The last result is the basis of the finite methods for systems of convex inequalities and for the dual of an assignment problem with a unique solution (pp. 28–29).

All of these results are classical and proved in the source. None of them is formalized in Lean's Mathlib. The platform has neighbouring results that are not the same statements: Poljak's divergent-series theorem for concave piecewise-linear maximization (in Validation of Subgradient Optimization I), and rate bounds for Lipschitz objectives (First-Order and Stochastic Optimization Methods for ML II, Understanding Machine Learning X). This mission adds the general convex case with normalized steps, the dichotomy for unnormalized steps, and finite termination.

Difficulty

The standard rate analysis of the subgradient method bounds ∥xk+1−x∗∥2−∥xk−x∗∥2\|x_{k+1} - x^*\|^2 - \|x_k - x^*\|^2∥xk+1​−x∗∥2−∥xk​−x∗∥2 by −2hk+1(f(xk)−f∗)/∥gf(xk)∥+hk+12-2h_{k+1}(f(x_k) - f^*)/\|g_f(x_k)\| + h_{k+1}^2−2hk+1​(f(xk​)−f∗)/∥gf​(xk​)∥+hk+12​. It then needs a uniform bound on ∥gf(xk)∥\|g_f(x_k)\|∥gf​(xk​)∥, which is exactly what is not assumed here. Nothing a priori keeps the iterates in a bounded set, and the subgradients of a general convex function (for instance f(x)=x4f(x) = x^4f(x)=x4, the source's example on p. 26) grow without bound away from M∗M^*M∗; with unnormalized steps this makes the method diverge. Even with normalized steps, the distance to a minimizer decreases only outside a neighbourhood of M∗M^*M∗ whose size is of the order of the current step, so a monotone decrease argument gives at best a subsequence with small function values. Convergence of the whole sequence min⁡y∈M∗∥xk−y∥\min_{y \in M^*}\|x_k - y\|miny∈M∗​∥xk​−y∥ to zero is a stronger statement, and boundedness of M∗M^*M∗ is essential to it.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n); fff is real-valued (finite everywhere) with ConvexOn ℝ Set.univ f.
  • The subgradient selection g is arbitrary, with the hypothesis ∀ x, IsSubgradient f x (g x). The starting point is arbitrary.
  • The iterations are defined recursively (normalizedIter, plainIter, resetIter); the stepsize sequence is h : ℕ → ℝ with h (k+1) used at step kkk. In (2.4), a zero subgradient is handled by an explicit branch that repeats the current iterate (which is then in M∗M^*M∗). No statement relies on Lean's convention x/0=0x/0 = 0x/0=0.
  • M∗M^*M∗ is required to be nonempty wherever the book writes min⁡y∈M∗\min_{y \in M^*}miny∈M∗​ or f∗=min⁡ff^* = \min ff∗=minf. min⁡y∈M∗∥xk−y∥\min_{y \in M^*}\|x_k - y\|miny∈M∗​∥xk​−y∥ is Metric.infDist, and f∗f^*f∗ is ⨅ y, f y.
  • ∑k≥1hk=+∞\sum_{k \ge 1} h_k = +\infty∑k≥1​hk​=+∞ is Tendsto (fun N => ∑ k ∈ Finset.range N, h (k+1)) atTop atTop. lim sup⁡hk<2r\limsup h_k < 2rlimsuphk​<2r is "for some q<2rq < 2rq<2r, eventually hk≤qh_k \le qhk​≤q", so it cannot hold vacuously for an unbounded sequence.
  • Corollary 1's step length hδh_\deltahδ​ is quantified before the selection and the starting point: it depends only on fff and δ\deltaδ.
  • Theorem 2.3 is stated as two implications, (bounded subgradients ⇒ convergence) and (unbounded ⇒ no convergence), not as a disjunction that one case could satisfy trivially.
  • A formalization of Theorem 2.2 that assumes bounded subgradients, a Lipschitz fff, or a specific subgradient choice (such as the minimal-norm one) proves a different and weaker theorem, and does not close the goal.

Needed infrastructure: continuity of convex functions on EnE_nEn​ (in Mathlib), compactness of sublevel sets when M∗M^*M∗ is bounded, and the geometry of level surfaces relative to supporting hyperplanes. The one-step inequality (2.3) and the level-set compactness lemma are reusable by the later missions of this series (linear rate, Polyak's stepsize, stochastic subgradient). Contributions that prove Eq. (2.3) or Theorem 2.1 first are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, Chapter 2, pp. 22–30. https://doi.org/10.1007/978-3-642-82118-9
  • B. T. Polyak, A general method for solving extremal problems, Doklady Akademii Nauk SSSR 174 (1967), 33–36 (the source's reference [64]).
  • Yu. M. Ermoliev, Methods for solving nonlinear extremal problems, Kibernetika (Kiev), no. 4 (1966), 1–17 (the source's reference [24]).
  • M. Held, P. Wolfe, H. P. Crowder, Validation of subgradient optimization, Mathematical Programming 6 (1974), 62–88. https://doi.org/10.1007/BF01580223
9 thms3 active usersReviewed
🏆Completed
Markov ChainProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems XIII: Lyapunov Criteria and z Standard Markov Chains with CostsTextbook

Motivation

Average cost control of queues rests on a small amount of Markov chain theory: when does a chain with costs have a well defined long-run average cost, and how can that be checked for a concrete model with an unbounded state space? Appendix C of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999, doi:10.1002/9780470317037) collects this material for countable state spaces and packages it in one hypothesis, the zzz standard chain. Chapters 7–10 of the book verify this hypothesis for the Markov chains induced by stationary policies in admission, routing and service-rate control models, and use its consequences to prove existence of average cost optimal policies.

The tools are Lyapunov functions in the sense of Foster (1953): a nonnegative function on the states whose expected one-step change is negative away from a finite set. Foster's criterion for positive recurrence, and its refinements bounding expected first passage times and costs, are the standard way to verify stability of queueing networks (Meyn and Tweedie, Markov Chains and Stochastic Stability, 1993/2009).

Setting

A Markov chain Γ\GammaΓ on a countable set SSS is given by transition probabilities Pij≥0P_{ij}\ge 0Pij​≥0 with ∑jPij=1\sum_j P_{ij}=1∑j​Pij​=1. XtX_tXt​ is the state at time ttt and Pij(t)P^{(t)}_{ij}Pij(t)​ the ttt-step transition probability (Pij(0)=δijP^{(0)}_{ij}=\delta_{ij}Pij(0)​=δij​). State iii leads to jjj if Pij(t)>0P^{(t)}_{ij}>0Pij(t)​>0 for some t≥0t\ge0t≥0; states that lead to each other communicate, which partitions SSS into communicating classes.

For a nonempty G⊆SG\subseteq SG⊆S the first passage time from iii is TiG=min⁡{t≥1:Xt∈G}T_{iG}=\min\{t\ge1: X_t\in G\}TiG​=min{t≥1:Xt​∈G} given X0=iX_0=iX0​=i, and miG=E[TiG]∈[0,∞]m_{iG}=E[T_{iG}]\in[0,\infty]miG​=E[TiG​]∈[0,∞]; mijm_{ij}mij​ is the case G={j}G=\{j\}G={j} and miim_{ii}mii​ the expected return time. The taboo probability GPik(t)_G P^{(t)}_{ik}G​Pik(t)​ is the probability of going from iii to kkk in ttt steps without visiting GGG at the intermediate times, and Guik_G u_{ik}G​uik​ is the expected number of visits to kkk at times 0≤t<TiG0\le t<T_{iG}0≤t<TiG​. A state is transient if P(Tii<∞)<1P(T_{ii}<\infty)<1P(Tii​<∞)<1 and positive recurrent if mii<∞m_{ii}<\inftymii​<∞; a positive recurrent class is a communicating class of positive recurrent states. The steady state probability is πj=(mjj)−1\pi_j=(m_{jj})^{-1}πj​=(mjj​)−1 (zero when mjj=∞m_{jj}=\inftymjj​=∞).

Each state carries a finite cost C(i)≥0C(i)\ge0C(i)≥0. The expected average cost over [0,n−1][0,n-1][0,n−1] from iii is

Ji(n)=1n E[∑t=0n−1C(Xt) ∣ X0=i]=1n∑t=0n−1∑jPij(t)C(j),J^{(n)}_i=\frac1n\,E\Big[\sum_{t=0}^{n-1}C(X_t)\,\Big|\,X_0=i\Big]=\frac1n\sum_{t=0}^{n-1}\sum_j P^{(t)}_{ij}C(j),Ji(n)​=n1​E[t=0∑n−1​C(Xt​)​X0​=i]=n1​t=0∑n−1​j∑​Pij(t)​C(j),

ciGc_{iG}ciG​ is the expected cost E[∑t=0TiG−1C(Xt)∣X0=i]E[\sum_{t=0}^{T_{iG}-1}C(X_t)\mid X_0=i]E[∑t=0TiG​−1​C(Xt​)∣X0​=i] of a first passage (defined when miG<∞m_{iG}<\inftymiG​<∞), and JR=∑j∈RπjC(j)J_R=\sum_{j\in R}\pi_jC(j)JR​=∑j∈R​πj​C(j) is the average cost on a positive recurrent class RRR. The chain is zzz standard (Definition C.2.5) if for a distinguished state zzz

miz<∞andciz<∞for all i∈S.m_{iz}<\infty\quad\text{and}\quad c_{iz}<\infty\qquad\text{for all } i\in S.miz​<∞andciz​<∞for all i∈S.

Formalization targets

Goal: Proposition C.2.6

If Γ\GammaΓ is zzz standard, then SSS is the union of a positive recurrent class R∋zR\ni zR∋z and a set of transient states, JR<∞J_R<\inftyJR​<∞, and

lim⁡n→∞Ji(n)=JRfor every i∈S.\lim_{n\to\infty}J^{(n)}_i=J_R\qquad\text{for every } i\in S.n→∞lim​Ji(n)​=JR​for every i∈S.

The statement fixes no constants: it asserts that the average cost exists, is finite, and does not depend on the initial state.

Milestones

  1. Proposition C.1.2: π\piπ is the unique stationary distribution of a positive recurrent class, and πj=eij/mii=πieij\pi_j=e_{ij}/m_{ii}=\pi_ie_{ij}πj​=eij​/mii​=πi​eij​.
  2. Proposition C.1.4: the first-step equations (C.2)–(C.4) for taboo probabilities, visit counts and miGm_{iG}miG​; ∑i∈GπimiG=1\sum_{i\in G}\pi_im_{iG}=1∑i∈G​πi​miG​=1 for GGG inside a positive recurrent class; mij<∞m_{ij}<\inftymij​<∞ within such a class.
  3. Proposition C.1.5: if ∑jPij[y(j)−y(i)]≤−ϵ\sum_jP_{ij}[y(j)-y(i)]\le-\epsilon∑j​Pij​[y(j)−y(i)]≤−ϵ off GGG, then miG≤y(i)/ϵm_{iG}\le y(i)/\epsilonmiG​≤y(i)/ϵ.
  4. Corollary C.1.6: the same with G={z}G=\{z\}G={z} and ∑jPzjy(j)<∞\sum_jP_{zj}y(j)<\infty∑j​Pzj​y(j)<∞ makes zzz positive recurrent.
  5. Proposition C.2.1: on a positive recurrent class, Ji(n)→JR=cii/miiJ^{(n)}_i\to J_R=c_{ii}/m_{ii}Ji(n)​→JR​=cii​/mii​.
  6. Proposition C.2.2: ciG=∑kC(k) Guikc_{iG}=\sum_kC(k)\,{}_Gu_{ik}ciG​=∑k​C(k)G​uik​, the first-step equation (C.13), and JR=∑i∈GπiciGJ_R=\sum_{i\in G}\pi_ic_{iG}JR​=∑i∈G​πi​ciG​.
  7. Proposition C.2.3 and Corollary C.2.4: the cost drift condition ∑jPij[r(j)−r(i)]≤−C(i)\sum_jP_{ij}[r(j)-r(i)]\le-C(i)∑j​Pij​[r(j)−r(i)]≤−C(i) off a finite set bounds ciG≤r(i)+FmiGc_{iG}\le r(i)+Fm_{iG}ciG​≤r(i)+FmiG​, and gives czz<∞c_{zz}<\inftyczz​<∞.
  8. Remark C.2.7: the hypotheses of C.1.6 and C.2.4 together imply the chain is zzz standard; so do irreducibility, positive recurrence and finite average cost.

Significance

Proposition C.2.6 is what makes the zzz standard hypothesis useful: an average cost criterion that is a genuine limit, finite, and independent of the initial state, even for chains with transient states and unbounded state spaces. Every average cost optimality result of the book that works with a stationary policy's induced chain (the (SEN) and (BOR) assumption sets, the approximating-sequence method, the continuous-time chapter) calls on this proposition or on the Lyapunov criteria of Remark C.2.7 to establish its hypotheses for queueing models.

All results of the mission are classical and proved in the literature; parts are stated in the book without proof and referred to Chung (1967), Grassmann et al. (1985) and renewal theory. None of them has been machine-checked in this form as far as the platform and Mathlib show: Mathlib has kernels and Ionescu-Tulcea trajectories but no countable-state Markov chain classification, no first passage calculus, and no Foster–Lyapunov criterion. Existing platform results on countable chains (the Levin–Peres–Wilmer series) treat irreducible chains without costs. A complete development here produces a reusable library of first passage identities, Foster–Lyapunov bounds for times and costs, and average cost limits on reducible chains.

Difficulty

The Lyapunov bounds (C.1.5, C.2.3) are telescoping arguments, but they require a clean handling of truncated passages and of sums that may be infinite: (C.7) is an inequality between possibly divergent series, and the step "iterate nnn times and let n→∞n\to\inftyn→∞" must be made rigorous for [0,∞][0,\infty][0,∞]-valued expectations.

The central difficulty is part (iii) of the goal for transient initial states. On the class RRR, the limit of Ji(n)J^{(n)}_iJi(n)​ is a renewal reward theorem over successive returns to zzz; from a transient state the first cycle has a different law, so a delayed renewal reward argument is needed, and it has to cover the case where costs are unbounded. The obvious approach, bounding Ji(n)J^{(n)}_iJi(n)​ between JRJ_RJR​ and the average over the first nnn steps of the chain started in zzz, fails because Pij(t)P^{(t)}_{ij}Pij(t)​ need not converge (periodic classes) and because finite cizc_{iz}ciz​ does not bound individual cost terms. Proposition C.1.2's uniqueness and the Kac-type identity of C.1.4(iv) likewise need the full cycle decomposition of a positive recurrent class.

Formalization scope

The chain is a structure MC S with P : S → S → ℝ≥0∞ and ∑' j, P i j = 1, over a countable type S; costs are C : S → ℝ≥0. Probabilities and expectations are ℝ≥0∞-valued sums over finite paths Fin (t+1) → S, so every quantity is defined without summability side conditions and may be ∞\infty∞. The first passage time is TiG≥1T_{iG}\ge1TiG​≥1; miGm_{iG}miG​ is the expectation of TiGT_{iG}TiG​ from its law (and ∞\infty∞ when P(TiG<∞)<1P(T_{iG}<\infty)<1P(TiG​<∞)<1), not defined by the recursion (C.4), so that (C.4) is a theorem. Guik_Gu_{ik}G​uik​ counts visits at times 0≤t<TiG0\le t<T_{iG}0≤t<TiG​. ciGc_{iG}ciG​ is computed over first passage paths and is used only when miG<∞m_{iG}<\inftymiG​<∞, as in the book. πj\pi_jπj​ is (mjj)−1(m_{jj})^{-1}(mjj​)−1, which the book states equals the Cesàro limit lim⁡nQjj(n)\lim_nQ^{(n)}_{jj}limn​Qjj(n)​. Ji(n)J^{(n)}_iJi(n)​ is meaningful for n≥1n\ge1n≥1, and limits are taken in [0,∞][0,\infty][0,∞]. The drift conditions ∑jPij[y(j)−y(i)]≤−ϵ\sum_jP_{ij}[y(j)-y(i)]\le-\epsilon∑j​Pij​[y(j)−y(i)]≤−ϵ and ∑jPij[r(j)−r(i)]≤−C(i)\sum_jP_{ij}[r(j)-r(i)]\le-C(i)∑j​Pij​[r(j)−r(i)]≤−C(i) are written in the equivalent additive form ∑jPijy(j)+ϵ≤y(i)\sum_jP_{ij}y(j)+\epsilon\le y(i)∑j​Pij​y(j)+ϵ≤y(i), which is equivalent for finite yyy and makes the case ∑jPijy(j)=∞\sum_jP_{ij}y(j)=\infty∑j​Pij​y(j)=∞ fail, as it does in the book.

A trivializing formalization, such as defining miGm_{iG}miG​ or ciGc_{iG}ciG​ by the equations (C.4) or (C.13), defining JRJ_RJR​ as the limit of Ji(n)J^{(n)}_iJi(n)​, or allowing a zzz standard chain whose return time or return cost to zzz is infinite, is ruled out: zzz standard requires miz<∞m_{iz}<\inftymiz​<∞ and ciz<∞c_{iz}<\inftyciz​<∞ for every iii including zzz, and each quantity is defined from path probabilities.

Needed infrastructure: path-sum manipulation in [0,∞][0,\infty][0,∞] (first-step and last-step decompositions), the ratio limit / renewal reward theorem for a positive recurrent class, and the delayed version for transient starts. The first passage calculus and the Lyapunov bounds are reusable by the book's other chapters on average cost, which state the zzz standard property for policy-induced chains. Contributions of lemmas on path sums and of an independent renewal reward library are welcome.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999, Appendix C, pp. 292–302. doi:10.1002/9780470317037
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, 2nd ed., Springer, 1967. doi:10.1007/978-3-642-62015-7
  • F. G. Foster, On the stochastic matrices associated with certain queuing processes, Annals of Mathematical Statistics 24 (1953), 355–360. doi:10.1214/aoms/1177728976
  • S. P. Meyn and R. L. Tweedie, Markov Chains and Stochastic Stability, 2nd ed., Cambridge University Press, 2009. doi:10.1017/CBO9780511626630
  • D. P. Heyman and M. J. Sobel, Stochastic Models in Operations Research, Vol. I, McGraw-Hill, 1982.
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems X: Average Cost Optimization of Continuous Time Markov Decision ChainsTextbook

Motivation

Many queueing systems evolve in continuous time: customers arrive according to a Poisson process, services take exponentially distributed times, and a controller may change the service rate, admit or reject customers, or route them whenever the state changes. Minimizing the long-run average cost of such a system is a standard problem in the control of queues (Lippman 1975; Puterman 1994, Ch. 11; Sennott 1999, Ch. 10). The continuous time model does not fit directly into the discrete time theory of Markov decision chains developed in the earlier chapters of Sennott's book, because time spent in a state now matters and the natural average cost is a ratio of expected cost to expected elapsed time.

This mission formalizes Sections 10.1–10.4 of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999): the elementary properties of the exponential distribution, the continuous time Markov decision chain and its average cost, a reduction of the continuous time problem to an auxiliary discrete time Markov decision chain, and the theorem stating that finite state approximating sequences of the auxiliary chain compute optimal average costs and optimal stationary policies of the continuous time chain. The chapter closes with an explicit average cost computation for the M/M/1 queue with service rate control.

Setting

A random variable XXX has the exponential distribution with rate μ>0\mu>0μ>0 if P(X≤t)=1−e−μtP(X\le t)=1-e^{-\mu t}P(X≤t)=1−e−μt for t≥0t\ge0t≥0. A function r(δ)r(\delta)r(δ) is o(δ)o(\delta)o(δ) if r(δ)/δ→0r(\delta)/\delta\to0r(δ)/δ→0 as δ→0+\delta\to0^+δ→0+.

A continuous time Markov decision chain (CTMDC) Ψ\PsiΨ has a countable state space SSS and, for each i∈Si\in Si∈S, a finite nonempty action set AiA_iAi​. Choosing a∈Aia\in A_ia∈Ai​ in state iii incurs an instantaneous cost G(i,a)≥0G(i,a)\ge0G(i,a)≥0 and a cost rate g(i,a)≥0g(i,a)\ge0g(i,a)≥0 in effect until the next transition. The time until the next transition is exponential with rate ν(i,a)>0\nu(i,a)>0ν(i,a)>0, so its mean is τ(i,a)=1/ν(i,a)\tau(i,a)=1/\nu(i,a)τ(i,a)=1/ν(i,a); the next state is jjj with probability Pij(a)P_{ij}(a)Pij​(a), where Pii(a)=0P_{ii}(a)=0Pii​(a)=0. A policy θ\thetaθ chooses, at each transition, an action (possibly at random) from the history of past states, actions and sojourn times; a stationary policy eee chooses e(i)e(i)e(i) in state iii. With CnC_nCn​ the cost and TnT_nTn​ the time of the first nnn transition periods, the average cost and the minimum average cost are

JθΨ(i)=lim sup⁡n→∞Eθ[Cn∣X0=i]Eθ[Tn∣X0=i],JΨ(i)=inf⁡θJθΨ(i).J^\Psi_\theta(i)=\limsup_{n\to\infty}\frac{E_\theta[C_n\mid X_0=i]}{E_\theta[T_n\mid X_0=i]},\qquad J^\Psi(i)=\inf_\theta J^\Psi_\theta(i).JθΨ​(i)=n→∞limsup​Eθ​[Tn​∣X0​=i]Eθ​[Cn​∣X0​=i]​,JΨ(i)=θinf​JθΨ​(i).

Assumption (CTB) requires constants τ\tauτ and BBB with 0<τ<inf⁡i,aτ(i,a)≤sup⁡i,aτ(i,a)≤B<∞0<\tau<\inf_{i,a}\tau(i,a)\le\sup_{i,a}\tau(i,a)\le B<\infty0<τ<infi,a​τ(i,a)≤supi,a​τ(i,a)≤B<∞. The auxiliary MDC Δ\DeltaΔ has the same states and actions, costs C(i,a)=G(i,a)ν(i,a)+g(i,a)C(i,a)=G(i,a)\nu(i,a)+g(i,a)C(i,a)=G(i,a)ν(i,a)+g(i,a), and transition probabilities Pij∗(a)=τν(i,a)Pij(a)P^*_{ij}(a)=\tau\nu(i,a)P_{ij}(a)Pij∗​(a)=τν(i,a)Pij​(a) for j≠ij\ne ij=i, Pii∗(a)=1−τν(i,a)P^*_{ii}(a)=1-\tau\nu(i,a)Pii∗​(a)=1−τν(i,a). Its average cost JθΔ(i)=lim sup⁡nn−1∑t<nEθ[C(Xt,Yt)]J^\Delta_\theta(i)=\limsup_n n^{-1}\sum_{t<n}E_\theta[C(X_t,Y_t)]JθΔ​(i)=limsupn​n−1∑t<n​Eθ​[C(Xt​,Yt​)] and minimum average cost JΔ(i)J^\Delta(i)JΔ(i) are those of Chapter 2. Assumption (CTAC) is JΔ(⋅)≤JΨ(⋅)J^\Delta(\cdot)\le J^\Psi(\cdot)JΔ(⋅)≤JΨ(⋅).

An approximating sequence (ΔN)N≥N0(\Delta_N)_{N\ge N_0}(ΔN​)N≥N0​​ for Δ\DeltaΔ uses finite state spaces SNS_NSN​ increasing to SSS and transition probabilities Pij∗(a;N)P^*_{ij}(a;N)Pij∗​(a;N) on SNS_NSN​ converging to Pij∗(a)P^*_{ij}(a)Pij∗​(a). The (AC) assumptions ask for constants JNJ^NJN and functions rNr^NrN on SNS_NSN​ solving

JN+rN(i)=min⁡a∈Ai{C(i,a)+∑j∈SNPij∗(a;N) rN(j)},i∈SN, N≥N0,(10.21)J^N+r^N(i)=\min_{a\in A_i}\Big\{C(i,a)+\sum_{j\in S_N}P^*_{ij}(a;N)\,r^N(j)\Big\},\qquad i\in S_N,\ N\ge N_0,\tag{10.21}JN+rN(i)=a∈Ai​min​{C(i,a)+j∈SN​∑​Pij∗​(a;N)rN(j)},i∈SN​, N≥N0​,(10.21)

with lim sup⁡NrN(i)<∞\limsup_N r^N(i)<\inftylimsupN​rN(i)<∞, lim inf⁡NrN(i)≥−Q\liminf_N r^N(i)\ge-QliminfN​rN(i)≥−Q for a constant Q≥0Q\ge0Q≥0, and lim sup⁡NJN=:J∗<∞\limsup_N J^N=:J^*<\inftylimsupN​JN=:J∗<∞, J∗≤JΔ(i)J^*\le J^\Delta(i)J∗≤JΔ(i).

Formalization targets

Goal: Theorem 10.3.3

Under (CTB), (CTAC) and the (AC) assumptions for an approximating sequence of Δ\DeltaΔ:

J∗=lim⁡N→∞JN exists and JΔ(i)=JΨ(i)=J∗(i∈S),J^*=\lim_{N\to\infty}J^N\ \text{exists and}\ J^\Delta(i)=J^\Psi(i)=J^*\quad(i\in S),J∗=N→∞lim​JN exists and JΔ(i)=JΨ(i)=J∗(i∈S),

and every limit point e∗e^*e∗ of a sequence eNe^NeN of stationary policies realizing the minimum in (10.21) satisfies Je∗Δ=JΔJ^\Delta_{e^*}=J^\DeltaJe∗Δ​=JΔ and Je∗Ψ=JΨJ^\Psi_{e^*}=J^\PsiJe∗Ψ​=JΨ. The goal leaves the chain, the approximating sequence and the constants of (CTB) arbitrary.

Milestones

  • Proposition 10.1.2: P(X>x+y∣X>y)=P(X>x)P(X>x+y\mid X>y)=P(X>x)P(X>x+y∣X>y)=P(X>x) for x,y>0x,y>0x,y>0, and P(X≤δ)=μδ+o(δ)P(X\le\delta)=\mu\delta+o(\delta)P(X≤δ)=μδ+o(δ).
  • Proposition 10.1.3: for independent exponentials, P(X1≤δ,X2≤δ)=o(δ)P(X_1\le\delta,X_2\le\delta)=o(\delta)P(X1​≤δ,X2​≤δ)=o(δ), P(X1<X2)=μ1/(μ1+μ2)P(X_1<X_2)=\mu_1/(\mu_1+\mu_2)P(X1​<X2​)=μ1​/(μ1​+μ2​), and min⁡(X1,X2)\min(X_1,X_2)min(X1​,X2​) is exponential with rate μ1+μ2\mu_1+\mu_2μ1​+μ2​.
  • Lemma 10.3.1: if zzz is bounded below and Zτ(i,e)+z(i)≥G(i,e)+g(i,e)τ(i,e)+∑jPij(e)z(j)Z\tau(i,e)+z(i)\ge G(i,e)+g(i,e)\tau(i,e)+\sum_jP_{ij}(e)z(j)Zτ(i,e)+z(i)≥G(i,e)+g(i,e)τ(i,e)+∑j​Pij​(e)z(j) for all iii (10.15), then JeΨ≤ZJ^\Psi_e\le ZJeΨ​≤Z.
  • Lemma 10.3.2: (Z,w)(Z,w)(Z,w) satisfies Z+w(i)≥C(i,e)+∑jPij∗(e)w(j)Z+w(i)\ge C(i,e)+\sum_jP^*_{ij}(e)w(j)Z+w(i)≥C(i,e)+∑j​Pij∗​(e)w(j) (10.20) if and only if (Z,τw)(Z,\tau w)(Z,τw) satisfies (10.15).
  • Proposition 10.4.1: in the M/M/1 queue with arrival rate λ\lambdaλ, holding cost H(i)=HiH(i)=HiH(i)=Hi and service cost rate c(a)c(a)c(a), the policy that always serves at rate a>λa>\lambdaa>λ has average cost ρac(a)+Hρa/(1−ρa)\rho_ac(a)+H\rho_a/(1-\rho_a)ρa​c(a)+Hρa​/(1−ρa​), ρa=λ/a\rho_a=\lambda/aρa​=λ/a.

Significance

The goal theorem turns the average cost control of a continuous time chain on an infinite state space into a finite computation: solve the optimality equation (10.21) of a finite truncation of the auxiliary chain, let the truncation grow, and read off the optimal average cost and an optimal stationary policy of the original continuous time chain. The auxiliary chain is the book's form of uniformization, and the result is what licenses the numerical study of the M/M/1 service rate control problem in Section 10.4 and of the M/M/K and polling models in Sections 10.5–10.6. Proposition 10.4.1 gives the closed-form benchmark against which the computed optimal policy is compared.

The results are proved in the book, some with details left to the reader (Lemma 10.3.2(ii), Problem 10.10), and the goal rests on Theorem 8.1.1 and Lemma 7.2.1 of the same book. None of them has, as far as a search of Mathlib and the Prove2Me catalogue shows, a machine-checked proof: Mathlib provides the exponential law (ProbabilityTheory.expMeasure) and its distribution function, but not memorylessness or the minimum of independent exponentials, and no continuous time Markov decision model. A formalization would supply these, together with a checked average cost comparison between a continuous time chain and its discrete time auxiliary chain.

Difficulty

The obvious argument compares the two chains policy by policy, but the policy classes differ: a policy for Δ\DeltaΔ may change action in every time slot, including slots where the state does not change, while a policy for Ψ\PsiΨ acts only at transitions and may use the observed sojourn times. Only the stationary policies coincide. The lower bound JΨ≥J∗J^\Psi\ge J^*JΨ≥J∗ therefore cannot be obtained by transferring policies, and it is exactly what Assumption (CTAC) supplies. The upper bound requires passing from the discrete time inequality (10.20) for the limit point e∗e^*e∗ to a bound on a ratio of expected cost to expected time in continuous time, where the denominator depends on the policy; the uniform bounds of (CTB) on the mean sojourn times are what control it. Inside Lemma 10.3.1 the function zzz is only bounded below, so the telescoping of expectations must be justified without integrability of zzz from above.

Formalization scope

The state space is a countable type S, actions a type Act, and action sets A i : Finset Act; the CTMDC and MDC structures hold data, and their axioms (nonempty action sets, nonnegative costs, positive rates, stochastic transition rows with Pii(a)=0P_{ii}(a)=0Pii​(a)=0) are separate predicates. Transition probabilities are ℝ≥0∞-valued; costs, rates and the functions z,w,rNz,w,r^Nz,w,rN are real. Expected costs, expected times and all average costs are ℝ≥0∞-valued, so +∞+\infty+∞ is a legitimate value, and they are compared with real constants in EReal; the limits superior and inferior of (AC) are taken in EReal. The expected cost of nnn transition periods under a general policy is a recursion over the periods in which the sojourn time is integrated against expMeasure ν(i,a) and the next state is drawn independently from Pi⋅(a)P_{i\cdot}(a)Pi⋅​(a); policies are measurable in the past sojourn times. In (10.15) and (10.20) the convergence of the series is part of the inequality. The strict inequality τ<inf⁡τ(i,a)\tau<\inf\tau(i,a)τ<infτ(i,a) of (CTB) is kept strict (as a positive margin); weakening it to ≤\le≤ would make Pii∗(a)P^*_{ii}(a)Pii∗​(a) vanish or turn negative.

The average cost JθΨJ^\Psi_\thetaJθΨ​ is a ratio of expectations, not the expectation of a ratio, and the infimum JΨJ^\PsiJΨ ranges over history dependent randomized policies that may use sojourn times; replacing either by a stationary-only class, or dropping (CTAC), gives a different theorem.

A complete development needs: expected rewards of a chain with exponential holding times, the average cost theory of Chapter 8 for the auxiliary chain (Theorem 8.1.1 and Lemma 7.2.1, restated here as needed), and renewal-reward reasoning for Proposition 10.4.1. The exponential-distribution lemmas are reusable beyond this mission and are welcome as independent contributions.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999. https://doi.org/10.1002/9780470317037
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, John Wiley & Sons, 1994. https://doi.org/10.1002/9780470316887
  • S. A. Lippman, Applying a new device in the optimization of exponential queuing systems, Operations Research 23(4), 687–710, 1975. https://doi.org/10.1287/opre.23.4.687
  • D. Gross and C. M. Harris, Fundamentals of Queueing Theory, 3rd ed., John Wiley & Sons, 1998.
10 thms3 active usersReviewed
🏆Completed
ProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems IX: Bounded Mean Residual Lifetimes Imply Finite Moments of All OrdersTextbook

Motivation

In a discrete-time queue the service of a customer lasts a random number YYY of slots. When such a system is modelled as a Markov decision chain (Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999, DOI 10.1002/9780470317037, Chapter 9), the state must record how much service is still owed, and the controller only observes that a service has lasted sss slots and is not yet finished. The relevant random quantity is then the residual life YsY_sYs​: the remaining service time given that sss slots have elapsed without completion. Verifying the book's average cost assumptions for such a model requires bounds on expected first passage times and costs, and these reduce to moment bounds on YYY and on the residual lives YsY_sYs​.

Section 9.2 isolates a single condition that makes those bounds available: the expected remaining service time is bounded uniformly in the elapsed time. The concept of mean residual life comes from reliability theory, where YYY is the lifetime of a component and E[Ys]E[Y_s]E[Ys​] is its expected remaining lifetime at age sss. This mission formalizes Section 9.2 of the book, together with the moment computation for batch arrivals (Lemma 9.5.2) that the same verification uses.

Setting

Let YYY be a random variable with values in {1,2,3,… }\{1,2,3,\dots\}{1,2,3,…} and distribution uy=P(Y=y)u_y = P(Y = y)uy​=P(Y=y), y≥1y \ge 1y≥1. Write F(y)=P(Y≤y)F(y) = P(Y \le y)F(y)=P(Y≤y) and F∗(y)=P(Y>y)=1−F(y)F^*(y) = P(Y > y) = 1 - F(y)F∗(y)=P(Y>y)=1−F(y) for y≥0y \ge 0y≥0, so F(0)=0F(0) = 0F(0)=0 and F∗(0)=1F^*(0) = 1F∗(0)=1. The kkk-th moment is

E[Yk]=∑y≥1ykuy∈[0,∞].E[Y^k] = \sum_{y \ge 1} y^k u_y \in [0,\infty].E[Yk]=y≥1∑​ykuy​∈[0,∞].

For s≥0s \ge 0s≥0 with F∗(s)>0F^*(s) > 0F∗(s)>0, the residual life YsY_sYs​ has distribution

P(Ys=y)=P(Y=s+y∣Y>s)=us+yF∗(s),y≥1,P(Y_s = y) = P(Y = s + y \mid Y > s) = \frac{u_{s+y}}{F^*(s)}, \qquad y \ge 1,P(Ys​=y)=P(Y=s+y∣Y>s)=F∗(s)us+y​​,y≥1,

with Y0=YY_0 = YY0​=Y; its tail is Fs∗(y)=F∗(s+y)/F∗(s)F^*_s(y) = F^*(s+y)/F^*(s)Fs∗​(y)=F∗(s+y)/F∗(s), and E[Ys]E[Y_s]E[Ys​] is the mean residual lifetime.

The distribution of YYY has bounded mean residual lifetimes (BMRL-UUU, Definition 9.2.4) if there is a finite constant UUU with

E[Ys]≤Ufor every s≥0 with F∗(s)>0,E[Y_s] \le U \qquad \text{for every } s \ge 0 \text{ with } F^*(s) > 0,E[Ys​]≤Ufor every s≥0 with F∗(s)>0,

and it is BMRL if it is BMRL-UUU for some UUU.

Three families appear by name: the geometric distribution geo(μ)\mathrm{geo}(\mu)geo(μ) of the number of Bernoulli(μ\muμ) trials to the first success, P(Y=y)=μ(1−μ)y−1P(Y=y) = \mu(1-\mu)^{y-1}P(Y=y)=μ(1−μ)y−1; the negative binomial neg bin(μ,r)\mathrm{neg\,bin}(\mu, r)negbin(μ,r) of the number of trials to the rrr-th success, P(Y=y)=(y−1r−1)μr(1−μ)y−rP(Y = y) = \binom{y-1}{r-1}\mu^r(1-\mu)^{y-r}P(Y=y)=(r−1y−1​)μr(1−μ)y−r for y≥ry \ge ry≥r; and the truncated Poisson trun Pois(λ)\mathrm{trun\,Pois}(\lambda)trunPois(λ), P(Y=y)=e−λ1−e−λλyy!P(Y=y) = \frac{e^{-\lambda}}{1-e^{-\lambda}}\frac{\lambda^y}{y!}P(Y=y)=1−e−λe−λ​y!λy​ for y≥1y \ge 1y≥1.

For Lemma 9.5.2, batches of customers arrive in each slot; the batch sizes X1,X2,…X_1, X_2, \dotsX1​,X2​,… are independent with common distribution pjp_jpj​, mean λ=∑jjpj\lambda = \sum_j j p_jλ=∑j​jpj​ and second moment λ(2)=∑jj2pj\lambda^{(2)} = \sum_j j^2 p_jλ(2)=∑j​j2pj​, and X(s)=X1+⋯+XsX(s) = X_1 + \dots + X_sX(s)=X1​+⋯+Xs​ is the number of arrivals in sss slots.

Formalization targets

Goal: Proposition 9.2.5

If the distribution of YYY is BMRL, then

E[Yk]<∞for every k.E[Y^k] < \infty \qquad \text{for every } k.E[Yk]<∞for every k.

The goal fixes no constant: it asserts only that a uniform first-moment bound on the residual lives forces every moment of YYY to be finite.

Milestones

  1. Proposition 9.2.1. E[Y]=∑y=0∞F∗(y)E[Y] = \sum_{y=0}^\infty F^*(y)E[Y]=∑y=0∞​F∗(y) and, for k≥2k \ge 2k≥2,
E[Yk]=1+∑z=0k−1(kz)[∑y=1∞yzF∗(y)].(9.4)E[Y^k] = 1 + \sum_{z=0}^{k-1}\binom{k}{z}\left[\sum_{y=1}^\infty y^z F^*(y)\right]. \tag{9.4}E[Yk]=1+z=0∑k−1​(zk​)[y=1∑∞​yzF∗(y)].(9.4)
  1. Remark 9.2.2. For k≥2k \ge 2k≥2, E[Yk]<∞E[Y^k] < \inftyE[Yk]<∞ if and only if ∑yyk−1F∗(y)<∞\sum_y y^{k-1}F^*(y) < \infty∑y​yk−1F∗(y)<∞.
  2. Proposition 9.2.3. For a positive integer kkk, E[Yk]<∞E[Y^k] < \inftyE[Yk]<∞ implies E[Ysk]<∞E[Y_s^k] < \inftyE[Ysk​]<∞ for all s≥0s \ge 0s≥0.
  3. Proposition 9.2.6. The geometric (0<μ<10<\mu<10<μ<1), negative binomial (0<μ<10<\mu<10<μ<1, r≥2r \ge 2r≥2) and truncated Poisson (λ>0\lambda > 0λ>0) distributions are BMRL.
  4. Lemma 9.5.2. Under λ(2)<∞\lambda^{(2)} < \inftyλ(2)<∞,
E[X(s)]=λs,E[(X(s))2]=λ(2)s+λ2s(s−1).(9.25)E[X(s)] = \lambda s, \qquad E[(X(s))^2] = \lambda^{(2)}s + \lambda^2 s(s-1). \tag{9.25}E[X(s)]=λs,E[(X(s))2]=λ(2)s+λ2s(s−1).(9.25)

Significance

The result itself. Proposition 9.2.5 turns a condition that is easy to check for concrete service distributions, and natural for services (a service whose expected remaining duration grows without bound as it goes on is undesirable), into the moment bounds that the average cost analysis consumes. With Proposition 9.2.6 it shows that the most common unbounded service distributions on {1,2,… }\{1,2,\dots\}{1,2,…} have finite moments of all orders; with Lemma 9.5.2 it supplies the linear and quadratic growth of expected arrivals and their second moments that the verification of the (WAC) assumptions for the batch-arrival queue of Example 9.3.1 needs (Section 9.5). Every bounded distribution is BMRL as well (the book's Problem 9.3).

Formalizing it. All results here are proved in the book; none has a machine-checked proof on the platform or in Mathlib, which has geometric and Poisson distributions but no residual lives, negative binomial or truncated Poisson laws. A complete development gives a reusable tail-sum calculus for moments of N\mathbb NN-valued random variables in [0,∞][0,\infty][0,∞], a residual-life construction for discrete distributions, and the BMRL property of three standard families. The platform's mean residual life order (the "Stochastic Orders II" mission, Shaked–Shanthikumar) compares two variables; BMRL is a uniform bound on one variable's residual lives and is not an order, so none of that material states these results.

Difficulty

BMRL controls only first moments, of the conditional laws YsY_sYs​; the goal asks for moments of every order of YYY itself. Bounding E[Yk]E[Y^k]E[Yk] by expanding E[Ys]E[Y_s]E[Ys​] for each fixed sss gives nothing, because each single bound is compatible with a heavy tail: the uniformity in sss is essential. The residual lives are also only defined where P(Y>s)>0P(Y > s) > 0P(Y>s)>0, so every argument must handle distributions with bounded support separately. Proposition 9.2.6 requires explicit control of ratios of tail sums for three families; for the negative binomial and truncated Poisson the tails have no closed form.

Formalization scope

  • YYY is represented by its law, a function u:N→[0,∞]u : \mathbb N \to [0,\infty]u:N→[0,∞] with ∑yuy=1\sum_y u_y = 1∑y​uy​=1 and u0=0u_0 = 0u0​=0 (IsDistOnPos). F∗F^*F∗, moments and residual-life moments are ℝ≥0∞-valued series; an infinite moment is +∞+\infty+∞ and "finite" means <∞< \infty<∞. No Bochner integral is used, so a finite-moment conclusion cannot hold vacuously through an integrability default.
  • The residual life YsY_sYs​ is defined by (9.7) and is used only where F∗(s)>0F^*(s) > 0F∗(s)>0; BMRL-UUU is required exactly at those sss, and UUU is a finite nonnegative real. A formalization requiring the bound at every sss with a junk value of E[Ys]E[Y_s]E[Ys​] where F∗(s)=0F^*(s) = 0F∗(s)=0 is ruled out: the definitions never divide by F∗(s)=0F^*(s) = 0F∗(s)=0 in a used position, and bounded distributions remain BMRL.
  • The geometric and negative binomial laws count trials (support starting at 111 and rrr), not failures as Mathlib's geometricPMF does.
  • Lemma 9.5.2 is stated on a probability space with measurable, mutually independent (iIndepFun) batch sizes of common law ppp, expectations as lower Lebesgue integrals, and only assumption (BA1), λ(2)<∞\lambda^{(2)} < \inftyλ(2)<∞, which is the part of the book's (BA) that concerns arrivals.
  • Welcome contributions: the tail-sum identity (9.4) and its reindexing lemmas, the residual-life tail formula (9.8) and moment formula (9.9), each as a separate lemma; and proofs that the three named families are probability distributions on their supports.

Selected references

  • Linn I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999, Section 9.2 (pp. 202–206) and Section 9.5 (pp. 214–215). DOI 10.1002/9780470317037
  • Moshe Shaked and J. George Shanthikumar, Stochastic Orders, Springer Series in Statistics, Springer, 2007, Section 2.A (the mean residual life order). DOI 10.1007/978-0-387-34675-5
8 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainProbability·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems IV: Average Cost Optimal Stationary Policies Exist for Finite State SpacesTextbook

Why average cost on finite state spaces

Controlled queues, inventories and communication links are run for a long time, and the quantity an operator usually cares about is the long-run average cost per period rather than a discounted total. The average cost criterion is harder to work with than the discounted one: its value is a lim sup⁡\limsuplimsup of Cesàro means, it is not given by a contraction, and for general (history dependent, randomized) policies the limit need not exist. Chapter 6 of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999) treats the case of a finite state space, where the strongest results hold: an average cost optimal policy exists, can be taken stationary, and can be obtained as a limit of discount optimal policies as the discount factor tends to one.

The results go back to D. Blackwell, "Discrete dynamic programming", Ann. Math. Statist. 33 (1962), who showed that for finite states and actions some stationary policy is discount optimal for all discount factors close to one. Such a policy is now called Blackwell optimal. Sennott's Chapter 6 derives average cost optimality of this policy and the multichain average cost optimality equation from it, in the notation used throughout the book.

Setting

A Markov decision chain (MDC) Δ\DeltaΔ has a countable state space SSS, a finite nonempty action set AiA_iAi​ in each state iii, nonnegative finite costs C(i,a)C(i,a)C(i,a), and transition probabilities Pij(a)P_{ij}(a)Pij​(a) with ∑jPij(a)=1\sum_j P_{ij}(a) = 1∑j​Pij​(a)=1. A policy θ\thetaθ chooses the action at time ttt from a distribution θ(⋅∣ht)\theta(\cdot \mid h_t)θ(⋅∣ht​) on AitA_{i_t}Ait​​ that may depend on the whole history ht=(i0,a0,…,it)h_t = (i_0,a_0,\ldots,i_t)ht​=(i0​,a0​,…,it​). A stationary policy fff always chooses a fixed action f(i)∈Aif(i) \in A_if(i)∈Ai​ in state iii.

With Xt,AtX_t, A_tXt​,At​ the state and action at time ttt and X0=iX_0 = iX0​=i, define

  • the discounted cost Vθ,α(i)=∑t≥0αtEθ[C(Xt,At)]V_{\theta,\alpha}(i) = \sum_{t \ge 0} \alpha^t E_\theta[C(X_t,A_t)]Vθ,α​(i)=∑t≥0​αtEθ​[C(Xt​,At​)] for 0<α<10<\alpha<10<α<1, and the discounted value function Vα(i)=inf⁡θVθ,α(i)V_\alpha(i) = \inf_\theta V_{\theta,\alpha}(i)Vα​(i)=infθ​Vθ,α​(i);
  • the nnn horizon cost vθ,n(i)=∑t=0n−1Eθ[C(Xt,At)]v_{\theta,n}(i) = \sum_{t=0}^{n-1} E_\theta[C(X_t,A_t)]vθ,n​(i)=∑t=0n−1​Eθ​[C(Xt​,At​)];
  • the average cost Jθ(i)=lim sup⁡nvθ,n(i)/nJ_\theta(i) = \limsup_n v_{\theta,n}(i)/nJθ​(i)=limsupn​vθ,n​(i)/n, its lim inf⁡\liminfliminf version Jθ∗(i)J^*_\theta(i)Jθ∗​(i), and the minimum average cost J(i)=inf⁡θJθ(i)J(i) = \inf_\theta J_\theta(i)J(i)=infθ​Jθ​(i).

All infima range over all general policies, and every quantity may equal +∞+\infty+∞. A policy is α\alphaα discount optimal if Vθ,α=VαV_{\theta,\alpha} = V_\alphaVθ,α​=Vα​, and average cost optimal if Jθ=JJ_\theta = JJθ​=J.

For a stationary policy fff on a finite state space, the induced Markov chain splits into positive recurrent classes R1,…,RKR_1,\ldots,R_KR1​,…,RK​ and transient states. With pk(i)p_k(i)pk​(i) the probability of reaching RkR_kRk​ from iii, distinguished states zk∈Rkz_k \in R_kzk​∈Rk​, and Wα(i)=∑kpk(i)Vα(zk)W_\alpha(i) = \sum_k p_k(i) V_\alpha(z_k)Wα​(i)=∑k​pk​(i)Vα​(zk​), the relative value function is wα(i)=Vα(i)−Wα(i)w_\alpha(i) = V_\alpha(i) - W_\alpha(i)wα​(i)=Vα​(i)−Wα​(i).

Formalization targets

Goal: Proposition 6.2.3

For an MDC with a finite state space there are α0∈(0,1)\alpha_0 \in (0,1)α0​∈(0,1) and one stationary policy fff such that fff is α\alphaα discount optimal for every α∈(α0,1)\alpha \in (\alpha_0,1)α∈(α0​,1), fff is average cost optimal, and

J(i)=lim⁡α→1−(1−α)Vα(i)=lim⁡n→∞vf,n(i)n,i∈S.J(i) = \lim_{\alpha\to 1^-} (1-\alpha) V_\alpha(i) = \lim_{n\to\infty} \frac{v_{f,n}(i)}{n}, \qquad i \in S.J(i)=α→1−lim​(1−α)Vα​(i)=n→∞lim​nvf,n​(i)​,i∈S.

Milestones

  1. Proposition 4.5.3. For finite SSS and stationary eee, α↦Ve,α(i)\alpha \mapsto V_{e,\alpha}(i)α↦Ve,α​(i) is a finite, continuous, rational function on (0,1)(0,1)(0,1).
  2. Proposition 6.1.1. For every policy on a countable state space,
Jθ∗(i)≤lim inf⁡α→1−(1−α)Vθ,α(i)≤lim sup⁡α→1−(1−α)Vθ,α(i)≤Jθ(i),J^*_\theta(i) \le \liminf_{\alpha\to1^-}(1-\alpha)V_{\theta,\alpha}(i) \le \limsup_{\alpha\to1^-}(1-\alpha)V_{\theta,\alpha}(i) \le J_\theta(i),Jθ∗​(i)≤α→1−liminf​(1−α)Vθ,α​(i)≤α→1−limsup​(1−α)Vθ,α​(i)≤Jθ​(i),

with three equivalent conditions for equality. 3. Proposition 6.2.2. For finite SSS and stationary eee, Je(i)=lim⁡α→1−(1−α)Ve,α(i)=lim⁡nve,n(i)/nJ_e(i) = \lim_{\alpha\to1^-}(1-\alpha)V_{e,\alpha}(i) = \lim_n v_{e,n}(i)/nJe​(i)=limα→1−​(1−α)Ve,α​(i)=limn​ve,n​(i)/n. 4. Proposition 4.5.1, Proposition 4.5.4, Corollary 4.5.5. The power series structure of Vθ,αV_{\theta,\alpha}Vθ,α​ in α\alphaα; monotonicity and left continuity of VαV_\alphaVα​; continuity under bounded costs. 5. Theorem 6.3.1. For the policy fff of the goal, lim⁡α→1−wα(i)=w(i)\lim_{\alpha \to 1^-} w_\alpha(i) = w(i)limα→1−​wα​(i)=w(i) exists, and

J(i)+w(i)=C(i,f)+∑jPij(f)w(j) ≥ min⁡a{C(i,a)+∑jPij(a)w(j)},J(i) + w(i) = C(i,f) + \sum_j P_{ij}(f) w(j) \ \ge\ \min_{a} \Big\{C(i,a) + \sum_j P_{ij}(a) w(j)\Big\},J(i)+w(i)=C(i,f)+j∑​Pij​(f)w(j) ≥ amin​{C(i,a)+j∑​Pij​(a)w(j)},

together with the limit identities (i)–(iii) and the optimality criterion (v). 6. Proposition 6.3.3. Vα(i)=J(i)/(1−α)+w∗(i)+εα(i)V_\alpha(i) = J(i)/(1-\alpha) + w^*(i) + \varepsilon_\alpha(i)Vα​(i)=J(i)/(1−α)+w∗(i)+εα​(i) with εα(i)→0\varepsilon_\alpha(i) \to 0εα​(i)→0 as α→1−\alpha \to 1^-α→1−.

Significance

The goal says that on a finite state space nothing is gained by randomizing or by remembering the past when minimizing average cost, and that the minimum average cost is the vanishing-discount limit of the discounted value function. This justifies computing average cost optimal policies through discounted problems and value iteration, the route taken in the rest of Chapter 6 and, via approximating sequences, for countable state spaces in Chapters 7 and 8. Theorem 6.3.1 supplies an optimality equation without any unichain or communication assumption. The book's Example 6.3.2 shows that the inequality in that equation can be strict, and that a stationary policy attaining the minimum need not be optimal.

The results are classical and proved in the book. No machine-checked version of them is known to exist. The platform has average-reward results for unichain finite MDPs with Markov policies (the Puterman series) and an average-cost optimality equation under recurrence assumptions (the Bertsekas series). Neither covers existence of a Blackwell optimal policy against the class of all history dependent randomized policies, or the multichain equation. A formal development also yields reusable infrastructure: the law of a controlled process under a general policy, first passage quantities of finite chains, and the Abelian inequality between Abel and Cesàro means of a nonnegative sequence.

Difficulty

The obvious argument picks, for each α\alphaα, a stationary discount optimal policy fαf_\alphafα​ and lets α→1\alpha \to 1α→1. Finiteness of the set of stationary policies gives one policy that is optimal along some sequence αn→1\alpha_n \to 1αn​→1, but not on an interval. Excluding infinite switching between two policies requires the analytic structure of α↦Vf,α(i)\alpha \mapsto V_{f,\alpha}(i)α↦Vf,α​(i) (Proposition 4.5.3), which in turn rests on matrix inversion of I−αPI - \alpha PI−αP. Passing from the discounted criterion to the average one requires an Abelian inequality for nonnegative series whose terms may be infinite (Proposition 6.1.1), and comparison against general policies rules out any argument that works only within stationary or Markov policies. For Theorem 6.3.1 the difficulty is the multichain structure: the relative value function has to be assembled class by class from first passage times and costs, and its limit must be identified.

Formalization scope

  • States form a type S; [Countable S] for Section 4.5 and Proposition 6.1.1, [Fintype S] from Section 6.2 on, as in the book. Actions form a type Act with A i : Finset Act nonempty. Costs are in ℝ≥0, transition probabilities in ℝ≥0∞.
  • A general policy is a function of the list of past state-action pairs (most recent first) and the current state, giving a distribution on A i. Stationary policies embed as degenerate policies. The law of the process is built from this data, and every infimum ranges over all general policies.
  • Vθ,αV_{\theta,\alpha}Vθ,α​, VαV_\alphaVα​, vθ,nv_{\theta,n}vθ,n​, JθJ_\thetaJθ​, Jθ∗J^*_\thetaJθ∗​, JJJ are in ℝ≥0∞, so +∞+\infty+∞ is represented. α→1−\alpha \to 1^-α→1− is the filter 𝓝[<] 1. On a finite state space these quantities are finite. The real valued objects of Section 6.3 (wαw_\alphawα​, www, w∗w^*w∗, equation (6.6)) are therefore formed with toReal, and this switch from ℝ≥0∞ to ℝ happens only in Theorem 6.3.1 and Proposition 6.3.3.
  • The objects of Section 6.3 (pkp_kpk​, mi∣km_{i|k}mi∣k​, ci∣kc_{i|k}ci∣k​, πs\pi_sπs​, WαW_\alphaWα​) are defined from fff. The distinguished states are a hypothesis quantified over.
  • A trivializing formalization would take the infimum over stationary policies only, let the optimal policy depend on α\alphaα, or state rationality as an equation p/q without requiring q≠0q \ne 0q=0. Each is excluded here: JJJ and VαV_\alphaVα​ are infima over all general policies, one pair (α0,f)(\alpha_0,f)(α0​,f) is quantified before all α\alphaα, and the denominator is required to be nonzero on (0,1)(0,1)(0,1).

Useful infrastructure includes rational functions of one real variable and their finitely many sign changes, the resolvent (I−αP)−1(I-\alpha P)^{-1}(I−αP)−1 of a stochastic matrix, the Abelian inequality for [0,∞][0,\infty][0,∞]-valued sequences, and renewal-reward identities for finite chains. Contributions of general lemmas on these topics are welcome, as are proofs of individual milestones.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
  • D. Blackwell, "Discrete dynamic programming", Annals of Mathematical Statistics 33 (1962), 719–726. https://doi.org/10.1214/aoms/1177704593
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
13 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems II: The Discount Optimality EquationTextbook

Motivation

Control problems for queueing systems (admission control, routing, service rate selection, inventory replenishment) are naturally modelled as Markov decision chains with a countable state space, such as the number of customers in a buffer, and with costs that grow without bound in the state, such as holding costs proportional to queue length. The expected discounted cost criterion is the first infinite horizon criterion applied to such models, and it is also the tool through which the average cost criterion is treated later in the same book (Chapters 6–8 of Sennott's text reach average cost optimal policies through limits of discounted problems as the discount factor tends to one).

Classical treatments of discounted dynamic programming assume bounded costs, under which the dynamic programming operator is a contraction and has a unique bounded fixed point. That assumption fails for queueing models. This mission formalizes Chapter 4, Sections 4.1–4.4, of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999), which develops the discounted theory for nonnegative, possibly unbounded costs, where value functions may be infinite.

Timeline of the underlying theory:

  • 1965. Blackwell (Ann. Math. Statist. 36) establishes the discounted theory with bounded rewards.
  • 1966. Strauch (Ann. Math. Statist. 37) treats "negative" dynamic programming, the case of nonpositive rewards (equivalently nonnegative costs), with no boundedness assumption.
  • 1977–1978. Bertsekas (SIAM J. Control Optim. 15) and Bertsekas and Shreve (Stochastic Optimal Control: The Discrete-Time Case) give the abstract monotone-mapping framework covering both cases.
  • 1999. Sennott's text states the countable-state, finite-action, nonnegative-cost discounted theory in the form used for queueing control, with general history-dependent randomized policies.

Setting

A Markov decision chain Δ\DeltaΔ has a countable state space SSS; for each state iii a finite nonempty action set AiA_iAi​; for each a∈Aia \in A_ia∈Ai​ a nonnegative finite cost C(i,a)C(i,a)C(i,a) and a probability distribution (Pij(a))j∈S(P_{ij}(a))_{j \in S}(Pij​(a))j∈S​ of the next state. A policy θ\thetaθ chooses the action at time nnn at random from a distribution θ(⋅∣hn)\theta(\cdot \mid h_n)θ(⋅∣hn​) on AinA_{i_n}Ain​​ that may depend on the entire history hn=(i0,a0,…,an−1,in)h_n = (i_0, a_0, \dots, a_{n-1}, i_n)hn​=(i0​,a0​,…,an−1​,in​). A stationary policy fff always chooses f(i)∈Aif(i) \in A_if(i)∈Ai​ in state iii; for it one writes C(i,f)=C(i,f(i))C(i,f) = C(i,f(i))C(i,f)=C(i,f(i)) and Pij(f)=Pij(f(i))P_{ij}(f) = P_{ij}(f(i))Pij​(f)=Pij​(f(i)).

Fix a discount factor α∈(0,1)\alpha \in (0,1)α∈(0,1). For an initial state iii and a policy θ\thetaθ, the nnn-horizon cost with terminal cost zero and the infinite horizon discounted cost are

vθ,α,n(i)=∑t=0n−1αtEθ[C(Xt,At)∣X0=i],Vθ,α(i)=∑t=0∞αtEθ[C(Xt,At)∣X0=i],v_{\theta,\alpha,n}(i) = \sum_{t=0}^{n-1} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i], \qquad V_{\theta,\alpha}(i) = \sum_{t=0}^{\infty} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i],vθ,α,n​(i)=t=0∑n−1​αtEθ​[C(Xt​,At​)∣X0​=i],Vθ,α​(i)=t=0∑∞​αtEθ​[C(Xt​,At​)∣X0​=i],

and the value functions are vα,n(i)=inf⁡θvθ,α,n(i)v_{\alpha,n}(i) = \inf_\theta v_{\theta,\alpha,n}(i)vα,n​(i)=infθ​vθ,α,n​(i) and Vα(i)=inf⁡θVθ,α(i)V_\alpha(i) = \inf_\theta V_{\theta,\alpha}(i)Vα​(i)=infθ​Vθ,α​(i), infima over all policies. All of these lie in [0,∞][0,\infty][0,∞]. A policy is discount optimal if Vθ,α=VαV_{\theta,\alpha} = V_\alphaVθ,α​=Vα​. The discount optimality equation is

W(i)=min⁡a∈Ai{C(i,a)+α∑jPij(a)W(j)},i∈S.(4.9)W(i) = \min_{a \in A_i} \Big\{ C(i,a) + \alpha \sum_j P_{ij}(a) W(j) \Big\}, \qquad i \in S. \tag{4.9}W(i)=a∈Ai​min​{C(i,a)+αj∑​Pij​(a)W(j)},i∈S.(4.9)

With W=VαW = V_\alphaW=Vα​, Bi(α)B_i(\alpha)Bi​(α) denotes the set of actions attaining the minimum at iii.

Formalization targets

Goal: Theorem 4.1.4

VαV_\alphaVα​ solves (4.9); every W:S→[0,∞]W : S \to [0,\infty]W:S→[0,∞] solving (4.9) satisfies Vα≤WV_\alpha \le WVα​≤W; and every stationary policy fαf_\alphafα​ with

C(i,fα)+α∑jPij(fα)Vα(j)=min⁡a{C(i,a)+α∑jPij(a)Vα(j)}for all iC(i,f_\alpha) + \alpha \sum_j P_{ij}(f_\alpha) V_\alpha(j) = \min_a \Big\{ C(i,a) + \alpha \sum_j P_{ij}(a) V_\alpha(j) \Big\} \quad \text{for all } iC(i,fα​)+αj∑​Pij​(fα​)Vα​(j)=amin​{C(i,a)+αj∑​Pij​(a)Vα​(j)}for all i

is discount optimal. No boundedness of costs and no finiteness of VαV_\alphaVα​ is assumed.

Milestones

In attack order: Lemma 4.1.1 (vθ,α,n↑Vθ,αv_{\theta,\alpha,n} \uparrow V_{\theta,\alpha}vθ,α,n​↑Vθ,α​); Proposition 4.1.2 (a supersolution of the one-policy equation dominates ve,α,n+αnEe[W(Xn)]v_{e,\alpha,n} + \alpha^n E_e[W(X_n)]ve,α,n​+αnEe​[W(Xn​)] and Ve,αV_{e,\alpha}Ve,α​); Corollary 4.1.3 (a supersolution of the optimality inequality dominates Vf,α≥VαV_{f,\alpha} \ge V_\alphaVf,α​≥Vα​); then, beyond the goal, Corollary 4.1.5 (αnEfα[Vα(Xn)∣X0=i]→0\alpha^n E_{f_\alpha}[V_\alpha(X_n) \mid X_0 = i] \to 0αnEfα​​[Vα​(Xn​)∣X0​=i]→0 where Vα(i)<∞V_\alpha(i) < \inftyVα​(i)<∞), Proposition 4.2.2 and Corollary 4.2.4 (conditions under which a solution of (4.9) equals VαV_\alphaVα​), Proposition 4.3.1 (vα,n↑Vαv_{\alpha,n} \uparrow V_\alphavα,n​↑Vα​, and limit points of finite horizon optimal stationary policies are discount optimal) and Proposition 4.4.1 (optimal policies are exactly those concentrated on the sets Bi(α)B_{i}(\alpha)Bi​(α) along histories of positive probability).

Significance

Theorem 4.1.4 is the foundation for everything in the book that concerns discounted costs: it produces an optimal stationary deterministic policy, identifies VαV_\alphaVα​ among the many solutions of (4.9) (Example 4.2.1 of the book gives a one-parameter family of finite solutions), and underlies value iteration (Proposition 4.3.1) and the approximating-sequence method of Sections 4.6–4.7. The average cost results of Chapters 6–8 are proved from it by letting α→1\alpha \to 1α→1. Proposition 4.4.1 describes the full set of optimal policies, including randomized and history-dependent ones.

These are known results with published proofs. The contribution of this mission is a machine-checked development of the discounted theory for countable state spaces with unbounded costs and infinite values, over the general policy class. Related statements on the platform (the monotone-mapping propositions of Bertsekas 1977 in the MonotoneDP missions, and bounded-cost or finite-state discounted results) use different models and are open; no machine-checked proof of the present statements is known to this mission.

Difficulty

The contraction argument that settles the bounded case is unavailable: with unbounded costs the operator in (4.9) has many fixed points, and VαV_\alphaVα​ can equal +∞+\infty+∞ at some states, so neither uniqueness of fixed points nor subtraction of values is available. The optimality equation compares the infimum over all history-dependent randomized policies with a one-step minimum, so the general policy class and the law of the process under it must be handled directly; restricting attention to Markov or stationary policies begs the question. Every limit exchange (monotone limits of finite horizon costs, the passage to limit points of policies in Proposition 4.3.1) takes place in [0,∞][0,\infty][0,∞], where finite-valued arguments do not transfer verbatim.

Formalization scope

The Lean development lives in the namespace SennottDP.Discounted. Conventions:

  • The state space is a type S with [Countable S]; actions form a type Act and A i : Finset Act is nonempty. Costs are ℝ≥0; transition probabilities are ℝ≥0∞ with ∑' j, P i a j = 1 for a ∈ A i.
  • A history at time nnn is a pair Fin (n+1) → S, Fin n → Act; a policy assigns to every history a distribution on the action set of its last state. The probability of a history is the product of the policy and transition probabilities; expectations are ℝ≥0∞ sums over histories, so no integrability conditions arise.
  • All values (vθ,α,nv_{\theta,\alpha,n}vθ,α,n​, Vθ,αV_{\theta,\alpha}Vθ,α​, vα,nv_{\alpha,n}vα,n​, VαV_\alphaVα​, and the competing solutions WWW) are ℝ≥0∞-valued; 0⋅∞=00 \cdot \infty = 00⋅∞=0. The discount factor is α : ℝ≥0 with 0 < α and α < 1. Terminal costs are zero.
  • VαV_\alphaVα​ and vα,nv_{\alpha,n}vα,n​ are infima over the type of all general policies. Defining them over stationary policies only would make the optimality of fαf_\alphafα​ a tautology; that formalization is ruled out.
  • Proposition 4.4.1: the book states the equivalence without a finiteness assumption, but its necessity argument needs Vα<∞V_\alpha < \inftyVα​<∞, and necessity fails otherwise. Sufficiency is stated in general and necessity under Vα<∞V_\alpha < \inftyVα​<∞ everywhere.

Useful infrastructure, reusable by the later missions of this series (approximating sequences, average cost): the shift of a general policy after its first step, the Chapman–Kolmogorov identity for the history law, and the computation Ef[W(Xn+1)]=Ef[∑jPXnj(f)W(j)]E_f[W(X_{n+1})] = E_f[\sum_j P_{X_n j}(f) W(j)]Ef​[W(Xn+1​)]=Ef​[∑j​PXn​j​(f)W(j)] for stationary policies. Contributions of such lemmas, and proofs of any milestone, are welcome.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999, Chapter 4. https://doi.org/10.1002/9780470317037
  • D. Blackwell, Discounted dynamic programming, Annals of Mathematical Statistics 36 (1965), 226–235. https://doi.org/10.1214/aoms/1177700285
  • R. E. Strauch, Negative dynamic programming, Annals of Mathematical Statistics 37 (1966), 871–890. https://doi.org/10.1214/aoms/1177699369
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM Journal on Control and Optimization 15 (1977), 438–464. https://doi.org/10.1137/0315031
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems I: Finite Horizon Optimality and Approximating SequencesTextbook

Motivation

Controlled queueing systems (admission control, routing, service-rate selection) are naturally modelled as Markov decision chains whose state is a buffer content and therefore ranges over a countably infinite set. Linn Sennott's Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999, DOI 10.1002/9780470317037) develops the dynamic programming theory for exactly this setting: countable state space, finite action sets, nonnegative and possibly unbounded costs, and value functions that are allowed to be infinite. The book's computational method, the approximating sequence method (ASM), replaces the infinite chain by a sequence of finite truncations and asks when optimal values and policies of the truncations converge to those of the original chain.

This mission is the first of a series on the book. It covers Chapter 3, finite horizon optimization, together with the model of Chapter 2 and three results from Appendices A and B that the chapter uses. The finite horizon theory is the entry point: it is where the book's general policy class, its extended-valued cost criteria and its approximating sequences are first used together.

Setting

A Markov decision chain Δ\DeltaΔ has a countable state space SSS; for each i∈Si \in Si∈S a finite nonempty action set AiA_iAi​; a finite cost C(i,a)≥0C(i,a) \ge 0C(i,a)≥0; and for each a∈Aia \in A_ia∈Ai​ a transition distribution (Pij(a))j∈S(P_{ij}(a))_{j \in S}(Pij​(a))j∈S​. A history at time ttt is ht=(i0,a0,…,it−1,at−1,it)h_t = (i_0, a_0, \dots, i_{t-1}, a_{t-1}, i_t)ht​=(i0​,a0​,…,it−1​,at−1​,it​), and a general policy θ\thetaθ chooses the action at time ttt from a distribution θ(⋅∣ht)\theta(\cdot \mid h_t)θ(⋅∣ht​) on AitA_{i_t}Ait​​: it may use the whole history and may randomize. Stationary policies fff (f(i)∈Aif(i) \in A_if(i)∈Ai​) and deterministic Markov policies (a stationary policy for each time) are special cases.

Fix a finite terminal cost F≥0F \ge 0F≥0 and a discount factor 0<α≤10 < \alpha \le 10<α≤1 (α=1\alpha = 1α=1 is the undiscounted case). The nnn horizon expected discounted cost of θ\thetaθ from initial state iii is

vθ,α,n(i)=∑t=0n−1αtEθ[C(Xt,At)∣X0=i]+αnEθ[F(Xn)∣X0=i],v_{\theta,\alpha,n}(i) = \sum_{t=0}^{n-1} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i] + \alpha^n E_\theta[F(X_n) \mid X_0 = i],vθ,α,n​(i)=t=0∑n−1​αtEθ​[C(Xt​,At​)∣X0​=i]+αnEθ​[F(Xn​)∣X0​=i],

and the value function is vα,n(i)=inf⁡θvθ,α,n(i)v_{\alpha,n}(i) = \inf_\theta v_{\theta,\alpha,n}(i)vα,n​(i)=infθ​vθ,α,n​(i) over all general policies. Both may be +∞+\infty+∞. A policy is optimal for the nnn horizon if it attains vα,n(i)v_{\alpha,n}(i)vα,n​(i) at every iii. For n≥1n \ge 1n≥1 put uα,n(i,a)=C(i,a)+α∑jPij(a)vα,n−1(j)u_{\alpha,n}(i,a) = C(i,a) + \alpha \sum_j P_{ij}(a) v_{\alpha,n-1}(j)uα,n​(i,a)=C(i,a)+α∑j​Pij​(a)vα,n−1​(j) and let Bi(α,n)B_i(\alpha,n)Bi​(α,n) be the set of a∈Aia \in A_ia∈Ai​ minimizing it.

An approximating sequence (ΔN)N≥N0(\Delta_N)_{N \ge N_0}(ΔN​)N≥N0​​ has finite nonempty state spaces SNS_NSN​ increasing to SSS, the same actions and costs, and transition distributions Pij(a;N)P_{ij}(a;N)Pij​(a;N) on SNS_NSN​ converging to Pij(a)P_{ij}(a)Pij​(a) as N→∞N \to \inftyN→∞. Its value functions are vα,nNv^N_{\alpha,n}vα,nN​. In an augmentation type approximating sequence, the probability Pir(a)P_{ir}(a)Pir​(a) of leaving SNS_NSN​ to rrr is redistributed over SNS_NSN​ by an augmentation distribution qj(i,a,r,N)q_j(i,a,r,N)qj​(i,a,r,N). Assumption FH(α\alphaα, nnn) requires lim sup⁡Nvα,nN(i)\limsup_N v^N_{\alpha,n}(i)limsupN​vα,nN​(i) to be finite and at most vα,n(i)v_{\alpha,n}(i)vα,n​(i) for every iii. A stationary policy eee is a limit point of stationary policies eNe^NeN if, along a subsequence, eNr(i)=e(i)e^{N_r}(i) = e(i)eNr​(i)=e(i) eventually for each iii.

Formalization targets

Goal: Theorem 3.2.3

For fixed n≥1n \ge 1n≥1,

(∀i: lim⁡N→∞vα,nN(i)=vα,n(i)<∞)  ⟺  FH(α,n),\Big(\forall i:\ \lim_{N\to\infty} v^N_{\alpha,n}(i) = v_{\alpha,n}(i) < \infty\Big) \iff \mathrm{FH}(\alpha,n),(∀i: N→∞lim​vα,nN​(i)=vα,n​(i)<∞)⟺FH(α,n),

and under either condition every limit point ene_nen​ of stationary policies enNe^N_nenN​ with enN(i)∈BiN(α,n)e^N_n(i) \in B^N_i(\alpha,n)enN​(i)∈BiN​(α,n) satisfies en(i)∈Bi(α,n)e_n(i) \in B_i(\alpha,n)en​(i)∈Bi​(α,n) for all i∈Si \in Si∈S.

Milestones

  1. Proposition A.1.1: a probability average of uuu is at least min⁡u\min uminu, with equality iff the distribution is concentrated on the minimizers.
  2. Theorem 3.1.2: the finite horizon optimality equation vα,n(i)=min⁡auα,n(i,a)v_{\alpha,n}(i) = \min_a u_{\alpha,n}(i,a)vα,n​(i)=mina​uα,n​(i,a), and the characterization of all optimal general policies.
  3. Corollary 3.1.4: choosing fn−t(i)∈Bi(α,n−t)f_{n-t}(i) \in B_i(\alpha,n-t)fn−t​(i)∈Bi​(α,n−t) yields an optimal deterministic Markov policy.
  4. Proposition 2.5.6: the augmentation (2.19) defines an approximating distribution.
  5. Lemma 3.2.2: vα,0N→vα,0v^N_{\alpha,0} \to v_{\alpha,0}vα,0N​→vα,0​ and lim inf⁡Nvα,nN≥vα,n\liminf_N v^N_{\alpha,n} \ge v_{\alpha,n}liminfN​vα,nN​≥vα,n​.
  6. Propositions B.3 and B.5: sequences of stationary policies, for Δ\DeltaΔ or for (ΔN)(\Delta_N)(ΔN​), have limit points.
  7. Propositions 3.3.1, 3.3.2 and 3.3.4: three sufficient conditions for FH(α\alphaα, nnn), namely bounded costs, an augmentation sending excess probability to a finite set, and the augmentation inequality (3.20).

Significance

Theorem 3.1.2 is the finite horizon dynamic programming equation in the generality the rest of the book needs: the value function is an infimum over history-dependent randomized policies, and the equation holds with infinite values allowed. Its characterization of optimal policies is Bellman's principle of optimality in necessary-and-sufficient form. Corollary 3.1.4 shows that deterministic Markov policies suffice. The discounted chapter builds on these results, since its value function is the limit of finite horizon ones, and so does the value iteration algorithm of the average cost chapters.

Theorem 3.2.3 is the finite horizon case of the approximating sequence method. It says exactly when finite truncations give the right answer, and it reduces the question to Assumption FH, for which Section 3.3 gives checkable conditions. The same structure (a lim inf inequality, a lim sup assumption, a limit point of optimal truncated policies) recurs for the discounted and the average cost criteria in later chapters.

The results are proved in the book. None of them is formalized: the platform has finite horizon dynamic programming only for Markov policies, abstract monotone mappings or finite reward-maximizing MDPs, and nothing on approximating sequences. A formalization contributes a Lean model of Markov decision chains with general policies and extended-valued criteria, which the later missions of the series restate and can merge with this one.

Difficulty

The obvious proof of the optimality equation conditions on the first action and state and then applies the induction hypothesis to the rest of the trajectory. With general policies the rest of the trajectory is governed by a continuation policy that depends on the first state and action, and the decomposition of the path law into a first step and a continuation must be proved from the definition of the process, not assumed. Infinite values also make the "only if" direction delicate: a strict inequality between expected costs becomes an equality once both sides are infinite.

For approximating sequences, the natural idea is to pass to the limit in the optimality equation of ΔN\Delta_NΔN​. This fails in general. Example 3.2.1 of the book has lim⁡Nv1,2N(0)=2>1=v1,2(0)\lim_N v^N_{1,2}(0) = 2 > 1 = v_{1,2}(0)limN​v1,2N​(0)=2>1=v1,2​(0), because truncation moves probability onto states of high cost and dominated convergence is not available. Only the lim inf inequality holds for free, through a generalized Fatou lemma for approximating distributions. The lim sup side is exactly what Assumption FH supplies. The limit point argument then needs the compactness statement of Appendix B and the fact that a lim inf can be passed through a minimum over a finite set.

Formalization scope

The state space is a type S with [Countable S], the actions a type Act, and A i : Finset Act is nonempty. Costs are ℝ≥0, transition probabilities ℝ≥0∞ summing to 1 over S, and all values and expectations are in ℝ≥0∞, so infima over policies are lattice infima and +∞ is a genuine value. A history is the list of past state–action pairs, most recent first, with the current state, and a policy gives a distribution on A i for every history. Expectations are sums over histories of the path probabilities ∏θ(as∣hs)Pisis+1(as)\prod \theta(a_s \mid h_s) P_{i_s i_{s+1}}(a_s)∏θ(as​∣hs​)Pis​is+1​​(as​), which is the book's (2.6) and (2.9), not the dynamic programming recursion. The discount factor satisfies 0<α≤10 < \alpha \le 10<α≤1 in every statement. An approximating sequence is indexed by N∈NN \in \mathbb NN∈N with a start level N0N_0N0​; its value functions are set to 000 for the finitely many NNN at which a given state is not yet in SNS_NSN​, which does not affect limits.

The optimality equation must not be made definitional by defining vθ,α,nv_{\theta,\alpha,n}vθ,α,n​ or vα,nv_{\alpha,n}vα,n​ through the recursion (3.2). The policy class must not be restricted to deterministic Markov policies either, since that would make the characterization in Theorem 3.1.2 a different statement. Theorem 3.1.2(ii)(2) is stated with the guard vα,n(i)<∞v_{\alpha,n}(i) < \inftyvα,n​(i)<∞; the book omits it, and without it the "only if" direction is false (see the item's note).

A complete development needs the first-step decomposition of the path law under a general policy, the generalized Fatou lemma for approximating distributions (Proposition A.2.5, a milestone of the Appendix A mission of this series), and lim inf / lim sup manipulations in ℝ≥0∞. The model definitions are reusable by every later mission of the series. Contributions are welcome at every milestone, including proofs of the definitional sanity facts (for instance vθ,α,0=Fv_{\theta,\alpha,0} = Fvθ,α,0​=F).

Selected references

  • Linn I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999. https://doi.org/10.1002/9780470317037
  • Martin L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994 (the standard reference for finite horizon dynamic programming with history-dependent randomized policies).
  • Richard Bellman, Dynamic Programming, Princeton University Press, 1957.
14 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryCombinatorics·Captain: mikedeng1

Theory of Games and Economic Behavior II: Games with Perfect Information Are Strictly DeterminedTextbook

Motivation

Chess, checkers, Go and Backgammon share a feature that card games such as Poker lack: whenever a player moves, the player knows everything that has happened so far. von Neumann and Morgenstern call this perfect information and devote §15 of Theory of Games and Economic Behavior (1944; 3rd ed. 1953) to it. Their result is that such a game, viewed as a zero-sum two-person game, is strictly determined: it has a value that each player can secure with a pure strategy, without any randomization. For Chess this means that exactly one of three statements is true: White can force a win, Black can force a win, or both can force at least a draw ((15:D:a)–(15:D:c)).

Timeline. Zermelo (1913, Über eine Anwendung der Mengenlehre auf die Theorie des Schachspiels) showed for Chess that either one side can force a win or both can avoid losing; his argument is not phrased in terms of strategies and a value, and was later corrected and completed by König (1927) and Kalmár (1928/29). von Neumann and Morgenstern (1944, §15) proved strict determinateness for every finite zero-sum two-person game with perfect information, including chance moves (15.7.1), and gave the explicit formula (15:12) for the value. Kuhn (1953, Extensive games and the problem of information, Annals of Mathematics Studies 28) recast games in tree form and extended the pure-strategy existence result to general-sum games with perfect information (subgame-perfect equilibria by backward induction).

Setting

A game tree Γ\GammaΓ is a finite rooted tree. Each leaf is a finished play π\piπ and carries the payoff F1(π)∈R\mathfrak F_1(\pi) \in \mathbb RF1​(π)∈R to player 1; player 2 receives −F1(π)-\mathfrak F_1(\pi)−F1​(π). Each internal node is a move M\mathfrak MM of one of three kinds kkk, with alternatives σ=1,…,α\sigma = 1, \dots, \alphaσ=1,…,α leading to subtrees Γσ\Gamma_\sigmaΓσ​:

  • k=0k = 0k=0, a chance move, where alternative σ\sigmaσ occurs with probability p(σ)≧0p(\sigma) \geqq 0p(σ)≧0, ∑σp(σ)=1\sum_\sigma p(\sigma) = 1∑σ​p(σ)=1;
  • k=1k = 1k=1, a personal move of player 1, with α≧1\alpha \geqq 1α≧1;
  • k=2k = 2k=2, a personal move of player 2, with α≧1\alpha \geqq 1α≧1.

A pure strategy τ1\tau_1τ1​ of player 1 is a complete plan choosing an alternative at every node of kind 1; τ2\tau_2τ2​ does the same at every node of kind 2. The normalized form H(τ1,τ2)\mathcal H(\tau_1, \tau_2)H(τ1​,τ2​) is the expected payoff to player 1, the expectation being over the chance moves. With the maxima and minima taken over the finitely many pure strategies,

v1=Max⁡τ1Min⁡τ2H(τ1,τ2),v2=Min⁡τ2Max⁡τ1H(τ1,τ2).v_1 = \operatorname{Max}_{\tau_1} \operatorname{Min}_{\tau_2} \mathcal H(\tau_1, \tau_2), \qquad v_2 = \operatorname{Min}_{\tau_2} \operatorname{Max}_{\tau_1} \mathcal H(\tau_1, \tau_2).v1​=Maxτ1​​Minτ2​​H(τ1​,τ2​),v2​=Minτ2​​Maxτ1​​H(τ1​,τ2​).

Always v1≦v2v_1 \leqq v_2v1​≦v2​; the game is strictly determined when v1=v2v_1 = v_2v1​=v2​ (14.4.2).

For a function f(σ1)f(\sigma_1)f(σ1​) of the alternatives of the first move M1\mathfrak M_1M1​, of kind k1k_1k1​, the operation Mσ1k1M^{k_1}_{\sigma_1}Mσ1​k1​​ of (15:8) is ∑σ1p1(σ1)f(σ1)\sum_{\sigma_1} p_1(\sigma_1) f(\sigma_1)∑σ1​​p1​(σ1​)f(σ1​), Max⁡σ1f(σ1)\operatorname{Max}_{\sigma_1} f(\sigma_1)Maxσ1​​f(σ1​) or Min⁡σ1f(σ1)\operatorname{Min}_{\sigma_1} f(\sigma_1)Minσ1​​f(σ1​) for k1=0,1,2k_1 = 0, 1, 2k1​=0,1,2. Applying these operations from the leaves back to the root gives the backward-induction value v(Γ)v(\Gamma)v(Γ).

Formalization targets

Goal: 15.6.1 with (15:12)

For every finite game tree Γ\GammaΓ,

v1=v2=v=Mσ1k1Mσ2k2(σ1)⋯Mσνkν(σ1,…,σν−1)F1(π(σ1,…,σν)).v_1 = v_2 = v = M^{k_1}_{\sigma_1} M^{k_2(\sigma_1)}_{\sigma_2} \cdots M^{k_\nu(\sigma_1, \dots, \sigma_{\nu-1})}_{\sigma_\nu} \mathfrak F_1(\pi(\sigma_1, \dots, \sigma_\nu)).v1​=v2​=v=Mσ1​k1​​Mσ2​k2​(σ1​)​⋯Mσν​kν​(σ1​,…,σν−1​)​F1​(π(σ1​,…,σν​)).

Both the equality v1=v2v_1 = v_2v1​=v2​ and the value formula are part of the goal.

Milestones

  • (13:E): for finite nonempty domains and fff ranging over all functions of xxx, Max⁡xMin⁡fψ(x,f(x))=Min⁡fMax⁡xψ(x,f(x))\operatorname{Max}_x \operatorname{Min}_f \psi(x, f(x)) = \operatorname{Min}_f \operatorname{Max}_x \psi(x, f(x))Maxx​Minf​ψ(x,f(x))=Minf​Maxx​ψ(x,f(x)); and (13:G): Max⁡xMin⁡fψ(x,f(x))=Max⁡xMin⁡uψ(x,u)\operatorname{Max}_x \operatorname{Min}_f \psi(x, f(x)) = \operatorname{Max}_x \operatorname{Min}_u \psi(x, u)Maxx​Minf​ψ(x,f(x))=Maxx​Minu​ψ(x,u).
  • (15:2)–(15:7): vk=Mσ1k1vσ1/kv_k = M^{k_1}_{\sigma_1} v_{\sigma_1/k}vk​=Mσ1​k1​​vσ1​/k​ for k=1,2k = 1, 2k=1,2, one milestone for each kind of first move, without assuming that any game is strictly determined.
  • (15:C:a): a game of length 000 is strictly determined with value www; (15:C:b): if every Γσ1\Gamma_{\sigma_1}Γσ1​​ is strictly determined, so is Γ\GammaΓ.
  • (15:13), (15:D:a)–(15:D:c): for games without chance moves whose plays end in 1,0,−11, 0, -11,0,−1, the value is one of these three numbers, and it decides which player can force a win or whether both can force a tie.

Significance

The theorem is the first existence result for the value of a class of games in pure strategies. It shows that the whole difficulty of the general zero-sum two-person game, the need for mixed strategies (§17), comes from imperfect information. It gives a construction as well as an existence proof: the value and optimal strategies are computed by backward induction, the procedure behind retrograde analysis of endgames, minimax search in game-playing programs, and the dynamic programming recursions of sequential decision problems with an adversary. The Chess trichotomy (15:D) is its best-known consequence.

Formalizing it adds a checked account of the passage from the extensive to the normalized form for a whole class of games, which the book carries out informally (15.4.2, 15.5.1: "the reader may verify it from the formalistic point of view"). The result is classical and fully proved in the book; the work is to formalize that proof on a tree model. Mathlib has saddle points (Order/SaddlePoint) and the minimax theorem for continuous functions (Topology/Sion), but no game trees, strategies of extensive games, or backward induction. No machine-checked version of this theorem with chance moves and the normalized form over complete plans is known to the mission.

Difficulty

The recursions (15:2)–(15:7) are not formal consequences of the definitions: v1v_1v1​ and v2v_2v2​ are extrema over whole plans of Γ\GammaΓ, while the right-hand sides are extrema over plans of the separate games Γσ1\Gamma_{\sigma_1}Γσ1​​. At a personal move of player 1, v2=Max⁡σ1vσ1/2v_2 = \operatorname{Max}_{\sigma_1} v_{\sigma_1/2}v2​=Maxσ1​​vσ1​/2​ requires interchanging a Min over player 2's plans, which are functions of player 1's first choice, with a Max over that choice: this is exactly (13:E), a max-min equality that fails for general functions of two variables and holds here because the minimizing variable is a function of the maximizing one. A proof that treats the Max over τ1\tau_1τ1​ and the Min over τ2\tau_2τ2​ as interchangeable without this step is circular.

A second difficulty is the strategy spaces themselves. A complete plan chooses at nodes the plan itself excludes, so the pure strategies of Γ\GammaΓ are not simply pairs of a first choice and one strategy of the chosen subgame; the identification the book uses in 15.5.1 has to be justified by showing that the extra coordinates do not change H\mathcal HH.

Formalization scope

A game is an inductive type GameTree with constructors leaf w, chance α p next hp hsum, move1 α hα next, move2 α hα next; alternatives are Fin α (numbered from 000). The conditions p≧0p \geqq 0p≧0, ∑p=1\sum p = 1∑p=1 and α≧1\alpha \geqq 1α≧1 at personal moves are constructor fields, so every tree is a legitimate game. Pure strategies are dependent types Strategy1 t, Strategy2 t defined by recursion on the tree (complete plans), with Fintype and Nonempty instances; H\mathcal HH is payoff t τ₁ τ₂, the expected leaf payoff; v1, v2 are Finset.sup'/Finset.inf' over all strategies, so every Max and Min is attained.

Standing hypotheses and conventions taken from the book:

  • finite strategy sets and attained extrema (13.2.1, 14.1.1): finite trees with finitely many alternatives at every move;
  • perfect information, i.e. preliminarity equals anteriority (6.4.1, (15:B)): built into the tree model, which is the sequence of games (15:1);
  • zero-sum two-person (15.3.1): one payoff F1\mathfrak F_1F1​, player 2 receives −F1-\mathfrak F_1−F1​ and minimizes H\mathcal HH;
  • chance probabilities nonnegative and summing to one (15.4.2, 10.1.1); α≧1\alpha \geqq 1α≧1 at every move;
  • (15:D) additionally assumes no chance moves and outcomes 1,0,−11, 0, -11,0,−1 (15.7.1).

The book's formal model is the set-theoretic one of §§9–10, with partitions of the set of plays; the tree restates it for the perfect-information case and does not formalize §§9–10. The book fixes one length ν\nuν for all plays; trees with plays of different lengths contain the book's games as a special case, so the goal is at least as strong as the book's theorem.

Strategies are plans, never responses: a strategy of player 1 is fixed before play and cannot depend on player 2's strategy, which would make v1=v2v_1 = v_2v1​=v2​ trivial. Chance moves are part of the goal; a version without them proves only the Chess case and is weaker than the book.

Reusable beyond this mission: the tree model, its strategy types and the normalized form, which later chapters on extensive games can import. Welcome contributions: proofs of the milestones, and a lemma identifying the strategies of Γ\GammaΓ with the book's recursive description (15.4.2, 15.5.1).

Selected references

  • J. von Neumann, O. Morgenstern, Theory of Games and Economic Behavior, 60th-anniversary edition, Princeton University Press, 2007 (reprint of the 3rd ed., 1953), §§6, 11, 13–15. https://doi.org/10.1515/9781400829460
  • E. Zermelo, Über eine Anwendung der Mengenlehre auf die Theorie des Schachspiels, Proc. Fifth International Congress of Mathematicians, vol. II, 1913, pp. 501–504.
  • U. Schwalbe, P. Walker, Zermelo and the early history of game theory, Games and Economic Behavior 34 (2001), 123–137. https://doi.org/10.1006/game.2000.0794
  • H. W. Kuhn, Extensive games and the problem of information, in Contributions to the Theory of Games II, Annals of Mathematics Studies 28, Princeton, 1953, 193–216. https://doi.org/10.1515/9781400881970-012
14 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Analysis and Algorithms for Service Parts Supply Chains V: Marginal Allocation and Risk PoolingTextbook

Motivation

Service parts networks (spare parts for aircraft, military systems, industrial equipment) hold stock at several echelons: a depot, intermediate stocking facilities, and bases or warehouses that face demand. Two questions recur in their planning. First, how should a given amount of stock be split among locations whose expected costs are convex in the stock they hold? Second, does adding an echelon, a depot that pools the demand of several warehouses, raise or lower the stock the system needs?

Chapter 7 of Muckstadt, Analysis and Algorithms for Service Parts Supply Chains (Springer 2005, DOI 10.1007/b138879), treats both. For the second it follows Eppen and Schrage (1981, reference [78] of the book): with normal demands, a depot that places orders every period and allocates stock so that all warehouses face the same stockout probability reduces the choice of system stock to a single critical-fractile equation. For the first, the chapter's multi-echelon pooling model (Section 7.3) evaluates nested cost functions of the form "holding and shortage cost plus the minimum over allocations of a sum of convex costs", and its appendix (Section 7.4) gives the marginal allocation algorithm AllocOpt that computes these minima exactly for every stock level at once.

Marginal analysis for separable convex resource allocation is classical (Fox, Management Science, 1966); the monograph of Ibaraki and Katoh (MIT Press, 1988) surveys it.

Setting

Allocation data (Section 7.4). There is a set M={1,…,Mˉ}M = \{1, \dots, \bar M\}M={1,…,Mˉ} of locations and an augmented set M0={0}∪MM_0 = \{0\} \cup MM0​={0}∪M. Each location m∈M0m \in M_0m∈M0​ has integer gridpoints 0=r0m<r1m<⋯<rn(m)m0 = r^m_0 < r^m_1 < \dots < r^m_{n(m)}0=r0m​<r1m​<⋯<rn(m)m​. For m∈Mm \in Mm∈M, the value cnmc^m_ncnm​ of a convex function is given at each gridpoint. The slopes (7.19) are c^nm=(cn+1m−cnm)/(rn+1m−rnm)\hat c^m_n = (c^m_{n+1} - c^m_n)/(r^m_{n+1} - r^m_n)c^nm​=(cn+1m​−cnm​)/(rn+1m​−rnm​) for n<n(m)n < n(m)n<n(m), and c^n(m)m\hat c^m_{n(m)}c^n(m)m​ repeats the last one. The piecewise linear approximation C~m\tilde C_mC~m​ of (7.20)–(7.21) interpolates the values cnmc^m_ncnm​ at the gridpoints and continues with slope c^n(m)m\hat c^m_{n(m)}c^n(m)m​ beyond the last one. A convex function fff on R+\mathbb R_+R+​ is also given.

The allocation optimization (7.22) asks, for each n∈N0={0,…,n(0)}n \in N_0 = \{0, \dots, n(0)\}n∈N0​={0,…,n(0)}, for

cn0=f(rn0)+min⁡{∑m∈MC~m(rm):rm≥0 integer, ∑m∈Mrm=rn0}.c^0_n = f(r^0_n) + \min\Bigl\{ \sum_{m \in M} \tilde C_m(r_m) : r_m \ge 0 \text{ integer},\ \sum_{m \in M} r_m = r^0_n \Bigr\}.cn0​=f(rn0​)+min{m∈M∑​C~m​(rm​):rm​≥0 integer, m∈M∑​rm​=rn0​}.

Algorithm AllocOpt (Definition 4) keeps a current gridpoint index n∗(m)n^*(m)n∗(m) and allocation r∗(m)r^*(m)r∗(m) per location. For each increment rn0−rn−10r^0_n - r^0_{n-1}rn0​−rn−10​ of the target, it repeatedly gives units to a location m∗m^*m∗ whose current slope c^n∗(m∗)m∗\hat c^{m^*}_{n^*(m^*)}c^n∗(m∗)m∗​ is minimal, up to that location's next gridpoint, and records the accumulated cost.

Pooling system (Section 7.2.1). One depot supplies mmm warehouses. The demand djtd_{jt}djt​ at warehouse jjj in period ttt is normal with mean μj\mu_jμj​ and variance σj2\sigma_j^2σj2​, independent across periods and warehouses. The supplier-to-depot lead time is DDD periods, the depot-to-warehouse lead time AAA periods, and holding and backorder costs h,bh, bh,b are equal at all warehouses. Positions IjI_jIj​ are in balance when Φ((Ij−Aμj)/(A σj))\Phi((I_j - A\mu_j)/(\sqrt A\,\sigma_j))Φ((Ij​−Aμj​)/(A​σj​)) is the same for all jjj. For system inventory position sss, with Y0Y_0Y0​ the system demand over DDD periods and YjY_jYj​ the demand at jjj over the next A+1A + 1A+1 periods, the balanced allocation gives each warehouse a share proportional to σj\sigma_jσj​, and zjz_jzj​ is its end-of-period net inventory.

Formalization targets

Goal: Proposition 2 (correctness)

For every tie-breaking rule in its arg min steps, AllocOpt returns values cn0c^0_ncn0​ that satisfy (7.22) for every n∈N0n \in N_0n∈N0​: some feasible integer allocation attains cn0−f(rn0)c^0_n - f(r^0_n)cn0​−f(rn0​), and no feasible integer allocation does better.

Milestones

  1. Slope monotonicity (p. 178): c^nm≥c^n−1m\hat c^m_n \ge \hat c^m_{n-1}c^nm​≥c^n−1m​ for 0<n≤n(m)0 < n \le n(m)0<n≤n(m).
  2. Convexity of C~m\tilde C_mC~m​ on [0,∞)[0, \infty)[0,∞) (proof of Proposition 2, p. 179).
  3. Remark 2 (p. 179): with the inner loop run only while the current slope is ≤0\le 0≤0, AllocOpt solves (7.22) with ∑mrm≤rn0\sum_m r_m \le r^0_n∑m​rm​≤rn0​.
  4. Lemma 3 (p. 152): if the positions are in balance and
∑jdj,t−1≥max⁡i{∑j≠idj,t+D−1+di,t+D−1(1−∑jσjσi)},\sum_{j} d_{j,t-1} \ge \max_{i} \Bigl\{ \sum_{j \ne i} d_{j,t+D-1} + d_{i,t+D-1}\Bigl(1 - \frac{\sum_j \sigma_j}{\sigma_i}\Bigr)\Bigr\},j∑​dj,t−1​≥imax​{j=i∑​dj,t+D−1​+di,t+D−1​(1−σi​∑j​σj​​)},

then a nonnegative allocation of the arriving ∑jdj,t−1\sum_j d_{j,t-1}∑j​dj,t−1​ units restores balance. 5. Net inventory law (pp. 156–157): zjz_jzj​ is normal with mean (s−(D+A+1)∑iμi) σj/∑iσi(s - (D + A + 1)\sum_i \mu_i)\,\sigma_j / \sum_i \sigma_i(s−(D+A+1)∑i​μi​)σj​/∑i​σi​ and variance (A+1)σj2+(σj/∑iσi)2D∑iσi2(A + 1)\sigma_j^2 + (\sigma_j / \sum_i \sigma_i)^2 D \sum_i \sigma_i^2(A+1)σj2​+(σj​/∑i​σi​)2D∑i​σi2​. 6. Critical fractile (pp. 157–158): sss minimizes ∑jE[h(zj)++b(zj)−]\sum_j E[h (z_j)^+ + b (z_j)^-]∑j​E[h(zj​)++b(zj​)−] if and only if Φ(z)=b/(b+h)\Phi(z) = b/(b+h)Φ(z)=b/(b+h), where

z=s−(D+A+1)∑iμi[(A+1)(∑iσi)2+D∑iσi2]1/2.z = \frac{s - (D + A + 1)\sum_i \mu_i}{\bigl[(A + 1)(\sum_i \sigma_i)^2 + D \sum_i \sigma_i^2\bigr]^{1/2}}.z=[(A+1)(∑i​σi​)2+D∑i​σi2​]1/2s−(D+A+1)∑i​μi​​.

Significance

The goal certifies an algorithm that the chapter uses as a subroutine three times: in the pool cost (7.14), the subsystem cost (7.15) and the system cost (7.17), and hence in the claim of Section 7.3 that the system-wide cost function can be computed in time nlog⁡nn \log nnlogn in the number of locations. Because AllocOpt produces the whole vector (cn0)n∈N0(c^0_n)_{n \in N_0}(cn0​)n∈N0​​ in one pass, its correctness gives the nested value functions at every gridpoint of the next echelon, which is what allows the recursion up the echelons. The Eppen–Schrage milestones give the classical quantitative form of risk pooling: the system stock is set by one critical fractile, and the standard deviation term (A+1)(∑iσi)2+D∑iσi2(A + 1)(\sum_i \sigma_i)^2 + D \sum_i \sigma_i^2(A+1)(∑i​σi​)2+D∑i​σi2​ is what the book compares with the single-warehouse and the decentralized systems.

On formalization: the book states Proposition 2 with a two-sentence argument and Remark 2 without proof. The Eppen–Schrage computations are displayed derivations. None of these results has a machine-checked proof on the platform. A verified AllocOpt, stated for an explicit algorithm rather than for an abstract greedy procedure, is reusable for any separable convex integer allocation with a sum constraint.

Difficulty

The usual greedy exchange argument assumes that units are allocated one at a time. AllocOpt allocates in blocks, up to the next gridpoint of the chosen location, and it carries its state across successive targets rn−10→rn0r^0_{n-1} \to r^0_nrn−10​→rn0​ without restarting. The proof must therefore show that the state after each outer step is itself an optimal allocation for the current target, and that block moves never step past a breakpoint where the arg min would change. The slopes can be negative, and the equality constraint forces allocation even when every marginal cost is positive. Remark 2 needs an additional argument: under the inequality constraint the loop may stop before uuu reaches zero, and that point is optimal only because the slopes are nondecreasing.

For the pooling results, the balanced allocation mixes the depot-lead-time demand Y0Y_0Y0​ of all warehouses with the local demand YjY_jYj​, and the Gaussian law of zjz_jzj​ rests on the independence of disjoint blocks of periods. The fractile statement requires strict monotonicity of each warehouse's expected cost derivative in sss, not only a first-order condition.

Formalization scope

  • Indices and types. Locations of MMM are Fin Mbar; gridpoints are integers, values and slopes real numbers; allocations are functions Fin Mbar → ℕ. The standing assumptions of Section 7.4 form the predicate WellFormed: Mˉ≥1\bar M \ge 1Mˉ≥1, n(m)≥1n(m) \ge 1n(m)≥1 for m∈Mm \in Mm∈M (a slope (7.19) needs two gridpoints), gridpoints starting at 000 and strictly increasing at every location of M0M_0M0​, each cnmc^m_ncnm​ the value of a function convex on [0,∞)[0, \infty)[0,∞), and fff convex on [0,∞)[0, \infty)[0,∞).
  • The minimum in (7.22) is stated as attainment plus a lower bound over the finite, nonempty set of feasible integer allocations, never as an unconstrained infimum.
  • Ties. The book's arg min fixes no tie-breaking rule. Results are stated for every selection rule that returns a minimizing location.
  • Termination. AllocOpt is a total Lean function. The inner loop is given more passes than it can use, so it always exits through its own condition.
  • Not stated. The operation count of Proposition 2, O((1+log⁡2Mˉ)∑m∈M0n(m))O((1 + \log_2 \bar M)\sum_{m \in M_0} n(m))O((1+log2​Mˉ)∑m∈M0​​n(m)), and Proposition 1 and Remark 1 (p. 177) are operation counts with no machine model and are left out.
  • Corrections. The first expected-cost display on p. 157 has + b∫−∞0z dFzj(z)+\,b\int_{-\infty}^0 z\,dF_{z_j}(z)+b∫−∞0​zdFzj​​(z), which is negative. The formalization uses b E[(zj)−]b\,E[(z_j)^-]bE[(zj​)−], as in the book's next display.
  • Pinnings. Lemma 3 is deterministic: the demands are arbitrary reals, and "in balance following the allocation" means that some xj≥0x_j \ge 0xj​≥0 with ∑jxj=∑jdj,t−1\sum_j x_j = \sum_j d_{j,t-1}∑j​xj​=∑j​dj,t−1​ exists. The critical-fractile milestone is the characterization "minimizer if and only if Φ(z)=b/(b+h)\Phi(z) = b/(b+h)Φ(z)=b/(b+h)" of the book's "can be found by setting".
  • Trivialization ruled out. The allocation problem (7.22) is defined independently of the algorithm, as a minimum over explicit integer allocations, and the C~m\tilde C_mC~m​ are built from the data by (7.19)–(7.21). Neither (7.22) nor the C~m\tilde C_mC~m​ are defined as, or required to agree with, what AllocOpt returns.
  • Welcome contributions. Lemmas on the invariants of AllocOpt, in particular that after each outer step the allocation r∗r^*r∗ is feasible for rn0r^0_nrn0​ with cost zzz and all slopes to the left of n∗(m)n^*(m)n∗(m) are at most those to the right. Also Gaussian sum lemmas over finite index sets and a general newsvendor first-order characterization.

Selected references

  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer Series in Operations Research and Financial Engineering, Springer, 2005. DOI 10.1007/b138879
  • G. D. Eppen and L. Schrage, "Centralized ordering policies in a multi-warehouse system with lead times and random demand", in L. B. Schwarz (ed.), Multi-Level Production/Inventory Control Systems: Theory and Practice, Studies in the Management Sciences, North-Holland, Amsterdam, 1981, pp. 51–67.
  • G. D. Eppen, "Effects of centralization on expected costs in a multi-location newsboy problem", Management Science 25(5), 1979, 498–501. DOI 10.1287/mnsc.25.5.498
  • B. Fox, "Discrete optimization via marginal analysis", Management Science 13(3), 1966, 210–216. DOI 10.1287/mnsc.13.3.210
  • T. Ibaraki and N. Katoh, Resource Allocation Problems: Algorithmic Approaches, MIT Press, 1988.
10 thms3 active usersReviewed
🏆Completed
CombinatoricsOptimizationProbability·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization V: Asymptotic Optimality of List Scheduling for the Machine Investment ProblemTextbook

Motivation

Two-stage stochastic integer programs combine the two hardest features of mathematical programming: uncertainty in the data and integrality of the decisions. Even evaluating the objective of such a program at a single first-stage decision requires the expected optimal value of an NP-hard combinatorial problem. Chapter 8 of Ermoliev and Wets (eds.), Numerical Techniques for Stochastic Optimization (Springer 1988), by A. H. G. Rinnooy Kan and L. Stougie, argues that for many such problems the way forward is probabilistic analysis: the random optimal value of the second-stage problem often converges, after normalization, to a simple function of the problem parameters, and that function can replace the intractable expectation.

The chapter illustrates this on the machine investment problem: first buy mmm identical machines at cost ccc each, knowing only the distribution of the processing times of nnn jobs, then schedule the jobs once their processing times are revealed so as to minimize the makespan. This mission formalizes the chapter's analysis of that example: the almost sure asymptotics of the optimal makespan (8.13), its expectation version, and the asymptotic clairvoyance of the resulting two-stage heuristic.

Setting

Let p1,p2,…p_1, p_2, \dotsp1​,p2​,… be processing times: independent, identically distributed, nonnegative random variables on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) with mean μ=Ep1>0\mu = \mathbb E p_1 > 0μ=Ep1​>0 and finite second moment Ep12<∞\mathbb E p_1^2 < \inftyEp12​<∞. The instance with nnn jobs uses the first nnn of them.

An assignment of the nnn jobs to m≥1m \ge 1m≥1 identical machines is a map σ:{1,…,n}→{1,…,m}\sigma : \{1, \dots, n\} \to \{1, \dots, m\}σ:{1,…,n}→{1,…,m}. The load of machine iii is ∑j:σ(j)=ipj\sum_{j : \sigma(j) = i} p_j∑j:σ(j)=i​pj​ and the makespan of σ\sigmaσ is its largest load. The minimum makespan is

Cn∗(m)=min⁡σmax⁡i=1,…,m∑j: σ(j)=ipj,C^*_n(m) = \min_{\sigma} \max_{i=1,\dots,m} \sum_{j:\ \sigma(j) = i} p_j ,Cn∗​(m)=σmin​i=1,…,mmax​j: σ(j)=i∑​pj​,

and the machine investment problem is to minimize Zn(m)=cm+E Cn∗(m)Z_n(m) = cm + \mathbb E\, C^*_n(m)Zn​(m)=cm+ECn∗​(m) over integers mmm (8.9).

List scheduling takes the jobs in the order 1,…,n1, \dots, n1,…,n and assigns each to the first available machine, a machine of least current load (lowest index on ties). Its makespan is CnH(m)C^H_n(m)CnH​(m). Write Sn=∑j=1npjS_n = \sum_{j=1}^n p_jSn​=∑j=1n​pj​ and pmax⁡=max⁡j≤npjp_{\max} = \max_{j \le n} p_jpmax​=maxj≤n​pj​.

For §8.3, the estimate Zn′(m)=cm+nμ/mZ'_n(m) = cm + n\mu/mZn′​(m)=cm+nμ/m is minimized over integers by the heuristic first-stage decision mnH1m^{H1}_nmnH1​, the better of ⌊nμ/c⌋\lfloor\sqrt{n\mu/c}\rfloor⌊nμ/c​⌋ and ⌈nμ/c⌉\lceil\sqrt{n\mu/c}\rceil⌈nμ/c​⌉. A clairvoyant decision maker who sees the processing times first chooses mn∘(ω)≥1m^\circ_n(\omega) \ge 1mn∘​(ω)≥1 minimizing cm+Cn∗(m)cm + C^*_n(m)cm+Cn∗​(m).

Formalization targets

Goal: Eq. (8.13)

For machine counts m=m(n)≥1m = m(n) \ge 1m=m(n)≥1 with m(n)=O(n)m(n) = O(\sqrt n)m(n)=O(n​),

P{lim⁡n→∞Cn∗(m)nμ/m=1}=1.P\Bigl\{ \lim_{n\to\infty} \frac{C^*_n(m)}{n\mu/m} = 1 \Bigr\} = 1 .P{n→∞lim​nμ/mCn∗​(m)​=1}=1.

The machine count is allowed to grow with nnn; this is the regime the first-stage heuristic lives in, since mnH1m^{H1}_nmnH1​ is of exact order n\sqrt nn​.

Milestones

  1. Eq. (8.10): the deterministic sandwich Sn/m≤Cn∗(m)≤CnH(m)≤Sn/m+pmax⁡S_n/m \le C^*_n(m) \le C^H_n(m) \le S_n/m + p_{\max}Sn​/m≤Cn∗​(m)≤CnH​(m)≤Sn​/m+pmax​, divided by nμ/mn\mu/mnμ/m.
  2. Eq. (8.11): the strong law of large numbers, (Sn−nμ)/(nμ)→0(S_n - n\mu)/(n\mu) \to 0(Sn​−nμ)/(nμ)→0 almost surely (a published platform theorem).
  3. Lemma 8.1 (i): pmax⁡/n→0p_{\max}/\sqrt n \to 0pmax​/n​→0 almost surely.
  4. Eq. (8.12): m pmax⁡/(nμ)→0m\, p_{\max}/(n\mu) \to 0mpmax​/(nμ)→0 almost surely when m=O(n)m = O(\sqrt n)m=O(n​).
  5. Lemma 8.1 (ii): E pmax⁡/n→0\mathbb E\, p_{\max}/\sqrt n \to 0Epmax​/n​→0.
  6. p. 207: E Cn∗(m)/(nμ/m)→1\mathbb E\, C^*_n(m)/(n\mu/m) \to 1ECn∗​(m)/(nμ/m)→1 when m=O(n)m = O(\sqrt n)m=O(n​).
  7. p. 211, asymptotic clairvoyance: almost surely
lim⁡n→∞c mnH1+CnH2(mnH1)c mn∘+Cn∗(mn∘)=1,\lim_{n\to\infty} \frac{c\, m^{H1}_n + C^{H2}_n(m^{H1}_n)}{c\, m^\circ_n + C^*_n(m^\circ_n)} = 1 ,n→∞lim​cmn∘​+Cn∗​(mn∘​)cmnH1​+CnH2​(mnH1​)​=1,

where CnH2C^{H2}_nCnH2​ is the list-scheduling makespan.

Significance

Result (8.13) says that the optimal value of an NP-hard problem, rescaled, is almost surely asymptotic to the elementary function nμ/mn\mu/mnμ/m of the data and the first-stage decision. Its expectation version replaces the intractable term E Cn∗(m)\mathbb E\,C^*_n(m)ECn∗​(m) in (8.9) by nμ/mn\mu/mnμ/m, and the clairvoyance statement shows that the heuristic built on that replacement loses asymptotically nothing, not even against a decision maker with full information. The chapter presents the example as the template for vehicle routing and location problems preceded by an investment decision.

All results here are classical and proved in the literature cited by the chapter (Lemma 8.1 is quoted from Feller without proof; the chapter refers to Dempster et al. for the asymptotic optimality of the two-stage heuristic and to Lenstra et al. for the notion of asymptotic clairvoyance). None of them has, to our knowledge, a machine-checked proof. The mission produces a formal model of identical-machine makespan scheduling and of list scheduling, the extreme-value estimates of Lemma 8.1 for square-integrable i.i.d. sequences, and the full chain from the strong law to (8.13).

Difficulty

The deterministic part is elementary on paper, but list scheduling is a recursively defined procedure, and its makespan bound has to be established for that recursion rather than for a picture like the chapter's Figure 8.3. The probabilistic core is Lemma 8.1: the strong law controls Sn/nS_n/nSn​/n, but the error term m pmax⁡/(nμ)m\, p_{\max}/(n\mu)mpmax​/(nμ) is of order pmax⁡/np_{\max}/\sqrt npmax​/n​ once mmm grows like n\sqrt nn​, and the strong law says nothing about maxima. With a fixed number of machines the whole statement would reduce to the strong law; the growth m(n)=O(n)m(n) = O(\sqrt n)m(n)=O(n​) is exactly where the second moment is needed. For the clairvoyance statement, the clairvoyant choice mn∘m^\circ_nmn∘​ is a random, unstructured minimizer, so its value must be bounded below without knowing where the minimum is attained.

Formalization scope

Processing times are one sequence p : ℕ → Ω → ℝ, 0-based (the book's pjp_jpj​ is p (j-1)), with each p j measurable, the family mutually independent (iIndepFun), identically distributed with p 0, pointwise nonnegative, p 0 ^ 2 integrable and ∫ p 0 = μ with μ > 0. Nonnegativity and μ>0\mu > 0μ>0 are not printed in the book; they are implicit in "processing times" and in the division by nμn\munμ. Machines are Fin m; a schedule is an assignment Fin n → Fin m, which is faithful because jobs are non-preemptive, machines identical and there are no precedence constraints.

The book writes "m=0(n)m = 0(\sqrt n)m=0(n​)"; this is read as mmm a function of nnn with m(n)≥1m(n) \ge 1m(n)≥1 and (fun n => (m n : ℝ)) =O[atTop] (fun n => √n). Stating (8.13) for a fixed mmm would trivialize it into the strong law and is ruled out. "Pr⁡{lim⁡⋯=1}=1\Pr\{\lim \dots = 1\} = 1Pr{lim⋯=1}=1" means that almost surely the limit exists and equals 111. Expectations are Bochner integrals of functions that are measurable and bounded by SnS_nSn​, hence integrable. List scheduling uses the index order and breaks ties towards the lowest machine index; both are admissible instances of the book's "arbitrary fixed order" and "first available machine". In the clairvoyance statement the minimum is over m≥1m \ge 1m≥1 (the book writes m∈Nm \in \mathbb Nm∈N; no machine cannot process any job, and the Lean value Cn∗(0)C^*_n(0)Cn∗​(0) is an empty-infimum convention). No explicit constants replace an O(·): the statements are limits and the O-hypothesis is carried as stated.

Out of scope: (8.14) and the p. 210 expectation statement, which need a positive density at 000 and whose proof the book calls "far from easy", and the dynamic programming recursion of §8.3.

Needed infrastructure: finite maxima and minima of measurable functions, extreme-value estimates for square-integrable i.i.d. sequences (Lemma 8.1), and Mathlib's strong law. The makespan and list-scheduling definitions are reusable for other identical-machine scheduling results; alternative proofs of Lemma 8.1 and sharper forms of the clairvoyance statement are welcome.

Selected references

  • A. H. G. Rinnooy Kan, L. Stougie, "Stochastic Integer Programming", in Yu. Ermoliev, R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 8, pp. 201–213. https://doi.org/10.1007/978-3-642-61370-8
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd edition, Wiley, 1968 (cited by the chapter for Lemma 8.1).
  • M. A. H. Dempster, M. L. Fisher, L. Jansen, B. J. Lageweg, J. K. Lenstra, A. H. G. Rinnooy Kan, "Analysis of heuristics for stochastic programming: results for hierarchical scheduling problems", Mathematics of Operations Research 8 (1983) 525–537. https://doi.org/10.1287/moor.8.4.525
  • J. K. Lenstra, A. H. G. Rinnooy Kan, L. Stougie, "A framework for the design and analysis of hierarchical planning systems", Annals of Operations Research 1 (1984) 23–42. https://doi.org/10.1007/BF01874451
  • R. L. Graham, "Bounds on multiprocessing timing anomalies", SIAM Journal on Applied Mathematics 17 (1969) 416–429. https://doi.org/10.1137/0117039
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization III: Stochastic Quasi-Féjer Sequences and the Stochastic Quasigradient Projection MethodTextbook

Motivation

Many optimization problems in operations research have an objective that is an expectation, F0(x)=Ef0(x,ω)F^0(x)=E f^0(x,\omega)F0(x)=Ef0(x,ω), over a random parameter ω\omegaω whose distribution is known only through samples or is too complex to integrate. Two-stage stochastic programs, inventory and reliability models, and simulation-based design all have this form. Neither F0F^0F0 nor its subgradients can be evaluated exactly, but a random vector whose conditional mean is close to a subgradient is often cheap to compute: a sample subgradient of f0(⋅,ω)f^0(\cdot,\omega)f0(⋅,ω), or a finite-difference quotient of two sampled values.

Stochastic quasigradient (SQG) methods, developed by Ermoliev and co-workers in Kiev from the late 1960s, use such vectors in place of subgradients. They extend the stochastic approximation procedures of Robbins–Monro (1951) and Kiefer–Wolfowitz (1952) to nonsmooth convex objectives, general convex constraints, and directions whose conditional mean is biased by a vanishing amount. This mission formalizes the basic convergence theory of the simplest SQG method, the projection method, as presented by Yu. Ermoliev in Chapter 6 of the IIASA volume Numerical Techniques for Stochastic Optimization (Springer 1988).

Timeline (as cited in the chapter's bibliography).

  • 1951–1954: Robbins and Monro, Kiefer and Wolfowitz, Dvoretzky and Blum prove convergence of stochastic approximation for unconstrained smooth problems.
  • 1962–1967: Shor introduces the generalized gradient (subgradient) method; Ermoliev (Kibernetika 4, 1966) and Polyak (Soviet Math. Doklady 8, 1967) prove its convergence.
  • 1967–1969: Ermoliev and Nekrylova introduce stochastic subgradients; Ermoliev ("On the stochastic quasi-gradient method and stochastic quasi-Feyer sequences", Kibernetika 2, 1969) introduces stochastic quasi-Féjer sequences.
  • 1976: Ermoliev's monograph Stochastic Programming Methods (Nauka) contains the proof of Theorem 6.1 (p. 98).
  • 1988: the survey chapter formalized here presents the projection method, Theorems 6.1 and 6.2, and an efficiency estimate for the averaged iterate.

Setting

Let X⊆RnX\subseteq\mathbb R^nX⊆Rn be a nonempty convex compact set and F0:Rn→RF^0:\mathbb R^n\to\mathbb RF0:Rn→R convex and continuous on XXX. The optimal set is X∗={x∈X:F0(x)≤F0(y) ∀y∈X}X^*=\{x\in X: F^0(x)\le F^0(y)\ \forall y\in X\}X∗={x∈X:F0(x)≤F0(y) ∀y∈X}. The projection onto XXX is πX(y)=argmin⁡{∥y−x∥2:x∈X}\pi_X(y)=\operatorname{argmin}\{\|y-x\|^2:x\in X\}πX​(y)=argmin{∥y−x∥2:x∈X}.

On a probability space, the stochastic quasigradient projection method produces random vectors x0,x1,…x^0,x^1,\dotsx0,x1,… by

xs+1=πX[xs−ρs ξ0(s)],s=0,1,…(6.11)x^{s+1}=\pi_X\big[x^s-\rho_s\,\xi^0(s)\big],\qquad s=0,1,\dots \tag{6.11}xs+1=πX​[xs−ρs​ξ0(s)],s=0,1,…(6.11)

where ρs≥0\rho_s\ge0ρs​≥0 is a step size and ξ0(s)\xi^0(s)ξ0(s) a random direction. Write E{⋅∣x0,…,xs}E\{\cdot\mid x^0,\dots,x^s\}E{⋅∣x0,…,xs} for conditional expectation given the history σ(x0,…,xs)\sigma(x^0,\dots,x^s)σ(x0,…,xs). The direction is a stochastic quasigradient if, for every x∗∈X∗x^*\in X^*x∗∈X∗,

F0(x∗)−F0(xs)≥⟨E{ξ0(s)∣x0,…,xs}, x∗−xs⟩+γ0(s)a.s.,(6.12)F^0(x^*)-F^0(x^s)\ge\big\langle E\{\xi^0(s)\mid x^0,\dots,x^s\},\,x^*-x^s\big\rangle+\gamma_0(s)\quad\text{a.s.}, \tag{6.12}F0(x∗)−F0(xs)≥⟨E{ξ0(s)∣x0,…,xs},x∗−xs⟩+γ0​(s)a.s.,(6.12)

where the error γ0(s)\gamma_0(s)γ0​(s) is a function of the history. If the conditional mean of ξ0(s)\xi^0(s)ξ0(s) is a subgradient plus a bias b0(s)b^0(s)b0(s), then (6.12) holds with γ0(s)=−⟨b0(s),x∗−xs⟩\gamma^0(s)=-\langle b^0(s),x^*-x^s\rangleγ0(s)=−⟨b0(s),x∗−xs⟩ (6.13).

A sequence of random vectors z0,z1,…z^0,z^1,\dotsz0,z1,… is a stochastic quasi-Féjer sequence for Z⊆RnZ\subseteq\mathbb R^nZ⊆Rn if E∥z0∥2<∞E\|z^0\|^2<\inftyE∥z0∥2<∞ and there are random rs≥0r_s\ge0rs​≥0 with ∑sErs<∞\sum_s E r_s<\infty∑s​Ers​<∞ such that for all z∈Zz\in Zz∈Z

E{∥z−zs+1∥2∣z0,…,zs}≤∥z−zs∥2+rs.(6.14)E\{\|z-z^{s+1}\|^2\mid z^0,\dots,z^s\}\le\|z-z^s\|^2+r_s. \tag{6.14}E{∥z−zs+1∥2∣z0,…,zs}≤∥z−zs∥2+rs​.(6.14)

Formalization targets

Goal: Theorem 6.2

If, with probability 1, ρs≥0\rho_s\ge0ρs​≥0 and ∑sρs=∞\sum_s\rho_s=\infty∑s​ρs​=∞, and

∑s=0∞E{ρs∣γ0(s)∣+ρs2∥ξ0(s)∥2}<∞,(6.15)\sum_{s=0}^\infty E\{\rho_s|\gamma_0(s)|+\rho_s^2\|\xi^0(s)\|^2\}<\infty, \tag{6.15}s=0∑∞​E{ρs​∣γ0​(s)∣+ρs2​∥ξ0(s)∥2}<∞,(6.15)

then with probability 1 the iterates converge and lim⁡sxs∈X∗\lim_s x^s\in X^*lims​xs∈X∗.

Milestones

  1. Theorem 6.1 (a)–(c). For a stochastic quasi-Féjer sequence for ZZZ: ∥z−zs+1∥2\|z-z^{s+1}\|^2∥z−zs+1∥2 converges a.s. and E∥z−zs∥2E\|z-z^s\|^2E∥z−zs∥2 is bounded, for each z∈Zz\in Zz∈Z; accumulation points exist a.s. (for Z≠∅Z\ne\emptysetZ=∅); and a.s. ZZZ lies in the hyperplane equidistant from any two distinct accumulation points outside ZZZ.
  2. Eq. (6.13). Biased stochastic subgradients satisfy (6.12).
  3. One-step inequality (p. 145): E{∥x∗−xs+1∥2∣⋅}≤∥x∗−xs∥2+2ρs⟨E{ξ0(s)∣⋅},x∗−xs⟩+E{ρs2∥ξ0(s)∥2∣⋅}E\{\|x^*-x^{s+1}\|^2\mid\cdot\}\le\|x^*-x^s\|^2+2\rho_s\langle E\{\xi^0(s)\mid\cdot\},x^*-x^s\rangle+E\{\rho_s^2\|\xi^0(s)\|^2\mid\cdot\}E{∥x∗−xs+1∥2∣⋅}≤∥x∗−xs∥2+2ρs​⟨E{ξ0(s)∣⋅},x∗−xs⟩+E{ρs2​∥ξ0(s)∥2∣⋅} for x∗∈Xx^*\in Xx∗∈X.
  4. Quasi-Féjer property (p. 145): the iterates of (6.11) form a stochastic quasi-Féjer sequence for X∗X^*X∗.
  5. Efficiency estimate (p. 147), for deterministic ρk\rho_kρk​ and xˉs=∑k≤sρkxk/∑k≤sρk\bar x^s=\sum_{k\le s}\rho_kx^k/\sum_{k\le s}\rho_kxˉs=∑k≤s​ρk​xk/∑k≤s​ρk​:
EF0(xˉs)−F0(x∗)≤(2∑k=0sρk)−1[E∥x∗−x0∥2+∑k=0sE(2ρk∣γ0(k)∣+ρk2∥ξ0(k)∥2)].E F^0(\bar x^s)-F^0(x^*)\le\Big(2\sum_{k=0}^s\rho_k\Big)^{-1}\Big[E\|x^*-x^0\|^2+\sum_{k=0}^s E\big(2\rho_k|\gamma_0(k)|+\rho_k^2\|\xi^0(k)\|^2\big)\Big].EF0(xˉs)−F0(x∗)≤(2k=0∑s​ρk​)−1[E∥x∗−x0∥2+k=0∑s​E(2ρk​∣γ0​(k)∣+ρk2​∥ξ0(k)∥2)].

Significance

Theorem 6.2 is the prototype convergence theorem for SQG methods. Its hypotheses allow random step sizes chosen from the history, nonsmooth objectives, and directions with a bias that vanishes fast enough; its conclusion is convergence of the iterates themselves to a single optimal point, not only convergence of function values or of dist⁡(xs,X∗)\operatorname{dist}(x^s,X^*)dist(xs,X∗). The later chapters of the same volume (adaptive step sizes, Chapters 17–18; nonstationary problems, §6.4) reuse the same framework. Theorem 6.1 isolates the probabilistic content in a form that applies to any algorithm with a quasi-Féjer inequality. The efficiency estimate gives a non-asymptotic accuracy bound for the averaged iterate.

The results are classical and proved in the literature: Theorem 6.1 in Ermoliev (1976, p. 98), Theorem 6.2 in this chapter (pp. 145–146). To our knowledge none of them has a machine-checked proof. Mathlib has conditional expectations and the a.s. martingale convergence theorem, but no Robbins–Siegmund-type almost-supermartingale lemma and no stochastic subgradient method. A formal proof of this mission would supply both.

Difficulty

The deterministic argument for projected subgradient methods compares ∥x∗−xs+1∥\|x^*-x^{s+1}\|∥x∗−xs+1∥ with ∥x∗−xs∥\|x^*-x^s\|∥x∗−xs∥ for a fixed x∗x^*x∗. In the stochastic setting this comparison holds only in conditional mean, with a perturbation rsr_srs​ that is random, and the distances converge only almost surely, with an exceptional null set that depends on x∗x^*x∗. Since X∗X^*X∗ is typically uncountable, "for every x∗x^*x∗, almost surely" does not immediately give "almost surely, for every x∗x^*x∗", and it is the second form that identifies a single limit. A second difficulty is that ∑ρs(F0(xs)−F0(x∗))<∞\sum\rho_s(F^0(x^s)-F^0(x^*))<\infty∑ρs​(F0(xs)−F0(x∗))<∞ only yields a subsequence along which F0F^0F0 approaches its minimum; passing from there to convergence of the whole sequence is exactly what part (c) of Theorem 6.1 is for.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). The probability space is an arbitrary measurable space with a probability measure. πX\pi_XπX​ is a chosen minimizer of ∥y−x∥2\|y-x\|^2∥y−x∥2 over XXX (unique for nonempty closed convex XXX). The history is the σ\sigmaσ-algebra generated by x0,…,xsx^0,\dots,x^sx0,…,xs; ρs\rho_sρs​ and γ0(s)\gamma_0(s)γ0​(s) are measurable with respect to it.
  • Directions ξ0(s)\xi^0(s)ξ0(s) are integrable and random vectors are measurable; conditional expectations are Mathlib's condExp. The quasi-Féjer definition requires square integrability of every zsz^szs (implied by the book's definition when Z≠∅Z\ne\emptysetZ=∅), so no conditional expectation is taken of a non-integrable function.
  • X≠∅X\ne\emptysetX=∅ and x0∈Xx^0\in Xx0∈X are stated; Z≠∅Z\ne\emptysetZ=∅ is added in Theorem 6.1 (b), which is false without it.
  • γ0(s)\gamma_0(s)γ0​(s) does not depend on x∗x^*x∗; the x∗x^*x∗-dependent error of (6.13) is dominated on a bounded XXX by ∥b0(s)∥diam⁡X\|b^0(s)\|\operatorname{diam}X∥b0(s)∥diamX.
  • (6.15) keeps its mixed form: ρs≥0\rho_s\ge0ρs​≥0 and ∑ρs=∞\sum\rho_s=\infty∑ρs​=∞ almost surely, and a deterministic sum of expectations (lower Lebesgue integrals) finite.
  • Explicit constants. The book's "CCC" in the efficiency estimate is instantiated from its proof: 222 on ρk∣γ0(k)∣\rho_k|\gamma_0(k)|ρk​∣γ0​(k)∣ and 111 on ρk2∥ξ0(k)∥2\rho_k^2\|\xi^0(k)\|^2ρk2​∥ξ0(k)∥2. The unspecified CCC before the quasi-Féjer sentence is replaced by the existence of summable rsr_srs​.
  • Typo corrections. The one-step inequality on p. 145 prints ρsE{∥ξ0(s)∥2∣⋅}\rho_sE\{\|\xi^0(s)\|^2\mid\cdot\}ρs​E{∥ξ0(s)∥2∣⋅}; it is ρs2\rho_s^2ρs2​. The efficiency estimate on p. 147 omits EEE before the last sum; it is restored. "ρk\rho_kρk​ independent of (x0,…,xk)(x^0,\dots,x^k)(x0,…,xk)" is read as deterministic step sizes.
  • A trivializing formalization is excluded: the goal does not replace ξ0(s)\xi^0(s)ξ0(s) by an exact subgradient, does not set γ0≡0\gamma_0\equiv0γ0​≡0, and concludes convergence of xsx^sxs to a point of X∗X^*X∗ rather than dist⁡(xs,X∗)→0\operatorname{dist}(x^s,X^*)\to0dist(xs,X∗)→0.
  • Reusable infrastructure: a Robbins–Siegmund lemma for nonnegative almost-supermartingales, the nonexpansiveness of πX\pi_XπX​, and Theorem 6.1 itself, which applies to any quasi-Féjer algorithm (Chapter 6 §6.4 and Chapters 17–18 of the same book). Contributions of these general lemmas are welcome.

Selected references

  • Yu. Ermoliev, "Stochastic Quasigradient Methods", in Yu. Ermoliev and R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 6, §6.1–6.2 (pp. 141–147). https://doi.org/10.1007/978-3-642-61370-8
  • Yu. Ermoliev, "On the stochastic quasi-gradient method and stochastic quasi-Feyer sequences", Kibernetika 2 (1969) (in Russian; English translation in Cybernetics). Reference [3] of the chapter.
  • Yu. Ermoliev, Stochastic Programming Methods, Nauka, Moscow, 1976 (in Russian); Theorem 6.1 is on p. 98. Reference [5] of the chapter.
  • H. Robbins and D. Siegmund, "A convergence theorem for non negative almost supermartingales and some applications", in J. S. Rustagi (ed.), Optimizing Methods in Statistics, Academic Press, 1971, 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
  • H. Robbins and S. Monro, "A stochastic approximation method", Annals of Mathematical Statistics 22 (1951) 400–407. https://doi.org/10.1214/aoms/1177729586
10 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryLinear OptimizationTheoretical Computer Science·Captain: mikedeng1

Online Primal-Dual Algorithms for Maximizing Ad-Auctions Revenue: The Competitive Ratio of the Primal-Dual Allocation AlgorithmResearch Paper

Motivation

Search engines sell advertisement slots next to their results through ad-auctions. Advertisers bid on keywords, and each advertiser also sets a daily budget: the most it is willing to pay in a day. Queries arrive one at a time and each must be assigned to an advertiser at once, with no knowledge of the queries still to come. The seller's revenue from an advertiser is capped by its budget, so an allocation rule that ignores budgets can exhaust a high bidder early and forgo revenue that a more even allocation would have collected. The question is how much of the offline optimum an online rule can guarantee against every arrival sequence.

Mehta, Saberi, Vazirani and Vazirani (FOCS 2005 / J. ACM 2007) gave a deterministic algorithm whose competitive ratio tends to 1−1/e1 - 1/e1−1/e when bids are small compared with budgets, and showed that no deterministic algorithm does better. Their algorithm builds on online bipartite matching (Karp, Vazirani and Vazirani, STOC 1990) and online bbb-matching (Kalyanasundaram and Pruhs, 2000). Buchbinder, Jain and Naor (ESA 2007) rederived the 1−1/e1 - 1/e1−1/e bound with an online primal-dual algorithm, which gives the ratio in closed form for every value of the bid-to-budget ratio and extends to multiple slots, stochastic information, bounded degree and budget flexibility. This mission formalizes the basic algorithm of that paper and its Theorem 1.

Setting

There is a finite nonempty set III of buyers. Buyer iii has a known budget B(i)>0B(i) > 0B(i)>0. Products j=1,…,mj = 1, \dots, mj=1,…,m arrive one by one; when product jjj arrives, every buyer's bid b(i,j)≥0b(i,j) \ge 0b(i,j)≥0 on it is revealed. The bid-to-budget ratio is

Rmax⁡=max⁡i∈I, jb(i,j)B(i).R_{\max} = \max_{i \in I,\, j} \frac{b(i,j)}{B(i)} .Rmax​=i∈I,jmax​B(i)b(i,j)​.

A fractional allocation y(i,j)≥0y(i,j) \ge 0y(i,j)≥0 assigns fractions of products to buyers; the revenue from buyer iii is the minimum of ∑jb(i,j) y(i,j)\sum_j b(i,j)\,y(i,j)∑j​b(i,j)y(i,j) and B(i)B(i)B(i).

The offline fractional problem is the packing LP, which the paper calls the dual:

max⁡∑j∑ib(i,j) y(i,j)s.t.∑iy(i,j)≤1  ∀j,∑jb(i,j) y(i,j)≤B(i)  ∀i,y≥0.\max \sum_{j}\sum_{i} b(i,j)\,y(i,j) \quad\text{s.t.}\quad \sum_i y(i,j) \le 1 \ \ \forall j,\qquad \sum_j b(i,j)\,y(i,j) \le B(i)\ \ \forall i,\qquad y \ge 0 .maxj∑​i∑​b(i,j)y(i,j)s.t.i∑​y(i,j)≤1  ∀j,j∑​b(i,j)y(i,j)≤B(i)  ∀i,y≥0.

Its LP dual, the paper's primal, is the covering LP:

min⁡∑iB(i) x(i)+∑jz(j)s.t.b(i,j) x(i)+z(j)≥b(i,j)  ∀i,j,x,z≥0.\min \sum_i B(i)\,x(i) + \sum_j z(j) \quad\text{s.t.}\quad b(i,j)\,x(i) + z(j) \ge b(i,j)\ \ \forall i,j,\qquad x, z \ge 0 .mini∑​B(i)x(i)+j∑​z(j)s.t.b(i,j)x(i)+z(j)≥b(i,j)  ∀i,j,x,z≥0.

The Allocation Algorithm has a parameter c>1c > 1c>1 and starts from x≡0x \equiv 0x≡0. When product jjj arrives it takes a buyer iii maximizing b(i,j)(1−x(i))b(i,j)(1 - x(i))b(i,j)(1−x(i)). If x(i)≥1x(i) \ge 1x(i)≥1, the product is not sold. Otherwise it charges iii the minimum of b(i,j)b(i,j)b(i,j) and iii's remaining budget, sets y(i,j)←1y(i,j) \leftarrow 1y(i,j)←1 and z(j)←b(i,j)(1−x(i))z(j) \leftarrow b(i,j)(1 - x(i))z(j)←b(i,j)(1−x(i)), and updates

x(i)←x(i)(1+b(i,j)B(i))+b(i,j)(c−1) B(i).x(i) \leftarrow x(i)\Big(1 + \frac{b(i,j)}{B(i)}\Big) + \frac{b(i,j)}{(c-1)\,B(i)} .x(i)←x(i)(1+B(i)b(i,j)​)+(c−1)B(i)b(i,j)​.

Its revenue is the total amount charged.

Formalization targets

Goal: Theorem 1

For every instance and every bound R>0R > 0R>0 with b(i,j)≤R B(i)b(i,j) \le R\,B(i)b(i,j)≤RB(i) for all i,ji, ji,j, the Allocation Algorithm run with c=(1+R)1/Rc = (1+R)^{1/R}c=(1+R)1/R, under any tie-breaking of the maximum, satisfies for every feasible y′y'y′ of the packing LP

Revenue  ≥  (1−1c)(1−R)∑j∑ib(i,j) y′(i,j).\mathrm{Revenue} \;\ge\; \Big(1 - \frac1c\Big)(1 - R)\sum_{j}\sum_{i} b(i,j)\,y'(i,j).Revenue≥(1−c1​)(1−R)j∑​i∑​b(i,j)y′(i,j).

With R=Rmax⁡R = R_{\max}R=Rmax​ this is the paper's statement that the algorithm is (1−1/c)(1−Rmax⁡)(1 - 1/c)(1 - R_{\max})(1−1/c)(1−Rmax​)-competitive; the fractional optimum bounds every integral offline allocation.

Milestones

The proof of Theorem 1 rests on three claims and three auxiliary facts, each a milestone:

  1. the inequality ln⁡(1+x)/x≥ln⁡(1+y)/y\ln(1+x)/x \ge \ln(1+y)/yln(1+x)/x≥ln(1+y)/y for 0<x≤y≤10 < x \le y \le 10<x≤y≤1;
  2. Claim (1): the final (x,z)(x, z)(x,z) is feasible for the covering LP;
  3. Claim (2): the covering cost of the run equals (1+1/(c−1))(1 + 1/(c-1))(1+1/(c−1)) times the packing value of the run's own yyy;
  4. Inequality (1): x(i)≥1c−1(c∑jb(i,j)y(i,j)/B(i)−1)x(i) \ge \frac{1}{c-1}\big(c^{\sum_j b(i,j) y(i,j)/B(i)} - 1\big)x(i)≥c−11​(c∑j​b(i,j)y(i,j)/B(i)−1) at every stage of the run;
  5. Claim (3): ∑jb(i,j) y(i,j)≤B(i)+max⁡jb(i,j)\sum_j b(i,j)\,y(i,j) \le B(i) + \max_j b(i,j)∑j​b(i,j)y(i,j)≤B(i)+maxj​b(i,j), and the amount charged to iii is at least (1−R)∑jb(i,j) y(i,j)(1 - R)\sum_j b(i,j)\,y(i,j)(1−R)∑j​b(i,j)y(i,j);
  6. weak duality for the LP pair above;

and, separately, the second sentence of Theorem 1,

lim⁡R→0+(1−1(1+R)1/R)(1−R)=1−1e.\lim_{R\to 0^+}\Big(1 - \frac{1}{(1+R)^{1/R}}\Big)(1-R) = 1 - \frac1e .R→0+lim​(1−(1+R)1/R1​)(1−R)=1−e1​.

Significance

Theorem 1 gives an explicit ratio for every value of Rmax⁡R_{\max}Rmax​, not only in the limit. It tends to the optimal deterministic ratio 1−1/e1 - 1/e1−1/e as bids become small, and it quantifies how the guarantee degrades as single bids become a larger share of a budget. The primal-dual analysis is the template for the paper's later sections and for a line of work on online packing and covering problems, surveyed in Buchbinder and Naor's monograph The Design of Competitive Online Algorithms via a Primal-Dual Approach (Foundations and Trends in TCS, 2009).

The result is proved in the paper, and the proof is short. What this mission adds is a machine-checked proof about an algorithm that is defined, not described: the run is computed by recursion from the instance, and the guarantee is proved for that run and every tie-breaking. A related private mission on the platform, The Design of Competitive Online Algorithms via a Primal-Dual Approach VI: Maximizing Ad-Auctions Revenue, states the monograph's Theorem 10.1, which is this theorem, in a form that takes the analysis's intermediate inequalities as hypotheses over arbitrary lists of won bids; the present mission states it for the algorithm itself. No machine-checked proof of Theorem 1 is known to this mission.

Difficulty

Each step of the proof is elementary; the difficulty is the bookkeeping of an online process. Claims (1) and (2) are statements about a single iteration that must be lifted to the whole run: Claim (1) uses that xxx only increases, and Claim (2) that each product is processed once. Inequality (1) is an induction over the iterations that allocate to one buyer, interleaved with iterations that allocate to others and is the only place where the value of ccc matters. Claim (3) needs a further invariant: the amount charged equals the minimum of the allocated bids and the budget.

A tempting shortcut is to take Inequality (1) and the "at most one undercharge" fact as hypotheses about some list of bids. That does not describe the algorithm and is not the theorem; here the only hypotheses are on the instance and on the tie-breaking rule.

Formalization scope

Buyers are a type I with [Fintype I] and [Nonempty I]; products are Fin m, whose order is the arrival order. Bids and budgets are real, with B(i)>0B(i) > 0B(i)>0 and b(i,j)≥0b(i,j) \ge 0b(i,j)≥0. The state of the algorithm records xxx, the amounts charged, yyy and zzz; one iteration is step, the run after kkk products is runPrefix, and revenue sums the charges of the final state. The tie-breaking rule is a function sel of the current xxx and the product, required to return a maximizer of b(i,j)(1−x(i))b(i,j)(1-x(i))b(i,j)(1−x(i)); the theorem holds for every such rule. The constant c=(1+R)1/Rc = (1+R)^{1/R}c=(1+R)1/R is a real power and requires R>0R > 0R>0. The theorem is stated for any bound RRR on the ratios, of which the exact maximum is one instance. Claims (1) and (2) are stated for every c>1c > 1c>1, which covers the paper's choice. The paper's inequality for ln⁡(1+x)/x\ln(1+x)/xln(1+x)/x allows x=0x = 0x=0, read as a limit; the Lean statement requires x>0x > 0x>0.

A statement over an unconstrained allocation, or one conditioned on the proof's own intermediate inequalities, would be trivially true or false; the targets here concern only the run the definitions compute.

The development needs finite sums, real powers and logarithms from Mathlib and an induction principle for the run. The LP pair and weak duality are reusable for the paper's extensions, and the run invariants for any primal-dual online algorithm with multiplicative updates. Proofs of any milestone are welcome, as are sharper variants, such as the exact-Rmax⁡R_{\max}Rmax​ form or the bound against integral allocations.

Selected references

  • N. Buchbinder, K. Jain, J. Naor, Online Primal-Dual Algorithms for Maximizing Ad-Auctions Revenue, Algorithms – ESA 2007, LNCS 4698, 2007. https://doi.org/10.1007/978-3-540-75520-3_24
  • A. Mehta, A. Saberi, U. Vazirani, V. Vazirani, AdWords and Generalized Online Matching, Journal of the ACM 54(5), 2007. https://doi.org/10.1145/1284320.1284321
  • R. M. Karp, U. V. Vazirani, V. V. Vazirani, An Optimal Algorithm for On-line Bipartite Matching, STOC 1990. https://doi.org/10.1145/100216.100262
  • B. Kalyanasundaram, K. R. Pruhs, An Optimal Deterministic Algorithm for Online b-Matching, Theoretical Computer Science 233(1–2), 2000. https://doi.org/10.1016/S0304-3975(99)00140-1
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal-Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3), 2009. https://doi.org/10.1561/0400000024
10 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOptimization·Captain: mikedeng1

Algorithmic Mechanism Design VI: With Verification, the Compensation-and-Bonus Mechanism Is a Strongly Truthful Optimal ImplementationResearch Paper

Motivation

Scheduling tasks on machines owned by self-interested parties is the running example of Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001), the paper that introduced the study of mechanisms whose allocation rule is an algorithm with a computational objective. Each machine (agent) privately knows how long it needs for each task; the designer wants to minimize the make-span, the completion time of the last machine, and can only influence the agents through payments.

Without further information the designer is in a weak position: the paper shows that no mechanism approximates the optimal make-span within a factor below 2 (Theorem 4.6), and that the natural truthful mechanism, MinWork, only achieves a factor nnn. Section 5 of the paper observes that in many applications the designer learns more than the agents' reports: it can pay after the work is done and observe how long each task actually took. It introduces mechanisms with verification and shows that, with this extra information, the make-span can be minimized exactly by a strongly truthful mechanism. This mission formalizes that result, Theorem 5.1, together with the steps of its proof and the participation variant, Theorem 5.4.

Setting

There are kkk tasks and nnn agents. The type of agent iii is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive numbers, tjit^i_jtji​ being the least time in which agent iii can perform task jjj. An allocation xxx gives each task to one agent; xix^ixi is the set of tasks of agent iii. For a type vector ttt and for a vector t~\tilde tt~ of actual execution times the make-spans are

g(x,t)=max⁡i∑j∈xitji,g(x,t~)=max⁡i∑j∈xit~j.g(x,t) = \max_i \sum_{j\in x^i} t^i_j, \qquad g(x,\tilde t) = \max_i \sum_{j\in x^i} \tilde t_j .g(x,t)=imax​j∈xi∑​tji​,g(x,t~)=imax​j∈xi∑​t~j​.

A mechanism with verification is a pair (x,p)(x, p)(x,p). The allocation x(d)x(d)x(d) is computed from the agents' declarations d=(d1,…,dn)d = (d^1,\dots,d^n)d=(d1,…,dn) only. Each agent then performs its tasks, in any times t~j≥tji\tilde t_j \ge t^i_jt~j​≥tji​ it chooses, and the mechanism pays agent iii the amount pi(d,t~)p^i(d, \tilde t)pi(d,t~), which may depend on the declarations and on the observed actual times. Agent iii's utility is pi(d,t~)−∑j∈xit~jp^i(d,\tilde t) - \sum_{j \in x^i} \tilde t_jpi(d,t~)−∑j∈xi​t~j​. A strategy of agent iii therefore has two parts: a declaration did^idi and an execution plan eie^iei that says, for every allocation, how long the agent takes on each of its tasks.

A strategy is dominant if it maximizes the agent's utility against all declarations and all execution plans of the other agents. The mechanism is truthful if, for every agent and type, declaring the true type (with a suitable execution plan) is dominant, and strongly truthful if the only dominant strategy is to declare the true type and to execute every task in minimal time.

The Compensation-and-Bonus mechanism uses an optimal allocation algorithm x(⋅)x(\cdot)x(⋅) and pays

pi(d,t~)=∑j∈xi(d)t~j⏟compensation ci  − g(x(d),corri(x(d),d,t~))⏟bonus bi,p^i(d,\tilde t) = \underbrace{\sum_{j \in x^i(d)} \tilde t_j}_{\text{compensation } c^i} \;\underbrace{-\, g\big(x(d), \mathrm{corr}^i(x(d), d, \tilde t)\big)}_{\text{bonus } b^i},pi(d,t~)=compensation cij∈xi(d)∑​t~j​​​bonus bi−g(x(d),corri(x(d),d,t~))​​,

where the corrected time vector corri\mathrm{corr}^icorri lists agent iii's own tasks at their actual times and every other task at the time declared by the agent it was given to.

Formalization targets

Goal: Theorem 5.1

For n≥2n \ge 2n≥2 agents and every optimal allocation algorithm (ties broken arbitrarily), the Compensation-and-Bonus mechanism is a strongly truthful implementation of task scheduling:

strongly truthfulandg(x(D),t~)≤min⁡yg(y,t) whenever every agent plays a dominant strategy for its true type.\text{strongly truthful} \quad\text{and}\quad g\big(x(D), \tilde t\big) \le \min_y g(y, t) \text{ whenever every agent plays a dominant strategy for its true type.}strongly truthfulandg(x(D),t~)≤ymin​g(y,t) whenever every agent plays a dominant strategy for its true type.

Milestones (proof of Claim 5.2)

  1. The utility of every agent equals its bonus.
  2. For every allocation, the bonus of agent iii is maximized by executing its tasks in minimal time.
  3. With t=(d−i,ti)t = (d^{-i}, t^i)t=(d−i,ti), for every declaration t′it'^it′i,
−g(x(t),corr∗(x(t),t))≥−g(x(t′i,d−i),corr∗(x(t′i,d−i),t)).-g\big(x(t), \mathrm{corr}^*(x(t), t)\big) \ge -g\big(x(t'^i, d^{-i}), \mathrm{corr}^*(x(t'^i, d^{-i}), t)\big).−g(x(t),corr∗(x(t),t))≥−g(x(t′i,d−i),corr∗(x(t′i,d−i),t)).
  1. Declaring the true type and executing in minimal time is dominant.
  2. Claim 5.2: the mechanism is strongly truthful.

Further target: Theorem 5.4

For n≥2n \ge 2n≥2 there is a strongly truthful mechanism with an optimal allocation algorithm that satisfies participation constraints: an agent that performs its tasks in its declared times never ends with negative utility.

Significance

The result. Theorem 5.1 shows that the lower bound of 2 for task scheduling (Theorem 4.6) is an artefact of the information structure, not of incentives as such: once execution times are observable, the exact optimum is achievable in dominant strategies, and the agents have a unique rational behaviour. The construction also isolates a general principle, used again in §5.6 of the paper: an agent paid by the global objective value, computed with the others' declarations, has the designer's incentives. Theorem 5.4 shows that the bonus can be shifted to make participation individually rational, which the plain mechanism violates (its bonus is negative).

Formalizing it. The theorem is proved in the paper, in a few lines, and has no machine-checked version. A formalization has to settle what the paper leaves informal: what a strategy with an execution part is, over which strategies of the others dominance is quantified, what "the only dominant strategy" demands of the execution plan on allocations that seem never to arise, and which hypotheses on the number of agents the uniqueness needs. The model built here is also the base of two companion missions of the same series (Compensation-and-Bonus with a non-optimal allocation algorithm, and the rounding mechanism with verification).

Difficulty

Truthfulness (milestones 1–4) is short once the model is right. The difficulty is uniqueness. For a misreport or a slow execution to be excluded, one must exhibit, for every alternative strategy, declarations of the other agents under which that strategy is strictly worse. The declarations must be positive, the optimal allocation algorithm breaks ties arbitrarily, and agent iii's slower execution only hurts it when agent iii is the bottleneck. The paper's proof dismisses this step with "clearly, … there are circumstances"; the naive reading ("the others declare +∞+\infty+∞ elsewhere") is not available in a model with finite positive times, and the uniqueness clause must also cover the execution plan on every allocation, not only on the allocation produced by truthful play.

Formalization scope

  • Agents are Fin n, tasks Fin k, allocations functions Fin k → Fin n; both make-spans are Finset.sup' over the nonempty set of agents ([NeZero n]).
  • Types and declarations are positive real vectors; declarations range over this type space (Definition 18's "unrestricted" declaration is any element of it).
  • An execution plan is a function from allocations to actual times; feasibility for type tit^iti requires t~j≥tji\tilde t_j \ge t^i_jt~j​≥tji​ on the agent's own tasks only. In the dominance quantifier the other agents' plans are arbitrary.
  • Payments are amounts handed to the agent; utility is quasi-linear.
  • The optimal allocation algorithm is a parameter with the hypothesis that it minimizes g(⋅,d)g(\cdot, d)g(⋅,d) on every positive ddd; every theorem holds for every such algorithm.
  • Strong truthfulness constrains both parts of the strategy: the declaration equals the type, and the plan executes every task in minimal time under every allocation.
  • Thresholds made explicit: n≥2n \ge 2n≥2 in Claim 5.2, Theorem 5.1 and Theorem 5.4 (not printed; with one agent every declaration is dominant, and the construction of Theorem 5.4 needs a second agent).
  • Printed slips: the displayed inequality prints >=; Theorem 5.4 prints "strongly truthfulmechanism"; Definition 28 writes t~j=tj\tilde t_j = t_jt~j​=tj​ for t~j=tji\tilde t_j = t^i_jt~j​=tji​.
  • Running time is out of scope.
  • A formalization in which dominance is checked only against truthful other agents, in which the mechanism ignores executions, in which strong truthfulness constrains only the declaration, or in which the implementation clause is stated only at the truthful profile, is not the theorem and is ruled out by the statements.

Welcome contributions: proofs of the milestones, the uniqueness witnesses as reusable lemmas, and the contribution-based mechanism behind Theorem 5.4. Theorem 5.3 (generalized Compensation-and-Bonus) is not stated in this mission.

Selected references

  • N. Nisan, A. Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196. https://doi.org/10.1006/game.1999.0790
  • T. Groves, Incentives in Teams, Econometrica 41 (1973) 617–631. https://doi.org/10.2307/1914085
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995.
8 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOptimization·Captain: mikedeng1

Algorithmic Mechanism Design IV: No Local Truthful Mechanism Achieves a c-Approximation for Task Scheduling for Any c < nResearch Paper

Motivation

Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001) asks how well a computational task can be carried out when its inputs are held by self-interested agents who may lie about them. Their test case is scheduling on unrelated machines: tasks must be assigned to agents (machines), each agent privately knows how long it needs for each task, and the planner wants to minimize the time at which the last agent finishes. The paper shows that the mechanism MinWork, which gives each task to the fastest agent and pays it the second-fastest time, is truthful and loses a factor of at most nnn against the optimum, and that no truthful mechanism can do better than a factor 222. It then conjectures (Conjecture 4.9) that the factor nnn cannot be improved by any truthful mechanism.

That conjecture became the Nisan–Ronen conjecture, one of the central questions of algorithmic mechanism design. A sequence of papers raised the general lower bound from 222 to 1+21 + \sqrt 21+2​ (Christodoulou, Koutsoupias and Vidali), to 1+φ≈2.6181 + \varphi \approx 2.6181+φ≈2.618 (Koutsoupias and Vidali) and to larger constants, and Christodoulou, Koutsoupias and Kovács (STOC 2023) finally proved the conjecture for all deterministic truthful mechanisms. In the original paper, Nisan and Ronen confirm the conjecture for two restricted classes of mechanisms, with short direct arguments. This mission concerns the second class, local mechanisms (Theorem 4.12).

Setting

There are kkk tasks j∈{1,…,k}j \in \{1, \dots, k\}j∈{1,…,k} and nnn agents i∈{1,…,n}i \in \{1, \dots, n\}i∈{1,…,n}. A type vector ttt records, for every agent iii and task jjj, the positive time tjit^i_jtji​ agent iii needs for task jjj. An allocation xxx assigns every task to one agent; xix^ixi is the set of tasks of agent iii. For a set XXX of tasks write ti(X)=∑j∈Xtjit^i(X) = \sum_{j \in X} t^i_jti(X)=∑j∈X​tji​. The make-span of xxx is g(x,t)=max⁡iti(xi)g(x, t) = \max_i t^i(x^i)g(x,t)=maxi​ti(xi).

A direct mechanism (x,p)(x, p)(x,p) asks every agent for its type, computes an allocation x(t)x(t)x(t) from the declarations, and hands agent iii the payment pi(t)p^i(t)pi(t). Agent iii's utility is pi(t)−ti(xi(t))p^i(t) - t^i(x^i(t))pi(t)−ti(xi(t)) measured with its true times. The mechanism is truthful if declaring the true type maximizes each agent's utility whatever the other agents declare. The allocation rule is a ccc-approximation if g(x(t),t)≤c⋅g(y,t)g(x(t), t) \le c \cdot g(y, t)g(x(t),t)≤c⋅g(y,t) for every type vector ttt and every allocation yyy.

For a truthful mechanism the payment to agent iii depends only on the set it receives and on the declarations t−it^{-i}t−i of the others (Proposition 4.4). This gives the price offered to agent iii for a set XXX (Definition 12):

pi(X,t−i)={pi(t′i,t−i)if some t′i gives xi(t′i,t−i)=X,0otherwise.p^i(X, t^{-i}) = \begin{cases} p^i(t'^i, t^{-i}) & \text{if some } t'^i \text{ gives } x^i(t'^i, t^{-i}) = X, \\ 0 & \text{otherwise.} \end{cases}pi(X,t−i)={pi(t′i,t−i)0​if some t′i gives xi(t′i,t−i)=X,otherwise.​

A mechanism is local (Definition 14) if pi(X,t−i)p^i(X, t^{-i})pi(X,t−i) depends only on the other agents' times {tjl:l≠i,j∈X}\{t^l_j : l \ne i, j \in X\}{tjl​:l=i,j∈X} on the tasks of XXX. MinWork is local: its price for XXX is ∑j∈Xmin⁡l≠itjl\sum_{j \in X} \min_{l \ne i} t^l_j∑j∈X​minl=i​tjl​.

Formalization targets

Goal: Theorem 4.12

For every n≥1n \ge 1n≥1, every k≥n2k \ge n^2k≥n2 and every real c<nc < nc<n, no truthful local mechanism is a ccc-approximation:

∀(x,p) truthful and local, ∀c<n:∃ t, yg(x(t),t)>c⋅g(y,t).\forall (x, p) \text{ truthful and local},\ \forall c < n:\quad \exists\, t,\ y \quad g(x(t), t) > c \cdot g(y, t).∀(x,p) truthful and local, ∀c<n:∃t, yg(x(t),t)>c⋅g(y,t).

The bound holds for every c<nc < nc<n, so together with MinWork it shows that nnn is the exact best ratio for local truthful mechanisms.

Milestones

  1. Proposition 4.4 (Independence). Payments depend only on the allocated set and on t−it^{-i}t−i.
  2. Proposition 4.5 (Maximization). xi(t)x^i(t)xi(t) maximizes pi(X,t−i)−ti(X)p^i(X, t^{-i}) - t^i(X)pi(X,t−i)−ti(X) over the sets XXX that agent iii can obtain.
  3. Lemma 4.13. Every type vector has type vectors arbitrarily close to it at which each agent's maximizing set is unique.
  4. Claim 4.14, first step. If xi(t)x^i(t)xi(t) is the unique maximizer, lowering agent iii's times on xi(t)x^i(t)xi(t) keeps xi(t)x^i(t)xi(t).
  5. Ratio step. An allocation that gives one agent nnn tasks of time about 111, while every other agent's own tasks are nearly free, has make-span about nnn, while splitting those nnn tasks gives make-span about 111.

Significance

The result. Theorem 4.12 settles the Nisan–Ronen conjecture for a natural class of mechanisms. Locality captures the mechanisms in which the price for a bundle of tasks is set only by the competition for those tasks. It includes MinWork and, more generally, every mechanism that prices tasks separately using the other agents' bids on them. The theorem says that for this class the trivial per-task auction is already optimal, so any improvement over the ratio nnn must use prices that depend on the other agents' times on tasks outside the bundle.

Formalizing it. The statement is not open: it follows from the 2023 proof of the Nisan–Ronen conjecture, and Nisan and Ronen's own argument is much shorter. That argument is a sketch, though. Lemma 4.13 rests on an informal measure-theoretic appeal, and the core claim relies on a maximization property stated over all sets of tasks. A machine-checked proof pins down exactly which properties of truthful mechanisms the short argument needs. None of these results is known to have been formalized. The definitions (type vectors, truthful mechanisms, prices, locality) are shared with the other missions of this series.

Difficulty

An argument that looks at one agent at a time does not go through. Changing one agent's declaration changes the prices offered to every other agent, so an allocation that is stable for one agent can shift for another. The argument needs a type vector at which every agent's choice is strict, and only then can it lower times agent by agent and follow the allocation. Producing such a type vector is Lemma 4.13. The printed argument for it applies a "for almost every type vector" statement to sets defined by the price functions of an arbitrary mechanism, which need not be measurable. A proof must therefore work without any regularity of the mechanism. A second difficulty is Definition 12's convention that a set the agent cannot obtain has price 000. Locality constrains these zero prices too, and the argument has to account for sets that are obtainable at one type vector and not at a nearby one.

Formalization scope

Agents are Fin n, tasks Fin k. An allocation is a function Fin k → Fin n, a type vector is Fin n → Fin k → ℝ, and a mechanism is a pair of functions alloc (declarations to allocation) and pay (declarations to the payment handed to each agent). Utilities are quasi-linear. All types, declarations and misreports are positive, and every truthfulness, locality and approximation quantifier ranges over positive type vectors. The make-span is a Finset.sup' over the nonempty set of agents ([NeZero n]).

Conventions and explicit thresholds:

  • k≥n2k \ge n^2k≥n2. The theorem is printed without a bound on the number of tasks, and its proof begins "Let k≥n2k \ge n^2k≥n2". The goal carries k≥n2k \ge n^2k≥n2 as a hypothesis.
  • Truthfulness is assumed. §4.3 assumes throughout that the mechanism is truthful (by the revelation principle this is no loss). The goal quantifies over all truthful local mechanisms.
  • Prices use Definition 12 literally, including the value 000 for sets the agent cannot obtain, and locality is Definition 14 applied to that price function over all sets XXX, not only single tasks. When several declarations give the same set, the price uses one chosen witness; by Proposition 4.4 the choice does not matter for truthful mechanisms.
  • Proposition 4.5 is stated over the sets the agent can obtain. As printed, over all subsets, it is false for a truthful mechanism that never leaves an agent idle and pays it negative amounts. Uniqueness of maximizers (Lemma 4.13, Claim 4.14) refers to the same family.
  • Lemma 4.13 uses Mathlib's norm on Fin n → Fin k → ℝ, the sup norm. No measurability of the mechanism is assumed.
  • Claim 4.14 is printed at tji=1t^i_j = 1tji​=1 with 0<ε<10 < \varepsilon < 10<ε<1. The first step is stated at any type vector, with 0<ε≤tji0 < \varepsilon \le t^i_j0<ε≤tji​ on the lowered tasks.
  • Running time and computability are out of scope.

Ruled-out trivializations: locality is not restricted to single tasks; the goal does not assume that maximizers are unique at every type vector (that is Lemma 4.13's conclusion at one point, not a hypothesis); and the bound holds for every c<nc < nc<n, not for some.

Needed infrastructure: finite sums over allocation fibres, sup norms on function spaces, and a genericity argument for finitely many affine functions (Lemma 4.13). The model file and the price and locality definitions are reusable in the other missions of the series. Proofs of individual milestones are welcome independently.

Selected references

  • N. Nisan, A. Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196. https://doi.org/10.1006/game.1999.0790
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995 (pp. 876–880, basic properties of truthful mechanisms).
  • G. Christodoulou, E. Koutsoupias, A. Vidali, A lower bound for scheduling mechanisms, Algorithmica 55 (2009).
  • E. Koutsoupias, A. Vidali, A lower bound of 1+φ for truthful scheduling mechanisms, Algorithmica 66 (2013).
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A proof of the Nisan–Ronen conjecture, STOC 2023.
8 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOptimization·Captain: mikedeng1

Algorithmic Mechanism Design II: A Lower Bound for Truthful Task SchedulingResearch Paper

Motivation

Algorithms deployed on the Internet often take their inputs from parties who own them and who may lie when lying pays. Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001) proposed studying optimization problems in this setting: the algorithm designer may hand out payments, and must guarantee that the intended output is produced when every participant acts in its own interest. The paper's central test case is scheduling on unrelated machines, a standard problem of combinatorial optimization, in which the machines are the selfish participants and only they know how long each job takes them.

For this problem the paper shows that incentives cost a factor of two at least: with two or more machines, no mechanism can guarantee a make-span below twice the optimum. This was the first lower bound separating what incentive-compatible mechanisms can achieve from what ordinary approximation algorithms can achieve, and it started a line of work on the "Nisan–Ronen conjecture" (that the right factor for nnn machines is nnn), with improved lower bounds by Christodoulou, Koutsoupias and Vidali (Algorithmica, 2009) and by Koutsoupias and Vidali (Algorithmica, 2013), and a resolution announced by Christodoulou, Koutsoupias and Kovács (STOC 2023).

Setting

There are nnn agents (machines) i=1,…,ni = 1,\dots,ni=1,…,n and kkk tasks j=1,…,kj = 1,\dots,kj=1,…,k. Agent iii's private type is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive real numbers, tjit^i_jtji​ being the time agent iii needs for task jjj; a type vector is t=(t1,…,tn)t = (t^1,\dots,t^n)t=(t1,…,tn). An allocation xxx assigns every task to one agent; xix^ixi is the set of tasks given to agent iii. For a set XXX of tasks write ti(X)=∑j∈Xtjit^i(X) = \sum_{j\in X} t^i_jti(X)=∑j∈X​tji​. The objective is the make-span

g(x,t)=max⁡iti(xi),g(x,t) = \max_{i} t^i(x^i),g(x,t)=imax​ti(xi),

and an allocation rule is a ccc-approximation if its make-span is at most ccc times that of every allocation, on every type vector.

A mechanism m=(o,p)m = (o,p)m=(o,p) gives each agent iii a set AiA^iAi of strategies. On a strategy profile a=(a1,…,an)a = (a^1,\dots,a^n)a=(a1,…,an) it outputs an allocation o(a)o(a)o(a) and hands agent iii a payment pi(a)p^i(a)pi(a). An agent of type tit^iti has utility pi(a)−ti(oi(a))p^i(a) - t^i(o^i(a))pi(a)−ti(oi(a)). A strategy is dominant if it maximizes the agent's utility whatever the others play. The mechanism implements a ccc-approximation if every agent of every type has a dominant strategy and every profile of dominant strategies yields a ccc-approximate allocation.

A direct mechanism (x,p)(x,p)(x,p) has AiA^iAi equal to the set of types, and is truthful if reporting the true type is dominant. For a truthful mechanism, the price pi(X,t−i)p^i(X,t^{-i})pi(X,t−i) is the payment agent iii receives when, against the others' reports t−it^{-i}t−i, some report of its own makes it receive exactly XXX (and 000 if none does); the price difference is Δi(A,B)=pi(A∪B,t−i)−pi(A,t−i)\Delta^i(A,B) = p^i(A\cup B,t^{-i}) - p^i(A,t^{-i})Δi(A,B)=pi(A∪B,t−i)−pi(A,t−i).

Formalization targets

Goal: Theorem 4.6

For every n≥2n\ge 2n≥2, k≥3k\ge3k≥3 and c<2c<2c<2, no mechanism with any strategy sets implements a ccc-approximation:

∀ (A,o,p):¬ Implements(o,p,c).\forall\, (A, o, p):\quad \neg\ \mathrm{Implements}(o,p,c).∀(A,o,p):¬ Implements(o,p,c).

Milestones

  1. Proposition 2.1 (revelation principle): a mechanism implementing a ccc-approximation yields a truthful direct mechanism whose allocation rule is a ccc-approximation.
  2. Theorem 4.6 for truthful mechanisms (§4.3): no truthful direct mechanism has a ccc-approximate allocation rule for c<2c<2c<2. With milestone 1 it gives the goal.
  3. Proposition 4.4 (independence): for a truthful mechanism, t1−i=t2−it_1^{-i}=t_2^{-i}t1−i​=t2−i​ and xi(t1)=xi(t2)x^i(t_1)=x^i(t_2)xi(t1​)=xi(t2​) imply pi(t1)=pi(t2)p^i(t_1)=p^i(t_2)pi(t1​)=pi(t2​).
  4. Proposition 4.5 (maximization): xi(t)x^i(t)xi(t) maximizes pi(X,t−i)−ti(X)p^i(X,t^{-i}) - t^i(X)pi(X,t−i)−ti(X) over attainable XXX.
  5. Lemma 4.7: the price-difference inequalities satisfied by xi(t)x^i(t)xi(t), and the uniqueness statement for sets satisfying them strictly.
  6. Claim 4.8: for two agents, all-ones types and 0<ε<10<\varepsilon<10<ε<1, moving agent 1's times to ε\varepsilonε on its own bundle and 1+ε1+\varepsilon1+ε elsewhere leaves the allocation unchanged.
  7. The even case of the ratio: at that perturbed instance the mechanism's make-span is ∣x2(t)∣|x^2(t)|∣x2(t)∣ while some allocation achieves 12∣x2(t)∣+kε\tfrac12|x^2(t)| + k\varepsilon21​∣x2(t)∣+kε.

Significance

The result. Theorem 4.6 shows that the requirement of dominant-strategy incentive compatibility, by itself, rules out approximation ratios below 222 for scheduling on unrelated machines, a problem for which polynomial-time 222-approximation algorithms that ignore incentives exist (Lenstra, Shmoys, Tardos 1990) and for which the exact optimum is computable in exponential time. Combined with the MinWork mechanism of the same paper (an nnn-approximation), it determines the optimal ratio for two machines. It is the base case of the Nisan–Ronen conjecture and the prototype of the "characterize truthful mechanisms by prices" technique used throughout later work on the conjecture.

Formalizing it. The theorem has been proved since 1999, but no machine-checked version is known to exist. The mission produces a formal account of general mechanisms with arbitrary strategy sets, dominant-strategy implementation, the revelation principle in that generality, and the price characterization of truthful mechanisms (independence and maximization). These are reusable for every other lower bound in this paper and for the later literature on the conjecture.

Difficulty

The statement quantifies over all mechanisms, with arbitrary strategy sets and arbitrary payment functions, so no finite search settles it. The revelation principle reduces to truthful direct mechanisms, but even these are an infinite-dimensional family: the allocation rule may break ties in any way, and prices may be any functions of the other agents' reports.

The printed argument also has two places that need care. Proposition 4.5 and Lemma 4.7, as printed, range over all sets of tasks, while Definition 12 gives unattainable sets price 000; the statements hold only over attainable sets, and are formalized that way. And the case where agent 2's bundle has odd size is dispatched in one sentence ("which still yields the same allocation"), which the preceding lemma does not justify when agent 2's best bundle at the perturbed prices is not unique. A complete formal proof of the goal must supply an argument for that case.

Formalization scope

  • Agents are Fin n, tasks Fin k; an allocation is a function Fin k → Fin n; bundles may be empty. The make-span is a finite maximum and assumes n≥1n\ge1n≥1 (NeZero n).
  • Types, declarations and misreports are strictly positive reals throughout (Definition 10). Utility is quasi-linear; payments are handed to the agent and may have either sign.
  • A general mechanism has strategy sets A : Fin n → Type u (any universe), output ooo and payments ppp on dependent strategy profiles. Implements requires both that every agent of every positive type has a dominant strategy and that every profile of dominant strategies yields a ccc-approximate allocation. Dominance is against every profile of the others, not only dominant ones. Without the existence clause, a mechanism with no dominant strategies would implement vacuously; the definition excludes that.
  • Thresholds made explicit: n≥2n\ge2n≥2 and k≥3k\ge3k≥3, both taken from the proof ("We prove the theorem for the case of two agents"; "Let k≥3k\ge3k≥3"). The goal holds for each fixed nnn and kkk and every c<2c<2c<2, for every mechanism, with no restriction on tie-breaking and no requirement of strong truthfulness. At n=1n=1n=1 the claim is false.
  • Proposition 2.1 is stated for task scheduling with the ccc-approximation specification; "truthful implementation" is read as truth-telling dominant and the truthful output ccc-approximate.
  • Printed slips: Proposition 4.5 and Lemma 4.7 are stated over attainable sets; the "Moreover" of Lemma 4.7 requires YYY attainable. The odd case of the ratio step is not a milestone.
  • The reduction from n>2n>2n>2 to two agents ("having the other agents be much slower") is not a separate milestone; the goal covers every n≥2n\ge2n≥2.
  • Running time ("polynomial-time computable") is out of scope and not modelled.

Contributions of any of the milestones are welcome, as are alternative proofs of the goal that avoid the terse odd case.

Selected references

  • N. Nisan, A. Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196. https://doi.org/10.1006/game.1999.0790
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995 (revelation principle, p. 871).
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • G. Christodoulou, E. Koutsoupias, A. Vidali, A lower bound for scheduling mechanisms, Algorithmica 55 (2009).
  • E. Koutsoupias, A. Vidali, A lower bound of 1+φ for truthful scheduling mechanisms, Algorithmica 66 (2013).
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A proof of the Nisan–Ronen conjecture, STOC 2023.
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOptimization·Captain: Shuze Chen

Discrete Convex Analysis XXXIV: Conjugate ScalingTextbook

Motivation

This mission continues chapter 10's algorithmic account across its remaining two sections: finishing the Iwata-Fleischer-Fujishige fixing algorithm for submodular minimization (§10.2.3's tail), the steepest descent algorithm for L-convex function minimization (§10.3), and — the capstone of chapter 10's account of the M-convex submodular flow problem (§10.4) — conjugate scaling, the operation that finally makes the primal-dual algorithm run in polynomial time. As in mission 34-ch10b-algorithms, most of this block's numbered results are asymptotic complexity bounds; this mission places the results that are ordinary mathematical propositions.

Setting

The IFF fixing algorithm (mission 34-ch10b-algorithms) builds an acyclic graph D=(U,F) and partition Z,H,Γ certifying the maximal minimizer of a submodular ρ once η≤0 (Eq. (10.26)); this mission places the case-independent inequality its own legitimacy rests on, and restates its correctness conclusion. The steepest descent algorithm for an L-convex function g repeatedly minimizes the submodular set function ρ_p(X)=g(p+χ_X)-g(p) and moves to p+χ_X for its minimal minimizer X (the tie-breaking rule (10.33)); this mission places the resulting monotonicity fact and a domain-size bound for the L♮^\natural♮-convex adaptation. Conjugate scaling replaces a dual-integral M-convex function's conjugate g with g_α(p)=g(αp)/α, defining f⟨α⟩ via the resulting sup-formula (Eq. (10.77)) — a scaling operation compatible with M-convexity where the naive ⌈f(·)/α⌉ is not.

Formalization targets

Goal: Conjugate scaling preserves M-convexity (Proposition 10.41)

For a dual-integral polyhedral M-convex function f (represented as the mixed real-primal/ integer-dual conjugate of an L♮^\natural♮-convex g), the conjugate scaling f⟨α⟩ is again dual-integral M-convex, witnessed by g_α itself being L♮^\natural♮-convex, provided f⟨α⟩>-∞. Chosen as goal: this is the fact the whole conjugate scaling algorithm — chapter 10's final and most refined algorithm for the M-convex submodular flow problem — depends on, and the book's own text singles it out as the "compatible scaling operation" that makes M-convex cost scaling work where a naive approach provably does not.

Supporting structural targets

Proposition 10.26 (the case-independent inequality underlying the IFF fixing algorithm's own legitimacy) and Proposition 10.28 (that algorithm's correctness conclusion) close out mission 34-ch10b-algorithms's coverage of §10.2.3. Proposition 10.30 gives the steepest descent algorithm's monotonicity property under its tie-breaking rule; Proposition 10.32 (found by direct reading) bounds the L♮^\natural♮-convex adaptation's domain-size parameter in terms of the original function's.

Significance

Conjugate scaling is chapter 10's demonstration that M-convexity, while a combinatorial rather than a numeric-magnitude notion, still admits a genuine scaling technique compatible with its own structure — completing the book's account of the M-convex submodular flow problem with an algorithm whose polynomial running time depends on exactly this compatibility. Propositions 10.26/10.28 complete the correctness/legitimacy argument for the strongly polynomial submodular- minimization algorithm mission 34-ch10b-algorithms began placing, and Propositions 10.30/10.32 are the analogous structural facts for L-convex function minimization, chapter 10's third major algorithmic thread.

None of these results are open — they are Murota's own account of submodular-function- minimization (§10.2 continued), L-convex minimization (§10.3), and conjugate scaling (§10.4.5). What this mission contributes is a faithful, machine-checked formal statement of each, including one result (Proposition 10.32) the platform's own automated extractor missed; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

As in mission 34-ch10b-algorithms, several numbered results in this block are excluded as hard for being pure algorithmic-complexity bounds (Propositions 10.25, 10.27, 10.31); see HARD.md. A further three (Propositions 10.37-10.39, on the primal-dual algorithm's maximum submodular flow subproblem) are excluded for a distinct reason: the source text's own OCR extraction demonstrably cannot distinguish the two visually different capacity-bound symbols (c* overlined vs. underlined) central to their shared defining formula, confirmed directly against the raw extracted bytes, making faithful reconstruction of that formula impossible from the available text; see HARD.md.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq. All apparatus needed for Propositions 10.26/10.28 (Submodular, GammaSet, RhoTilde, ReachSet, Eta, IsMaximalMinimizer) is redeclared fresh from mission 34-ch10b-algorithms, genericized over an arbitrary ground type where the original was V-specific, since this draft cannot import that sibling. Proposition 10.26 is placed as the case-independent core inequality its own proof establishes, rather than by replicating the three-case verification against Proposition 10.24's own internal proof objects (Cases (i)-(iii)); see HARD.md. Proposition 10.30 omits its own trailing iteration-count corollary (a pure complexity bound); see HARD.md. Six numbered results (Propositions 10.25, 10.27, 10.31, 10.37, 10.38, 10.39) are hard. Contributions completing any of the five sorrys are welcome; the goal carries the most independent proof content (via the conjugacy theorem and Theorem 7.10(2), both established elsewhere in this series).

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • S. Iwata, "A faster scaling algorithm for minimizing submodular functions," SIAM Journal on Computing, 32 (2003), pp. 833-840 [99] (conjugate scaling's origin).
  • A. Frank, "A weighted matroid intersection algorithm," Journal of Algorithms, 2 (1981), pp. 328-336 [55] (the primal-dual framework this mission's Proposition 10.28 continues, via mission 34-ch10b-algorithms's own Proposition 10.24).
38 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

The Distributionally Robust Chance-Constrained Vehicle Routing Problem V: Worst-Case Value-at-Risk over Covariance Ambiguity Sets as a Quadratically Constrained ProgramResearch Paper

Motivation

In the capacitated vehicle routing problem (CVRP) a fleet of mmm vehicles of capacity QQQ leaves a depot and serves nnn customers; every customer is visited once, and the load of each route must not exceed QQQ. In practice customer demands are uncertain at planning time. The chance-constrained CVRP asks that each route respect the capacity with probability at least 1−ϵ1-\epsilon1−ϵ, but this presupposes a known demand distribution, which is rarely available. Ghosal and Wiesemann (Oper. Res. 68(3), 2020) require the chance constraints to hold for every distribution in an ambiguity set P\mathcal PP built from the information that can actually be estimated: support, means and dispersion bounds.

Their branch-and-cut method separates rounded capacity inequalities whose right-hand side is the worst-case value-at-risk of the total demand of a customer set SSS. This quantity is evaluated thousands of times during the search, so it matters whether it has a closed form or a small convex reformulation. This mission concerns the paper's covariance ambiguity sets (§5.2), which bound the whole covariance matrix of the demands and can therefore express that demands of nearby customers are correlated, as happens with geographically clustered demand. The covariance bound can be derived from data, for example analytically through McDiarmid's inequality (Delage and Ye, 2010) or by bootstrapping.

Setting

Customers are indexed by i∈{1,…,n}i\in\{1,\dots,n\}i∈{1,…,n} and their random demand vector is q~∈Rn\tilde{\boldsymbol q}\in\mathbb R^nq~​∈Rn. Fix a box Q=[q‾,q‾]\mathcal Q=[\underline{\boldsymbol q},\overline{\boldsymbol q}]Q=[q​,q​] with q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, a mean vector μ\boldsymbol\muμ in the interior of Q\mathcal QQ, and a symmetric positive definite matrix Σ≻0\Sigma\succ0Σ≻0. The covariance ambiguity set is

P={P∈P0(Rn): P[q~∈Q]=1, EP[q~]=μ, EP[(q~−μ)(q~−μ)⊤]⪯Σ},(16)\mathcal P=\Big\{\mathbb P\in\mathcal P_0(\mathbb R^n):\ \mathbb P[\tilde{\boldsymbol q}\in\mathcal Q]=1,\ \mathbb E_{\mathbb P}[\tilde{\boldsymbol q}]=\boldsymbol\mu,\ \mathbb E_{\mathbb P}\big[(\tilde{\boldsymbol q}-\boldsymbol\mu)(\tilde{\boldsymbol q}-\boldsymbol\mu)^\top\big]\preceq\Sigma\Big\},\tag{16}P={P∈P0​(Rn): P[q~​∈Q]=1, EP​[q~​]=μ, EP​[(q~​−μ)(q~​−μ)⊤]⪯Σ},(16)

where P0(Rn)\mathcal P_0(\mathbb R^n)P0​(Rn) is the set of all probability distributions on Rn\mathbb R^nRn and A⪯ΣA\preceq\SigmaA⪯Σ means that Σ−A\Sigma-AΣ−A is positive semidefinite.

For a distribution P\mathbb PP and a real random variable X~\tilde XX~, the value-at-risk at level 1−ϵ1-\epsilon1−ϵ, ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1), is P-VaR1−ϵ[X~]=inf⁡{x∈R:P[X~≤x]≥1−ϵ}\mathbb P\text{-VaR}_{1-\epsilon}[\tilde X]=\inf\{x\in\mathbb R:\mathbb P[\tilde X\le x]\ge1-\epsilon\}P-VaR1−ϵ​[X~]=inf{x∈R:P[X~≤x]≥1−ϵ}. For a customer set SSS, the worst-case value-at-risk is sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}[\sum_{i\in S}\tilde q_i]supP∈P​P-VaR1−ϵ​[∑i∈S​q~​i​]. A route serving SSS satisfies the chance constraint for every P∈P\mathbb P\in\mathcal PP∈P exactly when this number is at most QQQ.

Two componentwise bounds appear in the answer:

qℓ=max⁡{−1−ϵϵ(q‾−μ), q‾−μ},qu=min⁡{1−ϵϵ(μ−q‾), q‾−μ}.\boldsymbol q^\ell=\max\Big\{-\tfrac{1-\epsilon}{\epsilon}(\overline{\boldsymbol q}-\boldsymbol\mu),\ \underline{\boldsymbol q}-\boldsymbol\mu\Big\},\qquad\boldsymbol q^u=\min\Big\{\tfrac{1-\epsilon}{\epsilon}(\boldsymbol\mu-\underline{\boldsymbol q}),\ \overline{\boldsymbol q}-\boldsymbol\mu\Big\}.qℓ=max{−ϵ1−ϵ​(q​−μ), q​−μ},qu=min{ϵ1−ϵ​(μ−q​), q​−μ}.

A route set is an ordered partition of the customers into mmm nonempty ordered routes. It is feasible in the distributionally robust problem RVRP(P\mathcal PP) if every route satisfies the chance constraint for every P∈P\mathbb P\in\mathcal PP∈P, and feasible in a deterministic instance with capacity Q′Q'Q′ and demands q\boldsymbol qq if every route's total demand is at most Q′Q'Q′.

Formalization targets

Goal: Theorem 7

For every customer set SSS,

sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]=max⁡{1S⊤μ+1S⊤q: q⊤Σ−1q≤1−ϵϵ, q∈[qℓ,qu]}.(17)\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}\Big[\sum_{i\in S}\tilde q_i\Big]=\max\Big\{\mathbf 1_S^\top\boldsymbol\mu+\mathbf 1_S^\top\boldsymbol q:\ \boldsymbol q^\top\Sigma^{-1}\boldsymbol q\le\tfrac{1-\epsilon}{\epsilon},\ \boldsymbol q\in[\boldsymbol q^\ell,\boldsymbol q^u]\Big\}.\tag{17}P∈Psup​P-VaR1−ϵ​[i∈S∑​q~​i​]=max{1S⊤​μ+1S⊤​q: q⊤Σ−1q≤ϵ1−ϵ​, q∈[qℓ,qu]}.(17)

The right-hand side maximizes an affine function over the intersection of an ellipsoid and a box.

Milestone: Corollary 4 (corrected)

For a diagonal bound Σ=diag⁡(σ12,…,σn2)\Sigma=\operatorname{diag}(\sigma_1^2,\dots,\sigma_n^2)Σ=diag(σ12​,…,σn2​), program (17) collapses to a search over one parameter θ≥0\theta\ge0θ≥0 with S(θ)={i∈S:σi2>θqiu}S(\theta)=\{i\in S:\sigma_i^2>\theta q^u_i\}S(θ)={i∈S:σi2​>θqiu​}:

sup⁡θ 1S⊤μ+∑i∈S(θ)qiu+[1−ϵϵ−∑i∈S(θ)(qiuσi)2][∑i∈S∖S(θ)σi2],(18)\sup_{\theta}\ \mathbf 1_S^\top\boldsymbol\mu+\sum_{i\in S(\theta)}q^u_i+\sqrt{\Big[\tfrac{1-\epsilon}{\epsilon}-\sum_{i\in S(\theta)}\big(\tfrac{q^u_i}{\sigma_i}\big)^2\Big]\Big[\sum_{i\in S\setminus S(\theta)}\sigma_i^2\Big]},\tag{18}θsup​ 1S⊤​μ+i∈S(θ)∑​qiu​+[ϵ1−ϵ​−i∈S(θ)∑​(σi​qiu​​)2][i∈S∖S(θ)∑​σi2​]​,(18)

over the θ\thetaθ for which the first bracket is nonnegative and the point of (17) that θ\thetaθ induces respects qu\boldsymbol q^uqu (see Formalization scope).

Milestone: Theorem 6

For some instance with the ambiguity set (16), no deterministic CVRP instance on the same customers and fleet has the same set of feasible route sets.

Significance

Theorem 7 makes the worst-case value-at-risk over (16) computable in polynomial time as a convex quadratically constrained program. With it, the rounded capacity inequalities of the two-index vehicle flow formulation can be separated for covariance information. Theorem 2 of the same paper shows that the resulting demand estimator is subadditive, so this formulation is exact. Corollary 4 gives a closed form for the diagonal case, which the paper uses to evaluate the estimator in time linear in ∣S∣|S|∣S∣ after sorting. Theorem 6 explains why the paper needs this machinery: the robust feasible region cannot be reproduced by any deterministic demand vector and capacity.

The results are proved in the paper's online supplement. No part of them is formalized anywhere to our knowledge; the platform has no worst-case value-at-risk and no moment-based ambiguity set. A complete development would give machine-checked worst-case VaR bounds over moment sets with second-order information. These are used well beyond routing, in distributionally robust portfolio and inventory models.

Difficulty

The supremum ranges over an infinite-dimensional set of distributions, while (17) ranges over vectors. The inequality "≥\ge≥" requires, for every feasible q\boldsymbol qq of (17), a sequence of distributions in (16) whose value-at-risk approaches 1S⊤(μ+q)\mathbf 1_S^\top(\boldsymbol\mu+\boldsymbol q)1S⊤​(μ+q). The value-at-risk is a lower quantile, so a distribution placing mass exactly ϵ\epsilonϵ on a high point does not attain the value: the construction has to be a limit. The inequality "≤\le≤" is harder. It must rule out every distribution, not only two-point ones, and a bound through the one-dimensional Chebyshev–Cantelli inequality for ∑i∈Sq~i\sum_{i\in S}\tilde q_i∑i∈S​q~​i​ alone ignores the box: it yields 1−ϵϵ1S⊤Σ1S\sqrt{\frac{1-\epsilon}{\epsilon}\mathbf 1_S^\top\Sigma\mathbf 1_S}ϵ1−ϵ​1S⊤​Σ1S​​, which is too large whenever the support bounds bind. The interaction between the Loewner constraint and the componentwise support bounds, which produces the unusual bound qℓ\boldsymbol q^\ellqℓ, is where the work lies. For Theorem 6 the difficulty is to exhibit the instance and to evaluate enough chance constraints exactly.

Formalization scope

Customers are Fin n (0-based) and demand vectors are Fin n → ℝ. Distributions are measures on Fin n → ℝ. The set (16) is covarianceSet qlo qhi μ Sig: a probability measure with P (Set.Icc qlo qhi) = 1, coordinate means μ, and Sig - M positive semidefinite, where M is the matrix of integrals ∫(qi−μi)(qj−μj) dP\int(q_i-\mu_i)(q_j-\mu_j)\,d\mathbb P∫(qi​−μi​)(qj​−μj​)dP. The covariance bound is called Sig because Σ is Lean syntax. The side conditions q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, μ∈int⁡Q\boldsymbol\mu\in\operatorname{int}\mathcal Qμ∈intQ, Σ≻0\Sigma\succ0Σ≻0 (Sig.PosDef) and 0<ϵ<10<\epsilon<10<ϵ<1 are hypotheses of every theorem. The value-at-risk is the published MultistageStochastic.valueAtRisk P Y (1 - ε). The worst-case value-at-risk is a real sSup over the image of the set. That image is nonempty (the Dirac measure at μ\boldsymbol\muμ lies in (16)) and bounded (the box), so the supremum is genuine. "The optimal objective value" of a maximization is stated as a supremum; attainment is not part of any claim. Σ−1\Sigma^{-1}Σ−1 is Mathlib's matrix inverse.

The paper states Theorem 7 and Corollary 4 with "P\mathbb PP-VaR" without a level; the level 1−ϵ1-\epsilon1−ϵ, used in the sentence introducing Theorem 7 and everywhere else, is read in. Corollary 4 as printed is false. It maximizes over every θ≥0\theta\ge0θ≥0 with a nonnegative bracket. For n=1n=1n=1, every large θ\thetaθ then gives the value μ1+σ1(1−ϵ)/ϵ\mu_1+\sigma_1\sqrt{(1-\epsilon)/\epsilon}μ1​+σ1​(1−ϵ)/ϵ​, which can exceed q‾1\overline q_1q​1​ and hence every value-at-risk. The formal statement adds the condition that makes each θ\thetaθ a feasible point of (17): σi2s(θ)≤qiu∑k∈S∖S(θ)σk2\sigma_i^2\sqrt{s(\theta)}\le q^u_i\sqrt{\sum_{k\in S\setminus S(\theta)}\sigma_k^2}σi2​s(θ)​≤qiu​∑k∈S∖S(θ)​σk2​​ for i∈S∖S(θ)i\in S\setminus S(\theta)i∈S∖S(θ), where s(θ)s(\theta)s(θ) is the first bracket. With this condition the statement is the diagonal case of Theorem 7.

A theorem about the Lean set is trivial if the set is empty or the supremum is a junk value. Neither happens here, and replacing the Loewner constraint by a scalar variance bound on ∑i∈Sq~i\sum_{i\in S}\tilde q_i∑i∈S​q~​i​ would state a different theorem. The dual second-order cone program printed after Theorem 7 is not a target: as printed it has the all-ones vector where Lagrangian duality gives 1S\mathbf 1_S1S​, and it has no multiplier for q≥qℓ\boldsymbol q\ge\boldsymbol q^\ellq≥qℓ.

Needed infrastructure: quantiles of pushforward measures, the Loewner order on moment matrices, and finite-support (two-point) distributions. The value-at-risk lemmas and the moment-matrix lemmas are reusable beyond this mission, and contributions of either kind are welcome. Theorem 6 needs only the route-set layer defined here and one explicit instance.

Selected references

  • S. Ghosal and W. Wiesemann, The Distributionally Robust Chance-Constrained Vehicle Routing Problem, Operations Research 68(3):716–732, 2020. https://doi.org/10.1287/opre.2019.1924
  • E. Delage and Y. Ye, Distributionally Robust Optimization Under Moment Uncertainty with Application to Data-Driven Problems, Operations Research 58(3):595–612, 2010. https://doi.org/10.1287/opre.1090.0741
  • S. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004. https://doi.org/10.1017/CBO9780511804441
  • G. Laporte, Y. Nobert and M. Desrochers, Optimal Routing under Capacity and Distance Restrictions, Operations Research 33(5):1050–1073, 1985. https://doi.org/10.1287/opre.33.5.1050
7 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

The Distributionally Robust Chance-Constrained Vehicle Routing Problem IV: Worst-Case Value-at-Risk over First-Order Generic Moment Ambiguity Sets as a Convex ProgramResearch Paper

Motivation

In the capacitated vehicle routing problem (CVRP) a depot serves customers VC={1,…,n}V_C=\{1,\dots,n\}VC​={1,…,n} with mmm vehicles of capacity QQQ, and every route must respect the capacity. When customer demands are uncertain, the distributionally robust chance-constrained CVRP of Ghosal and Wiesemann (Oper. Res. 68(3), 2020) requires every route to meet its capacity with probability at least 1−ϵ1-\epsilon1−ϵ under every distribution in an ambiguity set P\mathcal PP, a family of distributions consistent with what is known about the demands. Such constraints are handled in a branch-and-cut scheme through rounded capacity inequalities, whose right-hand sides require one quantity for each customer subset SSS: the worst-case value-at-risk of the cumulative demand of SSS.

For ambiguity sets that describe each customer separately (marginal moment sets), this quantity is additive over customers and the problem reduces to a deterministic CVRP. Such sets cannot express that the demands of customers in the same municipality, county or state vary jointly within limits. The first-order generic moment ambiguity set does express this: it bounds the mean absolute deviation of the cumulative demand of prescribed customer groups. The mean absolute deviation is a standard robust dispersion measure, less sensitive to outliers than the standard deviation (see Casella and Berger, Statistical Inference, 2002). This mission formalizes the paper's description of the worst-case value-at-risk over such sets.

Setting

Demands form a random vector q~\tilde{\boldsymbol q}q~​ on Rn\mathbb R^nRn. The data are a support box Q=[q‾,q‾]\mathcal Q=[\underline{\boldsymbol q},\overline{\boldsymbol q}]Q=[q​,q​] with q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, a mean vector μ\boldsymbol\muμ in the interior of Q\mathcal QQ, customer subsets S1,…,Sp⊆VCS_1,\dots,S_p\subseteq V_CS1​,…,Sp​⊆VC​ and bounds ν>0\boldsymbol\nu>\mathbf 0ν>0. For A⊆VCA\subseteq V_CA⊆VC​, 1A∈{0,1}n\mathbf 1_A\in\{0,1\}^n1A​∈{0,1}n is its indicator vector. The first-order generic moment ambiguity set, Eq. (12) of the paper, is

P={P∈P0(Rn): P[q~∈Q]=1, EP[q~]=μ, EP[1Si⊤∣q~−μ∣]≤νi  ∀i=1,…,p},\mathcal P=\Bigl\{\mathbb P\in\mathcal P_0(\mathbb R^n):\ \mathbb P[\tilde{\boldsymbol q}\in\mathcal Q]=1,\ \mathbb E_{\mathbb P}[\tilde{\boldsymbol q}]=\boldsymbol\mu,\ \mathbb E_{\mathbb P}\bigl[\mathbf 1_{S_i}^\top|\tilde{\boldsymbol q}-\boldsymbol\mu|\bigr]\le\nu_i\ \ \forall i=1,\dots,p\Bigr\},P={P∈P0​(Rn): P[q~​∈Q]=1, EP​[q~​]=μ, EP​[1Si​⊤​∣q~​−μ∣]≤νi​  ∀i=1,…,p},

where P0(Rn)\mathcal P_0(\mathbb R^n)P0​(Rn) is the set of probability distributions on Rn\mathbb R^nRn and ∣⋅∣|\cdot|∣⋅∣ acts componentwise. The subsets are arbitrary: they may overlap and need not cover VCV_CVC​.

For a risk level ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1) and a random variable X~\tilde XX~, the value-at-risk is P-VaR1−ϵ[X~]=inf⁡{x∈R:P[X~≤x]≥1−ϵ}\mathbb P\text{-VaR}_{1-\epsilon}[\tilde X]=\inf\{x\in\mathbb R:\mathbb P[\tilde X\le x]\ge1-\epsilon\}P-VaR1−ϵ​[X~]=inf{x∈R:P[X~≤x]≥1−ϵ}. For a customer subset SSS the quantity of interest is

sup⁡P∈P P-VaR1−ϵ[∑i∈Sq~i].\sup_{\mathbb P\in\mathcal P}\ \mathbb P\text{-VaR}_{1-\epsilon}\Bigl[\sum_{i\in S}\tilde q_i\Bigr].P∈Psup​ P-VaR1−ϵ​[i∈S∑​q~​i​].

Write q^=min⁡{q‾−μ, 1−ϵϵ(μ−q‾)}\hat{\boldsymbol q}=\min\{\overline{\boldsymbol q}-\boldsymbol\mu,\ \frac{1-\epsilon}{\epsilon}(\boldsymbol\mu-\underline{\boldsymbol q})\}q^​=min{q​−μ, ϵ1−ϵ​(μ−q​)} (componentwise) and [⋅]+[\cdot]_+[⋅]+​ for the componentwise positive part. A route set R=(R1,…,Rm)\mathbf R=(\mathbf R_1,\dots,\mathbf R_m)R=(R1​,…,Rm​) partitions VCV_CVC​ into mmm nonempty ordered routes. It is feasible in the deterministic CVRP with demands q\boldsymbol qq if ∑i∈Rkqi≤Q\sum_{i\in\mathbf R_k}q_i\le Q∑i∈Rk​​qi​≤Q for all kkk, and feasible in the distributionally robust CVRP if P[∑i∈Rkq~i≤Q]≥1−ϵ\mathbb P[\sum_{i\in\mathbf R_k}\tilde q_i\le Q]\ge1-\epsilonP[∑i∈Rk​​q~​i​≤Q]≥1−ϵ for all P∈P\mathbb P\in\mathcal PP∈P and all kkk.

Formalization targets

Goal: Theorem 5 (p. 726)

For every customer subset SSS,

sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]=inf⁡γ∈R+p 1S⊤μ+q^⊤[1S−2∑i=1pγi1Si]++1ϵν⊤γ.\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}\Bigl[\sum_{i\in S}\tilde q_i\Bigr]=\inf_{\boldsymbol\gamma\in\mathbb R^p_+}\ \mathbf 1_S^\top\boldsymbol\mu+\hat{\boldsymbol q}^\top\Bigl[\mathbf 1_S-2\sum_{i=1}^p\gamma_i\mathbf 1_{S_i}\Bigr]_+ +\frac1\epsilon\boldsymbol\nu^\top\boldsymbol\gamma .P∈Psup​P-VaR1−ϵ​[i∈S∑​q~​i​]=γ∈R+p​inf​ 1S⊤​μ+q^​⊤[1S​−2i=1∑p​γi​1Si​​]+​+ϵ1​ν⊤γ.

The right-hand side is the optimal value of the paper's problem (13). The statement holds for every family of subsets and all data satisfying the standing assumptions, so it is the general form of which the milestones are special cases.

Corollary 2 (p. 726, Eq. (14))

If S1,…,Sp−1S_1,\dots,S_{p-1}S1​,…,Sp−1​ are pairwise disjoint and cover VCV_CVC​ and Sp=VCS_p=V_CSp​=VC​, then

sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]=1S⊤μ+min⁡{νp2ϵ, ∑i=1p−1min⁡{1S∩Si⊤q^, νi2ϵ}}.\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}\Bigl[\sum_{i\in S}\tilde q_i\Bigr]=\mathbf 1_S^\top\boldsymbol\mu+\min\Bigl\{\frac{\nu_p}{2\epsilon},\ \sum_{i=1}^{p-1}\min\Bigl\{\mathbf 1_{S\cap S_i}^\top\hat{\boldsymbol q},\ \frac{\nu_i}{2\epsilon}\Bigr\}\Bigr\}.P∈Psup​P-VaR1−ϵ​[i∈S∑​q~​i​]=1S⊤​μ+min{2ϵνp​​, i=1∑p−1​min{1S∩Si​⊤​q^​, 2ϵνi​​}}.

Corollary 3 (pp. 726–727, Eq. (15))

If p=n+1p=n+1p=n+1, Si={i}S_i=\{i\}Si​={i} for i≤ni\le ni≤n and Sn+1=VCS_{n+1}=V_CSn+1​=VC​, then

sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]=1S⊤μ+min⁡{νn+12ϵ, ∑i∈Smin⁡{q^i, νi2ϵ}}.\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}\Bigl[\sum_{i\in S}\tilde q_i\Bigr]=\mathbf 1_S^\top\boldsymbol\mu+\min\Bigl\{\frac{\nu_{n+1}}{2\epsilon},\ \sum_{i\in S}\min\Bigl\{\hat q_i,\ \frac{\nu_i}{2\epsilon}\Bigr\}\Bigr\}.P∈Psup​P-VaR1−ϵ​[i∈S∑​q~​i​]=1S⊤​μ+min{2ϵνn+1​​, i∈S∑​min{q^​i​, 2ϵνi​​}}.

Theorem 4 (p. 726)

For some instance with an ambiguity set of the form (12), no deterministic CVRP instance on the same customers and vehicles (capacity Q′≥0Q'\ge0Q′≥0, demands q′≥0\boldsymbol q'\ge\mathbf 0q′≥0) has the same set of feasible route sets.

Significance

Theorem 5 makes the worst-case value-at-risk over (12) computable in polynomial time as the value of a nonsmooth convex problem over the nonnegative orthant, which the paper notes can be written as a linear program. This gives the right-hand sides of the rounded capacity inequalities in a branch-and-cut scheme for the distributionally robust CVRP. Corollaries 2 and 3 give closed forms for two structured families of groups, evaluable in time linear in ∣S∣|S|∣S∣. Theorem 4 shows the gain in modelling power has a cost: unlike the marginal case, the problem cannot in general be replaced by a deterministic CVRP with altered demands. With a single customer and S1={1}S_1=\{1\}S1​={1}, Theorem 5 reduces to the closed form μ+min⁡{q^,ν/(2ϵ)}\mu+\min\{\hat q,\nu/(2\epsilon)\}μ+min{q^​,ν/(2ϵ)} for marginalized first-order sets, so it extends that single-customer formula to joint dispersion constraints.

All four results are proved in the paper's online supplement. As far as a platform search shows, none has been machine-checked. The mission produces checked proofs of the equality in Theorem 5, the two closed forms, and an explicit instance for Theorem 4.

Difficulty

The supremum ranges over an infinite-dimensional set of joint distributions, and the value-at-risk is neither convex nor concave in the distribution. Bounding the value-at-risk of each group separately and adding the bounds does not work when groups overlap, and it ignores the total-dispersion constraint. It gives only an upper bound, and in the setting of Corollary 2 that bound is strict whenever the total bound νp/(2ϵ)\nu_p/(2\epsilon)νp​/(2ϵ) is the binding term. Showing that the infimum in (13) is attained in the limit needs distributions that saturate several overlapping dispersion constraints at once while keeping the mean fixed and the support inside the box. For Theorem 4, the witness must separate the feasible-route-set family of the robust instance from every family defined by a single linear capacity inequality with nonnegative weights.

Formalization scope

Customers are Fin n (0-based), subsets are Sfam : Fin p → Finset (Fin n), and a distribution is a Measure (Fin n → ℝ) that is required to be a probability measure. Support is P (Set.Icc qlo qhi) = 1, the mean condition is ∫ q, q j ∂P = μ j, and the dispersion condition is ∫ q, ∑ j ∈ Sfam l, |q j - μ j| ∂P ≤ ν l. The integrability clauses stated alongside are automatic for measures carried by the box. The value-at-risk is the published MultistageStochastic.valueAtRisk P Y (1 - ε). The worst-case value-at-risk is the real sSup of its image over the set; under the standing assumptions this image is nonempty (the Dirac at μ\boldsymbol\muμ lies in the set) and bounded (bounded support), so the real supremum is the paper's. The optimal value of (13) is the real sInf of the objective over {γ≥0}\{\boldsymbol\gamma\ge\mathbf 0\}{γ≥0}, a nonempty set on which the objective is bounded below by 1S⊤μ\mathbf 1_S^\top\boldsymbol\mu1S⊤​μ. Attainment is not claimed. All statements carry the standing assumptions q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, q‾<μ<q‾\underline{\boldsymbol q}<\boldsymbol\mu<\overline{\boldsymbol q}q​<μ<q​, ν>0\boldsymbol\nu>\mathbf 0ν>0 and 0<ϵ<10<\epsilon<10<ϵ<1. Corollary 2 writes p=r+1p=r+1p=r+1 with the last subset Sfam (Fin.last r). Corollary 3 indexes the singleton of customer iii by Fin.castSucc i. In Theorem 4 route sets are Fin m → List (Fin n) and only feasibility is modelled; costs play no role.

The theorems are not trivialized by an empty ambiguity set or a junk supremum: membership of the Dirac distribution at μ\boldsymbol\muμ is checked locally with a sorry-free proof. Theorem 4 needs a genuinely separating instance: an instance in which no route set is robustly feasible, for example, is matched by a deterministic instance in which none is feasible either.

Needed infrastructure: two-point and finitely supported distributions on Rn\mathbb R^nRn and their value-at-risk; weak duality for moment problems over the box; the positive-part calculus of (13). The value-at-risk lemmas for finitely supported measures are reusable in the sibling missions on this paper. Contributions of any of the milestones, of lemmas for these building blocks, or of either inequality of Theorem 5 on its own are welcome.

Selected references

  • S. Ghosal and W. Wiesemann, The Distributionally Robust Chance-Constrained Vehicle Routing Problem, Operations Research 68(3):716–732, 2020. https://doi.org/10.1287/opre.2019.1924
  • G. Casella and R. L. Berger, Statistical Inference, 2nd ed., Duxbury, 2002.
  • S. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004. https://doi.org/10.1017/CBO9780511804441
  • G. Laporte, Y. Nobert and M. Desrochers, Optimal routing under capacity and distance restrictions, Operations Research 33(5):1050–1073, 1985. https://doi.org/10.1287/opre.33.5.1050
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

The Distributionally Robust Chance-Constrained Vehicle Routing Problem III: Worst-Case Value-at-Risk Is Additive over Marginalized Moment Ambiguity SetsResearch Paper

Motivation

The capacitated vehicle routing problem (CVRP) assigns customers to a fleet of mmm identical vehicles of capacity QQQ and orders each vehicle's visits so as to minimize transportation cost, subject to each vehicle's total load not exceeding QQQ. In practice the customers' demands are not known when the routes are planned. Two classical responses are the robust CVRP, which requires feasibility for every demand vector in an uncertainty set, and the chance-constrained CVRP, which requires each capacity constraint to hold with probability at least 1−ϵ1-\epsilon1−ϵ under a known demand distribution. The first ignores all distributional information; the second assumes a distribution that is rarely known and usually requires independent demands.

Ghosal and Wiesemann (Oper. Res. 68(3), 2020) study the distributionally robust chance-constrained CVRP, RVRP(P\mathcal PP), in which each capacity constraint must hold with probability at least 1−ϵ1-\epsilon1−ϵ under every distribution of an ambiguity set P\mathcal PP. Whether this problem can be solved with existing CVRP technology depends on how the worst-case value-at-risk of a customer set's total demand behaves as a set function. This mission formalizes §4 of the paper, which treats ambiguity sets that only constrain each customer's demand separately.

Setting

There are nnn customers VC={1,…,n}V_C=\{1,\dots,n\}VC​={1,…,n} with random demand vector q~∈Rn\tilde{\boldsymbol q}\in\mathbb R^nq~​∈Rn and a risk level ϵ∈(0,1)\epsilon\in(0,1)ϵ∈(0,1). For a probability distribution P\mathbb PP and a real random variable X~\tilde XX~, the value-at-risk is

P-VaR1−ϵ[X~]=inf⁡{x∈R: P[X~≤x]≥1−ϵ}.\mathbb P\text{-VaR}_{1-\epsilon}[\tilde X]=\inf\{x\in\mathbb R:\ \mathbb P[\tilde X\le x]\ge1-\epsilon\}.P-VaR1−ϵ​[X~]=inf{x∈R: P[X~≤x]≥1−ϵ}.

For an ambiguity set P\mathcal PP and a customer subset SSS, the worst-case value-at-risk of SSS is sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}[\sum_{i\in S}\tilde q_i]supP∈P​P-VaR1−ϵ​[∑i∈S​q~​i​].

Fix a support box Q=[q‾,q‾]\mathcal Q=[\underline{\boldsymbol q},\overline{\boldsymbol q}]Q=[q​,q​] with q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, a mean vector μ\boldsymbol\muμ in the interior of Q\mathcal QQ, and for each customer iii a componentwise convex dispersion measure φi:R→Rpi\boldsymbol\varphi_i:\mathbb R\to\mathbb R^{p_i}φi​:R→Rpi​ with bound σi>φi(μi)\boldsymbol\sigma_i>\boldsymbol\varphi_i(\mu_i)σi​>φi​(μi​). The marginalized moment ambiguity set (5) is

P={P∈P0(Rn): P(q~∈Q)=1, EP[q~]=μ, EP[φi(q~i)]≤σi ∀i∈VC}.\mathcal P=\Big\{\mathbb P\in\mathcal P_0(\mathbb R^n):\ \mathbb P(\tilde{\boldsymbol q}\in\mathcal Q)=1,\ \mathbb E_{\mathbb P}[\tilde{\boldsymbol q}]=\boldsymbol\mu,\ \mathbb E_{\mathbb P}[\boldsymbol\varphi_i(\tilde q_i)]\le\boldsymbol\sigma_i\ \forall i\in V_C\Big\}.P={P∈P0​(Rn): P(q~​∈Q)=1, EP​[q~​]=μ, EP​[φi​(q~​i​)]≤σi​ ∀i∈VC​}.

It constrains marginal moments only, and so contains joint distributions of every dependence structure, from independent to perfectly correlated demands. Three special cases have their own closed forms: the first-order set (6), where σi>0\sigma_i>0σi​>0 bounds the mean absolute deviation E∣q~i−μi∣\mathbb E|\tilde q_i-\mu_i|E∣q~​i​−μi​∣; the variance set (8), where σi>0\sigma_i>0σi​>0 bounds E(q~i−μi)2\mathbb E(\tilde q_i-\mu_i)^2E(q~​i​−μi​)2; and the semivariance set (10), where σi+,σi−>0\sigma_i^+,\sigma_i^->0σi+​,σi−​>0 bound E[q~i−μi]+2\mathbb E[\tilde q_i-\mu_i]_+^2E[q~​i​−μi​]+2​ and E[μi−q~i]+2\mathbb E[\mu_i-\tilde q_i]_+^2E[μi​−q~​i​]+2​.

A route set R=(R1,…,Rm)∈P(VC,m)\mathbf R=(R_1,\dots,R_m)\in\mathfrak P(V_C,m)R=(R1​,…,Rm​)∈P(VC​,m) partitions the customers into mmm nonempty ordered routes. It is feasible in RVRP(P\mathcal PP) if P[∑i∈Rkq~i≤Q]≥1−ϵ\mathbb P[\sum_{i\in R_k}\tilde q_i\le Q]\ge1-\epsilonP[∑i∈Rk​​q~​i​≤Q]≥1−ϵ for all P∈P\mathbb P\in\mathcal PP∈P and all kkk, and feasible in the deterministic CVRP with demands q\boldsymbol qq if ∑i∈Rkqi≤Q\sum_{i\in R_k}q_i\le Q∑i∈Rk​​qi​≤Q for all kkk.

Formalization targets

Goal: Theorem 3 (p. 723)

For every marginalized moment ambiguity set (5) and every nonempty S⊆VCS\subseteq V_CS⊆VC​,

sup⁡P∈PP-VaR1−ϵ[∑i∈Sq~i]=∑i∈Ssup⁡P∈PP-VaR1−ϵ[q~i].\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}\Big[\sum_{i\in S}\tilde q_i\Big]=\sum_{i\in S}\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}[\tilde q_i].P∈Psup​P-VaR1−ϵ​[i∈S∑​q~​i​]=i∈S∑​P∈Psup​P-VaR1−ϵ​[q~​i​].

The dispersion measures are left arbitrary (convex, componentwise, any number of components), so the goal covers every set of the form (5).

Milestones

  • Proposition 2 (p. 724, Eq. (7)), first-order sets: sup⁡PP-VaR1−ϵ[q~i]=μi+min⁡{q‾i−μi,1−ϵϵ(μi−q‾i),12ϵσi}\sup_{\mathbb P}\mathbb P\text{-VaR}_{1-\epsilon}[\tilde q_i]=\mu_i+\min\{\overline q_i-\mu_i,\frac{1-\epsilon}{\epsilon}(\mu_i-\underline q_i),\frac1{2\epsilon}\sigma_i\}supP​P-VaR1−ϵ​[q~​i​]=μi​+min{q​i​−μi​,ϵ1−ϵ​(μi​−q​i​),2ϵ1​σi​}.
  • Proposition 3 (p. 725, Eq. (9)), variance sets: the same with last term 1−ϵϵσi\sqrt{\frac{1-\epsilon}{\epsilon}\sigma_i}ϵ1−ϵ​σi​​.
  • Proposition 4 (p. 725, Eq. (11)), semivariance sets: the four-term minimum with σi+/ϵ\sqrt{\sigma_i^+/\epsilon}σi+​/ϵ​ and (1−ϵ)σi−/ϵ\sqrt{(1-\epsilon)\sigma_i^-}/\epsilon(1−ϵ)σi−​​/ϵ.
  • Corollary 1 (p. 723): a route set is feasible in RVRP(P\mathcal PP) over (5) if and only if it is feasible in the deterministic CVRP with demands qi=sup⁡P∈PP-VaR1−ϵ[q~i]q_i=\sup_{\mathbb P\in\mathcal P}\mathbb P\text{-VaR}_{1-\epsilon}[\tilde q_i]qi​=supP∈P​P-VaR1−ϵ​[q~​i​].

Significance

Theorem 3 says that over (5) the worst case of a sum is the sum of the worst cases. Because the value-at-risk is not additive for a fixed distribution, and the online supplement exhibits distributions in such a set for which the individual values-at-risk are not additive, the statement is about the ambiguity set, not about any of its members. Its consequence, Corollary 1, is that RVRP(P\mathcal PP) over (5) is a deterministic CVRP with inflated demands, so existing branch-and-cut and branch-and-cut-and-price codes solve it unchanged. Propositions 2–4 make those inflated demands explicit for three standard dispersion measures, so that the whole reduction is in closed form. The corollary also exposes a limitation: under (5) the worst-case distribution does not depend on the route set, and the model cannot represent known dependencies between customers.

The results are proved in the paper's online supplement; none has a machine-checked proof. A formalization produces a checked worst-case value-at-risk calculus over moment sets with support constraints, including sharp one-sided Chebyshev-type bounds under mean-absolute-deviation, variance and semivariance constraints, which are reusable in distributionally robust optimization beyond vehicle routing.

Difficulty

The value-at-risk is neither subadditive nor superadditive in general, so neither inequality of Theorem 3 follows from properties of a single distribution. The inequality "≥\ge≥" requires combining near-worst-case distributions of the individual customers into one joint distribution in P\mathcal PP that is simultaneously near-worst for the sum; the inequality "≤\le≤" requires bounding the value-at-risk of the sum for an arbitrary joint law using only marginal information. In Propositions 2–4 the supremum is typically not attained: the distribution concentrating mass at the claimed worst-case value violates the mean constraint, and the value is reached only as a limit of distributions in P\mathcal PP. An argument that exhibits a single maximizer therefore fails, and the statements must be proved as equalities of suprema.

Formalization scope

Customers are Fin n (0-based) and demand vectors are Fin n → ℝ. An ambiguity set is a set of measures on Fin n → ℝ, each required to be a probability measure; the support condition is P (Set.Icc qlo qhi) = 1 and expectations are Bochner integrals. The sets are sets of joint laws on Rn\mathbb R^nRn, never products of marginals. In (5) each expectation EP[φi,l(q~i)]\mathbb E_{\mathbb P}[\varphi_{i,l}(\tilde q_i)]EP​[φi,l​(q~​i​)] is required to exist; this is automatic for convex φi,l\varphi_{i,l}φi,l​ on the bounded support. The value-at-risk is the published definition MultistageStochastic.valueAtRisk P Y (1 - ε), and the worst-case value-at-risk is the real supremum of its values over the ambiguity set; under the standing assumptions that set of values is nonempty (the Dirac law at μ\boldsymbol\muμ belongs to P\mathcal PP) and bounded (by the support), so the supremum is not a default value. The single-customer quantity is the case S={i}S=\{i\}S={i}. The standing assumptions (q‾≥0\underline{\boldsymbol q}\ge\mathbf 0q​≥0, q‾<μ<q‾\underline{\boldsymbol q}<\boldsymbol\mu<\overline{\boldsymbol q}q​<μ<q​, convexity of φi,l\varphi_{i,l}φi,l​, φi,l(μi)<σi,l\varphi_{i,l}(\mu_i)<\sigma_{i,l}φi,l​(μi​)<σi,l​, σ,σ±>0\boldsymbol\sigma,\boldsymbol\sigma^\pm>\mathbf 0σ,σ±>0, 0<ϵ<10<\epsilon<10<ϵ<1) are explicit hypotheses. Routes are lists of customers; a route set has nonempty routes whose concatenation is a permutation of all customers. Costs are not formalized, since both routing problems minimize the same cost over their feasible route sets.

All targets are equalities or equivalences; a one-sided inequality, a statement asserting that some distribution attains the value, or a formulation over product measures is a different theorem and does not count.

Contributions welcome: the reduction of the chance constraint to a value-at-risk bound, the right-continuity lemmas for the value-at-risk of a measure on Rn\mathbb R^nRn, two-point constructions in the ambiguity sets, and one-sided Chebyshev-type bounds with support constraints.

Selected references

  • S. Ghosal and W. Wiesemann, The Distributionally Robust Chance-Constrained Vehicle Routing Problem, Operations Research 68(3):716–732, 2020. https://doi.org/10.1287/opre.2019.1924
  • G. Laporte, Y. Nobert and M. Desrochers, Optimal routing under capacity and distance restrictions, Operations Research 33(5):1050–1073, 1985. https://doi.org/10.1287/opre.33.5.1050
  • G. Casella and R. L. Berger, Statistical Inference, 2nd ed., Duxbury, 2002.
9 thms3 active usersReviewed
PreviousPage 5 of 20Next

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