Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

1081–1094 of 1094
OpenCompletedAll
AnalysisOperations ResearchProbability·Captain: mikedeng1

The Data-Driven Newsvendor Problem: New Bounds and Insights II: Every Log-Concave Demand Has Weighted Mean Spread at Least min(b,h)/(b+h)Research Paper

Motivation

The newsvendor problem is the basic single-period inventory model: a decision maker orders qqq units before a random demand DDD is observed, pays b>0b>0b>0 per unit of unmet demand and h>0h>0h>0 per unit left over, and minimizes the expected cost C(q)=E[b(D−q)++h(q−D)+]C(q)=E[b(D-q)^+ + h(q-D)^+]C(q)=E[b(D−q)++h(q−D)+]. When the distribution of DDD is known, the optimal order is the b/(b+h)b/(b+h)b/(b+h) quantile of DDD. In practice the distribution is unknown and only a sample of past demands is available; the standard data-driven order is the sample average approximation (SAA), the b/(b+h)b/(b+h)b/(b+h) quantile of the empirical distribution.

R. Levi, G. Perakis and J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights (Operations Research 63(6), 2015), ask how many samples guarantee that the SAA order is ϵ\epsilonϵ-optimal with high probability. Levi, Roundy and Shmoys (2007) gave a distribution-free bound. Levi, Perakis and Uichanco show that, asymptotically in ϵ\epsilonϵ, the right measure of difficulty is a single scalar of the demand law, the weighted mean spread at the critical quantile, and that for the class of log-concave demand distributions (normal, uniform, exponential, logistic, Laplace and many others used in inventory theory) this scalar is bounded below by min⁡(b,h)/(b+h)\min(b,h)/(b+h)min(b,h)/(b+h). That uniform bound turns a distribution-dependent sample-size guarantee into one that holds for every log-concave demand, and is markedly tighter than the distribution-free one.

This mission formalizes the bound (Proposition 2) and the chain of lemmas the paper uses to prove it. The source is the authors' accepted manuscript of the paper (MIT DSpace), cited by its own page numbers.

Setting

Fix costs b>0b>0b>0, h>0h>0h>0 and the critical ratio β=b/(b+h)∈(0,1)\beta=b/(b+h)\in(0,1)β=b/(b+h)∈(0,1). A demand law is given by a probability density f:R→Rf:\mathbb R\to\mathbb Rf:R→R: measurable, nonnegative, with ∫f=1\int f=1∫f=1. Its cdf is F(t)=∫(−∞,t]fF(t)=\int_{(-\infty,t]}fF(t)=∫(−∞,t]​f, and its β\betaβ quantile is

q∗=inf⁡{q:F(q)≥β}.q^*=\inf\{q : F(q)\ge \beta\}.q∗=inf{q:F(q)≥β}.

The absolute mean spread (AMS, Definition 1) at ttt is the gap between the conditional means above and below ttt,

Δ(t)=E(D∣D≥t)−E(D∣D≤t)=∫[t,∞)xf(x) dx1−F(t)−∫(−∞,t]xf(x) dxF(t),\Delta(t)=E(D\mid D\ge t)-E(D\mid D\le t)=\frac{\int_{[t,\infty)}x f(x)\,dx}{1-F(t)}-\frac{\int_{(-\infty,t]}x f(x)\,dx}{F(t)},Δ(t)=E(D∣D≥t)−E(D∣D≤t)=1−F(t)∫[t,∞)​xf(x)dx​−F(t)∫(−∞,t]​xf(x)dx​,

and the weighted mean spread (WMS, Definition 2) is Δ(q∗)f(q∗)\Delta(q^*)f(q^*)Δ(q∗)f(q∗).

A density is log-concave (Definition 3) if log⁡f\log flogf is concave on its support. Equivalently, f(x)af(y)1−a≤f(ax+(1−a)y)f(x)^a f(y)^{1-a}\le f(ax+(1-a)y)f(x)af(y)1−a≤f(ax+(1−a)y) for all x,yx,yx,y and a∈[0,1]a\in[0,1]a∈[0,1]; this form allows fff to vanish outside an interval.

For a log-concave fff and a point ttt with f(t)>0f(t)>0f(t)>0, the number γ1\gamma_1γ1​ is a supergradient of log⁡f\log flogf at ttt, written γ1∈∂log⁡f(t)\gamma_1\in\partial\log f(t)γ1​∈∂logf(t), if log⁡f(x)≤log⁡f(t)+γ1(x−t)\log f(x)\le\log f(t)+\gamma_1(x-t)logf(x)≤logf(t)+γ1​(x−t) for all xxx with f(x)>0f(x)>0f(x)>0. The paper splits the class L\mathbb LL of log-concave densities into the subclasses Lq∗,γ0,γ1\mathbb L_{q^*,\gamma_0,\gamma_1}Lq∗,γ0​,γ1​​ of densities with quantile q∗q^*q∗, f(q∗)=γ0f(q^*)=\gamma_0f(q∗)=γ0​ and γ1∈∂log⁡f(q∗)\gamma_1\in\partial\log f(q^*)γ1​∈∂logf(q∗), and minimizes the AMS over each subclass (problem (11)). The minimizer is the truncated exponential density

f~(x)=γ0eγ1(x−q∗)  on [x‾,x‾],x‾=q∗+1γ1log⁡ ⁣(1−γ1γ0β),x‾=q∗+1γ1log⁡ ⁣(1+γ1γ0(1−β)),\tilde f(x)=\gamma_0e^{\gamma_1(x-q^*)}\ \text{ on }[\underline x,\overline x],\qquad \underline x=q^*+\tfrac1{\gamma_1}\log\!\big(1-\tfrac{\gamma_1}{\gamma_0}\beta\big),\quad \overline x=q^*+\tfrac1{\gamma_1}\log\!\big(1+\tfrac{\gamma_1}{\gamma_0}(1-\beta)\big),f~​(x)=γ0​eγ1​(x−q∗)  on [x​,x],x​=q∗+γ1​1​log(1−γ0​γ1​​β),x=q∗+γ1​1​log(1+γ0​γ1​​(1−β)),

and zero elsewhere (display (12)), with AMS zq∗,γ0,γ1∗z^*_{q^*,\gamma_0,\gamma_1}zq∗,γ0​,γ1​∗​ in closed form.

The Lean development uses the names IsPdf, cdfOf, quantileOf, ams, IsLogSupergradient, tildeF and zStar for these objects, in the namespace DataDrivenNV.WMS.

Formalization targets

Goal: Proposition 2

For every log-concave density fff,

Δ(q∗) f(q∗) ≥ min⁡(b,h)b+h.\Delta(q^*)\,f(q^*)\ \ge\ \frac{\min(b,h)}{b+h}.Δ(q∗)f(q∗) ≥ b+hmin(b,h)​.

The statement has no further hypothesis: no moment condition, no continuity, no restriction on γ0,γ1\gamma_0,\gamma_1γ0​,γ1​.

Milestones, in the order of the paper's proof

  1. Lemma 1: at the quantile, −b+hh≤γ1γ0≤b+hb-\frac{b+h}{h}\le\frac{\gamma_1}{\gamma_0}\le\frac{b+h}{b}−hb+h​≤γ0​γ1​​≤bb+h​.
  2. Lemma 2: f(x)≤γ0eγ1(x−t)f(x)\le\gamma_0e^{\gamma_1(x-t)}f(x)≤γ0​eγ1​(x−t) for every xxx.
  3. Lemma 3 (Domination Lemma): a density dominated on the support of another, with the same mass left of ttt, has the larger AMS at ttt.
  4. Proposition 1: f~\tilde ff~​ belongs to Lq,γ0,γ1\mathbb L_{q,\gamma_0,\gamma_1}Lq,γ0​,γ1​​ and minimizes the AMS there.
  5. The closed form: Δf~(q)=zq,γ0,γ1∗=γ0γ12[(b+hh+γ1γ0)log⁡(1+γ1γ0hb+h)+(b+hb−γ1γ0)log⁡(1−γ1γ0bb+h)]\Delta_{\tilde f}(q)=z^*_{q,\gamma_0,\gamma_1}=\frac{\gamma_0}{\gamma_1^2}\big[(\frac{b+h}{h}+\frac{\gamma_1}{\gamma_0})\log(1+\frac{\gamma_1}{\gamma_0}\frac{h}{b+h})+(\frac{b+h}{b}-\frac{\gamma_1}{\gamma_0})\log(1-\frac{\gamma_1}{\gamma_0}\frac{b}{b+h})\big]Δf~​​(q)=zq,γ0​,γ1​∗​=γ12​γ0​​[(hb+h​+γ0​γ1​​)log(1+γ0​γ1​​b+hh​)+(bb+h​−γ0​γ1​​)log(1−γ0​γ1​​b+hb​)].
  6. Lemma 4: three elementary inequalities in β∈(0,1)\beta\in(0,1)β∈(0,1) and η∈(−11−β,1β)\eta\in(-\frac1{1-\beta},\frac1\beta)η∈(−1−β1​,β1​).

Significance

The proposition is what makes the paper's log-concave sample-size bound (Theorem 4) parameter-free: the probability that the biased SAA order is ϵ\epsilonϵ-optimal is, asymptotically, at least 1−2exp⁡(−14Nϵ Δ(q∗)f(q∗))1-2\exp(-\frac14N\epsilon\,\Delta(q^*)f(q^*))1−2exp(−41​NϵΔ(q∗)f(q∗)) (Theorem 3), and Proposition 2 replaces the unknown Δ(q∗)f(q∗)\Delta(q^*)f(q^*)Δ(q∗)f(q∗) by min⁡(b,h)/(b+h)\min(b,h)/(b+h)min(b,h)/(b+h). A manager who only knows that demand is log-concave can then size a sample without estimating any parameter of the law.

The result is proved in the paper; nothing about it is open. As far as is known it has no machine-checked proof. Formalizing it produces a checked lower bound for an inventory-theory quantity together with reusable facts about log-concave densities on the line: exponential envelopes from a supergradient, the quantile-and-slope constraints of Lemma 1, and the comparison of conditional means behind the Domination Lemma.

Difficulty

The definitions are elementary, but the proof passes through an infinite-dimensional optimization problem over a class of densities. The obvious first step, "the AMS is minimized by the most concentrated density", has no direct meaning without fixing the density value and the slope of log⁡f\log flogf at the quantile; after fixing them, one needs the envelope of Lemma 2, a stochastic comparison (Lemma 3) and an explicit integral of a truncated exponential. The Domination Lemma as printed is false (a density whose support has a gap to the right of ttt is a counterexample), so it is formalized under the hypothesis that the dominating density is positive exactly on an interval around ttt, which is how Proposition 1 uses it. The case γ1=0\gamma_1=0γ1​=0 (uniform minimizer) and the two boundary values of γ1/γ0\gamma_1/\gamma_0γ1​/γ0​ (one-sided exponential minimizers) are not covered by the closed form (12) and must be handled separately in a proof of the goal. Finally, Lemma 1 rests on the monotonicity of the failure rate f/(1−F)f/(1-F)f/(1−F) and the reversed hazard rate f/Ff/Ff/F of log-concave laws, which must be proved from log-concavity.

Formalization scope

Densities are functions ℝ → ℝ with IsPdf f (measurable, nonnegative everywhere, integrable, total integral 1); the law of DDD is never introduced separately. Log-concavity is the published definition ConvexOptimization.LogConcaveOn Set.univ f (power form, zeros allowed). Concavity of Real.log ∘ f is not used, because Real.log 0 = 0 would treat log⁡f\log flogf as 000 off the support. The quantile is an sInf; for β∈(0,1)\beta\in(0,1)β∈(0,1) its defining set is nonempty and bounded below. The AMS is the difference of two ratios of integrals. At the quantile both denominators are positive, and the goal and Proposition 1 assume no integrability of xf(x)xf(x)xf(x), since log-concave densities have exponential tails. The value f(q∗)f(q^*)f(q∗) is taken pointwise; q∗q^*q∗ lies in the interior of the support, where a log-concave density is continuous.

Conventions and disclosed departures from the page:

  • "γ1∈∂log⁡f\gamma_1\in\partial\log fγ1​∈∂logf, the set of all subgradients" is read as the superdifferential of the concave log⁡f\log flogf on {f>0}\{f>0\}{f>0}.
  • Lemma 3 carries three added hypotheses: f2f_2f2​ vanishes outside some [l,u]∋t[l,u]\ni t[l,u]∋t and is positive on (l,u)(l,u)(l,u); 0<F1(t)<10<F_1(t)<10<F1​(t)<1; and xf1(x)xf_1(x)xf1​(x), xf2(x)xf_2(x)xf2​(x) are integrable. The first repairs the printed statement; the other two are the conditions under which Definition 1 makes sense for general densities.
  • Proposition 1 and the closed form of z∗z^*z∗ are stated for γ1≠0\gamma_1\neq0γ1​=0 and γ1/γ0\gamma_1/\gamma_0γ1​/γ0​ strictly inside the interval of Lemma 1, where (12) is a finite interval.
  • The goal has no such restriction.

Assumption 1 of the paper (monotonicity of fff beyond q∗q^*q∗) and the continuity assumption of §3 are hypotheses of Theorems 3–4 only and are not used here. A formalization in which f(q∗)f(q^*)f(q∗) or Δ(q∗)\Delta(q^*)Δ(q∗) takes a junk value (a non-integrable xf(x)xf(x)xf(x), a zero denominator) would make the goal trivially true or false; the hypotheses above exclude this, and no statement assumes the conclusion of another.

Contributions welcome: proofs of the milestones in any order; general lemmas on log-concave densities on R\mathbb RR (exponential tails, integrability of moments, monotone hazard rates, continuity in the interior of the support); and the boundary cases of problem (11).

Selected references

  • R. Levi, G. Perakis, J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, Operations Research 63(6):1294–1306, 2015. Authors' accepted manuscript, MIT DSpace. https://doi.org/10.1287/opre.2015.1422
  • R. Levi, R. O. Roundy, D. B. Shmoys, Provably Near-Optimal Sampling-Based Policies for Stochastic Inventory Control Models, Mathematics of Operations Research 32(4):821–839, 2007. https://doi.org/10.1287/moor.1070.0272
9 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

The Theory of Queues with a Single Server: The Waiting-Time Distribution Has a Proper Limit iff E(u) < 0 or u = 0 Almost SurelyResearch Paper

Motivation

The single-server queue with general independent interarrival and service times (the GI/G/1 queue) is the basic model of congestion in operations research: customers arrive at a service facility, wait if the server is busy, are served in order of arrival, and leave. The first question about any such system is whether it settles down. If customers keep arriving faster than they can be served, waiting times grow without bound; otherwise one expects an equilibrium distribution of waiting time that capacity planning, staffing and performance analysis can be based on.

D. V. Lindley's 1952 paper Lindley 1952 answered this question for the GI/G/1 queue in complete generality. It introduced the recursion for successive waiting times that now carries his name, connected the queue with a random walk, and proved that an equilibrium exists exactly when the mean service time is smaller than the mean interarrival time, with the degenerate deterministic case as the only exception. The paper is the starting point of the random-walk approach to queueing theory and of the later work of Kiefer and Wolfowitz, Spitzer, Loynes and Kingman.

Setting

Customers arrive in order at a single server; customer rrr is served after all its predecessors. On a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) let

  • tr≥0t_r \ge 0tr​≥0 be the interarrival time between customers rrr and r+1r+1r+1,
  • sr≥0s_r \ge 0sr​≥0 be the service time of customer rrr.

Assumption 1: the trt_rtr​ are independent and identically distributed with finite mean E(tr)\mathscr{E}(t_r)E(tr​). Assumption 2: the srs_rsr​ are independent and identically distributed with finite mean E(sr)\mathscr{E}(s_r)E(sr​), and the families {sr}\{s_r\}{sr​} and {tr}\{t_r\}{tr​} are independent of each other.

Put ur=sr−tru_r = s_r - t_rur​=sr​−tr​; the uru_rur​ are i.i.d. and integrable, and E(u)=E(s)−E(t)\mathscr{E}(u) = \mathscr{E}(s) - \mathscr{E}(t)E(u)=E(s)−E(t) denotes their common mean. The waiting time wrw_rwr​ of customer rrr (time from arrival to start of service) satisfies Lindley's recursion

w1=0,wr+1=max⁡(wr+ur, 0).w_1 = 0, \qquad w_{r+1} = \max(w_r + u_r,\ 0).w1​=0,wr+1​=max(wr​+ur​, 0).

Write Fr(x)=p(wr≤x)F_r(x) = p(w_r \le x)Fr​(x)=p(wr​≤x) for the waiting-time distribution function, GGG for the law of uru_rur​, and Un=u1+⋯+unU_n = u_1 + \dots + u_nUn​=u1​+⋯+un​ for the associated random walk. Lindley shows that Fr(x)F_r(x)Fr​(x) converges for every xxx to

F(x)=p(Us≤x for all s≥1)(x≥0),F(x)=0(x<0).F(x) = p(U_s \le x \text{ for all } s \ge 1) \quad (x \ge 0), \qquad F(x) = 0 \quad (x < 0).F(x)=p(Us​≤x for all s≥1)(x≥0),F(x)=0(x<0).

Formalization targets

Goal: Lindley's theorem (§4, p. 281)

  1. The waiting-time distribution FrF_rFr​ converges to a proper (non-degenerate) limit distribution if and only if
E(u)<0oru=0 almost surely.\mathscr{E}(u) < 0 \quad \text{or} \quad u = 0 \text{ almost surely.}E(u)<0oru=0 almost surely.
  1. If E(u)≥0\mathscr{E}(u) \ge 0E(u)≥0 and uuu is not almost surely 000, then p(wr≤x)→0p(w_r \le x) \to 0p(wr​≤x)→0 for every xxx.

Milestones, in the order of the paper

  • Eq. (2), the one-step convolution Fr+1(x)=∫u≤xFr(x−u) dG(u)F_{r+1}(x) = \int_{u \le x} F_r(x-u)\,dG(u)Fr+1​(x)=∫u≤x​Fr​(x−u)dG(u) for x≥0x \ge 0x≥0 (an existing platform statement, referenced).
  • Eq. (3), the duality with the random walk: Fr+1(x)=p(Us≤x for all s≤r)F_{r+1}(x) = p(U_s \le x \text{ for all } s \le r)Fr+1​(x)=p(Us​≤x for all s≤r) for x≥0x \ge 0x≥0.
  • The limit: Fr(x)→F(x)F_r(x) \to F(x)Fr​(x)→F(x) for every xxx.
  • Eqs. (4)–(5), Lindley's integral equation F(x)=∫u≤xF(x−u) dG(u)F(x) = \int_{u \le x} F(x-u)\,dG(u)F(x)=∫u≤x​F(x−u)dG(u) for x≥0x \ge 0x≥0.
  • Case (i): E(u)>0⇒F≡0\mathscr{E}(u) > 0 \Rightarrow F \equiv 0E(u)>0⇒F≡0. Case (ii): E(u)<0⇒F(x)→1\mathscr{E}(u) < 0 \Rightarrow F(x) \to 1E(u)<0⇒F(x)→1 as x→∞x \to \inftyx→∞.
  • Eq. (8), the theorem of Chung and Fuchs quoted by Lindley: a mean-zero, non-lattice random walk comes within ϵ\epsilonϵ of every point infinitely often.
  • Case (iii): E(u)=0\mathscr{E}(u) = 0E(u)=0, u≢0⇒F≡0u \not\equiv 0 \Rightarrow F \equiv 0u≡0⇒F≡0.
  • Companion: for E(u)<0\mathscr{E}(u) < 0E(u)<0, exactly one distribution on [0,∞)[0,\infty)[0,∞) solves the integral equation.

Significance

The theorem is the stability criterion ρ=E(s)/E(t)<1\rho = \mathscr{E}(s)/\mathscr{E}(t) < 1ρ=E(s)/E(t)<1 for the GI/G/1 queue, and its proof identifies the equilibrium waiting time with the supremum of a random walk with negative drift. Every later result on the equilibrium waiting time (Pollaczek–Khinchine for M/G/1, Kingman's bounds, the Wiener–Hopf factorization, heavy-traffic limits) presupposes this existence statement. The critical case ρ=1\rho = 1ρ=1 is the part that goes beyond the law of large numbers: there is no equilibrium even though the queue has no drift.

The result has been proved since 1952 and appears in every queueing textbook. No machine-checked proof of it is known to exist. The platform already has related open statements in other frameworks: a law-level one-step identity and the stationary-delay equation from Gross et al. (QueueingFundamentals.GG1), and Loynes' theorem in a stationary ergodic Palm framework (PalmQueueing.Loynes.loynes_stability). None of them states convergence of the customer-indexed waiting-time distributions, and none treats the critical case. This mission produces the customer-indexed model, the random-walk duality, and the complete iff, including the Chung–Fuchs recurrence theorem for one-dimensional random walks, which is of independent use.

Difficulty

Cases (i) and (ii) follow from the strong law of large numbers, which Mathlib provides. The obstacle is the critical case E(u)=0\mathscr{E}(u) = 0E(u)=0: the strong law only gives Un/n→0U_n/n \to 0Un​/n→0, which says nothing about whether sup⁡nUn\sup_n U_nsupn​Un​ is finite. One needs the recurrence of mean-zero random walks (Chung–Fuchs), which is not in Mathlib. A second, smaller difficulty is eq. (3): it is an identity of probabilities, not of events, since the waiting time is built from sums taken in the reverse order of the walk's partial sums. Finally, the iff needs a careful passage from pointwise limits of distribution functions to convergence to a probability measure.

Formalization scope

All objects live in one definitions file, LindleyQueue.Stability.Model. The input is a structure Input Ω P holding measurable sequences s t : ℕ → Ω → ℝ with iIndepFun for each family, identical distribution, integrability, independence of the two families as random elements of RN\mathbb R^{\mathbb N}RN, and nonnegativity. Theorems assume IsProbabilityMeasure P. Committed conventions:

  • Indexing from 0: w 0 is the paper's w1w_1w1​, F r is Fr+1F_{r+1}Fr+1​, U n =∑i<n= \sum_{i<n}=∑i<n​ u i is the paper's UnU_nUn​.
  • Non-degenerate means proper: the limit is a probability measure ν\nuν on R\mathbb RR, and convergence is Fr(x)→ν((−∞,x])F_r(x) \to \nu((-\infty,x])Fr​(x)→ν((−∞,x]) at every xxx with ν{x}=0\nu\{x\} = 0ν{x}=0. When u=0u = 0u=0 a.s. the limit is the point mass at 000, and the theorem counts it as convergent.
  • "Certainly" means almost surely, for u1u_1u1​; all uru_rur​ share its law.
  • E(u)\mathscr{E}(u)E(u) is the Bochner integral of the integrable u 0; GGG is the push-forward law of u 0, and Stieltjes integrals ∫u≤x⋯dG(u)\int_{u \le x} \cdots dG(u)∫u≤x​⋯dG(u) are integrals over Set.Iic x.
  • F(x)F(x)F(x) is defined with the case split x≥0x \ge 0x≥0 / x<0x < 0x<0; eqs. (3), (4) are stated for x≥0x \ge 0x≥0, as on the page.
  • Eq. (8) is stated for an arbitrary i.i.d. integrable mean-zero sequence (only the non-lattice half).

Trivializing formalizations are ruled out: the goal is about the queue's FrF_rFr​, not the random walk's absorption probabilities; the limit must be a probability distribution, since "converges to some function" is already the limit milestone; and "u=0u = 0u=0" is almost-sure, not pointwise. A verification file builds an Input with sr=tr=1s_r = t_r = 1sr​=tr​=1, so the hypotheses are satisfiable.

Needed infrastructure: exchangeability of finite i.i.d. vectors, continuity of measure along decreasing events, the strong law (in Mathlib), recurrence of one-dimensional random walks, and convergence of distribution functions. The Chung–Fuchs theorem and the random-walk duality are reusable well beyond queueing; contributions of either are welcome.

Selected references

  • D. V. Lindley, The theory of queues with a single server, Mathematical Proceedings of the Cambridge Philosophical Society 48(2), 277–289, 1952. https://doi.org/10.1017/S0305004100027638
  • K. L. Chung and W. H. J. Fuchs, On the distribution of values of sums of random variables, Memoirs of the American Mathematical Society 6, 1951. https://doi.org/10.1090/memo/0006
  • R. M. Loynes, The stability of a queue with non-independent inter-arrival and service times, Mathematical Proceedings of the Cambridge Philosophical Society 58(3), 497–520, 1962. https://doi.org/10.1017/S0305004100036781
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003, Ch. III and X. https://doi.org/10.1007/b97236
11 thms2 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

The Fritz John Necessary Optimality Conditions in the Presence of Equality and Inequality Constraints: Every Minimizer of a C¹ Program Admits Multipliers (ū₀, ū, v̄) ≠ 0 with ū ≥ 0Research Paper

Motivation

For problems with inequality constraints only, F. John (1948) showed that every minimizer admits nonnegative multipliers (uˉ0,uˉ1,…,uˉm)≠0(\bar u_0, \bar u_1, \dots, \bar u_m) \ne 0(uˉ0​,uˉ1​,…,uˉm​)=0, one of which belongs to the objective. The Kuhn–Tucker conditions (1951) are the stronger statement in which the objective's multiplier can be taken equal to one; they need a constraint qualification.

Problems arising in practice mix equalities and inequalities. Fritz John's theorem does not cover them, and the obvious reduction, writing each equality hj(x)=0h_j(x) = 0hj​(x)=0 as the two inequalities hj(x)≤0h_j(x) \le 0hj​(x)≤0 and −hj(x)≤0-h_j(x) \le 0−hj​(x)≤0, destroys the content of the conditions: every feasible point then satisfies them with uˉ0=0\bar u_0 = 0uˉ0​=0. O. L. Mangasarian and S. Fromovitz (1967) proved a version of Fritz John's conditions that treats equalities directly and stays informative, and from it derived the constraint qualification now known as the Mangasarian–Fromovitz constraint qualification (MFCQ). MFCQ is the standard regularity assumption in the convergence theory of sequential quadratic programming, interior-point and augmented-Lagrangian methods, and in the stability theory of parametric programs.

Timeline.

  • 1939, W. Karush (master's thesis) and 1951, H. W. Kuhn and A. W. Tucker: multiplier conditions with uˉ0=1\bar u_0 = 1uˉ0​=1 for inequality constraints, under a constraint qualification.
  • 1948, F. John: the multiplier rule with uˉ0≥0\bar u_0 \ge 0uˉ0​≥0 for inequality constraints, no qualification needed.
  • 1967, Mangasarian and Fromovitz (this paper): the multiplier rule for equalities and inequalities together, and the qualification (3.4)–(3.6).

Setting

Let EnE^nEn be nnn-dimensional Euclidean space, and let θ,g1,…,gm,h1,…,hk:En→R\theta, g_1, \dots, g_m, h_1, \dots, h_k : E^n \to \mathbb Rθ,g1​,…,gm​,h1​,…,hk​:En→R be functions with continuous first partial derivatives on EnE^nEn. The program is

minimize θ(x)subject togi(x)≤0, i∈M={1,…,m},hj(x)=0, j∈K={1,…,k}.(1.1)\text{minimize } \theta(x) \quad \text{subject to} \quad g_i(x) \le 0,\ i \in M = \{1,\dots,m\}, \qquad h_j(x) = 0,\ j \in K = \{1,\dots,k\}. \tag{1.1}minimize θ(x)subject togi​(x)≤0, i∈M={1,…,m},hj​(x)=0, j∈K={1,…,k}.(1.1)

The feasible set is S={x∈En:gi(x)≤0, i∈M, hj(x)=0, j∈K}S = \{x \in E^n : g_i(x) \le 0,\ i \in M,\ h_j(x) = 0,\ j \in K\}S={x∈En:gi​(x)≤0, i∈M, hj​(x)=0, j∈K}. A point xˉ\bar xxˉ is a solution of (1.1) if xˉ∈S\bar x \in Sxˉ∈S and θ(xˉ)≤θ(x)\theta(\bar x) \le \theta(x)θ(xˉ)≤θ(x) for all x∈Sx \in Sx∈S. The active set at xˉ\bar xxˉ is Mˉ={i∈M:gi(xˉ)=0}\bar M = \{i \in M : g_i(\bar x) = 0\}Mˉ={i∈M:gi​(xˉ)=0}. The gradient of fff at xˉ\bar xxˉ is ∇f(xˉ)\nabla f(\bar x)∇f(xˉ), and y′zy'zy′z denotes the inner product.

The generalized Fritz John conditions hold at xˉ\bar xxˉ if there are uˉ=(uˉ0,uˉ1,…,uˉm)\bar u = (\bar u_0, \bar u_1, \dots, \bar u_m)uˉ=(uˉ0​,uˉ1​,…,uˉm​) and vˉ=(vˉ1,…,vˉk)\bar v = (\bar v_1, \dots, \bar v_k)vˉ=(vˉ1​,…,vˉk​) with

uˉ0∇θ(xˉ)+∑i=1muˉi∇gi(xˉ)+∑j=1kvˉj∇hj(xˉ)=0,∑i=1muˉigi(xˉ)=0,uˉ≥0,(uˉ,vˉ)≠0.\bar u_0 \nabla\theta(\bar x) + \sum_{i=1}^m \bar u_i \nabla g_i(\bar x) + \sum_{j=1}^k \bar v_j \nabla h_j(\bar x) = 0, \qquad \sum_{i=1}^m \bar u_i g_i(\bar x) = 0, \qquad \bar u \ge 0, \qquad (\bar u, \bar v) \ne 0 .uˉ0​∇θ(xˉ)+i=1∑m​uˉi​∇gi​(xˉ)+j=1∑k​vˉj​∇hj​(xˉ)=0,i=1∑m​uˉi​gi​(xˉ)=0,uˉ≥0,(uˉ,vˉ)=0.

The Kuhn–Tucker conditions are the same system with uˉ0=1\bar u_0 = 1uˉ0​=1 and no nontriviality requirement.

Formalization targets

Goal: the generalized Fritz John necessary conditions (p. 41)

If xˉ\bar xxˉ is a solution of (1.1), then there exist uˉ∈Em+1\bar u \in E^{m+1}uˉ∈Em+1 and vˉ∈Ek\bar v \in E^kvˉ∈Ek with

uˉ0∇θ(xˉ)+∑i=1muˉi∇gi(xˉ)+∑j=1kvˉj∇hj(xˉ)=0,∑i=1muˉigi(xˉ)=0,uˉ≥0,(uˉ,vˉ)≠0.(2.9–2.12)\bar u_0 \nabla\theta(\bar x) + \sum_{i=1}^m \bar u_i \nabla g_i(\bar x) + \sum_{j=1}^k \bar v_j \nabla h_j(\bar x) = 0, \quad \sum_{i=1}^m \bar u_i g_i(\bar x) = 0, \quad \bar u \ge 0, \quad (\bar u, \bar v) \ne 0. \tag{2.9–2.12}uˉ0​∇θ(xˉ)+i=1∑m​uˉi​∇gi​(xˉ)+j=1∑k​vˉj​∇hj​(xˉ)=0,i=1∑m​uˉi​gi​(xˉ)=0,uˉ≥0,(uˉ,vˉ)=0.(2.9–2.12)

No regularity of the constraints is assumed. The nontriviality requirement covers uˉ0\bar u_0uˉ0​, the uˉi\bar u_iuˉi​ and the vˉj\bar v_jvˉj​ together.

Milestones

  1. Motzkin's transposition theorem (p. 39): for real matrices A,B,CA, B, CA,B,C with AAA nonempty, exactly one of y′A<0, y′B≤0, y′C=0y'A < 0,\ y'B \le 0,\ y'C = 0y′A<0, y′B≤0, y′C=0 and Az1+Bz2+Cz3=0, z1≥0, z1≠0, z2≥0Az_1 + Bz_2 + Cz_3 = 0,\ z_1 \ge 0,\ z_1 \ne 0,\ z_2 \ge 0Az1​+Bz2​+Cz3​=0, z1​≥0, z1​=0, z2​≥0 is solvable.
  2. Lemma 1 (pp. 39–40): if fi(xˉ)=0f_i(\bar x) = 0fi​(xˉ)=0, hj(xˉ)=0h_j(\bar x) = 0hj​(xˉ)=0 at some xˉ\bar xxˉ in an open set DDD, no x∈Dx \in Dx∈D has fi(x)<0f_i(x) < 0fi​(x)<0 for all iii and hj(x)=0h_j(x) = 0hj​(x)=0 for all jjj, and the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) are linearly independent, then no yyy has y′∇fi(xˉ)<0y'\nabla f_i(\bar x) < 0y′∇fi​(xˉ)<0 and y′∇hj(xˉ)=0y'\nabla h_j(\bar x) = 0y′∇hj​(xˉ)=0.
  3. Lemma 2 (p. 40): under the same assumptions, without independence, there are rˉ≥0\bar r \ge 0rˉ≥0 and sˉ\bar ssˉ, not both zero, with ∑rˉi∇fi(xˉ)+∑sˉj∇hj(xˉ)=0\sum \bar r_i \nabla f_i(\bar x) + \sum \bar s_j \nabla h_j(\bar x) = 0∑rˉi​∇fi​(xˉ)+∑sˉj​∇hj​(xˉ)=0.
  4. DDD is open (p. 41): D={x:gi(x)<0, i∈M∖Mˉ}D = \{x : g_i(x) < 0,\ i \in M \setminus \bar M\}D={x:gi​(x)<0, i∈M∖Mˉ} is open.
  5. The reduction (pp. 41–42): at a solution xˉ\bar xxˉ of (1.1), xˉ∈D\bar x \in Dxˉ∈D and the system θ(x)−θ(xˉ)<0\theta(x) - \theta(\bar x) < 0θ(x)−θ(xˉ)<0, gi(x)<0g_i(x) < 0gi​(x)<0 (i∈Mˉi \in \bar Mi∈Mˉ), hj(x)=0h_j(x) = 0hj​(x)=0 has no solution in DDD.

Companion results

  • Corollary (p. 43): the generalized Fritz John conditions hold at any feasible point satisfying (2.27) or (2.28).
  • The generalized constraint qualification (pp. 43–44): at a solution, yˉ′∇gi(xˉ)<0\bar y'\nabla g_i(\bar x) < 0yˉ​′∇gi​(xˉ)<0 (i∈Mˉi \in \bar Mi∈Mˉ), yˉ′∇hj(xˉ)=0\bar y'\nabla h_j(\bar x) = 0yˉ​′∇hj​(xˉ)=0 and independent ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) imply the Kuhn–Tucker conditions.
  • The splitting remark (p. 38): after splitting equalities, every feasible point satisfies Fritz John's original conditions.

Significance

The theorem is a multiplier rule for smooth programs with both kinds of constraints and no assumption on the constraints. It has two direct consequences in the paper. First, it yields MFCQ, the condition (3.4)–(3.6) under which the Kuhn–Tucker conditions hold at every solution. MFCQ is weaker than linear independence of all active gradients (LICQ), and it is equivalent to boundedness of the Kuhn–Tucker multiplier set (Gauvin, 1977). Second, the corollary identifies feasible non-minimizers at which the conditions hold anyway.

The result is classical and its proof is in every nonlinear-programming textbook. Mathlib has the equality-constrained Lagrange multiplier rule for a local extremum (IsLocalExtrOn.exists_multipliers_of_hasStrictFDerivAt) and the implicit function theorem, and Prove2Me has a formalized Fritz John theorem for inequality constraints only. To our knowledge no machine-checked proof of the mixed equality–inequality Fritz John rule, of MFCQ, or of Motzkin's transposition theorem in this form exists. The formalization would provide the standard multiplier rule and qualification on which a formal theory of nonlinear programming builds.

Difficulty

With inequalities alone, John's theorem follows from the observation that if xˉ\bar xxˉ is a minimizer, no direction yyy strictly decreases θ\thetaθ and every active gig_igi​ to first order; Motzkin's (or Gordan's) theorem then produces the multipliers. With equalities the first step fails: a direction with y′∇hj(xˉ)=0y'\nabla h_j(\bar x) = 0y′∇hj​(xˉ)=0 is tangent to the equality manifold but generally leaves it, so a first-order descent direction does not yield a feasible point with smaller objective. Lemma 1 is precisely the claim that it does when the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) are independent, and it needs a curve inside {h=0}\{h = 0\}{h=0} along which the strict inequalities persist: the implicit function theorem, applied on an open set, with care that the curve stays in DDD. The linearly dependent case must be handled separately, and it is the only place the multipliers vˉ\bar vvˉ can be nonzero with uˉ=0\bar u = 0uˉ=0.

Formalization scope

EnE^nEn is EuclideanSpace ℝ (Fin n), the inner product y′zy'zy′z is inner ℝ y z, and ∇f(xˉ)\nabla f(\bar x)∇f(xˉ) is Mathlib's gradient f xbar. "Continuous first partial derivatives on EnE^nEn", the standing assumption of §1, is ContDiff ℝ 1 (equivalent in finite dimension) and is a hypothesis of the goal, the corollary and the constraint qualification; Lemma 1 and Lemma 2 use ContDiffOn ℝ 1 · D on an open set DDD, as on the page. Indices i∈Mi \in Mi∈M and j∈Kj \in Kj∈K are Fin m and Fin k, 0-based; m=0m = 0m=0 and k=0k = 0k=0 are allowed. The multiplier vector uˉ∈Em+1\bar u \in E^{m+1}uˉ∈Em+1 is split into u0 : ℝ and u : Fin m → ℝ, and (uˉ,vˉ)≠0(\bar u, \bar v) \ne 0(uˉ,vˉ)=0 is "u0 ≠ 0, or some u i ≠ 0, or some v j ≠ 0". A solution of (1.1) is a global minimizer over SSS, as the proof on p. 42 uses. In Motzkin's theorem a matrix is the family of its columns, and "either … or …, but never both" is Xor. In Lemma 2, "the assumptions of Lemma 1" exclude the proviso (2.5) of linear independence, which the proof of Lemma 2 treats separately.

The goal does not assume linear independence of the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ), does not mention DDD or Lemma 1, and requires (uˉ,vˉ)≠0(\bar u, \bar v) \ne 0(uˉ,vˉ)=0 with uˉ0\bar u_0uˉ0​ included; a formalization that drops uˉ0\bar u_0uˉ0​ from the nontriviality condition is false at m=k=0m = k = 0m=k=0, and one that requires uˉ0≠0\bar u_0 \ne 0uˉ0​=0 is the Kuhn–Tucker statement, false without a qualification.

A complete development needs Motzkin's (or Gordan's) theorem of the alternative, which is reusable well beyond this mission, and the implicit function theorem on open sets in Euclidean space with a C1C^1C1 curve argument. Proofs of any milestone are welcome, as is a proof of the goal by another route.

Selected references

  • O. L. Mangasarian and S. Fromovitz, The Fritz John necessary optimality conditions in the presence of equality and inequality constraints, J. Math. Anal. Appl. 17 (1967), 37–47. https://doi.org/10.1016/0022-247X(67)90163-1
  • F. John, Extremum problems with inequalities as subsidiary conditions, in Studies and Essays Presented to R. Courant on his 60th Birthday, Interscience, New York, 1948, 187–204.
  • H. W. Kuhn and A. W. Tucker, Nonlinear programming, Proc. Second Berkeley Symposium on Mathematical Statistics and Probability, University of California Press, 1951, 481–492.
  • J. Gauvin, A necessary and sufficient regularity condition to have bounded multipliers in nonconvex programming, Math. Programming 12 (1977), 136–138. https://doi.org/10.1007/BF01593777
  • O. L. Mangasarian, Nonlinear Programming, McGraw-Hill, 1969; reprinted SIAM Classics in Applied Mathematics 10, 1994. https://doi.org/10.1137/1.9781611971255
7 thms1 active userReviewed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Stochastic Processes Occurring in the Theory of Queues and their Analysis by the Method of the Imbedded Markov Chain: In GI/M/s, a Positive Wait Is Exponential and a Positive Queue GeometricResearch Paper

Motivation

A many-server queue in which customers arrive at the epochs of a renewal process and are served for exponential times is the basic model of a telephone exchange, a call centre, or a bank of identical machines. Its continuous-time queue-length process is not Markovian unless the arrivals are Poisson, so Erlang's birth–death formulas for M/M/s do not apply. In 1953 D. G. Kendall showed how to analyse such systems by the method of the imbedded Markov chain: observe the system only at the arrival epochs, where the number of customers present does form a Markov chain, and read the equilibrium behaviour off that chain (Kendall 1953).

Timeline:

  • Erlang (1908–1929) treated M/M/s, where the queue length is itself Markovian.
  • Kendall (1951) treated M/G/1 by a chain imbedded at departure epochs.
  • W. L. Smith (Kendall's ref. [19]) observed that for a single server, under restrictions on the input law, exponential service gives an exponential waiting time apart from an atom at zero.
  • Kendall (1953), this paper, treated GI/M/s for every input law and every number of servers sss, and showed that Smith's restrictions are unnecessary.
  • Foster (1953) gave the criterion for ergodicity of a denumerable chain through a summable invariant vector, which is the step Kendall's argument relies on.

Setting

Customers arrive with independent inter-arrival times of law AAA on [0,∞)[0,\infty)[0,∞) and mean aaa, 0<a<∞0<a<\infty0<a<∞. There are s≥1s\ge 1s≥1 servers and a single queue served first come, first served. Service times are independent of one another and of the input, negative-exponential with mean bbb, 0<b<∞0<b<\infty0<b<∞. The relative traffic intensity is ρ=b/(sa)\rho=b/(sa)ρ=b/(sa).

The state of the imbedded chain at an arrival epoch is the number i∈{0,1,2,… }i\in\{0,1,2,\dots\}i∈{0,1,2,…} of persons found ahead (waiting or in service) by the arriving customer. Its transition matrix P=[pij]P=[p_{ij}]P=[pij​] of eq. (8) is given in three blocks, written with the death-process probabilities [n∣m]=∫0∞(mn)(1−e−u/b)ne−(m−n)u/b dA(u)[n\mid m]=\int_0^\infty\binom{m}{n}(1-e^{-u/b})^n e^{-(m-n)u/b}\,dA(u)[n∣m]=∫0∞​(nm​)(1−e−u/b)ne−(m−n)u/bdA(u) of (9)–(10), the probabilities {n∣s;m}\{n\mid s;m\}{n∣s;m} of (11)–(12), and the Poisson probabilities (n∣s)=∫0∞e−su/b(su/b)n/n! dA(u)(n\mid s)=\int_0^\infty e^{-su/b}(su/b)^n/n!\,dA(u)(n∣s)=∫0∞​e−su/b(su/b)n/n!dA(u) of (13)–(14):

pij={(i+1−j∣s)j≥s, j≤i+1,[ i+1−j∣i+1 ]i<s, j<s, j≤i+1,{s−j∣s; i−s+1}i≥s, j<s,0j>i+1.p_{ij}=\begin{cases}(i+1-j\mid s) & j\ge s,\ j\le i+1,\\ [\,i+1-j\mid i+1\,] & i<s,\ j<s,\ j\le i+1,\\ \{s-j\mid s;\,i-s+1\} & i\ge s,\ j<s,\\ 0 & j>i+1.\end{cases}pij​=⎩⎨⎧​(i+1−j∣s)[i+1−j∣i+1]{s−j∣s;i−s+1}0​j≥s, j≤i+1,i<s, j<s, j≤i+1,i≥s, j<s,j>i+1.​

The key function is

F(λ)=∫0∞e−(1−λ)su/b dA(u).F(\lambda)=\int_0^\infty e^{-(1-\lambda)su/b}\,dA(u).F(λ)=∫0∞​e−(1−λ)su/bdA(u).

The queue size met by an arrival is Q=max⁡(i−s,0)Q=\max(i-s,0)Q=max(i−s,0). The waiting time www is, given iii, the sum of k=max⁡(i−s+1,0)k=\max(i-s+1,0)k=max(i−s+1,0) independent exponential variables of mean b/sb/sb/s.

Formalization targets

Goal: Theorem IV (p. 350)

When ρ<1\rho<1ρ<1 the chain has a limiting distribution π\piπ, and with λ\lambdaλ the root of F(λ)=λF(\lambda)=\lambdaF(λ)=λ in (0,1)(0,1)(0,1) and c=b/(s(1−λ))c=b/(s(1-\lambda))c=b/(s(1−λ)),

Pr⁡(Q=n∣Q>0)=(1−λ)λn−1 (n≥1),Pr⁡(w>t∣w>0)=e−t/c (t≥0),\Pr(Q=n\mid Q>0)=(1-\lambda)\lambda^{n-1}\ (n\ge1),\qquad \Pr(w>t\mid w>0)=e^{-t/c}\ (t\ge0),Pr(Q=n∣Q>0)=(1−λ)λn−1 (n≥1),Pr(w>t∣w>0)=e−t/c (t≥0),

with both conditioning events of positive probability. The goal fixes no constant beyond those the theorem names: λ\lambdaλ and ccc are determined by AAA, bbb and sss.

Milestones

  • The matrix is stochastic (p. 349), and the chain is irreducible and aperiodic (p. 347).
  • The coefficients (n∣s)(n\mid s)(n∣s) are positive, sum to one and have mean 1/ρ1/\rho1/ρ; F(λ)=∑n(n∣s)λnF(\lambda)=\sum_n (n\mid s)\lambda^nF(λ)=∑n​(n∣s)λn; for ρ<1\rho<1ρ<1 the equation F(λ)=λF(\lambda)=\lambdaF(λ)=λ has a unique root in (0,1)(0,1)(0,1) (p. 348–349).
  • For the trial vector x=[μ0,…,μs−2,1,λ,λ2,… ]x=[\mu_0,\dots,\mu_{s-2},1,\lambda,\lambda^2,\dots]x=[μ0​,…,μs−2​,1,λ,λ2,…] (15): the invariance equations for j≥sj\ge sj≥s are equivalent to F(λ)=λF(\lambda)=\lambdaF(λ)=λ; those for 1≤j≤s−11\le j\le s-11≤j≤s−1 determine the μ\muμ's; the one for j=0j=0j=0 follows from the row sums (pp. 348–349).
  • A nonnull absolutely summable invariant vector makes the chain ergodic, and normalized it is the limiting distribution (p. 348).
  • Theorem I: for ρ<1\rho<1ρ<1 the chain is irreducible and ergodic, and πj=Cλj−(s−1)\pi_j=C\lambda^{j-(s-1)}πj​=Cλj−(s−1) for j≥s−1j\ge s-1j≥s−1.
  • Theorem II: Pr⁡(Q=0)=α=∑μ+1+λ∑μ+1/(1−λ)\Pr(Q=0)=\alpha=\dfrac{\sum\mu+1+\lambda}{\sum\mu+1/(1-\lambda)}Pr(Q=0)=α=∑μ+1/(1−λ)∑μ+1+λ​ and Pr⁡(w=0)=β=∑μ+1∑μ+1/(1−λ)\Pr(w=0)=\beta=\dfrac{\sum\mu+1}{\sum\mu+1/(1-\lambda)}Pr(w=0)=β=∑μ+1/(1−λ)∑μ+1​.
  • Theorem III: E(Q)=(1−α)/(1−λ)E(Q)=(1-\alpha)/(1-\lambda)E(Q)=(1−α)/(1−λ) and E(w)/b=(1−β)/(s(1−λ))E(w)/b=(1-\beta)/(s(1-\lambda))E(w)/b=(1−β)/(s(1−λ)).
  • Eq. (27): for M/M/s the root is λ=ρ\lambda=\rhoλ=ρ.

Significance

Theorem IV says that, whatever the input law and the number of servers, the part of the equilibrium waiting-time law away from zero is exponential and the part of the queue-size law away from zero is geometric, both governed by the single number λ\lambdaλ. All equilibrium quantities of GI/M/s (Theorems II–III and the delay distribution) then reduce to computing λ\lambdaλ from a one-dimensional equation and the finitely many μ\muμ's from a triangular linear system. This is the standard textbook treatment of G/M/c queues and the template for many later matrix-geometric results.

The results are proved in the paper, partly by appeal to Feller's theory of denumerable chains and to "tedious but elementary" verifications. None of them is machine-checked. The mission formalizes the paper's chain of argument: the explicit transition matrix, its stochasticity, the reduction of the invariance equations, the passage from a summable invariant vector to the limiting distribution, and the computation of the laws of QQQ and www from it. The single-server special cases are posed separately on the platform (QueueingFundamentals.GM1.arrival_point_geometric, GM1.waiting_time_cdf, GM1.arrival_point_means, GM1.mean_waiting_times, FosterQueues.GIM1.gim1_classification); they do not cover s≥2s\ge2s≥2.

Difficulty

The obvious route is to guess the geometric tail and check it against the balance equations. For j≥sj\ge sj≥s this works, but the rows i≥si\ge si≥s of the block B\mathbf BB involve the convolution integral (11), and the equations for j<sj<sj<s couple the geometric tail to the boundary terms μ0,…,μs−2\mu_0,\dots,\mu_{s-2}μ0​,…,μs−2​. Showing these are solvable, and that the row sums of the three-block matrix equal one, requires handling (11) explicitly. The second obstacle is the limit theorem itself: an invariant vector does not, by itself, give pijn→πjp^n_{ij}\to\pi_jpijn​→πj​. That step needs Feller's dichotomy for irreducible aperiodic denumerable chains, which Mathlib does not provide. Finally, the conditional waiting-time law requires summing an Erlang mixture with geometric weights in closed form.

Formalization scope

The queue process itself is not formalized. The chain is defined by its transition matrix (8)–(14), and www by the Erlang mixture of p. 349, as the paper derives both by a modelling argument. A chain is any TransitionMatrix P of the published Markov-chain vocabulary with P.p = gimsMatrix s A b; states are 000-based. "Ergodic" is Feller's: Aperiodic ∧ PositiveRecurrent. The limiting distribution is asserted as Tendsto (P.stepProb n i j) atTop (𝓝 (π j)) for all i,ji,ji,j, not as a stationary vector. The input law satisfies the published IsInterarrivalLaw A a⁻¹ (a probability measure carried by [0,∞)[0,\infty)[0,∞), integrable, mean aaa), and (n∣s)(n\mid s)(n∣s) is the published serviceProb A (s/b) n. Conditional laws are stated multiplied out, together with positivity of the conditioning probabilities. Every series identity is stated with HasSum.

Trivializing formalizations are ruled out: λ\lambdaλ is tied to F(λ)=λF(\lambda)=\lambdaF(λ)=λ on (0,1)(0,1)(0,1) rather than free; π\piπ is the limiting distribution of PPP, asserted to exist, not a probability vector handed to the statement; the conditioning events are asserted to have positive probability; the matrix is the GI/M/s matrix, not the GI/M/1 one; and the μ\muμ's of Theorems II–III are characterized by the invariance equations, never defined from π\piπ.

A complete development needs: Feller's limit theorem for irreducible aperiodic positive recurrent chains (reusable well beyond this mission), Foster's sufficiency criterion (referenced, open), Fubini for the stochastic-matrix identities, parametric interval integrals for the block B\mathbf BB, and Erlang distribution functions. Contributions to the general Markov-chain milestones are as welcome as those specific to GI/M/s.

Selected references

  • D. G. Kendall, Stochastic processes occurring in the theory of queues and their analysis by the method of the imbedded Markov chain, Ann. Math. Statist. 24(3), 338–354, 1953. https://doi.org/10.1214/aoms/1177728975
  • F. G. Foster, On the stochastic matrices associated with certain queuing processes, Ann. Math. Statist. 24(3), 355–360, 1953. https://doi.org/10.1214/aoms/1177728976
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, Wiley, 1950, ch. 15.
  • W. L. Smith, On the distribution of queueing times, Proc. Cambridge Philos. Soc. 49, 449–461, 1953 (cited by Kendall as "to be published", ref. [19]).
  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §5.3.
22 thms3 active usersReviewed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Job Matching, Coalition Formation, and Gross Substitutes 1: Under Gross Substitutes the Salary-Adjustment Process Reaches a Discrete Core Allocation in Finitely Many RoundsResearch Paper

Motivation

Labor markets match workers to firms, and the terms of each match (the salary) are negotiated along with the match itself. A firm's output depends on the whole team it hires, so a firm cares about sets of workers, not individual workers one at a time. Kelso and Crawford (1982) asked when such a market has a stable outcome, the core, in which no firm and group of workers can agree on terms that all of them prefer, and when a simple decentralized auction finds one.

Their answer is the gross-substitutes condition: raising some workers' salaries never makes a firm withdraw an offer from a worker whose salary has not risen. Under it, an ascending process in which firms make offers and workers reject all but their favorite reaches a core allocation. This condition became the standard hypothesis for the existence of Walrasian equilibrium with indivisible goods (Gul and Stacchetti 1999), it is the hypothesis behind matching with contracts (Hatfield and Milgrom 2005), and the process is the ancestor of ascending auction designs.

Timeline.

  • 1962: Gale and Shapley, deferred acceptance for one-to-one and many-to-one matching without money.
  • 1971: Shapley and Shubik, the assignment game: one-to-one matching with transferable utility; the core is nonempty and is the set of solutions of a dual linear program.
  • 1981: Crawford and Knoer, a salary-adjustment process for one-to-one matching with money, converging to the core.
  • 1982: Kelso and Crawford, many-to-one matching with money and production complementarities; existence of the core under gross substitutes via the salary-adjustment process (Theorem 1, the target of this mission).

Setting

There are finitely many workers i∈Wi \in Wi∈W and firms j∈Fj \in Fj∈F, with at least one firm. Worker iii's utility of working for firm jjj at salary sss is ui(j;s)u^i(j; s)ui(j;s), strictly increasing and continuous in sss. Firm jjj's gross product from hiring the set C⊆WC \subseteq WC⊆W is yj(C)y^j(C)yj(C), and its profit at the salary vector sj=(s1j,…,smj)s^j = (s_{1j},\dots,s_{mj})sj=(s1j​,…,smj​) is

πj(C;sj)=yj(C)−∑i∈Csij.\pi^j(C; s^j) = y^j(C) - \sum_{i \in C} s_{ij}.πj(C;sj)=yj(C)−i∈C∑​sij​.

Mj(sj)M^j(s^j)Mj(sj) is the set of profit-maximizing CCC. Each pair has a starting salary σij\sigma_{ij}σij​. The assumptions (p. 1486) are (MP) yj(C∪{i})−yj(C)−σij≥0y^j(C \cup \{i\}) - y^j(C) - \sigma_{ij} \ge 0yj(C∪{i})−yj(C)−σij​≥0 for i∉Ci \notin Ci∈/C; (NFL) yj(∅)=0y^j(\emptyset) = 0yj(∅)=0; and (GS): if C∈Mj(sj)C \in M^j(s^j)C∈Mj(sj) and s~j≥sj\tilde s^j \ge s^js~j≥sj, some C~∈Mj(s~j)\tilde C \in M^j(\tilde s^j)C~∈Mj(s~j) contains {i∈C:s~ij=sij}\{i \in C : \tilde s_{ij} = s_{ij}\}{i∈C:s~ij​=sij​}.

In the discrete market with unit δ>0\delta > 0δ>0, firm jjj may pay worker iii only σij+kδ\sigma_{ij} + k\deltaσij​+kδ, k=0,1,2,…k = 0, 1, 2, \dotsk=0,1,2,…. An allocation sends each worker iii to a firm f(i)f(i)f(i) at a salary sif(i)s_{if(i)}sif(i)​; it is individually rational (D1) if sif(i)≥σif(i)s_{if(i)} \ge \sigma_{if(i)}sif(i)​≥σif(i)​ and every firm's profit is nonnegative. It is a (discrete) core allocation (D3) if it is individually rational, pays permitted salaries, and no firm jjj, set CCC and permitted salaries rjr^jrj satisfy ui(j;rij)>ui(f(i);sif(i))u^i(j; r_{ij}) > u^i(f(i); s_{if(i)})ui(j;rij​)>ui(f(i);sif(i)​) for all i∈Ci \in Ci∈C and πj(C;rj)>πj(Cj;sj)\pi^j(C; r^j) > \pi^j(C^j; s^j)πj(C;rj)>πj(Cj;sj).

The salary-adjustment process (pp. 1488–1489), verbatim:

R1. Firms begin facing a set of permitted salaries sij(0)=σijs_{ij}(0) = \sigma_{ij}sij​(0)=σij​. Permitted salaries at round ttt, sij(t)s_{ij}(t)sij​(t), remain constant, except as noted below. In round zero, each firm makes offers to all workers; this is costless by (MP).

R2. On each round, each firm makes offers to the members of one of its favorite sets of workers, given the schedule of permitted salaries sj(t)≡[s1j(t),…,smj(t)]s^j(t) \equiv [s_{1j}(t), \dots, s_{mj}(t)]sj(t)≡[s1j​(t),…,smj​(t)]. That is, firm jjj makes offers to the members of Cj[sj(t)]C^j[s^j(t)]Cj[sj(t)], where Cj[sj(t)]C^j[s^j(t)]Cj[sj(t)] maximizes πj[C;sj(t)]\pi^j[C; s^j(t)]πj[C;sj(t)]. Firms may break ties between sets of workers however they like, with the following exception: Any offer made by firm jjj in round t−1t - 1t−1 that was not rejected must be repeated in round ttt. By (GS), the firm sacrifices no profits in doing this, since (by R4) other workers' permitted salaries cannot have fallen, and the salary of a worker who did not reject an offer remains constant.

R3. Each worker who receives one or more offers rejects all but his or her favorite (taking salaries into account), which he or she tentatively accepts. Workers may break ties at any time however they like.

R4. Offers not rejected in previous periods remain in force. If worker iii rejected an offer from firm jjj in round t−1t - 1t−1, sij(t)=sij(t−1)+1s_{ij}(t) = s_{ij}(t - 1) + 1sij​(t)=sij​(t−1)+1; otherwise sij(t)=sij(t−1)s_{ij}(t) = s_{ij}(t - 1)sij​(t)=sij​(t−1). Firms continue to make offers to their favorite sets of workers, taking into account their permitted salaries.

R5. The process stops when no rejections are issued in some period. Workers then accept the offers that remain in force from the firms they have not rejected.

Formalization targets

Goal: Theorem 1 (p. 1489)

"The salary-adjustment process R1–R5 converges in finite time to a discrete core allocation in the discrete market for which it is defined." Formally, under the assumptions above:

(∃ a run) ∧ ∀ρ run: (∃T: ρ issues no rejections in round T) ∧ (∀T such rounds, outcomeρ(T) is a discrete core allocation).\Big(\exists \text{ a run}\Big)\ \wedge\ \forall \rho \text{ run}:\ \Big(\exists T:\ \rho \text{ issues no rejections in round } T\Big)\ \wedge\ \Big(\forall T \text{ such rounds},\ \text{outcome}_\rho(T) \text{ is a discrete core allocation}\Big).(∃ a run) ∧ ∀ρ run: (∃T: ρ issues no rejections in round T) ∧ (∀T such rounds, outcomeρ​(T) is a discrete core allocation).

Milestones, in the paper's order

  1. R2 is well defined: a run exists (each firm has a favorite set containing its unrejected offers).
  2. Lemma 1: every worker has at least one offer in every period.
  3. Lemma 2: after finitely many rounds every worker has exactly one offer and the process stops.
  4. Lemma 3: the allocation at a stopping round is individually rational.
  5. Lemma 4: the allocation at a stopping round is a discrete core allocation.

Significance

Theorem 1 gives the existence of a core allocation in every discrete market satisfying (MP), (NFL) and (GS), with no convexity of production and arbitrary complementarity within the limits of (GS). It is the step from which the paper derives the existence of a strict core allocation of the continuous market (Theorem 2, by letting the unit shrink), and with additional no-ties assumptions the firm-optimality of the process's outcome (Theorem 4) and the comparative statics of entry and exit (Theorem 5).

The result is proved in the paper and has been reproved in more general settings; it has no machine-checked proof known to us. Nothing of this paper was on Prove2Me before this series. Related platform work, credited but not reused: the Gale–Shapley deferred-acceptance development (GS62CollegeAdmissions.*, proved), the no-money ancestor of this process; and the Shapley–Shubik assignment game (AssignmentGame.CoreLP), whose core the process approximates when production is additively separable. Neither states anything about this process. This mission is mission 1 of a series of seven on the paper: 2 (strict core of the continuous market), 3 (one-sided coalition formation), 4 (firm-optimality), 5 (comparative statics), 6 (gross substitutes and decreasing returns), 7 (a market without a core). Each states its own model.

Difficulty

The process is quantified over all tie-breakings, so no single computation settles it; the statements are about every sequence of rounds consistent with R1–R5. Two points carry the content. First, R2 imposes a constraint that may not be satisfiable: a firm must repeat its unrejected offers and choose a profit-maximizing set. Without (GS) no such set need exist and the process is not defined. Second, the core property at the stopping round compares the outcome with coalitions using salaries the process never reached; the comparison is with salaries on the discrete grid only, and it is false if coalitions may use salaries below σij\sigma_{ij}σij​ or off the grid. Termination is not automatic either: the process may continue after a round without rejections, salaries are real numbers, and no bound on the number of rounds is given.

Formalization scope

Lean representation, in namespace KelsoCrawford.Process:

  • Market W F carries u, y, σ; workers and firms are finite types, with [Nonempty F] (the paper's n≥1n \ge 1n≥1; with no firms and some worker no run exists).
  • Allocation assigns every worker to a firm (no unemployment, as in the paper's fff).
  • (GS) is GrossSubstitutesOn (M.y j) (M.gridVectors δ j) for each firm: the discrete (GS), since the paper notes that a discrete market may satisfy (GS) while its continuous version does not.
  • The core is D3 with permitted salaries M.grid δ ={σij+kδ:k∈N}= \{\sigma_{ij} + k\delta : k \in \mathbb N\}={σij​+kδ:k∈N}.
  • A Run records salaries, offers and tentative choices per round; IsRun is R1–R4, Stopped is R5's "no rejections", outcome is R5's allocation.

Explicit readings of the paper's phrases:

  • "converges in finite time" = every run has a round without rejections; no bound on that round is claimed;
  • "to a discrete core allocation" = at every round without rejections, the allocation read off is in the discrete core;
  • the unit 111 of R4 is a parameter δ>0\delta > 0δ>0 (same theorem in rescaled units);
  • σij\sigma_{ij}σij​ is data; its defining relation ui(j;σij)=ui(0;0)u^i(j;\sigma_{ij}) = u^i(0;0)ui(j;σij​)=ui(0;0) is not assumed (a more general statement).

The existence of a run is part of the goal: without it, statements about all runs would be vacuous. Fixing a tie-breaking rule would turn the statements into claims about a single run and is ruled out; so are the strict core D2 (false here because of ties at the grid) and an integer grid below σij\sigma_{ij}σij​ (false for improving coalitions). Proofs of the milestones and reusable infrastructure for ascending processes are welcome.

Selected references

  • A. S. Kelso, Jr. and V. P. Crawford, Job matching, coalition formation, and gross substitutes, Econometrica 50(6), 1982, 1483–1504. https://doi.org/10.2307/1913392
  • V. P. Crawford and E. M. Knoer, Job matching with heterogeneous firms and workers, Econometrica 49(2), 1981, 437–450. https://doi.org/10.2307/1913320
  • D. Gale and L. S. Shapley, College admissions and the stability of marriage, American Mathematical Monthly 69(1), 1962, 9–15. https://doi.org/10.2307/2312726
  • L. S. Shapley and M. Shubik, The assignment game I: The core, International Journal of Game Theory 1, 1971, 111–130. https://doi.org/10.1007/BF01753437
  • F. Gul and E. Stacchetti, Walrasian equilibrium with gross substitutes, Journal of Economic Theory 87(1), 1999, 95–124. https://doi.org/10.1006/jeth.1999.2531
  • J. W. Hatfield and P. R. Milgrom, Matching with contracts, American Economic Review 95(4), 2005, 913–935. https://doi.org/10.1257/0002828054825466
8 thms1 active userReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Application of the Branch and Bound Technique to Some Flow-Shop Scheduling Problems 1: Branch and Bound with the Three-Machine Lower Bound Finds a Minimum-Makespan SequenceResearch Paper

Motivation

In a flow shop every job passes through the same machines in the same order. Choosing the order in which jobs enter the shop so that the last job finishes as early as possible (minimizing the makespan) is one of the oldest problems of scheduling theory. For two machines Johnson (1954) gave an exact sorting rule; for three machines his rule is exact only in special cases, and the general problem was later shown to be NP-hard (Garey, Johnson and Sethi, 1976). Exact methods for three or more machines therefore enumerate sequences, and the question is how to enumerate as few of them as possible.

Ignall and Schrage (1965), at the same time as Lomnicki (Operational Research Quarterly, 1965), introduced branch and bound for the three-machine permutation flow shop. Their lower bound, which adds to the time each machine becomes free the work that remains on it and the least work that must follow on later machines, became the template for the machine-based bounds used in flow-shop branch and bound ever since.

Timeline. 1954: Johnson proves the two-machine rule and shows that for three machines a common job order on all machines loses nothing for the makespan. 1960: Land and Doig introduce branch and bound for integer programs. 1965: Ignall–Schrage and Lomnicki apply it to the three-machine flow shop. 1976: Garey, Johnson and Sethi prove the three-machine makespan problem NP-hard, so exact enumeration with good bounds remains the method for exact solutions.

Setting

There are n≥1n\ge1n≥1 jobs and three machines AAA, BBB, CCC. Job iii needs time aia_iai​ on AAA, then bib_ibi​ on BBB, then cic_ici​ on CCC. Following Johnson, only permutation schedules are considered: a full sequence is a permutation σ\sigmaσ of the jobs, processed in that order on all three machines, each operation starting as early as possible. Its makespan is the time machine CCC finishes the last job.

A node JrJ_rJr​ is a partial sequence: an ordered list of rrr distinct jobs. Its unscheduled set Jˉr\bar J_rJˉr​ is the set of the other n−rn-rn−r jobs. The attributes TIMEA(Jr)\mathrm{TIMEA}(J_r)TIMEA(Jr​), TIMEB(Jr)\mathrm{TIMEB}(J_r)TIMEB(Jr​), TIMEC(Jr)\mathrm{TIMEC}(J_r)TIMEC(Jr​) are the times at which machines AAA, BBB, CCC finish the jobs of JrJ_rJr​ processed in order. A full sequence begins with JrJ_rJr​ when its first rrr positions are JrJ_rJr​. The lower bound of a node with Jˉr≠∅\bar J_r\neq\emptysetJˉr​=∅ is

LB(Jr)=max⁡[TIMEA(Jr)+∑Jˉrai+min⁡Jˉr(bi+ci), TIMEB(Jr)+∑Jˉrbi+min⁡Jˉrci, TIMEC(Jr)+∑Jˉrci].LB(J_r)=\max\Big[\mathrm{TIMEA}(J_r)+\sum_{\bar J_r}a_i+\min_{\bar J_r}(b_i+c_i),\ \mathrm{TIMEB}(J_r)+\sum_{\bar J_r}b_i+\min_{\bar J_r}c_i,\ \mathrm{TIMEC}(J_r)+\sum_{\bar J_r}c_i\Big].LB(Jr​)=max[TIMEA(Jr​)+Jˉr​∑​ai​+Jˉr​min​(bi​+ci​), TIMEB(Jr​)+Jˉr​∑​bi​+Jˉr​min​ci​, TIMEC(Jr​)+Jˉr​∑​ci​].

The branch-and-bound procedure keeps a list of nodes ranked by LBLBLB, starting from the root (no job scheduled). At each step it removes the first node, creates one child per unscheduled job by appending that job, and inserts the children ranked into the list, a new node going before old nodes of equal bound. It stops when the first node of the list is terminal, i.e. has scheduled n−1n-1n−1 jobs, so that its last job is forced.

Formalization targets

Goal: the stopping rule certifies an optimal sequence

∃k: the first node of run(k) is terminal,andfirst node P terminal ⟹ makespan(σP)≤makespan(σ)  ∀σ,\exists k:\ \text{the first node of } \mathrm{run}(k) \text{ is terminal},\qquad\text{and}\qquad \text{first node } P \text{ terminal} \ \Longrightarrow\ \mathrm{makespan}(\sigma_P)\le\mathrm{makespan}(\sigma)\ \ \forall\sigma ,∃k: the first node of run(k) is terminal,andfirst node P terminal ⟹ makespan(σP​)≤makespan(σ)  ∀σ,

where σP\sigma_PσP​ is PPP followed by its one unscheduled job. This is the paper's "the problem is solved: that node's sequence is an optimal one" (p. 402), for any real processing times.

Milestones

  1. Validity of the bound (p. 401): LB(Jr)≤makespan(σ)LB(J_r)\le\mathrm{makespan}(\sigma)LB(Jr​)≤makespan(σ) for every σ\sigmaσ beginning with JrJ_rJr​, r<nr<nr<n.
  2. Exactness at depth n−1n-1n−1 (general form of an observation on p. 403): for r=n−1r=n-1r=n−1, LB(Jn−1)LB(J_{n-1})LB(Jn−1​) equals the makespan of the completed sequence.
  3. Node counts (p. 403): at least 12n(n+1)\tfrac12n(n+1)21​n(n+1) nodes are created before stopping, at most 1+n+n(n−1)+⋯+n!1+n+n(n-1)+\cdots+n!1+n+n(n−1)+⋯+n! are ever created, and the list never holds more than n!n!n! nodes.
  4. Dominance (pp. 403–404): if JrJ_rJr​ and IrI_rIr​ contain the same jobs, TIMEA(Jr)=TIMEA(Ir)\mathrm{TIMEA}(J_r)=\mathrm{TIMEA}(I_r)TIMEA(Jr​)=TIMEA(Ir​); if also TIMEB(Jr)≤TIMEB(Ir)\mathrm{TIMEB}(J_r)\le\mathrm{TIMEB}(I_r)TIMEB(Jr​)≤TIMEB(Ir​) and TIMEC(Jr)≤TIMEC(Ir)\mathrm{TIMEC}(J_r)\le\mathrm{TIMEC}(I_r)TIMEC(Jr​)≤TIMEC(Ir​), replacing IrI_rIr​ by JrJ_rJr​ at the beginning of any sequence does not increase its makespan, and LB(Jr)≤LB(Ir)LB(J_r)\le LB(I_r)LB(Jr​)≤LB(Ir​) (p. 404).
  5. The 4-job example (pp. 402–403): the run stops after 6 steps with node 231 first, whose bound 62 is the optimal makespan.
  6. The refined bound (p. 409): the strengthened bound used in the paper's computations is still a lower bound.

Significance

The goal is the correctness theorem of the Ignall–Schrage algorithm: best-first search over partial sequences, with a machine-based bound, returns an optimal permutation. Milestone 1 is the bound's validity, which every later machine-based flow-shop bound generalizes; milestone 4 is the dominance rule that justifies discarding nodes; milestone 3 brackets the effort of the search between the best case 12n(n+1)\tfrac12n(n+1)21​n(n+1) and full enumeration.

The paper's arguments are short and informal: validity of the bound is asserted with a one-line reason, and optimality at stopping is argued on the example. None of these results has a machine-checked proof. The formalization makes the procedure itself a precise object (list, insertion rule, stopping rule) and turns the paper's claims into statements about it, so that the correctness of the search is proved rather than illustrated.

Difficulty

Each inequality is elementary, but the goal is a statement about an iterated list-manipulating procedure. The obvious argument "the first node has the smallest bound and the bound is valid" needs an invariant that the paper does not state: at every step, every full sequence begins with some node on the list, and the list is sorted. Both must be proved to survive one step of removal and ranked insertion. Termination is likewise not stated: it needs a measure that strictly decreases, for instance the set of nodes that remain to be created, which requires showing that no node is created twice. A tempting shortcut, proving optimality only among the sequences whose nodes were created, is not the theorem.

Formalization scope

Jobs are Fin n (the paper's job iii is i−1i-1i−1), processing times are arbitrary reals with no sign condition, and full sequences are Equiv.Perm (Fin n). The makespan is the machine-CCC completion time of Johnson's as-soon-as-possible schedule, taken from the published definition JohnsonFlowShop.ThreeStage.asapSchedule. Nodes are lists of jobs, and the node attributes are the same recursion folded over the list. Minima over Jˉr\bar J_rJˉr​ are Finset.inf'; on an empty set the auxiliary minimum returns a placeholder 000 that no statement evaluates.

Explicit readings of the paper's phrases:

  • "is a lower bound … for any node that emanates from node PPP" is "≤\le≤ the makespan of every permutation whose first rrr positions are JrJ_rJr​";
  • "a node that has scheduled all nnn jobs" is read as a node with n−1n-1n−1 jobs, whose sequence is completed by the forced last job. The example (stop at node 231 of a 4-job problem), the node counts and the formula for LBLBLB all require this reading;
  • "the problem is solved: that node's sequence is an optimal one" is termination together with optimality over all n!n!n! permutations;
  • "cannot be hurt by replacing IrI_rIr​ with JrJ_rJr​" compares the completions of JrJ_rJr​ and IrI_rIr​ by the same ordering of the remaining jobs;
  • children are inserted one at a time in increasing job index, each before every node with an equal bound; this reproduces the paper's LIST table;
  • dominance discarding is not part of the procedure in the goal.

A formalization in which the optimality claim ranges only over sequences the run created, or one that asserts optimality without termination, would be trivial or vacuous and is ruled out by the goal's statement.

Not formalized: the reduction from general schedules to permutation schedules (Johnson's Lemma 3, proved on the platform as JohnsonFlowShop.ThreeStage.same_ordering_dominant), the dominance bookkeeping and its percentages, the two-machine mean-completion problem (a separate mission of this series), the computational tables, and the TIMEB/TIMEC columns of the example's LIST table. No platform item treats flow-shop lower bounds or branch and bound over sequences; the nearest branch-and-bound mission, BiconvexProg.BranchBound (Al-Khayyal and Falk), concerns biconvex programs and is unrelated.

The lemmas a solver will want (the invariant of the list, monotonicity of the completion recursion in its start times, validity of the bound) are reusable for the two-machine mission and for any other machine-based bound. Proofs of the milestones, and of the goal from them, are welcome in any order.

Selected references

  • E. Ignall and L. Schrage, Application of the branch and bound technique to some flow-shop scheduling problems, Operations Research 13(3), 400–412, 1965. https://doi.org/10.1287/opre.13.3.400
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1), 61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • A. H. Land and A. G. Doig, An automatic method of solving discrete programming problems, Econometrica 28(3), 497–520, 1960. https://doi.org/10.2307/1910129
  • M. R. Garey, D. S. Johnson and R. Sethi, The complexity of flowshop and jobshop scheduling, Mathematics of Operations Research 1(2), 117–129, 1976. https://doi.org/10.1287/moor.1.2.117
13 thms2 active usersReviewed
Dynamic ProgrammingMarkov ChainOperations Research+1·Captain: mikedeng1

Some Monotonicity Results for Partially Observed Markov Decision Processes: MLR-Monotone Optimal Values and the Myopic Policy as a Lower Bound on the Optimal PolicyResearch Paper

Motivation

A partially observed Markov decision process (POMDP) models a controller that cannot see the state of the system it controls. It sees only noisy observations, and so it acts on a belief: a probability vector over the hidden states. Machine maintenance, medical screening, quality control and search problems all have this form. The dynamic program of a POMDP lives on the simplex of beliefs, a continuum, so computing exact optimal policies is expensive even when the state, action and observation sets are small. Structural results reduce that cost. A value function that is monotone in the belief, or a policy known to dominate a cheap reference policy, shrinks the space a computation must search. Such results also explain the model: they say when one belief is "better" than another.

W. S. Lovejoy, Some Monotonicity Results for Partially Observed Markov Decision Processes (Operations Research 35(5):736–743, 1987), provides such results by ordering beliefs with the monotone likelihood ratio (MLR) order instead of first-order stochastic dominance.

Timeline. Smallwood and Sondik (1973) set out the finite POMDP and its piecewise-linear value functions. White (1979, 1980) obtained monotone policies and values for machine replacement, for single-stage problems, and for the completely observed and completely unobserved extremes, all under first-order stochastic dominance. Albright (1979) treated the two-state case, where the usual orders coincide. Whitt (1979, 1982) developed the likelihood-ratio orders and showed that they are preserved by Bayesian updating. Lovejoy (1987) combined these into general monotonicity results for finite POMDPs, and the MLR order has since become the standard tool for structural results in POMDPs.

Setting

Let S={1,…,n}S=\{1,\dots,n\}S={1,…,n} (states) and O={1,…,m}O=\{1,\dots,m\}O={1,…,m} (observations) carry their natural orders, and let AAA be a finite, completely ordered action set. For a finite chain XXX, Π(X)\Pi(X)Π(X) is the set of probability vectors on XXX. For π,π′∈Π(X)\pi,\pi'\in\Pi(X)π,π′∈Π(X), π≥sπ′\pi\ge_s\pi'π≥s​π′ (first-order stochastic dominance) means ∑i≥qπi≥∑i≥qπi′\sum_{i\ge q}\pi_i\ge\sum_{i\ge q}\pi'_i∑i≥q​πi​≥∑i≥q​πi′​ for every qqq. π≥rπ′\pi\ge_r\pi'π≥r​π′ (MLR order) means πiπi′′≥πi′πi′\pi_i\pi'_{i'}\ge\pi_{i'}\pi'_iπi​πi′′​≥πi′​πi′​ whenever i≥i′i\ge i'i≥i′. For matrices f,gf,gf,g on X×YX\times YX×Y, f≥tpgf\ge_{tp}gf≥tp​g means f(x∨x′,y∨y′) g(x∧x′,y∧y′)≥f(x,y) g(x′,y′)f(x\vee x',y\vee y')\,g(x\wedge x',y\wedge y')\ge f(x,y)\,g(x',y')f(x∨x′,y∨y′)g(x∧x′,y∧y′)≥f(x,y)g(x′,y′) for all pairs, and fff is TP₂ if f≥tpff\ge_{tp}ff≥tp​f.

In each period the decision maker in state st=is_t=ist​=i chooses a∈Aa\in Aa∈A and receives the reward g(i,a)g(i,a)g(i,a). The state moves to jjj with probability pijap^a_{ij}pija​ (matrix PaP^aPa), and an observation kkk arrives with probability rjkar^a_{jk}rjka​ (matrix RaR^aRa, with row ra(j)∈Π(O)r^a(j)\in\Pi(O)ra(j)∈Π(O)), generated by the new state jjj and the action aaa. The paper assumes rjka>0r^a_{jk}>0rjka​>0 throughout. The discount factor is β≥0\beta\ge 0β≥0. From a belief π\piπ, the observation kkk has probability σ(k;π,a)=∑i,jπipijarjka\sigma(k;\pi,a)=\sum_{i,j}\pi_i p^a_{ij}r^a_{jk}σ(k;π,a)=∑i,j​πi​pija​rjka​, and the posterior is the Bayes update Tj(π,a,k)=∑iπipijarjka/σ(k;π,a)T_j(\pi,a,k)=\sum_i\pi_ip^a_{ij}r^a_{jk}/\sigma(k;\pi,a)Tj​(π,a,k)=∑i​πi​pija​rjka​/σ(k;π,a). With

h(π,a,V)=∑iπig(i,a)+β∑kσ(k;π,a) V(T(π,a,k)),h(\pi,a,V)=\sum_{i}\pi_i g(i,a)+\beta\sum_{k}\sigma(k;\pi,a)\,V(T(\pi,a,k)),h(π,a,V)=i∑​πi​g(i,a)+βk∑​σ(k;π,a)V(T(π,a,k)),

a finite horizon NNN with salvage value gsg_sgs​ gives the optimal values VN+1∗(π)=∑iπigs(i)V^*_{N+1}(\pi)=\sum_i\pi_ig_s(i)VN+1∗​(π)=∑i​πi​gs​(i) and Vt∗(π)=max⁡ah(π,a,Vt+1∗)V^*_t(\pi)=\max_a h(\pi,a,V^*_{t+1})Vt∗​(π)=maxa​h(π,a,Vt+1∗​). For N=∞N=\inftyN=∞ and 0<β<10<\beta<10<β<1, V∗V^*V∗ is the bounded solution of V∗(π)=max⁡ah(π,a,V∗)V^*(\pi)=\max_a h(\pi,a,V^*)V∗(π)=maxa​h(π,a,V∗). The myopic actions are α(π)=argmax⁡a∑iπig(i,a)\alpha(\pi)=\operatorname{argmax}_a\sum_i\pi_ig(i,a)α(π)=argmaxa​∑i​πi​g(i,a).

Formalization targets

Goal: Proposition 2 (myopic lower bound)

Under (a) gsg_sgs​ nondecreasing, (b) g(⋅,a)g(\cdot,a)g(⋅,a) nondecreasing, (c) Pa≥tpPa′P^a\ge_{tp}P^{a'}Pa≥tp​Pa′ for a≥a′a\ge a'a≥a′, (d) ra(j)≥rra(j′)r^a(j)\ge_r r^a(j')ra(j)≥r​ra(j′) for j≥j′j\ge j'j≥j′, (e) ra(j)≥sra′(j)r^a(j)\ge_s r^{a'}(j)ra(j)≥s​ra′(j) for a≥a′a\ge a'a≥a′, and (f) rjkarj′ka′≥rjka′rj′kar^a_{jk}r^{a'}_{j'k}\ge r^{a'}_{jk}r^a_{j'k}rjka​rj′ka′​≥rjka′​rj′ka​ for a≥a′a\ge a'a≥a′, j≥j′j\ge j'j≥j′: for every t≤Nt\le Nt≤N (finite horizon), or for the infinite horizon with 0<β<10<\beta<10<β<1, and every π∈Π(S)\pi\in\Pi(S)π∈Π(S),

∀ δ∗(π) ∃ α(π)≤δ∗(π),∀ α(π) ∃ δ∗(π)≥α(π),\forall\,\delta^*(\pi)\ \exists\,\alpha(\pi)\le\delta^*(\pi),\qquad \forall\,\alpha(\pi)\ \exists\,\delta^*(\pi)\ge\alpha(\pi),∀δ∗(π) ∃α(π)≤δ∗(π),∀α(π) ∃δ∗(π)≥α(π),

where δ∗(π)\delta^*(\pi)δ∗(π) ranges over the maximizers of a↦h(π,a,Vt+1∗)a\mapsto h(\pi,a,V^*_{t+1})a↦h(π,a,Vt+1∗​) (resp. h(π,a,V∗)h(\pi,a,V^*)h(π,a,V∗)).

Milestone: Proposition 1 (MLR-monotone values)

Under (a)–(d) with every PaP^aPa TP₂: π≥rπ′\pi\ge_r\pi'π≥r​π′ in Π(S)\Pi(S)Π(S) implies Vt∗(π)≥Vt∗(π′)V^*_t(\pi)\ge V^*_t(\pi')Vt∗​(π)≥Vt∗​(π′) for t=1,…,N+1t=1,\dots,N+1t=1,…,N+1, and, without (a), V∗(π)≥V∗(π′)V^*(\pi)\ge V^*(\pi')V∗(π)≥V∗(π′) for N=∞N=\inftyN=∞.

Supporting milestones

The ordering facts behind both propositions: MLR implies stochastic dominance (§1), Lemma 1.1 (characterization of ≥s\ge_s≥s​), Lemma 1.3 (TP₂ prediction preserves ≥r\ge_r≥r​), Lemma 1.2 (the Bayes update is MLR-monotone in the observation, the prior and the action), the stochastic monotonicity of σ\sigmaσ in the belief (proof of Proposition 1) and in the action (Lemma 2.3), the comparison of hhh-increments with myopic increments (proof of Proposition 2), and Lemma 2.2 (dominated increments order maximizer sets).

Significance

The result. Proposition 2 makes the myopic policy, which solves a one-stage problem, a lower bound on an optimal policy for every belief and every period. In a search over policies, actions below α(π)\alpha(\pi)α(π) can be discarded. When ggg also has isotone differences, α\alphaα is nondecreasing, and the optimal policy is bounded below by a monotone function that is easy to compute. Proposition 1 gives MLR-monotone value functions, the input to many later structural results for POMDPs. Lemma 1.2 records the fact behind it: Bayesian updating respects the MLR order, while first-order stochastic dominance does not survive conditioning.

Formalizing it. These results are proved on paper. This mission produces machine-checked proofs, together with a reusable finite-POMDP layer (belief update, observation probabilities, Bellman operator, finite- and infinite-horizon values) and a library of the stochastic orders on finite chains. One statement in the paper is wrong: the printed "only if" direction of Lemma 1.2(1) is false. The mission states only the direction that is true and used.

Difficulty

The obvious induction on ttt for Proposition 1 needs k↦V(T(π,a,k))k\mapsto V(T(\pi,a,k))k↦V(T(π,a,k)) to be nondecreasing and σ(π,a)\sigma(\pi,a)σ(π,a) to increase with π\piπ. Both need a belief order that conditioning preserves. Under first-order stochastic dominance the posterior is not monotone in the prior, and the paper's counterexample (p. 740) shows that the induction then fails. The MLR order repairs this, but proving that the prediction step preserves it (Lemma 1.3) requires a total-positivity composition argument (Karlin–Rinott, Theorem 2.4) on product lattices. For Proposition 2 the difficulty is to compare continuation values across actions: the observation distribution and the posterior both change with the action, and two separate orderings (Lemma 2.3 and Lemma 1.2(3)) must be combined before the maximizer comparison applies. The infinite-horizon parts additionally need the Bellman fixed point characterized well enough to pass monotonicity to the limit.

Formalization scope

Everything is finite, so all probabilities and expectations are finite sums and no measure theory is involved. States, observations and actions are finite nonempty types with a LinearOrder (any finite chain is isomorphic to {1,…,n}\{1,\dots,n\}{1,…,n}). Π(X)\Pi(X)Π(X) is Mathlib's stdSimplex ℝ X. The orders ≥s,≥r,≥tp\ge_s,\ge_r,\ge_{tp}≥s​,≥r​,≥tp​ are plain relations (StochGE, MLRGE, TPGE) with the larger argument first, and every statement assumes simplex membership explicitly. The standing assumptions (stochastic rows of PaP^aPa and RaR^aRa, rjka>0r^a_{jk}>0rjka​>0, β≥0\beta\ge0β≥0) are fields of the structure POMDP. Vt∗V^*_tVt∗​ is computed by recursion (3) counted in steps to go, Vstar gs N t = valueToGo gs (N+1-t). The infinite-horizon V∗V^*V∗ is any function bounded on Π(S)\Pi(S)Π(S) that solves the Bellman equation there. For 0<β<10<\beta<10<β<1 such a function exists and is unique on Π(S)\Pi(S)Π(S), by contraction. The equivalence between recursion (3) and the optimum over history-dependent strategies is cited by the paper from the literature and is not part of this mission. Maximizer sets (argmaxSet) carry the "for all δ∗\delta^*δ∗ / there exists α\alphaα" quantifiers. Both halves of each part of Proposition 2 are ∀∃\forall\exists∀∃ statements.

The goal is not to be read with Vt+1∗V^*_{t+1}Vt+1∗​ or V∗V^*V∗ replaced by an arbitrary, or an arbitrary nondecreasing, value function. That reading would reduce Proposition 2 to Lemma 2.2 plus a hypothesis. The goal quantifies only over the value functions of recursion (3) and over bounded Bellman solutions.

A complete development needs finite total-positivity composition (Mathlib's four functions theorem is the natural starting point), Abel summation for Lemma 1.1, and a contraction argument for the infinite horizon. The order library and the finite POMDP layer are reusable beyond this paper. Proofs of any milestone are welcome, as are alternative arguments for Lemma 1.3.

Selected references

  • W. S. Lovejoy, Some Monotonicity Results for Partially Observed Markov Decision Processes, Operations Research 35(5):736–743, 1987. https://doi.org/10.1287/opre.35.5.736
  • R. D. Smallwood and E. J. Sondik, The Optimal Control of Partially Observable Markov Processes over a Finite Horizon, Operations Research 21(5):1071–1088, 1973. https://doi.org/10.1287/opre.21.5.1071
  • W. Whitt, A Note on the Influence of the Sample on the Posterior Distribution, Journal of the American Statistical Association 74:424–426, 1979.
  • W. Whitt, Multivariate Monotone Likelihood Ratio and Uniform Conditional Stochastic Order, Journal of Applied Probability 19:695–701, 1982.
  • S. Karlin and Y. Rinott, Classes of Orderings of Measures and Related Correlation Inequalities. I. Multivariate Totally Positive Distributions, Journal of Multivariate Analysis 10(4):467–498, 1980. https://doi.org/10.1016/0047-259X(80)90065-2
  • C. White, Optimal Control-limit Strategies for a Partially Observed Replacement Problem, International Journal of Systems Science 10:321–331, 1979 (the machine-replacement model of §5).
  • S. C. Albright, Structural Results for Partially Observable Markov Decision Processes, Operations Research 27(5):1041–1053, 1979. https://doi.org/10.1287/opre.27.5.1041
16 thms1 active userReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 1: Equation (1) Computes the Minimum Total Loss of a Fixed Job Order with Two Processing Modes per JobResearch Paper

Motivation

Many single-machine scheduling problems have a structure that is easy to describe: the jobs must be processed in an order that is already known, and the only decisions are how and when to process each one. Lawler and Moore, in A Functional Equation and Its Application to Resource Allocation and Sequencing Problems (Management Science 16(1), 1969, 77–84), isolate this situation in its simplest form: each job has two processing modes, and each mode has its own processing time and loss as a function of the completion time. They solve it with a single functional equation, Eq. (1), closely related to the recursion for the knapsack problem.

The point of the paper is that Eq. (1) solves more than this fixed-order problem. Later sections apply it to resource allocation in critical-path scheduling and to several sequencing problems with deadlines, including minimization of the weighted number of tardy jobs, often written 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​. Everything in those applications rests on the claim checked in this mission: that the recursion computes the minimum loss it is said to compute.

Setting

There are nnn jobs, performed one at a time in the fixed order 1,2,…,n1, 2, \dots, n1,2,…,n. Job jjj can be performed in one of two modes. In the first mode it takes aja_jaj​ time units, and a loss αj(t)\alpha_j(t)αj​(t) is incurred if it is completed at time ttt. In the other mode it takes bjb_jbj​ time units, with loss βj(t)\beta_j(t)βj​(t). Times are nonnegative integers.

A mode assignment mmm picks a mode for each job, which fixes its processing time pj∈{aj,bj}p_j \in \{a_j, b_j\}pj​∈{aj​,bj​}. A feasible timing of the first jjj jobs is a vector of completion times c1,…,cjc_1, \dots, c_jc1​,…,cj​ with

ci−1+pi≤ci(i=1,…,j),c0=0,c_{i-1} + p_i \le c_i \qquad (i = 1, \dots, j), \qquad c_0 = 0,ci−1​+pi​≤ci​(i=1,…,j),c0​=0,

so each job starts at time 000 or later and after its predecessor has finished; idle time between jobs is allowed. The total loss Lj(m,c)L_j(m, c)Lj​(m,c) is the sum of αi(ci)\alpha_i(c_i)αi​(ci​) over the jobs i≤ji \le ji≤j in the first mode and of βi(ci)\beta_i(c_i)βi​(ci​) over the others. The problem asks for the mode assignment and timing of all nnn jobs that minimize Ln(m,c)L_n(m, c)Ln​(m,c).

The paper's recursion is defined for j=0,…,nj = 0, \dots, nj=0,…,n and integer ttt, with values in R∪{+∞}\mathbb R \cup \{+\infty\}R∪{+∞}:

f(0,t)=0 (t≥0),f(j,t)=+∞ (t<0),f(0, t) = 0 \ (t \ge 0), \qquad f(j, t) = +\infty \ (t < 0),f(0,t)=0 (t≥0),f(j,t)=+∞ (t<0), f(j,t)=min⁡{f(j,t−1), αj(t)+f(j−1,t−aj), βj(t)+f(j−1,t−bj)}(j≥1, t≥0).(1)f(j, t) = \min\{f(j, t-1),\ \alpha_j(t) + f(j-1, t-a_j),\ \beta_j(t) + f(j-1, t-b_j)\} \quad (j \ge 1,\ t \ge 0). \tag{1}f(j,t)=min{f(j,t−1), αj​(t)+f(j−1,t−aj​), βj​(t)+f(j−1,t−bj​)}(j≥1, t≥0).(1)

Formalization targets

Milestone: Eq. (1) computes the constrained minimum

For 0≤j≤n0 \le j \le n0≤j≤n and every integer ttt, let L(j,t)\mathcal L(j, t)L(j,t) be the set of total losses of the first jjj jobs over all mode assignments and feasible timings with cj≤tc_j \le tcj​≤t. Then

f(j,t)=min⁡L(j,t),f(j, t) = \min \mathcal L(j, t),f(j,t)=minL(j,t),

meaning: f(j,t)=+∞f(j, t) = +\inftyf(j,t)=+∞ exactly when L(j,t)\mathcal L(j, t)L(j,t) is empty, and otherwise f(j,t)f(j,t)f(j,t) is an element of L(j,t)\mathcal L(j,t)L(j,t) and a lower bound for it. No assumption is made on the losses.

Goal: f(n,T)f(n, T)f(n,T) solves the problem

If every αj\alpha_jαj​ and βj\beta_jβj​ is monotone nondecreasing and

T=∑j=1nmax⁡{aj,bj},T = \sum_{j=1}^n \max\{a_j, b_j\},T=j=1∑n​max{aj​,bj​},

then f(n,T)f(n, T)f(n,T) is finite and equals the minimum of Ln(m,c)L_n(m, c)Ln​(m,c) over all mode assignments and all feasible timings of the nnn jobs, with no deadline. This is the paper's sentence "The problem is solved by the calculation of f(n,T)f(n, T)f(n,T), where TTT is a sufficiently large number. For example, if all of the αj\alpha_jαj​'s and βj\beta_jβj​'s are monotone nondecreasing, we may choose T=∑j=1nmax⁡{aj,bj}T = \sum_{j=1}^n \max\{a_j, b_j\}T=∑j=1n​max{aj​,bj​}."

Significance

The milestone is the correctness of a dynamic program: the value table computed by (1) coincides with the optimum of a combinatorial problem whose feasible set is infinite (timings are unbounded because of idle time). The goal turns that into a finite certificate for the unconstrained problem, with an explicit horizon. Downstream, the same equation with bj=0b_j = 0bj​=0 and suitable losses is the paper's algorithm for the weighted number of tardy jobs (§5–6), and the other sequencing applications are specializations of (1) as well; a formal version of this mission is the base on which those reductions can be stated.

The result is classical and its proof is short on paper. It has not been formalized: no item on Prove2Me states a two-mode fixed-order recursion. The work this mission asks for is a machine-checked proof of the two statements above, from the paper's own definitions.

Difficulty

The paper gives no argument beyond "the usual dynamic programming argumentation". The recursion is in two variables: f(j,⋅)f(j, \cdot)f(j,⋅) refers to itself at t−1t-1t−1 as well as to f(j−1,⋅)f(j-1, \cdot)f(j−1,⋅), so the correspondence with timings is not a plain stage-by-stage principle of optimality. The edge cases are where a careless reading fails: t=0t = 0t=0, where f(j,−1)=+∞f(j, -1) = +\inftyf(j,−1)=+∞; zero processing times aj=0a_j = 0aj​=0 or bj=0b_j = 0bj​=0, where f(j−1,t−aj)f(j-1, t-a_j)f(j−1,t−aj​) is evaluated at the same ttt; and j=0j = 0j=0, where the deadline constraint degenerates to 0≤t0 \le t0≤t. The goal is harder than the milestone: the problem's feasible set is unbounded, and the horizon TTT is only sufficient under monotone losses. Without monotonicity the goal is false: one job with a=b=1a = b = 1a=b=1, α(1)=5\alpha(1) = 5α(1)=5, α(t)=0\alpha(t) = 0α(t)=0 for t≥2t \ge 2t≥2 and β≡5\beta \equiv 5β≡5 has optimum 000, attained only at completion time 2>T=12 > T = 12>T=1, while f(1,1)=5f(1, 1) = 5f(1,1)=5.

Formalization scope

  • Jobs are Fin n and 0-based: Lean job i is the paper's job i+1i+1i+1. The recursion f takes the number j∈{0,…,n}j \in \{0,\dots,n\}j∈{0,…,n} of jobs done; for j>nj > nj>n its value is +∞+\infty+∞ and is never used.
  • Modes are Bool, with true the first mode (aja_jaj​, αj\alpha_jαj​). Processing times are natural numbers and may be 000. Losses are real-valued functions of the natural-number completion time.
  • Integer time is an explicit reading: the paper's recursion steps ttt by one, so time is discrete.
  • +∞+\infty+∞ is ⊤ : WithTop ℝ, so x+(+∞)=+∞x + (+\infty) = +\inftyx+(+∞)=+∞ as in the paper.
  • Idle time is allowed, and the first job starts at time 000 or later.
  • "Minimum total loss" is read as an attained least element of the set of total losses, with +∞+\infty+∞ exactly when that set is empty. "The problem is solved by f(n,T)f(n, T)f(n,T)" is read as: f(n,T)f(n, T)f(n,T) is finite, at most every feasible total loss, and attained.
  • "Monotone nondecreasing" is Monotone on the completion time; it is a hypothesis of the goal only.

The optimum is defined from the scheduling problem itself (lossesBy, IsFeasible, totalLoss), never as fff; statements in which the optimum is fff again, timings forced to have no idle time, an R\mathbb RR-valued fff with an arbitrary value for t<0t < 0t<0, or monotone losses assumed in the milestone are all ruled out by this choice of definitions.

Related platform items: GilmoreGomory61.CuttingStock.knapsack_dp_recursion (an unbounded-knapsack recursion) and the CriticalPath.CostCurve items (Kelley's continuous time–cost model) treat neighbouring recursions and models; neither states this problem. Proofs of the milestone and the goal, and reusable lemmas about the value function, are welcome.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1) (1969) 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • R. Bellman, Dynamic Programming, Princeton University Press, 1957. https://doi.org/10.1515/9781400835386
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1) (1968) 102–109. https://doi.org/10.1287/mnsc.15.1.102
4 thms2 active usersReviewed
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Asymptotic Theory for Solutions in Statistical Estimation and Stochastic Programming: Generalized M-Estimates Converge in Distribution to the Inverse Contingent Derivative at a GaussianResearch Paper

Motivation

Maximum likelihood estimates, least-squares fits and sample-average approximations of stochastic programs solve 0=fˉν(x)0 = \bar f^\nu(x)0=fˉ​ν(x), where fˉν\bar f^\nufˉ​ν averages a random integrand over ν\nuν observations. Their classical asymptotic theory rests on the implicit function theorem and needs a smooth, unconstrained problem.

When the estimate is constrained to a set, for example a nonnegativity constraint, a simplex or a polyhedron, the first-order conditions become a generalized equation

0∈f(z,x)+N(x),0 \in f(z, x) + N(x),0∈f(z,x)+N(x),

where NNN is a multifunction such as the normal cone of the constraint set. The same form describes optimality conditions of stochastic programs and variational inequalities. Aitchison and Silvey (1958) treated equality-constrained maximum likelihood. Huber (1967) allowed nonsmooth estimating functions but required an open parameter domain. Dupačová and Wets (1988) and Shapiro (1989) derived limit laws for solutions of stochastic programs under smoothness of the expected gradient. King and Rockafellar (1993) gave a general theory that needs neither smoothness of the expected map nor single-valuedness of NNN: the limit law of the normalized error is the image of a Gaussian under a contingent derivative, a positively homogeneous and generally nonlinear map, so the limit is generally not normal.

Setting

Let ZZZ be a separable Banach space with norm ∥⋅∥\|\cdot\|∥⋅∥, and let ∣⋅∣|\cdot|∣⋅∣ be the Euclidean norm on Rn\mathbb R^nRn and Rm\mathbb R^mRm. A multifunction G:Z⇉RnG : Z \rightrightarrows \mathbb R^nG:Z⇉Rn assigns a set G(z)⊆RnG(z) \subseteq \mathbb R^nG(z)⊆Rn to each zzz. Its graph is gph⁡G\operatorname{gph} GgphG and its inverse is G−1(x)={z∣x∈G(z)}G^{-1}(x) = \{z \mid x \in G(z)\}G−1(x)={z∣x∈G(z)}.

For sets AtA_tAt​ indexed by t↓0t \downarrow 0t↓0, the upper limit lim sup⁡At\limsup A_tlimsupAt​ consists of the points xxx with x=lim⁡xkx = \lim x_kx=limxk​, xk∈Atkx_k \in A_{t_k}xk​∈Atk​​ for some tk↓0t_k \downarrow 0tk​↓0, and the lower limit of the points reachable along every such sequence. The contingent derivative of GGG at (z,x)∈gph⁡G(z, x) \in \operatorname{gph} G(z,x)∈gphG is the multifunction DG(z∣x)DG(z|x)DG(z∣x) with

gph⁡DG(z∣x)=lim sup⁡t↓0t−1[gph⁡G−(z,x)].\operatorname{gph} DG(z|x) = \limsup_{t \downarrow 0} t^{-1}\big[\operatorname{gph} G - (z,x)\big].gphDG(z∣x)=t↓0limsup​t−1[gphG−(z,x)].

GGG is proto-differentiable when this upper limit equals the lower limit, and semi-differentiable when t−1[G(z+tw′)−x]→DG(z∣x)(w)t^{-1}[G(z + t w') - x] \to DG(z|x)(w)t−1[G(z+tw′)−x]→DG(z∣x)(w) as t↓0t \downarrow 0t↓0 and w′→ww' \to ww′→w. A single-valued ggg is B-differentiable at zzz when t−1[g(z+tw′)−g(z)]→Dg(z)(w)t^{-1}[g(z + tw') - g(z)] \to Dg(z)(w)t−1[g(z+tw′)−g(z)]→Dg(z)(w) in the same sense.

The deterministic problem is 0∈f(z,x)+N(x)0 \in f(z, x) + N(x)0∈f(z,x)+N(x) with f:Z×Rn→Rmf : Z \times \mathbb R^n \to \mathbb R^mf:Z×Rn→Rm, data zzz and solution map J(z)J(z)J(z). At a reference pair (z∗,x∗)(z^*, x^*)(z∗,x∗) set F=f(z∗,⋅)+NF = f(z^*, \cdot) + NF=f(z∗,⋅)+N. The analytical assumptions M.1–M.4 are as follows. fff is jointly continuous and B-differentiable in each variable, with the zzz-derivative Dzf(z∗,x∗)D_z f(z^*, x^*)Dz​f(z∗,x∗) strong (uniform in xxx near x∗x^*x∗). NNN is closed and proto-differentiable. FFF is subinvertible: 0∈F(x∗)0 \in F(x^*)0∈F(x∗), and a closed-graph, convex-valued selection of F−1F^{-1}F−1 near 000 passes through x∗x^*x∗. The contingent derivative DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is at most single-valued.

The statistical problem has i.i.d. random elements s1,s2,…s_1, s_2, \dotss1​,s2​,… of a measurable space SSS and an integrand f:U×S→Rmf : U \times S \to \mathbb R^mf:U×S→Rm on a compact neighborhood UUU of x∗x^*x∗. It satisfies the probabilistic assumptions P.1–P.4: continuity in xxx, measurability in sss, a finite second moment at one point, and a Lipschitz bound ∣f(x1,s)−f(x2,s)∣≤a(s)∣x1−x2∣|f(x_1,s) - f(x_2,s)| \le a(s)|x_1 - x_2|∣f(x1​,s)−f(x2​,s)∣≤a(s)∣x1​−x2​∣ with Ea(s1)2<∞E a(s_1)^2 < \inftyEa(s1​)2<∞. The M-estimate xνx^\nuxν is a measurable solution of

0∈fˉν(x)+N(x),fˉν(x)=1ν∑i=1νf(x,si),0 \in \bar f^\nu(x) + N(x), \qquad \bar f^\nu(x) = \frac1\nu\sum_{i=1}^\nu f(x, s_i),0∈fˉ​ν(x)+N(x),fˉ​ν(x)=ν1​i=1∑ν​f(x,si​),

and the true equation is 0∈Ef(x)+N(x)0 \in Ef(x) + N(x)0∈Ef(x)+N(x) with F=Ef+NF = Ef + NF=Ef+N.

Formalization targets

Goal: Theorem 2.7 (asymptotic distribution of M-estimates)

Under P.1–P.4 on a compact neighborhood UUU of x∗x^*x∗, B-differentiability of EfEfEf at x∗x^*x∗, and M.2–M.4 for F=Ef+NF = Ef + NF=Ef+N, every sequence of measurable solutions xνx^\nuxν of (2.5) with xν→x∗x^\nu \to x^*xν→x∗ almost surely satisfies

ν [xν−x∗]→ D DF−1(0∣x∗)(−w∗),w∗∼N(0,cov⁡f(x∗,s1)).\sqrt\nu\,[x^\nu - x^*] \xrightarrow{\ \mathcal D\ } DF^{-1}(0|x^*)(-w^*), \qquad w^* \sim \mathcal N\big(0, \operatorname{cov} f(x^*, s_1)\big).ν​[xν−x∗] D ​DF−1(0∣x∗)(−w∗),w∗∼N(0,covf(x∗,s1​)).

The goal fixes the limit law completely: the map is the contingent derivative of F−1F^{-1}F−1, and the Gaussian has the covariance of the integrand at x∗x^*x∗.

Milestones

  • Theorem 2.4 gives bounds in probability, P{∣xν−x∗∣>δ}≤P{αλ∥zν−z∗∥>δ}P\{|x^\nu - x^*| > \delta\} \le P\{\alpha\lambda\|z^\nu - z^*\| > \delta\}P{∣xν−x∗∣>δ}≤P{αλ∥zν−z∗∥>δ}. Its proof uses the upper-Lipschitz property U∩F−1(y)⊆x∗+λ∣y∣BU \cap F^{-1}(y) \subseteq x^* + \lambda|y|BU∩F−1(y)⊆x∗+λ∣y∣B (a display of the proof).
  • Theorem 2.6 is the abstract limit theorem: if τν−1[zν−z∗]→Dw\tau_\nu^{-1}[z^\nu - z^*] \to_{\mathcal D} wτν−1​[zν−z∗]→D​w, then τν−1[xν−x∗]→DDF−1(0∣x∗)(−Dzf(z∗,x∗)(w))\tau_\nu^{-1}[x^\nu - x^*] \to_{\mathcal D} DF^{-1}(0|x^*)(-D_z f(z^*,x^*)(w))τν−1​[xν−x∗]→D​DF−1(0∣x∗)(−Dz​f(z∗,x∗)(w)). Its proof uses two displays: semi-differentiability of the localized solution map, with DJ(z∗∣x∗)(w)=DF−1(0∣x∗)(−Dzf(z∗,x∗)(w))DJ(z^*|x^*)(w) = DF^{-1}(0|x^*)(-D_z f(z^*,x^*)(w))DJ(z∗∣x∗)(w)=DF−1(0∣x∗)(−Dz​f(z∗,x∗)(w)), and a Lipschitz bound ∣x−x∗∣≤λ∥z−z∗∥|x - x^*| \le \lambda\|z - z^*\|∣x−x∗∣≤λ∥z−z∗∥ on U∩J(z)U \cap J(z)U∩J(z).
  • Proposition A1, Corollary A2 and Theorem A3 concern the space Cm(U)C_m(U)Cm​(U) under P.1–P.4. The integrand and the empirical means are random elements of Cm(U)C_m(U)Cm​(U), and ν(fˉν−Ef)\sqrt\nu(\bar f^\nu - Ef)ν​(fˉ​ν−Ef) converges in distribution to a Gaussian element of Cm(U)C_m(U)Cm​(U).

The three displays (Theorem 2.4's upper-Lipschitz inclusion, and Theorem 2.6's semi-differentiability and Lipschitz bound) are statements the paper cites from King and Rockafellar, Sensitivity analysis for nonsmooth generalized equations ([12]: Proposition 2.1, Theorem 4.1, Remark 4.3). They are cited results, not this paper's own, and are milestones because the proofs of Theorems 2.4 and 2.6 rest on them.

Significance

Theorem 2.7 gives the limit law of constrained and nonsmooth M-estimates in a form that can be computed. When NNN is the normal cone of a polyhedron, DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is piecewise linear, and the limit is the solution of a random linear complementarity or quadratic problem driven by a Gaussian vector. This underlies the asymptotic theory of sample-average approximation in stochastic programming, where the paper applies it to stochastic programs (§3) and to piecewise linear-quadratic tracking problems (§4). Theorem 2.6 separates the deterministic sensitivity analysis from the probability, so any data sequence with a known limit law yields a limit law for the solutions.

The result is proved in the paper modulo the cited theorems of [12] and [11], but none of it is machine-checked. Mathlib has the real-valued i.i.d. central limit theorem, Gaussian measures on Banach spaces and convergence in distribution. It has no multivariate or Banach-space central limit theorem, no contingent derivatives and no set-valued implicit function theorem. Formalizing the mission produces these, along with a checked version of the cited sensitivity results.

Difficulty

The classical argument linearizes FFF at x∗x^*x∗, inverts the Jacobian and applies the delta method. Here FFF is set-valued and its derivative is only positively homogeneous. There is no Jacobian to invert, and the solution map need not be differentiable or even single-valued away from x∗x^*x∗. The replacement for the implicit function theorem is the semi-differentiability of the localized solution map under M.1–M.4. Proving it means controlling both the upper and the lower set limits of difference quotients of solution sets, and subinvertibility is what supplies existence of nearby solutions.

The probabilistic side cannot work coordinate by coordinate either. The estimate solves an equation in the whole function fˉν\bar f^\nufˉ​ν, so convergence of fˉν\bar f^\nufˉ​ν at finitely many points is not enough. The central limit theorem must hold in the sup norm on Cm(U)C_m(U)Cm​(U), which requires tightness of the empirical process, and only then can the deterministic sensitivity result be composed with it.

Formalization scope

Points live in EuclideanSpace ℝ (Fin n), and ZZZ is a real normed space with [CompleteSpace Z] [SeparableSpace Z] where the paper says "separable Banach". Set limits are Kuratowski limits along filters (t↓0t \downarrow 0t↓0 is 𝓝[>] 0, and (t,w′)→(0+,w)(t,w') \to (0^+,w)(t,w′)→(0+,w) is the product filter). The contingent derivative is defined by (2.2) alone. M.4's printed sum formula equals it under M.1, and this is not assumed. "B-differentiable" is read as the limit (2.4). Products carry Lean's max norm. s1s_1s1​ is s 0, empirical means sum over Finset.range ν, and (2.5) is required for ν≥1\nu \ge 1ν≥1. F=Ef+NF = Ef + NF=Ef+N is empty off UUU. Convergence in distribution is Mathlib's TendstoInDistribution, with the limit on its own probability space. The law of w∗w^*w∗ is fixed through linear functionals: ⟨ℓ,w∗⟩∼N(0,Var⁡⟨ℓ,f(x∗,s1)⟩)\langle\ell, w^*\rangle \sim \mathcal N(0, \operatorname{Var}\langle\ell, f(x^*,s_1)\rangle)⟨ℓ,w∗⟩∼N(0,Var⟨ℓ,f(x∗,s1​)⟩). In Appendix A1–A3 the integrand is S → C(↥U, Rn m) with the Borel σ-algebra, and "Gaussian" is IsGaussian.

Explicit choices relative to the printed text:

  1. The paper states that an almost surely convergent sequence of solutions "converges to the point x∗x^*x∗" (Theorems 2.6 and 2.7). This is false when the true equation has a second solution: f(z,x)=x2−x−zf(z,x) = x^2 - x - zf(z,x)=x2−x−z, N≡{0}N \equiv \{0\}N≡{0}, z∗=x∗=0z^* = x^* = 0z∗=x∗=0 satisfies M.1–M.4 with J(0)={0,1}J(0) = \{0, 1\}J(0)={0,1}. The formalization assumes xν→x∗x^\nu \to x^*xν→x∗ almost surely instead.
  2. 0∈F(x∗)0 \in F(x^*)0∈F(x∗) (presupposed by DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗)) is explicit in Theorem 2.4 and the upper-Lipschitz display.
  3. The threshold for "all sufficiently small δ\deltaδ" in Theorem 2.4 is chosen with UUU and λ\lambdaλ, before the random elements.
  4. Proposition A1 and Corollary A2 carry P.1–P.4, as stated or inherited on the Appendix page, though their measurability conclusions use only P.1.
  5. In the limit theorems, the single-valued map DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is a function LLL whose values lie in the contingent derivative at every point.

The conclusion of the goal names its limit: the image of the stated Gaussian under a map LLL whose values lie in the contingent derivative of F−1F^{-1}F−1. A statement asserting only that ν(xν−x∗)\sqrt\nu(x^\nu - x^*)ν​(xν−x∗) converges in distribution to some limit, or replacing DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) by a linear map, is a different and weaker theorem. A sorry-free check confirms that the goal's hypotheses can all be met (a degenerate instance with f(x,s)=xf(x,s) = xf(x,s)=x, N≡{0}N \equiv \{0\}N≡{0}).

A complete development needs Kuratowski set convergence and contingent derivatives (reusable across set-valued analysis), a central limit theorem in C(K)C(K)C(K) for Lipschitz-indexed processes (reusable for empirical-process theory), and a continuous-mapping argument for random closed sets. Contributions to any of these layers are welcome, as are proofs of the cited [12] statements.

Selected references

  • A. J. King and R. T. Rockafellar, Asymptotic theory for solutions in statistical estimation and stochastic programming, Mathematics of Operations Research 18(1) (1993). https://doi.org/10.1287/moor.18.1.148
  • A. J. King and R. T. Rockafellar, Sensitivity analysis for nonsmooth generalized equations, Mathematical Programming 55 (1992) 193–212. https://doi.org/10.1007/BF01581199
  • A. J. King, Generalized delta theorems for multivalued mappings and measurable selections, Mathematics of Operations Research 14(4) (1989) 720–736. https://doi.org/10.1287/moor.14.4.720
  • J. Dupačová and R. J.-B. Wets, Asymptotic behavior of statistical estimators and of optimal solutions of stochastic optimization problems, Annals of Statistics 16(4) (1988) 1517–1549. https://doi.org/10.1214/aos/1176351052
  • A. Shapiro, Asymptotic properties of statistical estimators in stochastic programming, Annals of Statistics 17(2) (1989) 841–858. https://doi.org/10.1214/aos/1176347146
  • P. J. Huber, The behavior of maximum likelihood estimates under nonstandard conditions, Proc. Fifth Berkeley Symp. Math. Statist. Probab. 1 (1967) 221–233. https://projecteuclid.org/euclid.bsmsp/1200512988
  • A. Araujo and E. Giné, The Central Limit Theorem for Real and Banach Valued Random Variables, Wiley, 1980.
10 thms1 active userReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

Linear Programming and Sequential Decisions: An Optimal Solution of the Equilibrium LP Yields a Stationary Decision Rule of Least Expected Monthly CostResearch Paper

Motivation

Alan S. Manne's Linear Programming and Sequential Decisions (Management Science 6(3), 1960, pp. 259–267) is the first formulation of an infinite-horizon, average-cost sequential decision problem as a linear program. The illustration is a single-item inventory problem, but the construction, with unknowns indexed by a state and a decision and constraints expressing statistical equilibrium, became the standard state–action frequency linear program of Markov decision processes. Later LP approaches to average-cost Markov decision processes, including constrained ones, build on it.

Timeline of the LP approach to average-cost problems:

  • 1960 — Manne: the inventory model as a linear program in the joint probabilities of (stock level, production quantity); mixed strategies allowed; the decision rule is read off as a conditional probability.
  • 1960 — H. M. Wagner, in a companion note in the same issue, shows that an optimal solution consisting of pure strategies exists.
  • 1962 — C. Derman (Management Science 9(1), 1962) gives the general finite-state, finite-action version, assuming every stationary randomized rule yields an irreducible chain.
  • 1960 — F. d'Epenoux (Revue Française de Recherche Opérationnelle 4, No. 14; English translation 1963) treats the discounted criterion by linear programming, as Manne's closing note records.

Setting

A positive integer TTT bounds inventory accumulation; the stock levels are 0,1,…,T0,1,\dots,T0,1,…,T. At the start of a month the initial stock iii is observed and a production quantity jjj is chosen; the available stock is k=i+jk=i+jk=i+j. The month's demand n∈{0,1,2,… }n\in\{0,1,2,\dots\}n∈{0,1,2,…} is independent of everything else and has law pnp_npn​. Backlogs are excluded, so the terminal stock is t=max⁡(0,k−n)t=\max(0,k-n)t=max(0,k−n), which becomes the next initial stock. A finite set AAA of admissible pairs (i,j)(i,j)(i,j), all with i+j≤Ti+j\le Ti+j≤T and containing (i,0)(i,0)(i,0) for every i≤Ti\le Ti≤T, lists the decisions available at each stock level. Costs are three arbitrary real functions: C1(i)C_1(i)C1​(i) of the initial stock, C2(j)C_2(j)C2​(j) of the production quantity, and C3(n−k)C_3(n-k)C3​(n−k) of the shortage level.

A stationary randomized decision rule q(j∣i)q(j\mid i)q(j∣i) is a conditional probability of producing jjj at stock iii, supported on admissible pairs. It makes the initial stock a Markov chain. A statistical equilibrium of qqq is a stationary distribution y=(y0,…,yT)y=(y_0,\dots,y_T)y=(y0​,…,yT​) of that chain: the law y′y'y′ of the terminal stock equals the law yyy of the initial stock, (2). The expected monthly cost (1) of qqq in the equilibrium yyy is

EC1(i)+EC2(j)+EC3(n−k),\mathcal EC_1(i)+\mathcal EC_2(j)+\mathcal EC_3(n-k),EC1​(i)+EC2​(j)+EC3​(n−k),

the expectation taken under the joint law yi q(j∣i) pny_i\,q(j\mid i)\,p_nyi​q(j∣i)pn​ of (initial stock, production, demand).

The linear program has one unknown xijx_{ij}xij​ per admissible pair, the joint probability of (initial stock iii, production jjj). Its constraints are xij≥0x_{ij}\ge0xij​≥0, (4) ∑i,jxij=1\sum_{i,j}x_{ij}=1∑i,j​xij​=1, and the equilibrium equations

(8.t)∑jxtj=∑i,j,n:i+j−n=tpnxij(t=1,…,T),\text{(8.t)}\qquad \sum_j x_{tj}=\sum_{\substack{i,j,n:\\ i+j-n=t}}p_nx_{ij}\qquad(t=1,\dots,T),(8.t)j∑​xtj​=i,j,n:i+j−n=t​∑​pn​xij​(t=1,…,T),

and its objective (9) is ∑i,jcijxij\sum_{i,j}c_{ij}x_{ij}∑i,j​cij​xij​ with the cost coefficients (10)

cij=C1(i)+C2(j)+∑npnC3(n−i−j).c_{ij}=C_1(i)+C_2(j)+\sum_np_nC_3(n-i-j).cij​=C1​(i)+C2​(j)+n∑​pn​C3​(n−i−j).

The companion equation (8.0) for t=0t=0t=0 has right-hand side ∑i+j−n≤0pnxij\sum_{i+j-n\le0}p_nx_{ij}∑i+j−n≤0​pn​xij​ and is omitted from the constraints. A feasible xxx is decoded into yi=∑jxijy_i=\sum_jx_{ij}yi​=∑j​xij​ and q(j∣i)=xij/yiq(j\mid i)=x_{ij}/y_iq(j∣i)=xij​/yi​.

Formalization targets

The paper labels no theorem or lemma. The goal is assembled from §1 (third paragraph), §3 (N.B.), §4 (last two paragraphs), §5 and §7 (3), and every milestone is cited by section, display, table or footnote.

Goal: an LP optimum gives an optimal stationary rule

Assume ∑npn∣C3(n−i−j)∣<∞\sum_np_n|C_3(n-i-j)|<\infty∑n​pn​∣C3​(n−i−j)∣<∞ for every admissible pair. Then the linear program has an optimal solution, and for every optimal solution x∗x^*x∗, with decoding (q∗,y∗)(q^*,y^*)(q∗,y∗), q∗q^*q∗ is a stationary randomized rule, y∗y^*y∗ is a statistical equilibrium of q∗q^*q∗, and

Cost(q∗,y∗)=∑i,jcijxij∗≤Cost(q,y)\mathrm{Cost}(q^*,y^*)=\sum_{i,j}c_{ij}x^*_{ij}\le \mathrm{Cost}(q,y)Cost(q∗,y∗)=i,j∑​cij​xij∗​≤Cost(q,y)

for every stationary randomized rule qqq and every statistical equilibrium yyy of qqq.

Milestones

  1. (7): under a rule in a distribution yyy, the law of the terminal stock is the right-hand side of (7)/(8) evaluated at xij=yiq(j∣i)x_{ij}=y_iq(j\mid i)xij​=yi​q(j∣i).
  2. (8.0)–(8.T): a rule in statistical equilibrium yields a point satisfying x≥0x\ge0x≥0, (4) and all of (8.0)–(8.T).
  3. (8.0) is redundant: (4) and (8.1)–(8.T) imply (8.0).
  4. §3, N.B.: every feasible xxx equals yiq(j∣i)y_iq(j\mid i)yi​q(j∣i) for its decoding (q,y)(q,y)(q,y), with yyy an equilibrium of qqq.
  5. (10): the expected monthly cost (1) under the joint law xijpnx_{ij}p_nxij​pn​ equals ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​.
  6. Table 1: the cost coefficients of the §6 example (T=3T=3T=3, p=(2/3,0,1/3)p=(2/3,0,1/3)p=(2/3,0,1/3), C1(i)=iC_1(i)=iC1​(i)=i, C2(j)=3jC_2(j)=3jC2​(j)=3j, C3(m)=max⁡[0,6m]C_3(m)=\max[0,6m]C3​(m)=max[0,6m], j∈{0,1}j\in\{0,1\}j∈{0,1}) are 4,5,3,4,2,5,34,5,3,4,2,5,34,5,3,4,2,5,3.
  7. Table 2, footnote 3: x01=1/3x_{01}=1/3x01​=1/3, x11=2/9x_{11}=2/9x11​=2/9, x20=4/9x_{20}=4/9x20​=4/9 is optimal with cost 31/931/931/9; the do-nothing solution costs 444.
  8. Footnote 5: the implicit prices −7/3,−13/3,−11/3-7/3,-13/3,-11/3−7/3,−13/3,−11/3 of (8.1)–(8.3), with 31/931/931/9 on (4), are an optimal dual solution.

Significance

The result turns an infinite-horizon control problem into a finite linear program. Equilibrium joint laws of (state, decision) under stationary randomized rules are exactly the feasible points of a polytope, and the average cost is linear on it. Consequences include computability by the simplex method; an economic reading of the dual variables (Manne's footnote 5 interprets them as the relative advantage of starting at a given stock level, related to Bellman's functional equation); and, in later work, the treatment of side constraints, which dynamic programming handles poorly.

The result is classical and proved in the paper (largely by inspection of the definitions). It has not been formalized. The formalization adds three things. First, a precise statement of what is optimized when the chain of a rule is not irreducible: the paper's §7 (3) concedes that a "decomposable" optimum makes the equilibrium depend on initial conditions, and the goal resolves this by optimizing over (rule, equilibrium) pairs. Second, an explicit treatment of the stock levels the equilibrium never visits, where the paper's quotient xij/∑jxijx_{ij}/\sum_jx_{ij}xij​/∑j​xij​ is undefined. Third, a machine-checked numerical example whose LP is derived from the general definitions, not entered by hand. Derman's later irreducible-case version exists on the platform as a separate open statement; this mission covers Manne's irreducibility-free version on state-dependent action sets.

Difficulty

Each step is elementary; the work is bookkeeping across three descriptions of the same object. The equilibrium is defined through the transition kernel of the controlled chain, the LP through the displayed sums over (i,j,n)(i,j,n)(i,j,n) with conditions i+j−n≤0i+j-n\le0i+j−n≤0 and i+j−n=ti+j-n=ti+j−n=t, and the cost through the joint law of three variables. Identifying them needs a reindexing of the admissible pairs by stock level, the interchange of a finite sum with an infinite sum over demands, and ∑npn=1\sum_np_n=1∑n​pn​=1. The naive argument "the LP constraints are the equilibrium equations, so the LP optimum is the optimal rule" skips two points. The constraints omit (8.0), so equilibrium at stock level 000 must be recovered from (4) and the bound i+j≤Ti+j\le Ti+j≤T. And the decoding fails at unvisited stock levels unless a default action is supplied. Existence of an LP optimum requires compactness of the feasible polytope, not just its nonemptiness.

Formalization scope

All statements live in the namespace ManneLP.Equilibrium. Conventions:

  • Stock levels and production quantities are natural numbers; a model carries T>0T>0T>0, the admissible set AAA (a Finset (ℕ × ℕ) with i+j≤Ti+j\le Ti+j≤T and every (i,0)∈A(i,0)\in A(i,0)∈A), a demand law p:N→Rp:\mathbb N\to\mathbb Rp:N→R with pn≥0p_n\ge0pn​≥0 and HasSum p 1, and costs C1,C2:N→RC_1,C_2:\mathbb N\to\mathbb RC1​,C2​:N→R, C3:Z→RC_3:\mathbb Z\to\mathbb RC3​:Z→R. The shortage level n−i−jn-i-jn−i−j is an integer; no convexity, sign or monotonicity of the costs is assumed.
  • The admissible set is a parameter: §6 imposes a capacity limit j≤1j\le1j≤1. Reading of the page: i+j≤Ti+j\le Ti+j≤T is how §2's requirement max⁡(0,k−n)≤T\max(0,k-n)\le Tmax(0,k−n)≤T holds whatever the demand; (i,0)∈A(i,0)\in A(i,0)∈A (producing nothing is possible) is implicit in §2.
  • The terminal stock is computed by truncated subtraction in N\mathbb NN, which equals max⁡(0,k−n)\max(0,k-n)max(0,k−n). Sums over demands are tsums; the demand is not assumed bounded. The goal and the cost identity assume the expected shortage cost at each admissible pair is finite (absolutely summable), which the page takes for granted.
  • A statistical equilibrium is a stationary distribution of the chain of the rule, defined from the transition probabilities, not from (8). The expected monthly cost is defined from the joint law of (stock, production, demand), not as ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​. The LP constraint set omits (8.0), exactly as the page does.
  • The decoded rule uses the default action j=0j=0j=0 at stock levels with ∑jxij=0\sum_jx_{ij}=0∑j​xij​=0; any admissible default would do.
  • Table 2's x30=εx_{30}=\varepsilonx30​=ε is the paper's device against degeneracy; the example's solution has x30=0x_{30}=0x30​=0. Footnote 5 prints no price for (4); 31/931/931/9 is the price forced by equal objectives, and the dual optimum is not claimed unique.

Trivializing formalizations are ruled out: equilibrium is not defined as (8) (which would make milestone 2 vacuous), (8.0) is not a constraint (which would make milestone 3 vacuous), the cost is not defined as ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​ (which would make milestone 5 and the goal's cost clause definitional), and the optimality comparison ranges over all rules and all of their equilibria, not over irreducible chains or pure rules.

Contributions welcome: proofs of the milestones and the goal; computations of the §6 example from the general definitions; reusable lemmas on stationary distributions of finite stochastic matrices and on the existence of LP optima over compact polytopes.

Selected references

  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3), 259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • H. M. Wagner, On the Optimality of Pure Strategies, Management Science 6(3), 268–269, 1960. https://doi.org/10.1287/mnsc.6.3.268
  • C. Derman, On Sequential Decisions and Markov Chains, Management Science 9(1), 16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
  • F. d'Epenoux, A Probabilistic Production and Inventory Problem, Management Science 10(1), 98–108, 1963 (translation of the 1960 French paper). https://doi.org/10.1287/mnsc.10.1.98
13 thms1 active userReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 2: Under Precedence Constraints, All Deadlines Can Be Met iff They Are Met in Order of Modified DeadlinesResearch Paper

Motivation

A single machine must process nnn jobs, each with a processing time and a deadline, and some jobs must be finished before others may start. The first question of any planner is whether the deadlines can be met at all. Without precedence constraints the answer is classical: Jackson's rule (J. R. Jackson, 1955, reported by W. E. Smith, 1956) says that all jobs can be completed on time if and only if they are completed on time when sequenced by earliest deadline first. Precedence constraints break this rule, because the earliest-deadline order may put a job before one of its required predecessors.

E. L. Lawler and J. M. Moore (Management Science 16 (1969) 77–84) repair the rule by replacing each deadline by a modified deadline that accounts for the deadlines of the job's successors. Their §2 Theorem says that a single sequence, the one in increasing order of modified deadlines, decides feasibility. They use it as the first step of their dynamic programming method for sequencing with deadlines and precedence constraints: because the sequence does not depend on processing times, the jobs to be scheduled on time can always be taken in this one fixed order.

Setting

There are nnn jobs 1,…,n1,\dots,n1,…,n. Job jjj has a processing time aj≥0a_j \ge 0aj​≥0 and a deadline dj∈Rd_j \in \mathbb Rdj​∈R. A sequence σ\sigmaσ lists every job exactly once; the machine starts at time 000 and processes the jobs in the order of σ\sigmaσ, one after another, without idle time. The completion time Cj(σ)C_j(\sigma)Cj​(σ) of job jjj is the sum of the processing times of jjj and of all jobs before it in σ\sigmaσ. Job jjj is on time in σ\sigmaσ if Cj(σ)≤djC_j(\sigma) \le d_jCj​(σ)≤dj​.

Precedence constraints are a partial order ρ\rhoρ on the jobs (reflexive, antisymmetric, transitive). If iρji\rho jiρj and i≠ji \ne ji=j, job iii must precede job jjj; such a jjj is a successor of iii, and every job counts as one of its own successors. A sequence is consistent with ρ\rhoρ if no job appears before a job that must precede it. The jobs are numbered so that iρji\rho jiρj implies i≤ji \le ji≤j.

For a number ε\varepsilonε the modified deadline of job jjj is

dˉj=min⁡{ dk∣jρk }+jε,\bar d_j = \min\{\, d_k \mid j\rho k \,\} + j\varepsilon ,dˉj​=min{dk​∣jρk}+jε,

the earliest deadline among jjj and its successors, plus a tie-breaking term. The paper takes ε\varepsilonε to be "a small number"; here that means ε>0\varepsilon > 0ε>0 and nε<dl−dkn\varepsilon < d_l - d_knε<dl​−dk​ whenever dk<dld_k < d_ldk​<dl​.

Formalization targets

Goal: the §2 Theorem (p. 78)

Let σ∗\sigma^*σ∗ be the sequence in which dˉj\bar d_jdˉj​ increases. Then

(∃ σ consistent with ρ: Cj(σ)≤dj  ∀j)  ⟺  Cj(σ∗)≤dj  ∀j.\Big(\exists\,\sigma \text{ consistent with } \rho:\ C_j(\sigma) \le d_j\ \ \forall j\Big)\iff C_j(\sigma^*) \le d_j\ \ \forall j .(∃σ consistent with ρ: Cj​(σ)≤dj​  ∀j)⟺Cj​(σ∗)≤dj​  ∀j.

Milestones (from §2 and the proof of the Theorem, p. 78)

  1. For distinct jobs, iρj⇒dˉi<dˉji\rho j \Rightarrow \bar d_i < \bar d_jiρj⇒dˉi​<dˉj​.
  2. The sequence σ∗\sigma^*σ∗ is consistent with ρ\rhoρ (the "if" part of the Theorem).
  3. If dˉj<dˉi\bar d_j < \bar d_idˉj​<dˉi​, then jjj or some successor kkk of jjj has dk≤did_k \le d_idk​≤di​.
  4. In an on-time sequence consistent with ρ\rhoρ, two adjacent jobs i,ji, ji,j (in this order) with dˉi>dˉj\bar d_i > \bar d_jdˉi​>dˉj​ can be interchanged, and the result is again on time and consistent with ρ\rhoρ.

Significance

The Theorem reduces a question over all n!n!n! sequences consistent with ρ\rhoρ to the evaluation of one sequence, and the sequence depends only on the deadlines and on ρ\rhoρ, not on the processing times. This independence is what the paper's later sections rely on: it lets a subset-selection dynamic program (Eq. (1) of the paper) process jobs in a fixed order. Without precedence constraints (ρ\rhoρ the identity) the Theorem is Jackson's rule. The operational form, "always take next, from among the available jobs, a job which has a successor with the earliest possible deadline", is a list-scheduling rule of the same kind as the backward rule of Lawler (1973) for 1∣prec∣fmax⁡1\mid prec\mid f_{\max}1∣prec∣fmax​.

The result has been proved on paper since 1969. As far as is known it has no machine-checked proof. This mission produces a formal proof of the Theorem and of the exchange step behind it, stated on the same sequence and completion-time model as the platform's existing single-machine scheduling missions.

Difficulty

The obvious argument is the exchange argument for Jackson's rule: swap an adjacent pair that is out of order and check that nothing becomes late. Two things fail without care. First, the swap must not violate precedence; this is why the deadline of a job is replaced by the minimum over its successors. Second, after the swap, job iii completes when job jjj used to complete, but did_idi​ need not be at least djd_jdj​: one must find a successor of jjj that is later in the sequence, on time, and due no later than iii. That step uses the smallness of ε\varepsilonε: with a large ε\varepsilonε the tie-breaking term outweighs a difference of deadlines, and the Theorem fails (three jobs without precedence, a=(2,4,3)a = (2,4,3)a=(2,4,3), d=(7,9,8)d = (7,9,8)d=(7,9,8), ε=3\varepsilon = 3ε=3). Finally, the exchange step must be turned into a terminating transformation of an arbitrary feasible sequence into σ∗\sigma^*σ∗, a bubble-sort argument over lists.

Formalization scope

  • Jobs are Fin n, 0-based: the Lean job j is the paper's job j+1j+1j+1, and the tie-break is ((j:N)+1)ε((j:\mathbb N)+1)\varepsilon((j:N)+1)ε. Processing times and deadlines are real.
  • Sequences and completion times are the published platform definitions MooreLateJobs.Shared.IsSchedule and MooreLateJobs.Shared.completionTime (a duplicate-free list of all jobs; start at time 000, no idle time). Idle time never helps meet a deadline, so this loses nothing. Consistency with ρ\rhoρ is the published LawlerPrec.MinMax.IsFeasible.
  • The modified deadline minimizes over insert j {k | ρ j k}, which is nonempty; for the reflexive ρ\rhoρ of the paper this is {k∣jρk}\{k \mid j\rho k\}{k∣jρk} ("considering a job to be one of its own successors").
  • Explicit readings of the paper's phrases:
    • "ε\varepsilonε is a small number": ε>0\varepsilon > 0ε>0 and nε<dl−dkn\varepsilon < d_l - d_knε<dl​−dk​ whenever dk<dld_k < d_ldk​<dl​. A fixed ε\varepsilonε is quantified universally, not hidden under an existential.
    • "the sequence obtained by ordering jobs according to increasing values of dˉj\bar d_jdˉj​": any duplicate-free list of all jobs along which dˉj\bar d_jdˉj​ strictly increases. Under the hypotheses the dˉj\bar d_jdˉj​ are distinct, so exactly one such list exists.
    • "iρj implies dˉi<dˉj\bar d_i < \bar d_jdˉi​<dˉj​": stated for i≠ji \ne ji=j, since ρ\rhoρ is reflexive.
    • The pair condition "a consecutive pair with dˉi>dˉj\bar d_i > \bar d_jdˉi​>dˉj​" of milestone 3 is dropped, since the claim does not use it.
  • Added hypothesis: aj≥0a_j \ge 0aj​≥0. The paper uses it tacitly ("jjj will remain on time since it will be earlier in the sequence") and the Theorem is false without it.
  • The milestones assume only what they use (for instance, milestone 1 needs transitivity, the numbering and ε>0\varepsilon > 0ε>0). The goal assumes the full partial order of the paper.
  • Trivializing formalizations ruled out: ε=0\varepsilon = 0ε=0 or an unconstrained ε\varepsilonε; a minimum over a possibly empty set, which Lean would assign a junk value; completion times not tied to the order of the list; and dropping "consistent with the precedence constraints" from the left-hand side, which turns the Theorem into a false variant of Jackson's rule.
  • Not in scope: the "order of computational steps" remarks, §3 and the later sections (other missions of this series).

Related platform items: Jackson's rule for unrestricted jobs is already posed as MooreLateJobs.NumLate.jackson (Moore 1968) and is not re-posed here; Lawler's 1∣prec∣fmax⁡1\mid prec\mid f_{\max}1∣prec∣fmax​ theorem is posed as LawlerPrec.MinMax.sequencing_theorem. Contributions welcome: general list-exchange lemmas (adjacent swaps, bubble-sort termination toward a sorted list) are reusable well beyond this mission.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1) (1969) 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3 (1956) 59–66. https://doi.org/10.1002/nav.3800030106
  • E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5) (1973) 544–546. https://doi.org/10.1287/mnsc.19.5.544
8 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 3: The Minimum Weighted Number of Tardy Jobs Is Σ p_j Minus the Value f(n, d_n) of Equation (3)Research Paper

Motivation

Minimizing the weighted number of tardy jobs on a single machine, written 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​ in later scheduling notation, is one of the basic due-date objectives: each job either meets its deadline or pays a fixed penalty, and the question is which jobs to sacrifice. Moore (Management Sci. 15, 1968) solved the unweighted case pj=1p_j = 1pj​=1 with a greedy procedure. Lawler and Moore (Management Sci. 16, 1969) handled arbitrary weights by recasting the problem as a knapsack problem with nested prefix constraints and solving it by a recursion, their Equation (3). This is the classical pseudo-polynomial algorithm for the weighted problem; Lenstra, Rinnooy Kan and Brucker (Ann. Discrete Math. 1, 1977) showed that the weighted problem is NP-hard, so a pseudo-polynomial method is the expected kind of exact algorithm.

The paper's Sections 5 and 6 state the reduction in a few sentences: on-time jobs can be taken in deadline order, the problem is "equivalent" to the prefix-constrained knapsack, and (3) solves the latter. This mission turns those sentences into precise statements.

Setting

There are n≥1n \ge 1n≥1 jobs, processed by a single machine one immediately following the other from time 000. Job jjj has a nonnegative integer processing time aj′a'_jaj′​, a nonnegative integer deadline djd_jdj​ and a penalty pj≥0p_j \ge 0pj​≥0. A sequence σ\sigmaσ is an ordering of all jobs; job jjj completes at time Cj(σ)C_j(\sigma)Cj​(σ), the total processing time of job jjj and the jobs before it. Job jjj is tardy in σ\sigmaσ if Cj(σ)>djC_j(\sigma) > d_jCj​(σ)>dj​, and the total loss of σ\sigmaσ is

W(σ)=∑j tardy in σpj,W(\sigma) = \sum_{j \text{ tardy in } \sigma} p_j ,W(σ)=j tardy in σ∑​pj​,

the loss cj(t)c_j(t)cj​(t) being 000 for t≤djt \le d_jt≤dj​ and pjp_jpj​ for t>djt > d_jt>dj​.

The jobs are numbered by deadline, d1≤d2≤⋯≤dnd_1 \le d_2 \le \cdots \le d_nd1​≤d2​≤⋯≤dn​. A 0–1 vector xxx (xj=1x_j = 1xj​=1: job jjj on time; xj=0x_j = 0xj​=0: tardy) is prefix-feasible if

a1′x1+⋯+ak′xk≤dk(k=1,…,n).a'_1x_1 + \cdots + a'_kx_k \le d_k \qquad (k = 1, \dots, n).a1′​x1​+⋯+ak′​xk​≤dk​(k=1,…,n).

Equation (3) defines f(j,t)f(j,t)f(j,t) for j=0,…,nj = 0, \dots, nj=0,…,n and integer ttt:

f(j,t)={max⁡{f(j,t−1), f(j−1,t), pj+f(j−1,t−aj′)},0≤t≤dj,f(j,dj),t>dj,f(j,t) = \begin{cases}\max\{f(j,t-1),\ f(j-1,t),\ p_j + f(j-1,t-a'_j)\}, & 0 \le t \le d_j,\\ f(j, d_j), & t > d_j,\end{cases}f(j,t)={max{f(j,t−1), f(j−1,t), pj​+f(j−1,t−aj′​)},f(j,dj​),​0≤t≤dj​,t>dj​,​

with f(0,t)=0f(0,t) = 0f(0,t)=0 for t≥0t \ge 0t≥0 and f(j,t)=−∞f(j,t) = -\inftyf(j,t)=−∞ for t<0t < 0t<0.

Formalization targets

Goal: the minimum weighted number of tardy jobs

With d1≤⋯≤dnd_1 \le \cdots \le d_nd1​≤⋯≤dn​ and pj≥0p_j \ge 0pj​≥0, f(n,dn)f(n, d_n)f(n,dn​) is finite and

min⁡σW(σ)=∑j=1npj−f(n,dn).\min_{\sigma} W(\sigma) = \sum_{j=1}^n p_j - f(n, d_n).σmin​W(σ)=j=1∑n​pj​−f(n,dn​).

This is the paper's claim that the problem "is solved by" its recursion, with the evaluation point made explicit.

Milestones (Section 5, Section 6, Eq. (3))

  1. Section 5. For any sequence, the on-time jobs, sequenced in order of their deadlines and followed by the tardy jobs in arbitrary order, stay on time, and the total loss does not increase.
  2. Section 6. Every sequence has a prefix-feasible xxx with ∑pj−∑pjxj≤W(σ)\sum p_j - \sum p_jx_j \le W(\sigma)∑pj​−∑pj​xj​≤W(σ), and every prefix-feasible xxx has a sequence with W(σ)≤∑pj−∑pjxjW(\sigma) \le \sum p_j - \sum p_jx_jW(σ)≤∑pj​−∑pj​xj​: the two problems have the same optimal value.
  3. Eq. (3). For 0≤j≤n0 \le j \le n0≤j≤n and t≥0t \ge 0t≥0,
f(j,t)=max⁡{∑i≤jpixi:∑i≤kai′xi≤dk (k≤j), ∑i≤jai′xi≤t}.f(j,t) = \max\Bigl\{\textstyle\sum_{i \le j} p_ix_i : \sum_{i\le k} a'_ix_i \le d_k\ (k \le j),\ \sum_{i\le j} a'_ix_i \le t\Bigr\}.f(j,t)=max{∑i≤j​pi​xi​:∑i≤k​ai′​xi​≤dk​ (k≤j), ∑i≤j​ai′​xi​≤t}.

The goal follows from milestones 2 and 3 at j=nj = nj=n, t=dnt = d_nt=dn​.

Significance

The result is the exact algorithm for 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​ with running time proportional to n dnn\,d_nndn​, and the reduction behind it (on-time jobs in earliest-deadline order, then a knapsack over the on-time set) is the template reused by later work on due-date objectives, including the two-agent and batching variants. The prefix-constrained knapsack itself reappears whenever a set of jobs must be feasible under nested capacity limits.

On formalization: the paper's argument is three sentences long and leaves several points implicit: the base cases of (3), the role of the deadline numbering, the sign of the penalties, and what "equivalent" means. A machine-checked development fixes each of them and yields a verified pseudo-polynomial algorithm for an NP-hard scheduling problem. To our knowledge none of these statements has a machine-checked proof; the platform's SchedComplexity.OneMachine.* items (Lenstra, Rinnooy Kan and Brucker) state the NP-hardness of the same problem in another model, MooreLateJobs.NumLate.* covers Moore's unweighted case, and TwoAgentSched.LateLate.lemma_7_1 is a two-agent analogue of milestone 1.

Difficulty

The obvious argument works with the set of on-time jobs and asserts that this set can be sequenced on time iff its earliest-deadline order is. That step is Jackson's rule, an exchange argument on lists that is not in Mathlib; it is where both milestone 1 and the first half of milestone 2 sit. The second half of milestone 2 needs the deadline numbering: for a job kkk that is tardy, the prefix constraint at kkk is not a completion-time constraint of any job, and only the monotonicity di≤dkd_i \le d_kdi​≤dk​ for the last on-time job i≤ki \le ki≤k bounds it. Milestone 3 is a dynamic-programming correctness proof in which the cap f(j,t)=f(j,dj)f(j,t) = f(j,d_j)f(j,t)=f(j,dj​) for t>djt > d_jt>dj​ and the −∞-\infty−∞ base cases must be tracked through a well-founded recursion on (j,t)(j, t)(j,t).

Formalization scope

Jobs are Fin n, 0-based: Lean job jjj is the paper's job j+1j+1j+1, and the paper's f(j,⋅)f(j,\cdot)f(j,⋅) uses Lean job ⟨j-1, _⟩. Sequences are lists in the published model MooreLateJobs.Shared (IsSchedule Finset.univ l, completionTime, no idle time, start at 000), which replaces the paper's permutation π\piπ; tardy jobs are the published MooreLateJobs.NumLate.lateSet (strictly dj<Cjd_j < C_jdj​<Cj​). Processing times and deadlines are natural numbers, penalties real. Vectors xxx are Fin n → Bool. fff takes values in WithBot ℝ, with ⊥=−∞\bot = -\infty⊥=−∞ and p+⊥=⊥p + \bot = \botp+⊥=⊥; +∞+\infty+∞ never occurs.

Explicit readings of the paper's loose phrases:

  • Integer data: (3) steps ttt by 111 and subtracts aj′a'_jaj′​, so aj′a'_jaj′​ and djd_jdj​ are nonnegative integers.
  • Penalties pj≥0p_j \ge 0pj​≥0 ("a penalty pjp_jpj​ is exacted"); the goal, milestone 1 and milestone 2 assume it, milestone 3 does not need it.
  • Deadline numbering ("ordering the jobs by deadlines") is Monotone d on the job index; assumed in the goal and milestone 2 only.
  • Base cases of (3) are those of Equation (1), with −∞-\infty−∞ for a maximum: f(0,t)=0f(0,t) = 0f(0,t)=0 (t≥0t \ge 0t≥0), f(j,t)=−∞f(j,t) = -\inftyf(j,t)=−∞ (t<0t < 0t<0). The dominated term f(j,t−1)f(j,t-1)f(j,t−1) is kept as printed.
  • "Equivalent" is the pair of inequalities of milestone 2, i.e. equal optimal values.
  • "Solved by" means f(n,dn)f(n,d_n)f(n,dn​) is finite and ∑pj−f(n,dn)\sum p_j - f(n,d_n)∑pj​−f(n,dn​) is the least weighted number of tardy jobs (IsLeast over all schedules); n≥1n \ge 1n≥1 only so that dnd_ndn​ exists.
  • "Arbitrary order" of the tardy jobs in milestone 1 is a universal quantifier over the remaining lists.

Section 5 literally applies Equation (1) with aj=aj′a_j = a'_jaj​=aj′​, αj(t)=0\alpha_j(t) = 0αj​(t)=0, bj=0b_j = 0bj​=0, βj(t)=pj\beta_j(t) = p_jβj​(t)=pj​; read literally, that leaves the deadlines unenforced, so the mission formalizes the paper's own corrected form (3) instead. Trivializing formalizations are ruled out: the weighted number of tardy jobs is defined from completion times, not through xxx; the optimum is a minimum over sequences, not defined as fff; (3) keeps its cap f(j,t)=f(j,dj)f(j,t) = f(j,d_j)f(j,t)=f(j,dj​); the goal assumes pj≥0p_j \ge 0pj​≥0 and sorted deadlines, without which it is false.

Infrastructure: an exchange lemma for earliest-deadline order on lists (Jackson's rule, posed on the platform as MooreLateJobs.NumLate.jackson) and well-founded-recursion lemmas for WithBot ℝ maxima are reusable beyond this mission. Proofs of any milestone, and of Jackson's rule, are welcome.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1), 1969, 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Tardy Jobs, Management Science 15(1), 1968, 102–109. https://doi.org/10.1287/mnsc.15.1.102
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Complexity of Machine Scheduling Problems, Annals of Discrete Mathematics 1, 1977, 343–362. https://doi.org/10.1016/S0167-5060(08)70743-X
9 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 2: Dynamic Program DP2 Finds a Minimum-Makespan On-Time Batch Schedule When Processing Times and Due Dates Are AgreeableResearch Paper

Burn-in ovens as batch processing machines

In semiconductor manufacturing, finished chips go through burn-in: they are loaded on boards and held in an oven at high temperature to expose early failures. An oven holds a bounded number of boards, a load cannot be interrupted once started, and a chip may stay in the oven longer than its specified burn-in time but not shorter. Lee, Uzsoy and Martin-Vega (Oper. Res. 40(4), 1992) model the oven as a batch processing machine and give polynomial algorithms for several due-date objectives. The model has since become a standard one in scheduling theory; the survey of Potts and Kovalyov (2000) traces the batching literature that grew from it.

This mission formalizes the part of the paper's §3 on minimizing maximum tardiness when all jobs are available at time 000 and processing times and due dates are agreeable. That is the problem the paper writes 1/B/Tmax⁡1/B/T_{\max}1/B/Tmax​. The paper's own route is a feasibility test by dynamic programming, Algorithm DP2, which a bisection over due-date shifts turns into a Tmax⁡T_{\max}Tmax​ minimizer.

The batch machine

There are nnn jobs 1,…,n1,\dots,n1,…,n. Job iii has a processing time pip_ipi​ and a due date did_idi​, both natural numbers. The machine has capacity B≥1B\ge 1B≥1. A batch is a nonempty set of at most BBB jobs processed together. It occupies the machine for the processing time of its longest job,

t(P)=max⁡i∈Ppi.t(P)=\max_{i\in P}p_i .t(P)=i∈Pmax​pi​.

A batch schedule of a job set JJJ is a sequence S=(P1,…,Pm)S=(P_1,\dots,P_m)S=(P1​,…,Pm​) of pairwise disjoint batches covering JJJ, processed in this order and back to back from time 000. Batch PkP_kPk​ and all of its jobs complete at C(Pk)=t(P1)+⋯+t(Pk)C(P_k)=t(P_1)+\dots+t(P_k)C(Pk​)=t(P1​)+⋯+t(Pk​). The makespan is Cmax⁡(S)=C(Pm)C_{\max}(S)=C(P_m)Cmax​(S)=C(Pm​), and the maximum tardiness is

Tmax⁡(S)=max⁡kmax⁡i∈Pkmax⁡{0, C(Pk)−di}.T_{\max}(S)=\max_k\max_{i\in P_k}\max\{0,\,C(P_k)-d_i\}.Tmax​(S)=kmax​i∈Pk​max​max{0,C(Pk​)−di​}.

A schedule is feasible when Tmax⁡(S)=0T_{\max}(S)=0Tmax​(S)=0, that is, when every job meets its due date.

A sequence is in batch-EDD order (Definition 1) if no job in an earlier batch has a strictly later due date than a job in a later batch. Processing times and due dates are agreeable if pi<pjp_i<p_jpi​<pj​ implies di≤djd_i\le d_jdi​≤dj​. A schedule is consecutive when every batch is a block {i,i+1,…,k}\{i,i+1,\dots,k\}{i,i+1,…,k} of indices and the blocks appear in increasing order.

Algorithm DP2 computes values f(0),…,f(n)∈N∪{∞}f(0),\dots,f(n)\in\mathbb N\cup\{\infty\}f(0),…,f(n)∈N∪{∞}:

f(0)=0,f(j)=min⁡max⁡{1, j−B+1}≤i≤jfi(j),fi(j)={f(i−1)+pj,f(i−1)+pj≤di,∞,otherwise.f(0)=0,\qquad f(j)=\min_{\max\{1,\,j-B+1\}\le i\le j} f_i(j),\qquad f_i(j)=\begin{cases}f(i-1)+p_j,& f(i-1)+p_j\le d_i,\\ \infty,&\text{otherwise.}\end{cases}f(0)=0,f(j)=max{1,j−B+1}≤i≤jmin​fi​(j),fi​(j)={f(i−1)+pj​,∞,​f(i−1)+pj​≤di​,otherwise.​

Formalization targets

Goal: correctness of DP2

Index the jobs so that d1≤⋯≤dnd_1\le\dots\le d_nd1​≤⋯≤dn​ and p1≤⋯≤pnp_1\le\dots\le p_np1​≤⋯≤pn​. Then for every 0≤j≤n0\le j\le n0≤j≤n,

f(j)=min⁡{ Cmax⁡(S):S a batch schedule of jobs 1,…,j, Tmax⁡(S)=0 },f(j)=\min\{\,C_{\max}(S) : S \text{ a batch schedule of jobs } 1,\dots,j,\ T_{\max}(S)=0\,\},f(j)=min{Cmax​(S):S a batch schedule of jobs 1,…,j, Tmax​(S)=0},

with min⁡∅=∞\min\emptyset=\inftymin∅=∞. The minimum ranges over all schedules: any batching, any order. This is the paper's reading of f(j)f(j)f(j) as "the minimum completion time of jobs 1,…,j1,\dots,j1,…,j if they can be scheduled feasibly, and infinity otherwise".

Milestones

  1. Lemma 3. With agreeable processing times and due dates, if a feasible schedule exists, then a feasible schedule in batch-EDD order exists.
  2. Consecutive partition (justification of DP2). Under the index order above, if jobs 1,…,j1,\dots,j1,…,j can be scheduled feasibly, then some feasible schedule of minimum makespan is consecutive.
  3. FBEDD. With equal processing times and due dates in index order, the Full-Batch EDD schedule {1,…,B},{B+1,…,2B},…\{1,\dots,B\},\{B+1,\dots,2B\},\dots{1,…,B},{B+1,…,2B},… has Tmax⁡T_{\max}Tmax​ no larger than that of any batch schedule.

Significance

DP2 is the paper's feasibility test for 1/B/Tmax⁡1/B/T_{\max}1/B/Tmax​ with agreeable data. With a bisection over the common shift of the due dates, it yields a polynomial algorithm for minimizing Tmax⁡T_{\max}Tmax​. A correct statement of what DP2 computes is therefore the core of that result. The same consecutive-partition structure underlies the paper's DP1 (release times, equal processing times) and DP3 (number of tardy jobs), which are separate missions of this series.

No machine-checked proof of any of these statements is known. The dynamic program's correctness is argued in the paper only by reference ("the justification of this algorithm is similar to that of algorithm DP1"), and the index order it needs is left implicit. A formal proof pins down exactly which ordering of the jobs makes the recursion correct.

Difficulty

The recursion charges pjp_jpj​ for the last batch {i,…,j}\{i,\dots,j\}{i,…,j} and checks only did_idi​. Both shortcuts rely on the jobs being sorted by due date and by processing time at the same time. Lemma 3's exchange argument sorts a feasible schedule by due date, but it does not by itself produce consecutive blocks of a fixed index order. With ties in due dates the indexing also has to be compatible with processing times. Without that, the recursion is wrong: for B=2B=2B=2, p=(3,1)p=(3,1)p=(3,1), d=(5,5)d=(5,5)d=(5,5) it gives f(2)=1f(2)=1f(2)=1, while every schedule takes at least 333. The goal compares the DP with the optimum over all schedules, so the exchange arguments have to bridge arbitrary batchings and the consecutive ones the recursion enumerates. That bridge is the main step left to prove.

Formalization scope

  • Jobs are Fin n (job iii of the paper is index i−1i-1i−1); jobs 1,…,j1,\dots,j1,…,j are jobsUpTo n j. Data are natural numbers; the paper assumes integral data (p. 769).
  • A schedule is a List (Finset (Fin n)); validity requires nonempty batches of size at most BBB inside the job set, pairwise disjoint, covering the set. Batches start as early as possible. Batch time is the maximum processing time in the batch.
  • ∞\infty∞ is ⊤ : ℕ∞, and the goal's minimum is the infimum in ℕ∞, which is ⊤ exactly when no feasible schedule exists. DP2 is defined by the printed recursion, not as an optimum.
  • Explicit readings of loose phrases:
    • "jobs are indexed in increasing order of due dates" (p. 767) becomes Monotone d ∧ Monotone p for DP2 and its justification, and Monotone d for FBEDD;
    • "agreeable" (printed "pi≤pjp_i\le p_jpi​≤pj​ implies di≤djd_i\le d_jdi​≤dj​", which would force equal due dates for equal processing times) becomes the strict form pi<pj⇒di≤djp_i<p_j\Rightarrow d_i\le d_jpi​<pj​⇒di​≤dj​, a weaker hypothesis;
    • "optimally solves" for FBEDD becomes "valid, and Tmax⁡T_{\max}Tmax​ at most that of every valid schedule";
    • "a consecutive partition problem" becomes the existence of a consecutive minimum-makespan feasible schedule.
  • Not formalized: the O(nB)O(nB)O(nB) and O[nBlog⁡2(npmax⁡)]O[nB\log_2(np_{\max})]O[nBlog2​(npmax​)] running times, the bisection procedure, and the remark that npmax⁡np_{\max}npmax​ bounds Tmax⁡T_{\max}Tmax​.
  • Trivializations ruled out: the goal's minimum ranges over all valid schedules, not only batch-EDD or consecutive ones (which would assume the milestones), and DP2 is the printed recursion, not a restatement of the optimum.
  • Infrastructure needed: list-indexed schedules, exchange arguments on adjacent batches, and induction on prefix length for the recursion. The single-machine batch model is shared in spirit with missions 1 and 3 of this series. No published platform definition was reused, since nothing on batch machines exists yet.

Selected references

  • C.-Y. Lee, R. Uzsoy, L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 764–775, 1992. https://doi.org/10.1287/opre.40.4.764
  • Y. Ikura, M. Gimple, Efficient scheduling algorithms for a single batch processing machine, Operations Research Letters 5(2), 61–65, 1986. https://doi.org/10.1016/0167-6377(86)90104-5
  • C. N. Potts, M. Y. Kovalyov, Scheduling with batching: A review, European Journal of Operational Research 120(2), 228–249, 2000. https://doi.org/10.1016/S0377-2217(99)00153-8
7 thms1 active userReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Equilibrium Points in n-Person Games: the Countering Correspondence Has Nonempty Convex Values and a Closed Graph, and Its Fixed Points Are the Equilibrium PointsResearch Paper

Motivation

A Nash equilibrium is a joint choice of strategies at which no player can improve their own expected payoff by changing their strategy alone. This gives a testable notion of stable behavior for a finite game, including games in which the players' aims differ. Nash's two-page 1950 note established the existence of such a point for finite games by organizing each player's best replies into a single correspondence and using a fixed-point theorem. The note identifies several properties of that correspondence and ends by comparing equilibrium payoffs in zero-sum and general games. Those claims, stated together in Nash's published note, are the subject of this mission.

The existence conclusion itself already has a proved formal statement, AGT.nash_existence, in the game vocabulary used here. The remaining claims explain what the fixed-point argument acts on: which profiles are related by countering, why countering sets are usable as values of a correspondence, and what their fixed points mean. Keeping those statements explicit makes the 1950 argument legible independently of the existence theorem's proof.

Setting

There is a finite set III of players. Each player iii has a finite, nonempty set SiS_iSi​ of pure strategies. A pure-strategy profile sss chooses one element of every SiS_iSi​, and ui(s)∈Ru_i(s)\in\mathbb Rui​(s)∈R is player iii's payoff. A mixed strategy PiP_iPi​ assigns a nonnegative real weight to each element of SiS_iSi​, with weights summing to one. The space Σ\SigmaΣ of mixed profiles P=(Pi)i∈IP=(P_i)_{i\in I}P=(Pi​)i∈I​ is the product of these finite probability simplices.

Players randomize independently. Thus the probability of a pure profile sss under PPP is ∏j∈IPj(sj)\prod_{j\in I}P_j(s_j)∏j∈I​Pj​(sj​), and player iii's expected payoff is

Ui(P)=∑s∈∏jSj(∏j∈IPj(sj))ui(s).U_i(P)=\sum_{s\in\prod_j S_j}\left(\prod_{j\in I}P_j(s_j)\right)u_i(s).Ui​(P)=s∈∏j​Sj​∑​​j∈I∏​Pj​(sj​)​ui​(s).

For a strategy τi\tau_iτi​ of player iii, write Ui(τi,P−i)U_i(\tau_i,P_{-i})Ui​(τi​,P−i​) for the payoff obtained by replacing only coordinate iii of PPP. A profile QQQ counters PPP if Q∈ΣQ\in\SigmaQ∈Σ and, for every player iii, its coordinate QiQ_iQi​ gives that player the highest expected payoff available against the other players' coordinates of PPP:

Q∈C(P)⟺Q∈ΣandUi(τi,P−i)≤Ui(Qi,P−i)for every i∈I and every mixed τi.Q\in C(P)\quad\Longleftrightarrow\quad Q\in\Sigma\quad\text{and}\quad U_i(\tau_i,P_{-i})\le U_i(Q_i,P_{-i}) \quad\text{for every }i\in I\text{ and every mixed }\tau_i.Q∈C(P)⟺Q∈ΣandUi​(τi​,P−i​)≤Ui​(Qi​,P−i​)for every i∈I and every mixed τi​.

The countering correspondence CCC assigns the set C(P)C(P)C(P) to each P∈ΣP\in\SigmaP∈Σ. Its graph comprises the pairs (P,Q)(P,Q)(P,Q) with P∈ΣP\in\SigmaP∈Σ and Q∈C(P)Q\in C(P)Q∈C(P). A fixed point is a profile PPP belonging to C(P)C(P)C(P); Nash calls it an equilibrium point.

Formalization targets

The goal states the three properties of CCC that Nash uses, along with the identification of its fixed points:

∀P∈Σ,∅≠C(P)⊆Σ,C(P) is convex;\forall P\in\Sigma,\qquad \varnothing\ne C(P)\subseteq\Sigma, \qquad C(P)\text{ is convex};∀P∈Σ,∅=C(P)⊆Σ,C(P) is convex; Pk→P, Qk→Q, Qk∈C(Pk) for all k⟹Q∈C(P);P∈C(P) ⟺ P is a Nash equilibrium.P_k\to P,\ Q_k\to Q,\ Q_k\in C(P_k)\text{ for all }k \quad\Longrightarrow\quad Q\in C(P); \qquad P\in C(P)\ \Longleftrightarrow\ P\text{ is a Nash equilibrium}.Pk​→P, Qk​→Q, Qk​∈C(Pk​) for all k⟹Q∈C(P);P∈C(P) ⟺ P is a Nash equilibrium.

The milestone list follows the claims in the note: the payoff functions are polylinear and continuous; the correspondence maps mixed profiles to nonempty subsets of mixed profiles; its values are convex; its graph is closed in the sequential formulation Nash writes; and self-countering is equilibrium. A separate closed-set formulation records the graph property in the product topology.

The note also asserts a distinction about payoffs. In a two-person zero-sum game, where u0(s)+u1(s)=0u_0(s)+u_1(s)=0u0​(s)+u1​(s)=0 on every pure profile, any two equilibria have the same expected payoff for each player:

Ui(σ)=Ui(σ′)(i=0,1).U_i(\sigma)=U_i(\sigma')\qquad(i=0,1).Ui​(σ)=Ui​(σ′)(i=0,1).

For general games, this can fail. A companion target asks for a finite two-person game with two equilibria having different expected payoffs.

Significance

The correspondence theorem records the precise conditions on which Nash's application of Kakutani's fixed-point theorem rests. Nonempty convex values and a closed graph make the fixed-point route applicable to the mixed-strategy space; the fixed-point clause says why its output is an equilibrium of the game rather than only a topological point. The zero-sum companion separates the common value of a two-person zero-sum game from the possible range of equilibrium payoffs in a general game. These consequences and the comparison appear in Nash's note.

The equilibrium existence theorem is already proved as the referenced AGT.nash_existence. What remains here is to formalize the correspondence properties and the payoff comparison as their own auditable statements, using that theorem's published game definitions. The claims are known results from 1950; their appearance as goals means proofs of these particular statements are still to be supplied in this development.

Difficulty

The payoff of a player depends on every player's strategy, while countering compares only one changed coordinate at a time. The relevant set of maximizers is therefore indexed by the countered profile, and all players' choices must fit into one countering profile. Establishing closedness requires passing the payoff comparisons and the probability-vector conditions through limits of profiles. The zero-sum equality concerns arbitrary pairs of equilibria, which need not use the same strategies; an argument based only on the existence of an equilibrium cannot give it. For general games, a single equilibrium says nothing about whether another equilibrium has a different payoff.

Formalization scope

The Lean development uses a finite player type ι, finite pure-strategy types S i, real payoffs u, and the published definitions AGT.IsLottery, AGT.IsMixedProfile, AGT.expectedPayoff, and AGT.IsMixedNash. The goal and nonempty-value milestone require each S i to be nonempty. The note's probability distributions implicitly require this; the player type itself may be empty. A mixed profile is a tuple of finite real weight vectors, with no measure-theoretic integration or hidden normalization. In the two-person claim, players are 0, 1 : Fin 2.

Convergence is in the ordinary product topology of the real coordinate spaces. The sequence index is kkk because the note also uses nnn for the number of players. Counters u P Q requires QQQ to be a mixed profile and compares QiQ_iQi​ with every mixed deviation against P−iP_{-i}P−i​; this rules out arbitrary weight vectors and comparisons against the wrong opponents. Neither continuity nor the existence of a best response is assumed in the goal: those properties are targets. The definition layer and the payoff continuity and polylinearity results can be reused by other finite-game formalizations.

Selected references

  • J. F. Nash, Jr., Equilibrium Points in n-Person Games, Proceedings of the National Academy of Sciences 36(1), 48–49 (1950). DOI: 10.1073/pnas.36.1.48.
  • S. Kakutani, A Generalization of Brouwer's Fixed Point Theorem, Duke Mathematical Journal 8, 457–459 (1941), cited in Nash's footnote 1. DOI: 10.1215/S0012-7094-41-00838-4.
10 thms4 active usersReviewed
Previous

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