Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

405 open missions

Missions

301–320 of 405
OpenCompletedAll
CombinatoricsLinear OptimizationOperations Research·Captain: mikedeng1

Solving Large-Scale Zero-One Linear Programming Problems: A Minimal Cover Inequality Cuts Off x̄ iff the Knapsack Problem (2.12) Has Optimal Value Less Than OneResearch Paper

Motivation

Large zero–one linear programs can contain constraints involving only a small fraction of their variables. Crowder, Johnson and Padberg study how to extract useful inequalities from one such row while solving the larger program. Their computational method identifies a violated inequality at a current linear programming solution, adds it, and resolves the relaxation. The mathematical question behind that step is whether a minimal cover inequality can be found by a separate optimization problem. The authors answer it in Section 2.3 of their 1983 paper, after developing cover and configuration inequalities in Section 2.2. Crowder, Johnson and Padberg (1983)

The target is a known result from that paper. It is a precise statement about a finite knapsack row and a point in the unit cube, independent of the paper's implementation and numerical experiments. The paper also discusses (1,k)(1,k)(1,k)-configurations and lifting, which turn the identified inequalities into valid cuts involving additional row variables. Those statements supply the mission's milestones and make the separation result useful in its original setting. Crowder, Johnson and Padberg (1983), Sections 2.2–2.4

Setting

Fix a finite index set KKK, positive rational coefficients aja_jaj​ for j∈Kj\in Kj∈K, and a rational right-hand side a0a_0a0​. A zero–one solution is a vector with each xj∈{0,1}x_j\in\{0,1\}xj​∈{0,1} satisfying the single row

∑j∈Kajxj≤a0.(2.5)\sum_{j\in K}a_jx_j\le a_0. \tag{2.5}j∈K∑​aj​xj​≤a0​.(2.5)

The model uses the support set x={j:xj=1}x=\{j:x_j=1\}x={j:xj​=1} for such a vector. A set S⊆KS\subseteq KS⊆K is a minimal cover when its total coefficient exceeds a0a_0a0​, but removing any one member makes the total at most a0a_0a0​:

∑j∈Saj>a0,∑j∈Saj−ak≤a0(k∈S).(2.6)\sum_{j\in S}a_j>a_0, \qquad \sum_{j\in S}a_j-a_k\le a_0\quad(k\in S). \tag{2.6}j∈S∑​aj​>a0​,j∈S∑​aj​−ak​≤a0​(k∈S).(2.6)

It yields the cover inequality ∑j∈Sxj≤∣S∣−1\sum_{j\in S}x_j\le |S|-1∑j∈S​xj​≤∣S∣−1 for every feasible zero–one vector. The right-hand side is interpreted as a real number, so the expression also has its usual meaning when SSS is empty.

A (1,k)(1,k)(1,k)-configuration consists of S∗⊆KS^*\subseteq KS∗⊆K, t∉S∗t\notin S^*t∈/S∗ and an integer 2≤k≤∣S∗∣2\le k\le |S^*|2≤k≤∣S∗∣. The set S∗S^*S∗ itself fits the row, while Q∪{t}Q\cup\{t\}Q∪{t} is a minimal cover for every kkk-element subset QQQ of S∗S^*S∗. For any k≤r≤∣S∗∣k\le r\le |S^*|k≤r≤∣S∗∣ and rrr-element T⊆S∗T\subseteq S^*T⊆S∗, its inequality is (r−k+1)xt+∑j∈Txj≤r(r-k+1)x_t+\sum_{j\in T}x_j\le r(r−k+1)xt​+∑j∈T​xj​≤r. Crowder, Johnson and Padberg (1983), pp. 810–811

For a point xˉ∈[0,1]K\bar x\in[0,1]^Kxˉ∈[0,1]K, the separation problem asks for a cover s⊆Ks\subseteq Ks⊆K minimizing ∑j∈s(1−xˉj)\sum_{j\in s}(1-\bar x_j)∑j∈s​(1−xˉj​), subject to the strict condition ∑j∈saj>a0\sum_{j\in s}a_j>a_0∑j∈s​aj​>a0​. This is problem (2.12). The set of attainable values is finite, but it is empty if the row has no cover. An optimal value zzz is therefore asserted only when a least attainable value exists.

Formalization targets

Cover separation

The goal is the paper's Section 2.3 equivalence:

(∃S⊆K minimal:∑j∈Sxˉj>∣S∣−1)⟺z<1,\left(\exists S\subseteq K\text{ minimal}: \sum_{j\in S}\bar x_j>|S|-1\right) \quad\Longleftrightarrow\quad z<1,​∃S⊆K minimal:j∈S∑​xˉj​>∣S∣−1​⟺z<1,

where zzz is the attained optimum of (2.12). A cover inequality cuts off xˉ\bar xxˉ precisely when its left-hand side exceeds ∣S∣−1|S|-1∣S∣−1. If there is no cover, (2.12) has no optimal value; the theorem does not assign it an artificial value. Crowder, Johnson and Padberg (1983), pp. 812–813

Valid inequalities and lifting

The milestones state the validity of (2.7) and every inequality in (2.9), the two assertions used in the separation equivalence, and the relaxed lifting claims of Section 2.4. For lifting, zkz_kzk​ is the maximum integer objective value in (2.10), zˉk\bar z_kzˉk​ is the maximum in its linear relaxation, and zk∗=⌊zˉk⌋z_k^*=\lfloor\bar z_k\rfloorzk∗​=⌊zˉk​⌋. The claims are zk≤zk∗z_k\le z_k^*zk​≤zk∗​ and validity after adding variable kkk with coefficient fk=f0−zk∗f_k=f_0-z_k^*fk​=f0​−zk∗​. They concern attained optima, as the paper's “maximum” language requires. Crowder, Johnson and Padberg (1983), pp. 811, 814

Significance

The equivalence turns a geometric question about which cover inequality excludes xˉ\bar xxˉ into a finite optimization test with a numerical threshold of one. It identifies when a minimal cover cut exists for a row, while the validity milestones certify that the inequalities can be added without removing zero–one feasible points. The lifting claims explain how an inequality first written on a subset of variables remains valid as further variables enter it. These are the mathematical guarantees used by the paper's cutting plane procedure. Crowder, Johnson and Padberg (1983), Sections 2.2–2.4

The paper proves the separation equivalence and states the surrounding validity claims. This mission records their exact statements in Lean; its theorem proofs remain open. A complete development would add machine-checked proofs for the finite cover argument, configuration inequalities, and lifting validity. The resulting definitions of feasible supports, attained optimization values and intermediate inequality validity can also be reused in other finite knapsack formalizations.

Difficulty

Checking all subsets of KKK directly grows rapidly with the row size. A separation result must relate a minimum over all covers to an inequality indexed by a minimal cover, while accounting for objective coefficients that may be zero when xˉj=1\bar x_j=1xˉj​=1. The same boundary matters for lifting: the zero–one maximum is compared with a continuous relaxation, and rounding is justified by the integer coefficients of the current inequality. If the lifting problem is infeasible, neither maximum exists. Crowder, Johnson and Padberg (1983), pp. 812–814

Formalization scope

Lean uses an arbitrary finite index type for KKK, replacing the paper's indices 1,…,n1,\ldots,n1,…,n. A zero–one vector is a finite support set. Row coefficients and a0a_0a0​ are rational, as on p. 810; the point xˉ\bar xxˉ and separation values are real. The target asks only that xˉ\bar xxˉ lie in the unit cube. Although the paper obtains it as an optimum of the full LP relaxation (2.11), that additional property is not used in the row-level equivalence. No sign condition is imposed on a0a_0a0​.

The strict knapsack condition in (2.12) is retained. “Chops off” means strict violation of (2.7). “Optimal value” means membership and leastness in the attainable value set; for lifting it means membership and greatestness. Thus rows with no cover or infeasible lifting subproblem do not acquire a default zero optimum. The size expressions ∣S∣−1|S|-1∣S∣−1 and r−k+1r-k+1r−k+1 are evaluated in the reals, so natural-number truncation cannot change them. Integer lifting coefficients and the floor of the relaxed optimum express the paper's “truncating to its integer part”; the feasible relaxed problem includes the zero vector, so this agrees with truncation toward zero there.

Validity during an intermediate lifting step ranges over feasible zero–one vectors supported in the current set SSS. After adding kkk, it ranges over support in S∪{k}S\cup\{k\}S∪{k}. The final inequality covers the whole row when that set is KKK. The development must preserve the full quantifier over every kkk-subset in (2.8) and every rrr and TTT in (2.9); restricting these would weaken the paper's claim. Contributions proving the named milestones, adding concrete examples, or developing general finite optimization lemmas are in scope. The facet assertions attributed to Padberg are outside the target. A related lifted-cover facet statement already appears on the platform as NemhauserWolsey.partitioned_cover_lifting_defines_facet; its conventions and claim differ from this mission's validity results.

Selected references

  • H. Crowder, E. L. Johnson and M. Padberg, Solving Large-Scale Zero-One Linear Programming Problems, Operations Research 31(5), 803–834, 1983. DOI: 10.1287/opre.31.5.803
8 thms1 active userReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 5: Without Immediate Feedback, Every Work-Conserving Fluid Model of a Two-Station Kelly-Type Line Is StableResearch Paper

Motivation

A multiclass queueing network can be unstable even when every station has enough capacity on average: the queue lengths grow without bound although each server's nominal load is below one. Kumar and Seidman, Lu and Kumar (1991) and Rybko and Stolyar (1992) exhibited such networks under simple priority disciplines. This raised the question of which networks are stable under every reasonable policy, and which policies are stable in every network. Dai (1995) reduced the stability of a queueing network to the stability of its deterministic fluid model, so that the question becomes one about solutions of a system of linear equations and inequalities.

Dai and Weiss (1996) use this reduction to study reentrant lines, the model of semiconductor wafer fabrication in which a single route visits the same machines many times. Section 6 of their paper treats Kelly-type lines, in which every visit to a station has the same mean service time. Kelly (1979) showed that such networks with exponential service times are stable under FIFO and have a product-form stationary distribution. Theorem 6.1 shows that with two stations, and a route that never visits the same station twice in a row, stability holds under every work-conserving policy, not only FIFO. This mission formalizes that theorem.

Setting

A reentrant line has stations 1,…,I1,\dots,I1,…,I and classes 1,…,K1,\dots,K1,…,K. Fluid enters class 111 at rate 111, moves from class kkk to class k+1k+1k+1 on service, and leaves after class KKK. Class kkk is served at station σ(k)\sigma(k)σ(k) with mean service time mk>0m_k > 0mk​>0 and rate μk=1/mk\mu_k = 1/m_kμk​=1/mk​. The constituency of station iii is Ci={k:σ(k)=i}C_i = \{k : \sigma(k) = i\}Ci​={k:σ(k)=i} and its nominal workload is ρi=∑k∈Cimk\rho_i = \sum_{k\in C_i} m_kρi​=∑k∈Ci​​mk​. The traffic condition (1.7) is ρi<1\rho_i < 1ρi​<1 for every iii.

A fluid model solution is a pair (Q,T)(Q, T)(Q,T): Qk(t)≥0Q_k(t) \ge 0Qk​(t)≥0 is the fluid in class kkk at time ttt and Tk(t)T_k(t)Tk​(t) the cumulative service time given to class kkk by time ttt. They satisfy, for t≥0t \ge 0t≥0,

Qk(t)=Qk(0)+μk−1Tk−1(t)−μkTk(t)(μ0T0(t)=t),Q_k(t) = Q_k(0) + \mu_{k-1}T_{k-1}(t) - \mu_k T_k(t) \quad (\mu_0 T_0(t) = t),Qk​(t)=Qk​(0)+μk−1​Tk−1​(t)−μk​Tk​(t)(μ0​T0​(t)=t),

Tk(0)=0T_k(0) = 0Tk​(0)=0 with TkT_kTk​ nondecreasing, and the idle time Ui(t)=t−Bi(t)U_i(t) = t - B_i(t)Ui​(t)=t−Bi​(t), where Bi(t)=∑k∈CiTk(t)B_i(t) = \sum_{k\in C_i} T_k(t)Bi​(t)=∑k∈Ci​​Tk​(t), is nondecreasing. The solution is work-conserving if UiU_iUi​ increases only at times when station iii holds no fluid. The immediate volume of station iii is Wi(t)=∑k∈CimkQk(t)W_i(t) = \sum_{k \in C_i} m_k Q_k(t)Wi​(t)=∑k∈Ci​​mk​Qk​(t).

The line is of Kelly type with station means β1,…,βI\beta_1, \dots, \beta_Iβ1​,…,βI​ if mk=βσ(k)m_k = \beta_{\sigma(k)}mk​=βσ(k)​ for every class kkk. Its routing has no immediate feedback if σ(k+1)≠σ(k)\sigma(k+1) \ne \sigma(k)σ(k+1)=σ(k) for every k<Kk < Kk<K. A set of fluid solutions is stable (Definition 1.3) if there is a δ>0\delta > 0δ>0 such that every solution in the set with ∣Q(0)∣=∑kQk(0)=1|Q(0)| = \sum_k Q_k(0) = 1∣Q(0)∣=∑k​Qk​(0)=1 is empty from time δ\deltaδ on.

Formalization targets

Goal: Theorem 6.1

For a two-station Kelly-type reentrant line without immediate feedback that satisfies (1.7), the work-conserving fluid model is stable: there is δ>0\delta > 0δ>0 with

∑kQk(0)=1 ⟹ Qk(t)=0for all t≥δ, k=1,…,K,\sum_k Q_k(0) = 1 \ \Longrightarrow\ Q_k(t) = 0 \quad \text{for all } t \ge \delta,\ k = 1,\dots,K,k∑​Qk​(0)=1 ⟹ Qk​(t)=0for all t≥δ, k=1,…,K,

for every work-conserving fluid solution (Q,T)(Q,T)(Q,T). The number of classes KKK is arbitrary, of either parity, and the route may start at either station.

Milestones

The milestones follow the proof on p. 130 and the two general lemmas it uses: the extinction criterion of Lemma 2.2 (ii); the derivative of a maximum at an active index, display (3.2), already proved on the platform; the piecewise-linear Lyapunov Lemma 3.2; the drift identity Gi(t)=Gi(0)+∣Ci∣t−Bi(t)/βiG_i(t) = G_i(0) + |C_i|t - B_i(t)/\beta_iGi​(t)=Gi​(0)+∣Ci​∣t−Bi​(t)/βi​ for Gi=∑k∈CiQk+G_i = \sum_{k\in C_i} Q_k^+Gi​=∑k∈Ci​​Qk+​, with Qk+=∑l≤kQlQ_k^+ = \sum_{l\le k} Q_lQk+​=∑l≤k​Ql​; the comparison Wi(t)=0⇒Gi(t)≤Gj(t)W_i(t) = 0 \Rightarrow G_i(t) \le G_j(t)Wi​(t)=0⇒Gi​(t)≤Gj​(t); and the verification that G1,G2G_1, G_2G1​,G2​ meet the hypotheses of Lemma 3.2 with εi=1/βi−∣Ci∣\varepsilon_i = 1/\beta_i - |C_i|εi​=1/βi​−∣Ci​∣.

Significance

The result. Theorem 6.1 gives a class of networks in which stability needs no knowledge of the scheduling policy: any policy that never idles a server with work waiting is stable whenever the nominal loads are below one. For queueing networks this is the property usually called global stability. Through Theorem 1.1 of the paper (Dai 1995, Theorem 4.3) the fluid statement implies positive Harris recurrence of the corresponding multiclass queueing network under every work-conserving head-of-the-line policy. The paper's Remarks 2 and 3 show the boundary: with immediate feedback (the line 1,2,2,2,1,11,2,2,2,1,11,2,2,2,1,1 with all means 0.30.30.3), or with three stations, a Kelly-type line can be unstable. A two-station Kelly-type line without immediate feedback is a unidirectional ring with one customer type, so the theorem is a special case of the ring-network result the paper proves as Theorem 6.2. That result is an open goal on the platform (ProcessingNetworks.GlobalStability.ring_globally_stable, Dai and Harrison's Theorem 8.24) in a different encoding of the fluid model.

Formalizing it. The theorem is proved in the paper, and the mission formalizes that proof. No machine-checked proof of the result, or of the Lyapunov lemmas it uses, is known to exist. The mission also produces reusable pieces: a fluid model of reentrant lines in the paper's own formulation, an extinction lemma for absolutely continuous functions, and the max-of-linear Lyapunov lemma, which the paper uses again in §§3 and 5.

Difficulty

The obvious Lyapunov function, the total workload, does not work: a work-conserving policy may starve a station while the other one is busy, so the total content need not decrease. The paper's components Gi=∑k∈CiQk+G_i = \sum_{k\in C_i}Q_k^+Gi​=∑k∈Ci​​Qk+​ each decrease at the constant rate 1/βi−∣Ci∣1/\beta_i - |C_i|1/βi​−∣Ci​∣ while station iii is busy. When station iii is idle, GiG_iGi​ can grow, and the argument then needs the comparison Gi≤GjG_i \le G_jGi​≤Gj​, which requires the alternating route. The analytic difficulty is the passage from these pointwise statements to extinction. Fluid paths are only Lipschitz. The maximum G=max⁡(G1,G2)G = \max(G_1, G_2)G=max(G1​,G2​) need not be differentiable where the maximum switches, and the drift statements hold only almost everywhere. Lemma 2.2 (ii) and the derivative-of-a-maximum fact (3.2) make this step rigorous. The proof for odd KKK is not printed ("can be proved similarly"), and the formal goal covers it.

Formalization scope

All objects live in the namespace DaiWeissFluid.KellyType. The conventions are fixed as follows.

  • Classes and stations are 0-based (Fin K, Fin I). The paper's class kkk is Lean k - 1.
  • Paths are total functions ℝ → Fin K → ℝ, and every equation is imposed for t≥0t \ge 0t≥0 only. Derivatives are taken at t>0t > 0t>0 via HasDerivAt.
  • Work conservation (1.13) is stated in interval form: UiU_iUi​ is constant on every interval [s,t]⊆[0,∞)[s,t] \subseteq [0,\infty)[s,t]⊆[0,∞) on which station iii holds fluid throughout. For the continuous nondecreasing UiU_iUi​ this is equivalent to the paper's Stieltjes condition. Lipschitz continuity of the paths is not assumed, because it follows from the model.
  • mk>0m_k > 0mk​>0 is an explicit hypothesis. ∣Q(0)∣|Q(0)|∣Q(0)∣ is ∑kQk(0)\sum_k Q_k(0)∑k​Qk​(0).
  • Stability is Definition 1.3, which constrains only solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1.
  • The paper's Theorem 6.1 says "any work-conserving policy is stable", which is stability of the queueing network (Definition 1.1). Its proof establishes stability of the work-conserving fluid model, and the queueing-level conclusion follows from the cited Theorem 1.1 (Dai 1995). The goal is the fluid statement. Theorem 1.1 and the stochastic model are not formalized.
  • Lemma 2.2 (ii) is stated with the hypothesis g˙≤−ε\dot g \le -\varepsilong˙​≤−ε, where the page prints <<<. This is the form in which every application uses it, and it gives a stronger lemma.
  • The drift identity is stated for every Kelly-type line, which implies the printed K=2nK = 2nK=2n display. The printed "G2(t)=G2(t)+nt−…G_2(t) = G_2(t) + nt - \dotsG2​(t)=G2​(t)+nt−…" is read as G2(0)+nt−…G_2(0) + nt - \dotsG2​(0)+nt−….
  • Condition (b) and the Lemma 3.2 check are stated for both parities of KKK and both starting stations. A station with no classes has its εi\varepsilon_iεi​ left free.

The goal must not be trivialized. It quantifies over all work-conserving solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1, and this set is nonempty: a sorry-free witness with K=2K = 2K=2 is checked locally. Neither the Kelly-type hypothesis nor the absence of immediate feedback may be dropped (Remark 2), nor may the goal be generalized beyond two stations (Remark 3). Restricting it to even KKK, or to a route starting at station 1, would weaken it.

Contributions welcome: proofs of the general Lemmas 2.2 (ii) and 3.2, which apply across the whole series; the drift identity, which is pure algebra from (1.8); the continuity facts for fluid paths (Lipschitz bounds from (1.10)–(1.12)); and the final assembly.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. https://doi.org/10.1287/moor.21.1.115
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 49–77, 1995. https://doi.org/10.1214/aoap/1177004828
  • S. H. Lu and P. R. Kumar, Distributed scheduling based on due dates and buffer priorities, IEEE Transactions on Automatic Control 36(12), 1406–1416, 1991. https://doi.org/10.1109/9.106156
  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979.
  • J. G. Dai and J. M. Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press, 2020. https://doi.org/10.1017/9781108772662
11 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Optimality and Duality Theory for Stochastic Optimization Problems with Nonlinear Dominance Constraints 3: The Dual Functional of a Dominance Constraint Is Minus an Expected Concave ConjugateResearch Paper

Dual decomposition of dominance constraints

A stochastic dominance constraint asks a random outcome XXX of a decision to be at least as good as a benchmark outcome YYY for every risk-averse decision maker: in the second-order version, E[u(X)]≥E[u(Y)]\mathbb E[u(X)] \ge \mathbb E[u(Y)]E[u(X)]≥E[u(Y)] for every concave nondecreasing utility uuu. Dentcheva and Ruszczyński introduced optimization problems with such constraints in Optimization with stochastic dominance constraints (SIAM J. Optim. 2003), where the outcome itself is the decision variable, and extended the theory in the paper this mission formalizes, Optimality and duality theory for stochastic optimization problems with nonlinear dominance constraints (Math. Program. 2004, DOI 10.1007/s10107-003-0453-z), to outcomes Xi=Gi(z)X_i = G_i(z)Xi​=Gi​(z) that depend nonlinearly on a decision zzz.

The paper's §4 builds a Lagrangian dual of these problems. The multipliers of the iii-th dominance constraint are a utility function uiu_iui​ and an almost-sure multiplier θi\theta_iθi​ for the coupling Xi=Gi(z)X_i = G_i(z)Xi​=Gi​(z). The dual functional splits into a part D0D_0D0​ that involves only the decision zzz and one part DiD_iDi​ per dominance constraint. This mission is about the second kind of part: Theorem 4 computes DiD_iDi​ in closed form as a concave conjugate, and Theorem 5 gives its subgradients. Those two facts are what make the dual problem amenable to nonsmooth optimization and decomposition methods, which is the purpose the paper states for them.

The underlying shortfall function F2(X;η)=∫−∞ηP[X≤α] dαF_2(X;\eta)=\int_{-\infty}^{\eta}P[X\le\alpha]\,d\alphaF2​(X;η)=∫−∞η​P[X≤α]dα and its dual characterization are due to Ogryczak and Ruszczyński (Dual stochastic dominance and related mean–risk models, SIAM J. Optim. 2002). The pure-dominance case of the optimality theory is the 2003 paper above.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space, L1\mathcal L_1L1​ the integrable and L∞\mathcal L_\inftyL∞​ the essentially bounded random variables. Fix a bounded interval [a,b][a,b][a,b] (a≤ba\le ba≤b) and a reference outcome Y∈L1Y\in\mathcal L_1Y∈L1​.

The utility class U1([a,b])\mathcal U_1([a,b])U1​([a,b]) consists of the functions u:R→Ru:\mathbb R\to\mathbb Ru:R→R that are concave and nondecreasing, vanish on [b,∞)[b,\infty)[b,∞), and are affine on (−∞,a](-\infty,a](−∞,a]: u(t)=u(a)+c(t−a)u(t)=u(a)+c(t-a)u(t)=u(a)+c(t−a) for t≤at\le at≤a, with a constant c≥0c\ge 0c≥0. For such uuu, the left derivative u−′(a)u'_-(a)u−′​(a) at aaa is that slope ccc.

The concave conjugate of v:R→Rv:\mathbb R\to\mathbb Rv:R→R is

v∗(ξ)=inf⁡t∈R [ξt−v(t)]∈[−∞,+∞).v^*(\xi)=\inf_{t\in\mathbb R}\,[\xi t-v(t)]\in[-\infty,+\infty).v∗(ξ)=t∈Rinf​[ξt−v(t)]∈[−∞,+∞).

For a random variable ζ\zetaζ, v∗(ζ)v^*(\zeta)v∗(ζ) is the extended-real random variable ω↦v∗(ζ(ω))\omega\mapsto v^*(\zeta(\omega))ω↦v∗(ζ(ω)).

The dual functional of one dominance constraint, eq. (34), is

D(w,ζ)=sup⁡X∈L1E[w(X)−w(Y)−ζX]∈R‾,w∈U1([a,b]), ζ∈L∞.D(w,\zeta)=\sup_{X\in\mathcal L_1}\mathbb E\big[w(X)-w(Y)-\zeta X\big]\in\overline{\mathbb R},\qquad w\in\mathcal U_1([a,b]),\ \zeta\in\mathcal L_\infty .D(w,ζ)=X∈L1​sup​E[w(X)−w(Y)−ζX]∈R,w∈U1​([a,b]), ζ∈L∞​.

The functional of eq. (35) is f(v,ζ)=−E v∗(ζ)f(v,\zeta)=-\mathbb E\,v^*(\zeta)f(v,ζ)=−Ev∗(ζ), considered on Lip(R)×L1\mathrm{Lip}(\mathbb R)\times\mathcal L_1Lip(R)×L1​, where Lip(R)\mathrm{Lip}(\mathbb R)Lip(R) is the space of Lipschitz functions with norm ∥v∥Lip=∣v(0)∣+sup⁡t≠s∣v(t)−v(s)∣/∣t−s∣\|v\|_{\mathrm{Lip}}=|v(0)|+\sup_{t\ne s}|v(t)-v(s)|/|t-s|∥v∥Lip​=∣v(0)∣+supt=s​∣v(t)−v(s)∣/∣t−s∣.

Formalization targets

Goal: Theorem 4

For every v∈U1([a,b])v\in\mathcal U_1([a,b])v∈U1​([a,b]) and every ζ∈L∞\zeta\in\mathcal L_\inftyζ∈L∞​,

D(v,ζ)=−E[v∗(ζ)+v(Y)].D(v,\zeta)=-\mathbb E\big[v^*(\zeta)+v(Y)\big].D(v,ζ)=−E[v∗(ζ)+v(Y)].

The formal statement has two cases. If 0≤ζ≤v−′(a)0\le\zeta\le v'_-(a)0≤ζ≤v−′​(a) almost surely, then v∗(ζ)v^*(\zeta)v∗(ζ) is a.s. finite and integrable and the identity holds between real numbers. Otherwise D(v,ζ)=+∞D(v,\zeta)=+\inftyD(v,ζ)=+∞.

Milestones

  1. Unbounded cases (proof of Theorem 4, p. 13): P[ζ<0]>0⇒D(v,ζ)=+∞P[\zeta<0]>0 \Rightarrow D(v,\zeta)=+\inftyP[ζ<0]>0⇒D(v,ζ)=+∞; and P[ζ>v−′(a)]>0⇒D(v,ζ)=+∞P[\zeta>v'_-(a)]>0 \Rightarrow D(v,\zeta)=+\inftyP[ζ>v−′​(a)]>0⇒D(v,ζ)=+∞.
  2. Pointwise maximizer (p. 13): for 0≤ξ≤v−′(a)0\le\xi\le v'_-(a)0≤ξ≤v−′​(a), the function t↦v(t)−ξtt\mapsto v(t)-\xi tt↦v(t)−ξt attains its maximum at some t0∈[a,b]t_0\in[a,b]t0​∈[a,b], so v∗(ξ)=ξt0−v(t0)v^*(\xi)=\xi t_0-v(t_0)v∗(ξ)=ξt0​−v(t0​) is finite.
  3. Measurable selection (p. 13): if 0≤ζ≤v−′(a)0\le\zeta\le v'_-(a)0≤ζ≤v−′​(a) a.s., there is a measurable X∈[a,b]X\in[a,b]X∈[a,b] a.s. with X(ω)∈argmax⁡t[v(t)−ζ(ω)t]X(\omega)\in\operatorname{argmax}_t[v(t)-\zeta(\omega)t]X(ω)∈argmaxt​[v(t)−ζ(ω)t] a.s.
  4. Effective domain (p. 13): D(v,ζ)<+∞  ⟺  0≤ζ≤v−′(a)D(v,\zeta)<+\infty \iff 0\le\zeta\le v'_-(a)D(v,ζ)<+∞⟺0≤ζ≤v−′​(a) a.s.
  5. Theorem 5 (p. 14): for vˉ∈U1([a,b])\bar v\in\mathcal U_1([a,b])vˉ∈U1​([a,b]), ζˉ∈L1\bar\zeta\in\mathcal L_1ζˉ​∈L1​ with 0≤ζˉ≤vˉ−′(a)0\le\bar\zeta\le\bar v'_-(a)0≤ζˉ​≤vˉ−′​(a) a.s., and a measurable maximizer selection XXX with values in [a,b][a,b][a,b], the pair (PX,−X)(P_X,-X)(PX​,−X) is a subgradient of fff at (vˉ,ζˉ)(\bar v,\bar\zeta)(vˉ,ζˉ​):
f(v,ζ)≥f(vˉ,ζˉ)+∫(v−vˉ) dPX−E[X(ζ−ζˉ)]for all (v,ζ)∈Lip(R)×L1.f(v,\zeta)\ge f(\bar v,\bar\zeta)+\int\big(v-\bar v\big)\,dP_X-\mathbb E\big[X(\zeta-\bar\zeta)\big]\quad\text{for all }(v,\zeta)\in\mathrm{Lip}(\mathbb R)\times\mathcal L_1.f(v,ζ)≥f(vˉ,ζˉ​)+∫(v−vˉ)dPX​−E[X(ζ−ζˉ​)]for all (v,ζ)∈Lip(R)×L1​.

Significance

Theorem 4 reduces an optimization over the infinite-dimensional space L1\mathcal L_1L1​ to one scalar maximization per scenario: the dual functional is an expected conjugate. It identifies the effective domain of the dual in the multiplier ζ\zetaζ (bounded between 000 and the slope of the utility at the left end of the interval), and it makes evaluating DDD as cheap as evaluating v∗v^*v∗. Theorem 5 supplies explicit subgradients, the law of a maximizer and the maximizer itself, which is what bundle and cutting-plane methods for the dual problem (31) consume. The paper's §5–§6 build their finite-scenario theory and numerical method on this decomposition.

Both theorems are proved in the paper. Neither has a machine-checked proof; no concave conjugate on R\mathbb RR with values in [−∞,+∞)[-\infty,+\infty)[−∞,+∞), no dual functional of this kind, and no measurable-selection theorem for argmax correspondences of this shape exist on the platform. A complete formalization would provide reusable infrastructure: an extended-real concave conjugate, interchange of supremum and expectation for a scalar integrand with a bounded maximizer, and a concrete measurable-selection argument.

Difficulty

The hard step is the interchange sup⁡X∈L1E[ ⋅ ]=Esup⁡t[ ⋅ ]\sup_{X\in\mathcal L_1}\mathbb E[\,\cdot\,]=\mathbb E\sup_t[\,\cdot\,]supX∈L1​​E[⋅]=Esupt​[⋅]. The inequality "≤\le≤" is pointwise, but "≥\ge≥" needs a random variable that attains the pointwise maximum, is measurable, and is integrable. The paper cites Rockafellar–Wets for both the interchange and the selection. The maximizers are not unique: where ζ(ω)=0\zeta(\omega)=0ζ(ω)=0 or ζ(ω)=v−′(a)\zeta(\omega)=v'_-(a)ζ(ω)=v−′​(a) the argmax is an unbounded half-line, so an arbitrary measurable selection need not be integrable, and the bounded one must be constructed. The unbounded cases need care because ζ\zetaζ is only essentially bounded and the test outcomes M1{ζ<0}M\mathbb 1_{\{\zeta<0\}}M1{ζ<0}​ must be shown integrable.

Formalization scope

This chunk's objects are in NonlinSSD.DualFunctional; it imports the already moderated utility class NonlinSSD.Optimality.U1. Random variables are functions Ω→R\Omega\to\mathbb RΩ→R on a probability space with IsProbabilityMeasure P; L1\mathcal L_1L1​ is Integrable, L∞\mathcal L_\inftyL∞​ is MemLp ζ ⊤ P. The conventions and explicit readings:

  • c≥0c\ge 0c≥0 in U1([a,b])\mathcal U_1([a,b])U1​([a,b]). The paper prints c>0c>0c>0. The page calls U1([a,b])\mathcal U_1([a,b])U1​([a,b]) a convex cone, which must contain 000, and the companion optimality theorem fails with c>0c>0c>0; the formalization uses c≥0c\ge0c≥0.
  • Left derivative v−′(a)v'_-(a)v−′​(a) is derivWithin v (Set.Iic a) a, never deriv v a, which is 000 at a kink.
  • Extended values. v∗v^*v∗, DDD and fff are EReal-valued, so an infimum equal to −∞-\infty−∞ and a supremum equal to +∞+\infty+∞ are represented, not replaced by 000. The supremum in DDD is over integrable XXX only.
  • Theorem 4 in two cases. The paper's right side is an expectation of an extended-real random variable, read as +∞+\infty+∞ off the domain. The statement separates the finite case (Bochner integral of the real part, with a.s. finiteness and integrability asserted) from the infinite case, which avoids extended-real subtraction.
  • fff equals the Bochner integral of −v∗(ζ)-v^*(\zeta)−v∗(ζ) when v∗(ζ)v^*(\zeta)v∗(ζ) is a.s. finite with integrable real part, and +∞+\infty+∞ otherwise. This is exact because −v∗(ζ)≥v(0)-v^*(\zeta)\ge v(0)−v∗(ζ)≥v(0).
  • Theorem 5 adds the hypothesis that the selection lies in [a,b][a,b][a,b] a.s. As printed ("for every measurable selection") it is false: with a=−1a=-1a=−1, b=0b=0b=0, vˉ(t)=min⁡(t,0)\bar v(t)=\min(t,0)vˉ(t)=min(t,0), ζˉ=0\bar\zeta=0ζˉ​=0 on [0,1][0,1][0,1] with Lebesgue measure, the selection X(ω)=1/ωX(\omega)=1/\omegaX(ω)=1/ω is not integrable. The continuity of (PX,−X)(P_X,-X)(PX​,−X) as a functional is stated as X∈L∞X\in\mathcal L_\inftyX∈L∞​ and the bound ∫∣v∣ dPX≤(∣v(0)∣+K)(1+E∣X∣)\int|v|\,dP_X\le(|v(0)|+K)(1+\mathbb E|X|)∫∣v∣dPX​≤(∣v(0)∣+K)(1+E∣X∣) for KKK-Lipschitz vvv.
  • The paper's index iii and the standing data of §4 (Y∈L1Y\in\mathcal L_1Y∈L1​, a≤ba\le ba≤b) are explicit binders.

A trivializing formalization is ruled out: a real-valued conjugate or dual functional (junk 000 at ∓∞\mp\infty∓∞), a supremum over all measurable XXX (junk integrals), or a one-sided case split would each make the goal easier than the paper's theorem, and a sorry-free check confirms that both cases of Theorem 4 are inhabited (v=min⁡(t,0)v=\min(t,0)v=min(t,0), ζ=1/2\zeta=1/2ζ=1/2 and ζ=2\zeta=2ζ=2).

Contributions are welcome at every level: proofs of the milestones in order, general lemmas on extended-real conjugates on R\mathbb RR, and a measurable argmax selection for continuous integrands over a compact interval, which is reusable well beyond this paper.

Selected references

  • D. Dentcheva, A. Ruszczyński, Optimality and duality theory for stochastic optimization problems with nonlinear dominance constraints, Math. Program. 99 (2004). Author manuscript, rev. April 2003. https://doi.org/10.1007/s10107-003-0453-z
  • D. Dentcheva, A. Ruszczyński, Optimization with stochastic dominance constraints, SIAM J. Optim. 14 (2003). https://doi.org/10.1137/S1052623402420528
  • W. Ogryczak, A. Ruszczyński, Dual stochastic dominance and related mean–risk models, SIAM J. Optim. 13 (2002). https://doi.org/10.1137/S1052623400375075
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998 (Theorems 14.37, 14.60). https://doi.org/10.1007/978-3-642-02431-3
9 thms1 active userReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 4: The Lu–Kumar Network Has an Unstable Work-Conserving Fluid Model iff m₂ + m₄ ≥ 1Research Paper

Motivation

A reentrant line is a queueing network in which every customer follows one fixed route but may return to a station after visiting another one. A manufacturing line can have this pattern when a product revisits the same machine at different processing stages. A station can then have little nominal workload and still face unstable queues under an unfortunate service order. Dai and Weiss studied this gap between nominal capacity and fluid stability for reentrant lines in their 1996 paper. The four-class line associated with Lu and Kumar is their sharp example: its behavior changes at a simple cross-station inequality that is different from either station's ordinary workload constraint.

The paper establishes several positive stability results for other disciplines and networks, then gives an exact boundary for the Lu–Kumar line. Here the exact boundary is the focus. The result concerns fluid models, deterministic large-scale approximations of queue trajectories. It does not assert positive Harris recurrence or transience of the underlying stochastic network in both directions. The paper cites Dai's earlier implication from a stable fluid model to a stable stochastic discipline, but the converse was still open in its concluding discussion (Dai and Weiss 1996, pp. 119 and 133).

Setting

There are four customer classes, encountered in order 1→2→3→41\to2\to3\to41→2→3→4. Classes 111 and 444 use station 111; classes 222 and 333 use station 222. Each class kkk has a positive mean service time mkm_kmk​ and service rate μk=1/mk\mu_k=1/m_kμk​=1/mk​. The external arrival rate is normalized to one. The nominal workloads are ρ1=m1+m4\rho_1=m_1+m_4ρ1​=m1​+m4​ and ρ2=m2+m3\rho_2=m_2+m_3ρ2​=m2​+m3​, both assumed strictly below one. These assumptions say that each station has enough average capacity for its own stages, but they leave the scheduling decision unresolved.

At time ttt, Qk(t)≥0Q_k(t)\ge0Qk​(t)≥0 is the amount of class-kkk fluid, and Tk(t)T_k(t)Tk​(t) is the cumulative service time devoted to that class. The fluid equations balance the inflow and outflow of each class. Outside fluid enters class 111 at unit rate; completion of class kkk feeds class k+1k+1k+1 until class 444 exits. Service times and idle times are nondecreasing, and a station's idle time can increase only when its total queue content is zero. A pair (Q,T)(Q,T)(Q,T) with these properties is a work-conserving fluid solution.

The Lu–Kumar priority discipline gives class 444 priority over class 111 at station 111, and class 222 priority over class 333 at station 222. Its fluid model adds the priority complementarity condition: service capacity available to a priority prefix can be unused only when that prefix has no immediate workload. For either model, fluid stability means that some common time δ>0\delta>0δ>0 empties every admissible solution with ∑kQk(0)=1\sum_kQ_k(0)=1∑k​Qk​(0)=1, with all queues remaining zero for t≥δt\ge\deltat≥δ. Instability is the negation of this statement; it does not require every solution to diverge.

Formalization targets

Exact threshold

Theorem 5.1 and Remark 1 give two connected classifications, under mk>0m_k>0mk​>0, ρ1<1\rho_1<1ρ1​<1, and ρ2<1\rho_2<1ρ2​<1:

¬FluidStable⁡(all work-conserving solutions)⟺m2+m4≥1,\neg\operatorname{FluidStable}(\text{all work-conserving solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1,¬FluidStable(all work-conserving solutions)⟺m2​+m4​≥1, ¬FluidStable⁡(Lu–Kumar priority solutions)⟺m2+m4≥1.\neg\operatorname{FluidStable}(\text{Lu–Kumar priority solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1.¬FluidStable(Lu–Kumar priority solutions)⟺m2​+m4​≥1.

The first clause captures the paper's existence of an unstable work-conserving policy: on the unstable side, the named priority discipline supplies one; on the other side, every work-conserving fluid model is stable. The second clause records the particular policy classification stated in Remark 1. Equality belongs to the unstable side: the paper exhibits a periodic nonempty solution there (Dai and Weiss 1996, pp. 125–127).

Supporting targets

The milestones follow the paper's own statements and proof claims. The real-analysis extinction criterion of Lemma 2.2(ii) and the maximum-of-components criterion of Lemma 3.2 provide the stability language. Display (3.2), already available as a proved platform theorem, identifies the derivative of an attained maximum at a regular point. The priority condition (4.4) implies the ordinary work-conserving condition (1.13). The unstable half records one first cycle, one solution with every scaled cycle, and instability of the priority model. The stable half records the authors' explicit parameter choice, the two linear Lyapunov conditions, and stability of every work-conserving fluid solution.

Significance

The threshold says that the two station-load inequalities alone do not characterize stability of all work-conserving service orders. The extra inequality m2+m4<1m_2+m_4<1m2​+m4​<1 determines when the entire work-conserving fluid class is stable; its failure admits a concrete priority discipline with a nonempty trajectory. At the boundary m2+m4=1m_2+m_4=1m2​+m4​=1, growth need not be strict: periodic fluid behavior already defeats finite-time stability. The result therefore distinguishes the paper's global stability region from the larger parameter region in which both stations are nominally underloaded (Dai and Weiss 1996, Remark 1, p. 125).

A machine-checked development would give reusable definitions for a four-stage reentrant fluid model, its priority complementarity condition, and the precise unit-initial-state notion of stability. The local Lean statements in this proposal compile, but their proofs remain open. The published maximum-derivative fact is the one already proved platform component used by this mission. The other milestones identify the mathematical work needed to formalize the known 1996 result, rather than presenting the result as a new open conjecture.

Difficulty

The ordinary load test ρi<1\rho_i<1ρi​<1 controls how much service each station needs on average, but it does not control which class receives service when several buffers at a station are nonempty. In the Lu–Kumar priority discipline, serving a high-priority downstream class changes the future arrival pattern seen by the other station. Thus a direct argument from ρ1<1\rho_1<1ρ1​<1 and ρ2<1\rho_2<1ρ2​<1 to queue extinction fails. On the stable side, checking a single station's workload is also insufficient: its content may fall while earlier-stage fluid continues to feed it. The paper formulates two linear components and a finite maximum; the challenge is to obtain a uniform negative drift whenever that maximum is positive, including times when one station is empty and the other determines the active component (Dai and Weiss 1996, pp. 126–128).

Formalization scope

Classes and stations are Fin 4 and Fin 2, with zero-based Lean indices: paper class kkk is Lean index k−1k-1k−1. The fixed station map is (0,1,1,0)(0,1,1,0)(0,1,1,0). Service times remain real parameters with explicit positivity hypotheses. Paths are total functions of real time, while equations and conclusions apply only on t≥0t\ge0t≥0. The external arrival rate is one, and initial size is the sum ∑kQk(0)\sum_kQ_k(0)∑k​Qk​(0), since class contents are nonnegative. The nominal-load assumptions are the two strict inequalities in (5.1). The named priority ranking is a permutation; it encodes only the station-local comparisons that matter.

Conditions (1.13) and (4.4), printed as complementarity or “increases only when empty,” use an equivalent interval-constancy condition in Lean. No extra Lipschitz or continuity assumption is placed on solutions: the fluid equations and monotone capacity constraints are intended to supply that regularity. Derivatives at regular points are represented with HasDerivAt. Lemma 2.2(ii) uses the non-strict bound g˙≤−ε\dot g\le-\varepsilong˙​≤−ε, the version used by the paper's applications, although its displayed hypothesis prints g˙<−ε\dot g<-\varepsilong˙​<−ε. The p. 127 line involving G1G_1G1​ prints (1−θ2)Q4(1-\theta_2)Q_4(1−θ2​)Q4​; (5.3) fixes the intended coefficient as (1−θ1)Q4(1-\theta_1)Q_4(1−θ1​)Q4​.

The goal uses Definition 1.3 exactly: one uniform emptying time for all solutions of unit initial content. An impossible solution predicate, or an instability claim that only asks for a nonzero state at time zero, would not represent the paper's theorem. The mission needs finite-index sum and maximum infrastructure, absolute continuity and almost-everywhere differentiation on nonnegative time, plus elementary algebra of service rates and the cycle scaling. These components can be reused in later fluid-network missions. Contributions that preserve the source's hypotheses and boundary case are welcome.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. DOI: 10.1287/moor.21.1.115.
14 thms2 active usersReviewed
CombinatoricsOperations ResearchProbability+1·Captain: mikedeng1

Online Stochastic Matching: Beating 1-1/e 2: The Suggested Matching Algorithm Achieves 1 − 1/e with High Probability, and This Is Tight Even in ExpectationResearch Paper

Motivation

Online bipartite matching models decisions that must be made as requests arrive: an advertiser can be assigned to a compatible request once, and an assignment cannot be revised when later requests reveal a better alternative. Display advertising is the motivating example in Feldman, Mehta, Mirrokni, and Muthukrishnan's 2009 preprint: an ad server knows which advertisers accept each kind of impression and has estimates of how frequently those kinds will arrive. The question is how much this advance distributional information helps when decisions still have to be immediate.

This mission studies the paper's first offline-guided algorithm. It computes a maximum matching for the expected traffic and follows that matching during the actual random run. The paper shows that this natural policy reaches the familiar 1−1/e1-1/e1−1/e performance level and that its own analysis cannot be improved for this policy, even if performance is averaged over runs. The result sets the baseline for the paper's later two-suggested-matchings algorithm, which improves on that level under its stated assumptions. Feldman et al., §§1 and 4.1

Setting

An instance consists of a finite advertiser set AAA, a finite impression-type set III, and allowed edges E⊆A×IE\subseteq A\times IE⊆A×I. For each type iii, the nonnegative integer eie_iei​ is its expected number of arrivals. There are n=∑i∈Iei>0n=\sum_{i\in I}e_i>0n=∑i∈I​ei​>0 arrivals. Each arrival independently has type iii with probability ei/ne_i/nei​/n. A type with ei=0e_i=0ei​=0 remains in the graph but has zero arrival probability. On an arrival of type iii, an online algorithm may assign it to an adjacent advertiser that has not been assigned before, or may leave it unassigned. The hindsight optimum, OPT(ω)\mathrm{OPT}(\omega)OPT(ω), is the largest matching in the realization graph with one vertex for every arrival position, including separate vertices for repeated types. Feldman et al., §2, pp. 3–4

The suggested matching algorithm first selects any maximum integral flow in the expected-instance network. Each advertiser has capacity one, and each type iii has capacity eie_iei​. Equivalently, the selected edges form a maximum degree-capped bipartite matching M⊆EM\subseteq EM⊆E. Let A∗A^*A∗ be the advertisers covered by MMM. When type iii arrives, the algorithm chooses each advertiser joined to iii by a selected edge with probability 1/ei1/e_i1/ei​; any remaining probability chooses no advertiser. It assigns the chosen advertiser if available and otherwise makes no assignment. Its number of assignments is ALG(ω)\mathrm{ALG}(\omega)ALG(ω). This rule includes the algorithm's random choice in addition to the random arrival types. Feldman et al., §4.1, p. 5

The canonical residual cut of MMM places each advertiser and impression type on the source side if it is reachable from the source by residual edges. Write ATA_TAT​ for advertisers on the sink side and ISI_SIS​ for types on the source side. These sets describe the comparison between the expected-instance matching and the optimum of a realized run. The mission also uses occupancy: after nnn independent uniform throws into nnn bins, count how many bins in a fixed subset receive at least one ball. Feldman et al., §§2.1 and 4.1

Formalization targets

Theorem 4's general-instance guarantee is expressed in the additive form established by its analysis. For every ε>0\varepsilon>0ε>0, there are δ>0\delta>0δ>0 and NNN, uniform across all finite instances, all maximum integral flows, and all valid ways of realizing the algorithm's random choice, such that n≥Nn\ge Nn≥N implies

Pr⁡ ⁣[ALG(ω)≥(1−e−1)OPT(ω)−εn]≥1−e−δn.\Pr\!\left[\mathrm{ALG}(\omega)\ge(1-e^{-1})\mathrm{OPT}(\omega)-\varepsilon n\right] \ge 1-e^{-\delta n}.Pr[ALG(ω)≥(1−e−1)OPT(ω)−εn]≥1−e−δn.

The complete bipartite family gives the tightness target. When A=I={0,…,n−1}A=I=\{0,\ldots,n-1\}A=I={0,…,n−1} and every ei=1e_i=1ei​=1, every maximum expected-instance matching is perfect. For every run, OPT=n\mathrm{OPT}=nOPT=n, and

E[ALG]=n(1−(1−1n)n),lim⁡n→∞E[ALG]n=1−e−1.\mathbb E[\mathrm{ALG}] =n\left(1-\left(1-\frac1n\right)^n\right), \qquad \lim_{n\to\infty}\frac{\mathbb E[\mathrm{ALG}]}{n}=1-e^{-1}.E[ALG]=n(1−(1−n1​)n),n→∞lim​nE[ALG]​=1−e−1.

The milestone list follows the paper's Fact 1 and the named passages “Bounding ALG,” “Bounding OPT,” and “Tightness of the Analysis” in §4.1. The cut identity ∣A∗∣=∣AT∣+∑i∈ISei|A^*|=|A_T|+\sum_{i\in I_S}e_i∣A∗∣=∣AT​∣+∑i∈IS​​ei​ is a separate deterministic milestone. Feldman et al., Theorem 4 and §4.1, pp. 5–6

Significance

The result establishes exactly what this one-matching policy achieves under integer-frequency independent arrivals. It gives a guarantee for the actual number of assignments relative to the best assignment made with hindsight, and a family on which the limiting expected ratio equals the guarantee. That tight family explains why the paper introduces a second suggested matching rather than seeking a stronger bound for the same policy. Feldman et al., §4

The mathematical theorem is proved in the paper; the mission asks for its machine-checked formalization. The development would also provide reusable finite models of repeated-type realizations, integral degree-capped bipartite matchings, uniform occupancy, and residual reachability cuts. No machine-checked proof of these mission items is being claimed by this draft.

Difficulty

The expected-instance matching is selected before the arrivals, but the hindsight optimum can exploit the actual multiplicities of every type. Counting only the ads selected online does not compare the algorithm with that hindsight optimum. Also, a type may have several selected advertisers when ei>1e_i>1ei​>1, so replacing the algorithm's random choice by a deterministic designated ad would change its law. The cut and concentration statements have to apply uniformly to every maximum integral flow, including flows chosen by different tie-breaking rules. Feldman et al., §4.1, pp. 5–6

Formalization scope

Advertisers and types are finite Lean types. The edge relation is a finite set, and eie_iei​ and nnn are natural numbers with n=∑iei>0n=\sum_i e_i>0n=∑i​ei​>0. An integral maximum flow is represented by a maximum cardinality edge set with advertiser degree at most one and type-iii degree at most eie_iei​. The theorem quantifies over every such set. This is the unit-advertiser, integer-type-capacity flow used in §4.1, without a separate real-valued flow object. The canonical cut is defined through residual reachability. The hindsight optimum maximizes over matchings of the realized graph, with each arrival position distinct.

The run uses nnn independent uniform draws from ∑i{0,…,ei−1}\sum_i\{0,\ldots,e_i-1\}∑i​{0,…,ei​−1}. A valid labelling assigns each selected advertiser at type iii to a distinct copy. The drawn copy determines the type and, if labelled, the ad selected by the algorithm. This gives type probability ei/ne_i/nei​/n, conditional ad probability 1/ei1/e_i1/ei​ on selected edges, and the remaining “no ad” probability. Counts, probabilities, and expectations use finite sums, so there is no integrability convention. Since n>0n>0n>0, the run sample space is nonempty; no value of ALG/OPT\mathrm{ALG}/\mathrm{OPT}ALG/OPT at OPT=0\mathrm{OPT}=0OPT=0 is needed. The complete-graph family has n≥1n\ge1n≥1.

The paper writes 1−e−Ω(n)1-e^{-\Omega(n)}1−e−Ω(n) in both bounding passages. The Lean statements spell this out as ∀ε>0, ∃δ>0, ∃N, ∀\forall\varepsilon>0,\ \exists\delta>0,\ \exists N,\ \forall∀ε>0, ∃δ>0, ∃N, ∀ instances with n≥Nn\ge Nn≥N, with δ,N\delta,Nδ,N preceding the instance. Theorem 4's ratio language is represented by the additive estimate its proof yields; a vanishing ratio error requires a separate lower bound on OPT/n\mathrm{OPT}/nOPT/n. The exact finite-nnn expectation and its limit make “tight, even in expectation” precise. The printed Fact 1 exponent is εn/2\varepsilon n/2εn/2, while its Appendix A proof yields ε2n/2\varepsilon^2n/2ε2n/2; the formalized concentration statement uses the proved exponent and the milestone retains the printed wording. Neither a ratio with a zero denominator nor a labelling that changes the algorithm's choice law is accepted as a shortcut.

Contributions toward the occupancy bound, the residual cut identity, the realized matching bound, and the complete-graph expectation are welcome. The finite occupancy and matching interfaces are intended for reuse beyond this specific algorithm.

Selected references

  • Jon Feldman, Aranyak Mehta, Vahab Mirrokni, and S. Muthukrishnan, Online Stochastic Matching: Beating 1-1/e, arXiv:0905.4100v1, 2009; FOCS 2009. Preprint
10 thms1 active userReviewed
CombinatoricsOperations ResearchProbability+1·Captain: mikedeng1

Online Stochastic Matching: Beating 1-1/e 3: No Online Algorithm Beats Expected Approximation Factor 26/27 on a 6-Cycle, and None Reaches 1 − o(1) on Disjoint 6-CyclesResearch Paper

Motivation

Online bipartite matching asks an algorithm to assign arriving requests to resources it cannot reassign later. In display advertising, the requests are page views (impressions) and the resources are advertisers who have bought a fixed number of impressions in advance; each impression must be served immediately or lost. In the adversarial model, Karp, Vazirani and Vazirani (STOC 1990) showed that the RANKING algorithm achieves a 1−1/e1 - 1/e1−1/e fraction of the optimum in expectation, and that no online algorithm does better. Advertising systems, however, have historical traffic data, which motivates the i.i.d. model: the impression types are drawn independently from a distribution that is known in advance.

Feldman, Mehta, Mirrokni and Muthukrishnan (arXiv:0905.4100, FOCS 2009) were the first to beat 1−1/e1 - 1/e1−1/e in this model, with an algorithm that achieves ≈0.67\approx 0.67≈0.67 with high probability. Their Section 3 asks the complementary question: how close to 111 can any online algorithm get when the distribution is known? Their Theorem 3 answers that the expected approximation factor of every online algorithm is bounded strictly away from 111, already on a graph with six vertices. Later work in the same model (Manshadi, Oveis Gharan and Saberi, SODA 2011, arXiv:1007.1673) sharpened both the algorithmic and the hardness side.

Setting

An instance consists of a bipartite graph G=(A,I,E)G = (A, I, E)G=(A,I,E) between a finite set AAA of advertisers and a finite set III of impression types, a distribution DDD on III, and a number nnn of arrivals. In this mission DDD is the uniform distribution on III. Online, nnn impressions arrive one at a time; their types ω(0),…,ω(n−1)\omega(0), \dots, \omega(n-1)ω(0),…,ω(n−1) are independent draws from DDD. When impression ttt arrives, the algorithm must immediately either assign it to an advertiser aaa with (a,ω(t))∈E(a, \omega(t)) \in E(a,ω(t))∈E that has not yet been used, or leave it unassigned. Each advertiser can be used at most once, and decisions are final.

A deterministic online algorithm decides what to do with arrival ttt from the types ω(0),…,ω(t)\omega(0), \dots, \omega(t)ω(0),…,ω(t) seen so far; it knows GGG, DDD and nnn, but not the future. A randomized online algorithm is a probability distribution over deterministic ones. ALG(ω)\mathrm{ALG}(\omega)ALG(ω) is the number of impressions the algorithm assigns on the arrival sequence ω\omegaω. OPT(ω)\mathrm{OPT}(\omega)OPT(ω) is the size of a maximum matching of the realization graph, which has one node per arrival ttt, joined to every advertiser adjacent to ω(t)\omega(t)ω(t): the most impressions that could have been assigned with hindsight. The expected approximation factor of an algorithm is

E ⁣[ALG(ω)OPT(ω)],\mathbb E\!\left[\frac{\mathrm{ALG}(\omega)}{\mathrm{OPT}(\omega)}\right],E[OPT(ω)ALG(ω)​],

the expectation taken over the algorithm's randomness and the arrivals.

The 6-cycle instance has A={a,b,c}A = \{a, b, c\}A={a,b,c}, I={x,y,z}I = \{x, y, z\}I={x,y,z} and E={(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)}E = \{(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)\}E={(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)}, with the uniform distribution and n=3n = 3n=3. The family Γk\Gamma_kΓk​ consists of kkk disjoint copies of the 6-cycle, with the uniform distribution on its 3k3k3k impression types and n=3kn = 3kn=3k arrivals.

Formalization targets

Goal: Theorem 3

On the 6-cycle, every randomized online algorithm satisfies

E ⁣[ALGOPT]≤2627,\mathbb E\!\left[\frac{\mathrm{ALG}}{\mathrm{OPT}}\right] \le \frac{26}{27},E[OPTALG​]≤2726​,

and there are a constant c<1c < 1c<1 and a threshold K0K_0K0​ such that for every k≥K0k \ge K_0k≥K0​ and every randomized online algorithm on Γk\Gamma_kΓk​,

E ⁣[ALGOPT]≤c.\mathbb E\!\left[\frac{\mathrm{ALG}}{\mathrm{OPT}}\right] \le c .E[OPTALG​]≤c.

The second part is the paper's "there exists a family of instances with n→∞n \to \inftyn→∞ for which no algorithm can achieve an expected approximation of 1−o(1)1 - o(1)1−o(1)", stated on the paper's own family. It leaves ccc unspecified: Appendix B estimates c≈0.9898c \approx 0.9898c≈0.9898 through approximate counts, and a sharper constant would not invalidate the goal.

Milestones

  1. The (x,y,y)(x, y, y)(x,y,y) scenario (§3, p. 4). For every deterministic online algorithm on the 6-cycle and every type uuu of the first arrival there is a type vvv with ALG(u,v,v)≤2\mathrm{ALG}(u, v, v) \le 2ALG(u,v,v)≤2 and OPT(u,v,v)=3\mathrm{OPT}(u, v, v) = 3OPT(u,v,v)=3.
  2. Theorem 3, first sentence (p. 4). The bound 26/2726/2726/27 on the 6-cycle, for every randomized online algorithm.

Significance

Theorem 3 sets the ceiling against which algorithms in the i.i.d. model are measured. It rules out an online algorithm with expected factor arbitrarily close to 111, even though the distribution is known and the instance is tiny, so a constant-factor gap between online and offline matching is intrinsic to the model and not an artefact of adversarial arrivals. The paper's positive results (1−1/e1 - 1/e1−1/e for the Suggested Matching algorithm, ≈0.67\approx 0.67≈0.67 for Two Suggested Matchings) sit between 1−1/e1 - 1/e1−1/e and this ceiling.

The single-instance bound has a short counting proof. The family statement is argued in the paper only in outline: Appendix B approximates the fractions of copies receiving 111, 222, 333 or more impressions, assumes the most favourable outcome on each, and reports the resulting ratio as approximately 0.98980.98980.9898. A machine-checked proof of the family statement would turn that sketch into a theorem with an explicit constant. To our knowledge neither part has been formalized before.

Difficulty

The single-cycle bound reduces to a finite check, but the paper's "without loss of generality (from the symmetry of the 6-cycle)" hides the cases the algorithm can choose: assigning the first impression to either neighbour, or not assigning it at all. Each case needs its own bad continuation. The passage from deterministic to randomized algorithms is an averaging step.

The family bound is harder. On Γk\Gamma_kΓk​ the algorithm sees all arrivals in all copies and may coordinate its decisions across copies, so the per-copy loss of the single cycle does not transfer by independence. Moreover the target is the expectation of a ratio, E[ALG/OPT]\mathbb E[\mathrm{ALG}/\mathrm{OPT}]E[ALG/OPT], not a ratio of expectations: a bound on the expected loss must be combined with concentration of the number of copies that receive exactly three impressions, and with a lower bound on OPT\mathrm{OPT}OPT that holds with high probability. The approximations "≃3/e3\simeq 3/e^3≃3/e3, 9/(2e3)9/(2e^3)9/(2e3), 27/(6e3)27/(6e^3)27/(6e3)" of Appendix B have unquantified errors and cannot be used as they stand.

Formalization scope

The model is formalized for general finite AAA and III with uniform arrivals. Arrival sequences are functions Fin n → I. A deterministic online algorithm is a function that receives the time ttt, the prefix of the first ttt types (Fin t → I) and the current type, and returns an advertiser or none; it cannot read later arrivals. A proposal of a non-adjacent or already used advertiser leaves the impression unassigned, so the encoding covers all online algorithms, including ones that skip an impression while a neighbour is free. A randomized online algorithm is a probability distribution (PMF) on the finite type of deterministic algorithms; by Kuhn's theorem this is equivalent to fresh random choices at each step. OPT\mathrm{OPT}OPT is the maximum size of an injective, edge-respecting partial assignment of arrivals to advertisers. The expected approximation factor is a finite average over all ∣I∣n|I|^n∣I∣n arrival sequences, weighted by the algorithm distribution.

The explicit instantiations of the paper's asymptotic wording are as follows:

  • "no algorithm can achieve an expected approximation of 1−o(1)1 - o(1)1−o(1)" becomes ∃ c<1, ∃K0, ∀k≥K0, ∀P: E[ALG/OPT]≤c\exists\, c < 1,\ \exists K_0,\ \forall k \ge K_0,\ \forall P:\ \mathbb E[\mathrm{ALG}/\mathrm{OPT}] \le c∃c<1, ∃K0​, ∀k≥K0​, ∀P: E[ALG/OPT]≤c on Γk\Gamma_kΓk​, with n=3kn = 3kn=3k tied to kkk, and with ccc and K0K_0K0​ chosen before kkk and before the algorithm.
  • The paper's constant 0.98980.98980.9898 is not part of the statement.

Lean's division sets x/0=0x/0 = 0x/0=0. A formalization of the form "there is an instance on which every algorithm has expected factor at most 26/2726/2726/27" would be satisfied trivially by a graph without edges, where OPT=0\mathrm{OPT} = 0OPT=0; the statements here are on the paper's explicit instances, where every impression type has an adjacent advertiser and OPT≥1\mathrm{OPT} \ge 1OPT≥1 on every arrival sequence.

A complete development needs finite case analysis on runs of online algorithms, averaging over mixed strategies, and, for the family, concentration inequalities for occupancy counts (Azuma or McDiarmid, both available on the platform) together with bounds on maximum matchings of disjoint unions. The online-algorithm model and the averaging lemmas are reusable for other lower bounds in the i.i.d. model. Proofs of either milestone, and independent proofs of the family statement with any explicit c<1c < 1c<1, are welcome.

Selected references

  • J. Feldman, A. Mehta, V. Mirrokni, S. Muthukrishnan, Online Stochastic Matching: Beating 1-1/e, FOCS 2009; arXiv:0905.4100v1. https://arxiv.org/abs/0905.4100
  • R. M. Karp, U. V. Vazirani, V. V. Vazirani, An optimal algorithm for on-line bipartite matching, STOC 1990. https://doi.org/10.1145/100216.100262
  • V. H. Manshadi, S. Oveis Gharan, A. Saberi, Online Stochastic Matching: Online Actions Based on Offline Statistics, SODA 2011; arXiv:1007.1673. https://arxiv.org/abs/1007.1673
5 thms1 active userReviewed
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach 2: Empirical Likelihood Intervals for the Optimal Value inf_x E[ℓ(x;ξ)] Have Exact Coverage P(χ²₁ ≤ ρ)Research Paper

Why coverage of an optimal value matters

Many stochastic optimization problems choose a decision by minimizing an expected loss. The optimum depends on an unknown distribution, so a data-based optimum alone gives no measure of uncertainty about the best achievable expected loss. This mission concerns a confidence set for that optimal value, rather than a confidence set for the decision itself. The result of Duchi, Glynn, and Namkoong shows that a broad class of divergence neighborhoods of the empirical distribution yields a calibrated limit for this set. The same construction covers nonsmooth losses and constrained decisions when the regularity assumptions below hold.

The paper develops generalized empirical likelihood for smooth functionals of a distribution and then applies it to optimization. Its Theorem 3 states the exact asymptotic coverage result for the optimal value; Appendix C identifies the functional derivative, while Appendix B gives the uniform linearization and expansion on which calibration rests. The statistical result is proved in the paper. The mission asks for a machine-checked development of its statements and proof under an explicit nondegeneracy condition required by the paper's general coverage theorem.

Decisions, losses, and divergence neighborhoods

Let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd be a nonempty compact decision set. An observation ξ\xiξ has population law P0P_0P0​, and ℓ(x;ξ)∈R\ell(x;\xi)\in\mathbb Rℓ(x;ξ)∈R is the loss at decision xxx. The quantity of interest is the optimal-value functional

Topt(P)=inf⁡x∈XEP[ℓ(x;ξ)].T_{\rm opt}(P)=\inf_{x\in\mathcal X}\mathbb E_P[\ell(x;\xi)].Topt​(P)=x∈Xinf​EP​[ℓ(x;ξ)].

The observations ξ1,…,ξn\xi_1,\ldots,\xi_nξ1​,…,ξn​ are independent and identically distributed with law P0P_0P0​. Write P^n\widehat P_nPn​ for their empirical distribution. A candidate distribution supported on the indexed observations is represented by nonnegative weights pip_ipi​ with ∑ipi=1\sum_i p_i=1∑i​pi​=1. Indexed weights also cover samples with repeated observations. For a convex divergence generator fff normalized by f(1)=f′(1)=0f(1)=f'(1)=0f(1)=f′(1)=0 and f′′(1)=2f''(1)=2f′′(1)=2, its divergence from the empirical law is Df(p∥P^n)=n−1∑if(npi)D_f(p\|\widehat P_n)=n^{-1}\sum_i f(np_i)Df​(p∥Pn​)=n−1∑i​f(npi​). Assumption A further requires fff to be three times continuously differentiable near 111; it permits f(0)=+∞f(0)=+\inftyf(0)=+∞.

At radius ρ/n\rho/nρ/n, the divergence ball consists of the weights with ∑if(npi)≤ρ\sum_i f(np_i)\le\rho∑i​f(npi​)≤ρ. The confidence set is its image under ToptT_{\rm opt}Topt​:

Cn,ρ={Topt(p):Df(p∥P^n)≤ρ/n}.C_{n,\rho}=\{T_{\rm opt}(p):D_f(p\|\widehat P_n)\le\rho/n\}.Cn,ρ​={Topt​(p):Df​(p∥Pn​)≤ρ/n}.

Assumption B makes X\mathcal XX compact and requires ℓ(⋅;ξ)\ell(\cdot;\xi)ℓ(⋅;ξ) to be Lipschitz on it with a measurable random coefficient M(ξ)M(\xi)M(ξ). The theorem adds finite second moments for MMM and for the loss at one feasible decision. These conditions control losses at every feasible decision. They also make the population and weighted empirical infima finite on the cases used in the limit.

Formalization targets

The goal is the exact asymptotic coverage of the population optimal value, with x⋆x^\starx⋆ the unique optimizer and Var⁡P0(ℓ(x⋆;ξ))>0\operatorname{Var}_{P_0}(\ell(x^\star;\xi))>0VarP0​​(ℓ(x⋆;ξ))>0:

P∗ ⁣(Topt(P0)∈Cn,ρ)⟶P(χ12≤ρ),ρ≥0.P^*\!\left(T_{\rm opt}(P_0)\in C_{n,\rho}\right)\longrightarrow P(\chi_1^2\le\rho),\qquad \rho\ge0.P∗(Topt​(P0​)∈Cn,ρ​)⟶P(χ12​≤ρ),ρ≥0.

Here P∗P^*P∗ denotes outer probability, and χ12\chi_1^2χ12​ is the square of a standard normal variable. The milestone statements follow the paper's path to this theorem. Lemma 17 gives the directional derivative of an optimal-value functional. Lemma 13 bounds feasible empirical weights relative to uniform weights. Lemma 16 makes the nonlinear remainder uniformly negligible on the divergence ball. The display after (37) then gives a first-order expansion of the upper endpoint of Cn,ρC_{n,\rho}Cn,ρ​; the next display gives its one-sided Gaussian coverage limit. The goal concerns membership in the image set Cn,ρC_{n,\rho}Cn,ρ​, including both sides of that interval.

What the result provides

The limit specifies a radius through a one degree of freedom chi square quantile. It applies to the value of a constrained stochastic optimization problem without requiring the optimizer or the loss to be differentiable. The positive variance condition ensures that the influence function supplies a genuine Gaussian scale. Without such a condition, a deterministic optimal loss can make coverage identically one, so the stated chi square limit would fail. The general theorem in the paper explicitly requires positive influence variance; this mission makes the condition visible in the specialized optimal-value statement.

A complete formalization would connect finite-sample divergence geometry to an asymptotic confidence claim about an optimization functional. The empirical mean and variance definitions, divergence ball, and normalized generator already exist as reusable declarations. This mission adds the optimal-value functional, its influence function, the nonlinear remainder, and the statistical limits. Those definitions can also support later confidence statements for other stochastic optimization models. The result is proved in the source paper; the Lean statements here are open targets awaiting proofs.

The mathematical obstacle

Pointwise control of each loss ℓ(x;ξ)\ell(x;\xi)ℓ(x;ξ) is insufficient for the optimal value: the decision minimizing an empirical weighted objective can move with the weights. A pointwise mean expansion therefore does not by itself control the infimum over xxx. The required limit combines uniform control over the loss class with sensitivity of the infimum functional near its population minimizer. The uniform remainder in Lemma 16 is stronger than a statement for the ordinary empirical distribution because it covers every distribution in the shrinking divergence ball. The final event is membership in the image of that ball; bounds on its upper endpoint alone do not establish two-sided coverage.

Formalization scope

Lean represents decisions by EuclideanSpace ℝ (Fin d) and assumes a nonempty compact feasible set. Assumption B uses its Euclidean norm. The paper allows any norm in finite dimension; norm equivalence permits this choice after rescaling the Lipschitz coefficient. The population law is the pushforward of the first measurable observation from a probability space. Samples are indexed from zero, so the first nnn observations are indices 0,…,n−10,\ldots,n-10,…,n−1. Independence and identical distribution are explicit hypotheses. Loss measurability is explicit so the population integrals have their intended values. Square integrability and compact Lipschitz control keep the real infima meaningful.

The generator takes values in EReal so a divergence infinite at zero is representable. The ball uses the published probability uncertainty set with radius ρ/n\rho/nρ/n and includes nonnegativity and unit mass. Its weights represent distributions absolutely continuous with respect to the empirical law. With tied observations, equal splitting across copies preserves the induced distribution and does not increase a convex divergence. The upper endpoint is sup⁡pinf⁡x\sup_p\inf_xsupp​infx​; the different minimax expression inf⁡xsup⁡p\inf_x\sup_pinfx​supp​ is not substituted. The chi square target uses the standard Gaussian measure of {z:z2≤ρ}\{z:z^2\le\rho\}{z:z2≤ρ}.

Mathlib measures are outer measures on arbitrary sets, so the probability of a possibly nonmeasurable membership or supremum event is the paper's outer probability. The Lemma 17 milestone expresses a signed measure through its action H(x)H(x)H(x) on the losses, as Appendix C.2 does, and uses positive directional steps. Real suprema and infima are used only where the hypotheses provide nonempty bounded values. The variance hypothesis rules out the trivial deterministic-loss counterexample. Useful contributions include the compactness and continuity facts needed for those extrema, the action-level derivative, empirical process limits, and the final two-sided event argument.

Selected references

  • John C. Duchi, Peter W. Glynn, and Hongseok Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3, 2018; published in Mathematics of Operations Research 46(3), 2021. arXiv preprint
21 thms1 active userReviewed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

MNL-Bandit: A Dynamic Learning Approach to Assortment Selection I: The Epoch-Based UCB Policy Has Regret at Most C₁√(NT log NT) + C₂N log² NT Under the No-Purchase AssumptionResearch Paper

Motivation

A retailer that decides which products to display, an online platform that decides which items to show in a recommendation slot, and an airline that decides which fare classes to open all face the same problem: the set of options offered changes what customers buy, and the substitution pattern is not known in advance. The multinomial logit (MNL) model is the standard model of this substitution in revenue management (Talluri and van Ryzin 2004), and optimizing the offered set under a known MNL model is a classical, efficiently solvable problem (e.g. Rusmevichientong, Shen and Shmoys 2010, for a capacity constraint).

The MNL-Bandit asks what happens when the MNL parameters are unknown and must be learned from the purchases themselves, while revenue is being earned. Earlier approaches (Rusmevichientong, Shen and Shmoys 2010; Sauré and Zeevi 2013) separate exploration from exploitation and need the gap between the best and the second-best assortment to be known. Agrawal, Avadhanula, Goyal and Zeevi (Oper. Res. 2019, arXiv:1706.03880) give a single upper-confidence-bound policy whose regret is of order NT\sqrt{NT}NT​ up to logarithmic factors, with no such knowledge. This mission formalizes that result, Theorem 1 of the paper.

Setting

There are NNN products with known revenues ri∈[0,1]r_i\in[0,1]ri​∈[0,1]. At each time t=1,…,Tt=1,\dots,Tt=1,…,T the seller offers an assortment StS_tSt​ from a family S\mathcal SS of feasible subsets of {1,…,N}\{1,\dots,N\}{1,…,N}, and one customer either buys a product ct∈Stc_t\in S_tct​∈St​ or buys nothing (ct=0c_t=0ct​=0). Given St=SS_t=SSt​=S, the choice follows the MNL model with attraction parameters v1,…,vN≥0v_1,\dots,v_N\ge0v1​,…,vN​≥0 and v0=1v_0=1v0​=1:

pi(S)=vi1+∑j∈Svj(i∈S∪{0}),pi(S)=0 otherwise,p_i(S)=\frac{v_i}{1+\sum_{j\in S}v_j}\quad(i\in S\cup\{0\}),\qquad p_i(S)=0\ \text{otherwise},pi​(S)=1+∑j∈S​vj​vi​​(i∈S∪{0}),pi​(S)=0 otherwise,

independently of the past. The expected revenue of SSS is R(S,v)=∑i∈Srivi/(1+∑j∈Svj)R(S,v)=\sum_{i\in S}r_iv_i\big/\big(1+\sum_{j\in S}v_j\big)R(S,v)=∑i∈S​ri​vi​/(1+∑j∈S​vj​). The family S\mathcal SS is described by totally unimodular constraints, S={S:A x(S)≤b}\mathcal S=\{S : A\,x(S)\le b\}S={S:Ax(S)≤b} with x(S)x(S)x(S) the incidence vector of SSS, AAA totally unimodular and bbb integral (cardinality constraints are the main example). A policy chooses StS_tSt​ from the past choices, and its regret is

Regπ(T,v)=T R(S∗,v)−Eπ[∑t=1TR(St,v)],R(S∗,v)=max⁡S∈SR(S,v).\mathrm{Reg}_\pi(T,v)=T\,R(S^*,v)-\mathbb E_\pi\Big[\sum_{t=1}^TR(S_t,v)\Big],\qquad R(S^*,v)=\max_{S\in\mathcal S}R(S,v).Regπ​(T,v)=TR(S∗,v)−Eπ​[t=1∑T​R(St​,v)],R(S∗,v)=S∈Smax​R(S,v).

The seller knows rrr and S\mathcal SS but not vvv.

Algorithm 1 works in epochs: epoch ℓ\ellℓ offers one assortment SℓS_\ellSℓ​ repeatedly until a customer buys nothing. Let v^i,ℓ\hat v_{i,\ell}v^i,ℓ​ be the number of purchases of iii in epoch ℓ\ellℓ, Ti(ℓ)T_i(\ell)Ti​(ℓ) the number of the first ℓ\ellℓ epochs that offered iii, and vˉi,ℓ\bar v_{i,\ell}vˉi,ℓ​ the average of v^i,τ\hat v_{i,\tau}v^i,τ​ over those epochs. The algorithm forms the upper confidence bounds

vi,ℓUCB=vˉi,ℓ+vˉi,ℓ 48log⁡(Nℓ+1)Ti(ℓ)+48log⁡(Nℓ+1)Ti(ℓ),v^{\mathrm{UCB}}_{i,\ell}=\bar v_{i,\ell}+\sqrt{\bar v_{i,\ell}\,\frac{48\log(\sqrt N\ell+1)}{T_i(\ell)}}+\frac{48\log(\sqrt N\ell+1)}{T_i(\ell)},vi,ℓUCB​=vˉi,ℓ​+vˉi,ℓ​Ti​(ℓ)48log(N​ℓ+1)​​+Ti​(ℓ)48log(N​ℓ+1)​,

starting from vi,0UCB=1v^{\mathrm{UCB}}_{i,0}=1vi,0UCB​=1, and offers next the assortment in S\mathcal SS that maximizes R(S,v⋅,ℓUCB)R(S,v^{\mathrm{UCB}}_{\cdot,\ell})R(S,v⋅,ℓUCB​).

Formalization targets

Goal: Theorem 1 (p. 11)

Under Assumption 4.1 (every vi≤v0=1v_i\le v_0=1vi​≤v0​=1, and S\mathcal SS is closed under taking subsets) there are absolute constants C1,C2C_1,C_2C1​,C2​ such that for every instance and every horizon TTT,

Regπ(T,v)≤C1NTlog⁡NT+C2Nlog⁡2NT.\mathrm{Reg}_\pi(T,v)\le C_1\sqrt{NT\log NT}+C_2N\log^2NT .Regπ​(T,v)≤C1​NTlogNT​+C2​Nlog2NT.

The constants are not fixed: the goal asserts the order of the regret, which is what the paper claims.

Milestones

The milestones follow the proof in Appendix A of the paper:

  1. The law of an epoch's purchase count: Lemma A.1, its moment generating function given the offered assortment.
  2. Concentration: Theorem 5, Chernoff bounds for geometric variables; Corollary D.1; and Lemma A.2 for the averages vˉi,ℓ\bar v_{i,\ell}vˉi,ℓ​ along Algorithm 1.
  3. Lemma 4.1: vi,ℓUCB≥viv^{\mathrm{UCB}}_{i,\ell}\ge v_ivi,ℓUCB​≥vi​ with probability at least 1−6/(Nℓ)1-6/(N\ell)1−6/(Nℓ), and its rate of convergence.
  4. Optimism of the revenue estimate: Lemma A.3 (monotonicity of the optimal revenue in vvv) and Lemma 4.2.
  5. The per-epoch error: Lemma A.4 (a Lipschitz bound) and Lemma 4.3.
  6. The epoch decomposition of the regret, (A.14).

Significance

Theorem 1 shows that learning the choice model costs only O~(NT)\tilde O(\sqrt{NT})O~(NT​) revenue, with no dependence on how separated the instance is. The paper also proves a lower bound of order NT/K\sqrt{NT/K}NT/K​ under a KKK-cardinality constraint (its Theorem 2), so for small KKK the bound is optimal up to logarithmic factors. The epoch device used here reduces the analysis of a choice model with substitution to unbiased i.i.d. estimates of each viv_ivi​.

The result is proved in the paper (Appendix A, with the concentration bounds in Appendix D). It has not been machine-checked. A formal proof would also settle several printed slips that the formalization had to repair (listed under Formalization scope). The concentration bounds for geometric variables, Theorem 5 and Corollary D.1, are useful outside this mission.

Difficulty

The estimates v^i,ℓ\hat v_{i,\ell}v^i,ℓ​ are counted in epochs whose assortments are chosen adaptively from earlier estimates, so they are not independent a priori. The paper's argument that they are i.i.d. geometric with mean viv_ivi​ has to be made rigorous for an adaptive policy. The variables are unbounded, so the standard Chernoff–Hoeffding bounds for bounded variables do not apply, and the number of samples Ti(ℓ)T_i(\ell)Ti​(ℓ) is random, which requires a union bound over all its possible values. Finally, the regret is a sum over customers while the analysis is per epoch, and the two are linked through the expected epoch length 1+∑j∈Sℓvj1+\sum_{j\in S_\ell}v_j1+∑j∈Sℓ​​vj​ under a random number of epochs and a horizon that cuts the last one.

Formalization scope

  • Model. Products are Fin N; a choice is none (no purchase) or some i. The parameter v0v_0v0​ is normalized to 111, as the paper allows. Algorithm 1 is deterministic, so a history of horizon TTT is a sequence of TTT choices with the product law ∏tpct(St)\prod_tp_{c_t}(S_t)∏t​pct​​(St​), and every expectation is a finite sum. The revenue R(S,v)R(S,v)R(S,v) is the published definition ChoiceCDLP.MNL.mnlObjective v r 1 S.
  • Feasible family. S\mathcal SS is a finite family with the TU representation (2.3), closed under subsets, and nonempty (the paper presupposes nonemptiness when it writes S∗=arg⁡max⁡S^*=\arg\maxS∗=argmax).
  • Algorithm. Algorithm 1 is a policy defined by recursion on the history. It receives rrr and an argmax selector for S\mathcal SS, never vvv. Every statement quantifies over all selectors, that is, over every tie-breaking rule. While a product has never been offered, its vUCBv^{\mathrm{UCB}}vUCB stays at the initial value 111.
  • Epoch events. The lemmas about epoch ℓ\ellℓ are stated for every finite horizon TTT, on the event that epoch ℓ\ellℓ is completed by customer TTT; uniformity in TTT is the paper's infinite-horizon statement.
  • Repairs of the page, all disclosed in the items:
    1. Lemma A.2's misprinted log⁡(ℓ+1)\log(\ell+1)log(ℓ+1) is replaced by log⁡(Nℓ+1)\log(\sqrt N\ell+1)log(N​ℓ+1).
    2. Lemmas 4.2 and 4.3 are indexed by the estimate built at the end of epoch ℓ\ellℓ.
    3. Lemma 4.3's free index iii becomes the sum over i∈Sℓ+1i\in S_{\ell+1}i∈Sℓ+1​.
    4. Lemmas 4.1 and 4.3 use the explicit constants C1=72+24C_1=\sqrt{72}+\sqrt{24}C1​=72​+24​ and C2=144C_2=144C2​=144 of the proof.
    5. Lemma A.3 and Lemma 4.2 require positive parameters on the optimal set; the printed versions are false otherwise.
    6. (A.14) is an inequality, since the horizon cuts the last epoch.
  • Not stated. Corollary A.1 (the epoch estimates are i.i.d. geometric across the epochs of the adaptive policy) is not posed as an item: a single-epoch law would be a weaker statement than the page's.
  • No trivialization. The policy cannot see vvv, the constants of the goal precede every other quantifier, and the regret is the paper's (2.6), so the goal cannot be met by a policy that offers S∗S^*S∗ or by constants that depend on the instance.
  • Welcome contributions. Infrastructure for adaptive sampling (the i.i.d. property of the epoch estimates), Chernoff bounds for geometric and sub-exponential variables, and a Wald-type identity for epochs.

The paper's own proofs are in its Appendices A and D.

Selected references

  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5):1453–1485, 2019. arXiv:1706.03880v2, doi:10.1287/opre.2018.1832
  • P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic assortment optimization with a multinomial logit choice model and capacity constraint, Operations Research 58(6):1666–1680, 2010. doi:10.1287/opre.1100.0866
  • D. Sauré, A. Zeevi, Optimal dynamic assortment planning with demand learning, Manufacturing & Service Operations Management 15(3):387–404, 2013. doi:10.1287/msom.2013.0429
  • K. Talluri, G. van Ryzin, Revenue management under a general discrete choice model of consumer behavior, Management Science 50(1):15–33, 2004. doi:10.1287/mnsc.1030.0147
  • M. Mitzenmacher, E. Upfal, Probability and Computing, Cambridge University Press, 2005.
15 thms1 active userReviewed
Algorithmic Game TheoryAnalysisOperations Research+1·Captain: mikedeng1

A Generalization of Brouwer's Fixed Point Theorem: An Upper Semi-Continuous Map with Nonempty Closed Convex Values on a Bounded Closed Convex Set in Euclidean Space Has a Fixed PointResearch Paper

Motivation

Brouwer's fixed point theorem says that a continuous map of a closed simplex into itself has a fixed point. Many existence questions in game theory and mathematical economics produce instead a point-to-set mapping: to each point xxx it assigns a whole set Φ(x)\Phi(x)Φ(x) of admissible responses, for instance the set of best replies of a player to the others' strategies. Such a set need not be a single point, and no continuous single-valued selection need exist. Kakutani's 1941 note, A generalization of Brouwer's fixed point theorem, gives the fixed point theorem for this setting, and shows on the same three pages that it implies two results of J. von Neumann: an intersection theorem for two closed subsets of a product of convex sets, and the minimax theorem.

Timeline, as the paper records it:

  • 1912–1929: Brouwer's theorem; the paper cites the proof of Knaster, Kuratowski and Mazurkiewicz (Fund. Math. 14, 1929).
  • 1928: von Neumann proves the minimax theorem for matrix games (Math. Ann. 100).
  • 1937: von Neumann proves the intersection theorem (Kakutani's Theorem 2) in his paper on an economic equilibrium system, "by using a notion of integral in Euclidean spaces".
  • 1941: Kakutani proves Theorem 1 (simplex), the Corollary (bounded closed convex sets), and derives Theorems 2 and 3 from it.
  • 1950: Nash's existence proof for equilibrium points of nnn-person games applies Kakutani's theorem (PNAS 36).

Setting

Let E=RmE=\mathbb R^mE=Rm with its Euclidean norm, and let S⊆ES\subseteq ES⊆E. Kakutani writes R(S)\mathfrak R(S)R(S) for the family of all closed convex subsets of SSS; as printed, it contains the empty set. A point-to-set mapping of SSS into R(S)\mathfrak R(S)R(S) assigns to each x∈Sx\in Sx∈S a closed convex set Φ(x)⊆S\Phi(x)\subseteq SΦ(x)⊆S.

Φ\PhiΦ is upper semi-continuous (in the paper's sense) when

xn∈S,xn→x0∈S,yn∈Φ(xn),yn→y0⟹y0∈Φ(x0).x_n\in S,\quad x_n\to x_0\in S,\quad y_n\in\Phi(x_n),\quad y_n\to y_0\quad\Longrightarrow\quad y_0\in\Phi(x_0).xn​∈S,xn​→x0​∈S,yn​∈Φ(xn​),yn​→y0​⟹y0​∈Φ(x0​).

This is a sequential closed-graph condition. The paper remarks that for a closed SSS it is equivalent to the graph {(x,y):x∈S, y∈Φ(x)}\{(x,y):x\in S,\ y\in\Phi(x)\}{(x,y):x∈S, y∈Φ(x)} being closed in S×SS\times SS×S.

An rrr-dimensional closed simplex is the convex hull of r+1r+1r+1 affinely independent points of EEE. A fixed point of Φ\PhiΦ is a point x0∈Sx_0\in Sx0​∈S with x0∈Φ(x0)x_0\in\Phi(x_0)x0​∈Φ(x0​).

Formalization targets

Goal: the Corollary (p. 458)

Let S⊆RmS\subseteq\mathbb R^mS⊆Rm be nonempty, bounded, closed and convex, and let Φ\PhiΦ be upper semi-continuous on SSS with every value Φ(x)\Phi(x)Φ(x), x∈Sx\in Sx∈S, a nonempty closed convex subset of SSS. Then

∃ x0∈S:x0∈Φ(x0).\exists\,x_0\in S:\qquad x_0\in\Phi(x_0).∃x0​∈S:x0​∈Φ(x0​).

Milestones

  1. Brouwer's fixed point theorem (§1, p. 457) — a published, proved platform theorem, referenced.
  2. Approximation step of the proof of Theorem 1 (pp. 457–458): for every ε>0\varepsilon>0ε>0 there are a point xxx of the simplex, points x0,…,xrx_0,\dots,x_rx0​,…,xr​ within ε\varepsilonε of xxx, selections yi∈Φ(xi)y_i\in\Phi(x_i)yi​∈Φ(xi​) and weights λ∈Δr\lambda\in\Delta_rλ∈Δr​ with x=∑iλixi=∑iλiyix=\sum_i\lambda_ix_i=\sum_i\lambda_iy_ix=∑i​λi​xi​=∑i​λi​yi​.
  3. Limit step of the proof of Theorem 1 (p. 458): such data for every ε>0\varepsilon>0ε>0, on a compact SSS, force a fixed point.
  4. Theorem 1 (p. 457): the fixed point statement for an rrr-dimensional closed simplex.
  5. Enclosing simplex (proof of the Corollary, p. 458): every bounded subset of Rm\mathbb R^mRm lies in an mmm-dimensional closed simplex S′S'S′.
  6. Retraction (proof of the Corollary, p. 458): a continuous map of S′S'S′ into SSS fixing SSS.
  7. Composition (proof of the Corollary, p. 458): x↦Φ(ψ(x))x\mapsto\Phi(\psi(x))x↦Φ(ψ(x)) is upper semi-continuous on S′S'S′ with values in R(S)⊆R(S′)\mathfrak R(S)\subseteq\mathfrak R(S')R(S)⊆R(S′).
  8. Closed-graph equivalence (§1, p. 457), for closed SSS and Φ(x)⊆S\Phi(x)\subseteq SΦ(x)⊆S.
  9. Theorem 2 (p. 458, von Neumann's intersection theorem): if K⊆RmK\subseteq\mathbb R^mK⊆Rm, L⊆RnL\subseteq\mathbb R^nL⊆Rn are bounded closed convex, K≠∅K\neq\emptysetK=∅, and U,V⊆K×LU,V\subseteq K\times LU,V⊆K×L are closed with all sections Ux0⊆LU_{x_0}\subseteq LUx0​​⊆L, Vy0⊆KV_{y_0}\subseteq KVy0​​⊆K nonempty, closed and convex, then U∩V≠∅U\cap V\neq\emptysetU∩V=∅.

Milestones 8 and 9 stand off the goal's proof path: the paper proves Theorem 2 from the Corollary, using milestone 8 to check upper semi-continuity.

Significance

The Corollary is the form in which Kakutani's theorem is used: existence of equilibrium points in nnn-person games (Nash), of competitive equilibria (Arrow–Debreu), and of solutions of generalized games and variational inequalities all reduce to a fixed point of a point-to-set mapping with nonempty closed convex values on a compact convex set. Theorem 2 in turn gives the minimax theorem (the paper's Theorem 3) in a few lines.

The results are classical and their proofs are known; what is missing is a machine-checked version. Mathlib does not contain Kakutani's theorem, and on Prove2Me the theorem is not posed. Brouwer's theorem is proved on the platform (AGT.brouwer_fixed_point) and enters as a reference milestone. Theorem 3 is already proved on the platform as a special case of Sion's minimax theorem (FamousTheorems.sion_minimax_theorem, Mathlib's Sion.minimax) and is therefore not posed here. A related open platform statement, Debreu's 1952 fixed point lemma for a contractible polyhedron with contractible values and a closed graph (SocialEquilibrium.Existence.fixed_point_of_contractible_polyhedron), generalizes Theorem 1 on polyhedra but not the Corollary, since a bounded closed convex set need not be a polyhedron. Once proved, the goal is the standard entry point for formalized equilibrium existence results.

Difficulty

Brouwer's theorem needs a continuous single-valued map, and a point-to-set mapping with closed convex values need not admit a continuous selection: the mapping on [−1,1][-1,1][−1,1] equal to {1}\{1\}{1} for x<0x<0x<0, [−1,1][-1,1][−1,1] at 000 and {−1}\{-1\}{−1} for x>0x>0x>0 is upper semi-continuous and has none. So the obvious route, select and apply Brouwer, fails; any proof must pass through approximations and a limit in which the graph condition and the convexity of the limiting value both enter. The approximation step needs a family of triangulations of the simplex with mesh tending to zero, which Mathlib does not provide. The transfer from a simplex to a general convex set needs a continuous retraction, which uses convexity and closedness of SSS in Euclidean space.

Formalization scope

  • The ambient space is EuclideanSpace ℝ (Fin m), m=0m=0m=0 included. A point-to-set mapping is a total function Φ : E → Set E; only its values on SSS are constrained.
  • IsClosedConvexSubset S A is the paper's A∈R(S)A\in\mathfrak R(S)A∈R(S) (A⊆SA\subseteq SA⊆S, closed, convex) and admits A=∅A=\emptysetA=∅ as printed. Nonemptiness of the values (and of SSS, and of KKK in Theorem 2) is a separate, labelled hypothesis: with Φ≡∅\Phi\equiv\emptysetΦ≡∅, or S=∅S=\emptysetS=∅, the printed hypotheses hold and there is no fixed point, while the paper's proof picks "an arbitrary point yny^nyn from Φ(xn)\Phi(x^n)Φ(xn)".
  • IsUpperSemicontinuous S Φ is the paper's sequential condition, with sequences in SSS and limit x0∈Sx_0\in Sx0​∈S. It is not Berge's open-neighbourhood upper hemicontinuity.
  • Explicit readings of loose phrases: "the nnn-th barycentric simplicial subdivision" becomes "for every ε>0\varepsilon>0ε>0" with the selected vertices within ε\varepsilonε of the point (no subdivision is built into the statement); "it is clear that … converges" becomes compactness of SSS in the limit step; "take a closed simplex S′S'S′ which contains SSS" becomes an mmm-dimensional affinely independent hull; "a continuous retracting point-to-point mapping" becomes ContinuousOn ψ S', MapsTo ψ S' S and ψ x = x on SSS; "clearly an upper semi-continuous point-to-set mapping of S′S'S′ into R(S)⊆R(S′)\mathfrak R(S)\subseteq\mathfrak R(S')R(S)⊆R(S′)" is stated as three conclusions; "closed subset of S×SS\times SS×S" is closedness in E×EE\times EE×E (the same for closed SSS); U⋅VU\cdot VU⋅V is U∩VU\cap VU∩V; "K×LK\times LK×L in Rm+nR^{m+n}Rm+n" is the product Rm×Rn\mathbb R^m\times\mathbb R^nRm×Rn.
  • A trivializing formalization would allow empty values, an empty domain, a degenerate simplex, or approximation data for a single coarse ε\varepsilonε; each is excluded by the statements as written.
  • Infrastructure a complete development needs: barycentric subdivisions or another construction of approximate fixed points; nearest-point projection onto closed convex sets in Euclidean space; transport of the Corollary to Rm×Rn\mathbb R^m\times\mathbb R^nRm×Rn for Theorem 2. The two definitions are generic and reusable for any later set-valued existence result. Proofs by any faithful route are welcome, including a route through Brouwer's theorem and a continuous approximate selection.

Selected references

  • S. Kakutani, A generalization of Brouwer's fixed point theorem, Duke Math. J. 8 (1941), 457–459. https://doi.org/10.1215/s0012-7094-41-00838-4
  • B. Knaster, C. Kuratowski, S. Mazurkiewicz, Ein Beweis des Fixpunktsatzes für n-dimensionale Simplexe, Fund. Math. 14 (1929), 132–137. https://doi.org/10.4064/fm-14-1-132-137
  • J. von Neumann, Zur Theorie der Gesellschaftsspiele, Math. Ann. 100 (1928), 295–320. https://doi.org/10.1007/BF01448847
  • J. von Neumann, Über ein ökonomisches Gleichungssystem und eine Verallgemeinerung des Brouwerschen Fixpunktsatzes, Ergebnisse eines Math. Kolloquiums 8 (1937), 73–83.
  • J. F. Nash, Equilibrium points in n-person games, Proc. Natl. Acad. Sci. USA 36 (1950), 48–49. https://doi.org/10.1073/pnas.36.1.48
  • M. Sion, On general minimax theorems, Pacific J. Math. 8 (1958), 171–176. https://doi.org/10.2140/pjm.1958.8.171
13 thms3 active usersReviewed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments III: The Three Revenue-Ordered Approximation Bounds Are TightResearch Paper

Motivation

A retailer or an airline chooses which products to offer, and customers choose among what is offered, or buy nothing. Choosing the offer set that maximizes expected revenue is the assortment problem, central to revenue management (Talluri and van Ryzin, 2004). It is NP-hard even for simple mixtures of logit models, so practice relies on heuristics. The most common one is the revenue-ordered assortments strategy: offer the products whose price is above a threshold, and pick the best threshold.

Berbeglia and Joret (arXiv:1606.01371) analyse this heuristic under every regular choice model, the broad class in which enlarging the offer set never raises the probability of choosing any given alternative, including not buying. They prove three approximation guarantees, then show that none of the three can be improved. This mission formalizes that last result, Theorem 3.4.

Timeline:

  • Talluri and van Ryzin (2004) showed that revenue-ordered assortments are optimal under the multinomial logit model.
  • Rusmevichientong, Shmoys, Tong and Topaloglu (2014) showed the problem NP-hard under a mixture of two logit models, and proved that revenue-ordered assortments earn at least OPT/(e(1+ln⁡(rk/r1)))\mathrm{OPT}/(e(1+\ln(r_k/r_1)))OPT/(e(1+ln(rk​/r1​))) under mixed logit.
  • Aouad, Farias, Levi and Segev (2018) proved an Ω(1/ln⁡(rk/r1))\Omega(1/\ln(r_k/r_1))Ω(1/ln(rk​/r1​)) guarantee under random utility models, and that the assortment problem there is NP-hard to approximate within Ω(1/n1−ϵ)\Omega(1/n^{1-\epsilon})Ω(1/n1−ϵ) and Ω(1/log⁡1−ϵ(rk/r1))\Omega(1/\log^{1-\epsilon}(r_k/r_1))Ω(1/log1−ϵ(rk​/r1​)).
  • Berbeglia and Joret (2016–2020, Algorithmica) proved the guarantees 1/k1/k1/k, 1/∑i(ri−ri−1)/ri≥1/(1+ln⁡(rk/r1))1/\sum_{i}(r_i-r_{i-1})/r_i\ge1/(1+\ln(r_k/r_1))1/∑i​(ri​−ri−1​)/ri​≥1/(1+ln(rk​/r1​)) and a purchase-probability bound under any regular model, and an instance on which all three, in their sum forms, are attained in the limit.

Setting

The products form a finite set C\mathcal CC. A system of choice probabilities gives, for every offer set S⊆CS\subseteq\mathcal CS⊆C and product xxx, the probability P(x,S)\mathcal P(x,S)P(x,S) that a customer buys xxx. The no-purchase probability is P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S). The model is regular if

  1. P(x,S)≥0\mathcal P(x,S)\ge0P(x,S)≥0 for x∈C∪{0}x\in\mathcal C\cup\{0\}x∈C∪{0};
  2. P(x,S)=0\mathcal P(x,S)=0P(x,S)=0 for x∉Sx\notin Sx∈/S;
  3. ∑x∈SP(x,S)≤1\sum_{x\in S}\mathcal P(x,S)\le1∑x∈S​P(x,S)≤1;
  4. P(x,S)≥P(x,S′)\mathcal P(x,S)\ge\mathcal P(x,S')P(x,S)≥P(x,S′) for S⊆S′S\subseteq S'S⊆S′ and every x∈S∪{0}x\in S\cup\{0\}x∈S∪{0}.

Each product has a revenue r(x)>0r(x)>0r(x)>0. Offering SSS earns rev(S)=∑x∈SP(x,S) r(x)\mathrm{rev}(S)=\sum_{x\in S}\mathcal P(x,S)\,r(x)rev(S)=∑x∈S​P(x,S)r(x), and OPT=max⁡S⊆Crev(S)\mathrm{OPT}=\max_{S\subseteq\mathcal C}\mathrm{rev}(S)OPT=maxS⊆C​rev(S).

Let r1<⋯<rkr_1<\dots<r_kr1​<⋯<rk​ be the distinct revenues, with r0:=0r_0:=0r0​:=0, and Si={x:r(x)≥ri}S_i=\{x: r(x)\ge r_i\}Si​={x:r(x)≥ri​}. The heuristic earns

RO=max⁡i∈[k]rev(Si).\mathrm{RO}=\max_{i\in[k]}\mathrm{rev}(S_i).RO=i∈[k]max​rev(Si​).

For an optimal S∗S^*S∗ let Ni=∑x∈S∗, r(x)≥riP(x,S∗)N_i=\sum_{x\in S^*,\,r(x)\ge r_i}\mathcal P(x,S^*)Ni​=∑x∈S∗,r(x)≥ri​​P(x,S∗), Nk+1=0N_{k+1}=0Nk+1​=0, and ℓ\ellℓ the largest index with Nℓ>0N_\ell>0Nℓ​>0. Section 3 of the paper proves

  • (A) OPT≤k⋅RO\mathrm{OPT}\le k\cdot\mathrm{RO}OPT≤k⋅RO (Theorem 3.1);
  • (B) OPT≤Dr⋅RO\mathrm{OPT}\le D_r\cdot\mathrm{RO}OPT≤Dr​⋅RO, with Dr=∑i=1kri−ri−1ri≤1+ln⁡(rk/r1)D_r=\sum_{i=1}^{k}\frac{r_i-r_{i-1}}{r_i}\le 1+\ln(r_k/r_1)Dr​=∑i=1k​ri​ri​−ri−1​​≤1+ln(rk​/r1​) (Theorem 3.2);
  • (C) OPT≤DN(S∗)⋅RO\mathrm{OPT}\le D_N(S^*)\cdot\mathrm{RO}OPT≤DN​(S∗)⋅RO, with DN(S∗)=∑i=1ℓNi−Ni+1Ni≤1+ln⁡(N1/Nℓ)D_N(S^*)=\sum_{i=1}^{\ell}\frac{N_i-N_{i+1}}{N_i}\le 1+\ln(N_1/N_\ell)DN​(S∗)=∑i=1ℓ​Ni​Ni​−Ni+1​​≤1+ln(N1​/Nℓ​) (Theorem 3.3).

Formalization targets

Goal: Theorem 3.4

For every k≥1k\ge1k≥1 and every δ>0\delta>0δ>0 there are a finite nonempty product set, a regular P\mathcal PP, revenues r>0r>0r>0 with exactly kkk distinct values, and an optimal S∗S^*S∗ with N1>0N_1>0N1​>0, such that

k⋅RO<(1+δ) OPT,Dr⋅RO<(1+δ) OPT,DN(S∗)⋅RO<(1+δ) OPT.k\cdot\mathrm{RO}<(1+\delta)\,\mathrm{OPT},\qquad D_r\cdot\mathrm{RO}<(1+\delta)\,\mathrm{OPT},\qquad D_N(S^*)\cdot\mathrm{RO}<(1+\delta)\,\mathrm{OPT}.k⋅RO<(1+δ)OPT,Dr​⋅RO<(1+δ)OPT,DN​(S∗)⋅RO<(1+δ)OPT.

So none of the bounds (A), (B), (C) stays true when multiplied by 1+δ1+\delta1+δ, for any number kkk of distinct revenues.

The tight instance (milestones)

The paper's witness has products (i,j)(i,j)(i,j) with i∈[k]i\in[k]i∈[k] and j∈[i]j\in[i]j∈[i]. Product (i,j)(i,j)(i,j) has revenue ε−j\varepsilon^{-j}ε−j, and P((i,j),S)=εi\mathcal P((i,j),S)=\varepsilon^iP((i,j),S)=εi when (i,j)∈S(i,j)\in S(i,j)∈S and (i,1),…,(i,j−1)∉S(i,1),\dots,(i,j-1)\notin S(i,1),…,(i,j−1)∈/S, and 000 otherwise, for 0<ε≤120<\varepsilon\le\tfrac120<ε≤21​. The milestones follow the proof on pp. 10–11:

  • the axiom (iii) bound;
  • (7);
  • (8);
  • (9);
  • regularity;
  • the distinct revenues ri=ε−ir_i=\varepsilon^{-i}ri​=ε−i;
  • RO=rev(C)<1/(1−ε)\mathrm{RO}=\mathrm{rev}(\mathcal C)<1/(1-\varepsilon)RO=rev(C)<1/(1−ε);
  • OPT=k\mathrm{OPT}=kOPT=k, attained by {(i,i)}\{(i,i)\}{(i,i)};
  • the limits OPT/RO→k\mathrm{OPT}/\mathrm{RO}\to kOPT/RO→k and Dr→kD_r\to kDr​→k;
  • Ni=εi+⋯+εkN_i=\varepsilon^i+\dots+\varepsilon^kNi​=εi+⋯+εk and DN→kD_N\to kDN​→k as ε→0+\varepsilon\to0^+ε→0+.

Significance

With Theorems 3.1–3.3, Theorem 3.4 closes the analysis: in terms of the parameters kkk, DrD_rDr​ and DND_NDN​, revenue-ordered assortments are understood exactly under regular choice. It complements the hardness results of Aouad et al., which already show that no efficient strategy can do much better than (A) and (B) in general; Theorem 3.4 shows that the analysis of this particular heuristic is exact. The instance is also a concrete regular choice model in which the optimal offer set is far from every nested one.

On the formal side, the mission produces a reusable formal definition of regular discrete choice models, revenue-ordered assortments and the three bound quantities. These are shared, under other sub-namespaces, with the companion missions on Theorems 3.2 and 3.3. The result is proved in the paper. As far as is known it has not been machine-checked anywhere; the remaining work is formalizing the paper's proof, including the steps it leaves to the reader.

Difficulty

The proof is a construction, and the paper verifies most of it in a sentence each. The work lies in those sentences:

  • the regularity of the instance at the no-purchase option, (9), which needs the row decomposition (8);
  • the claim that {(i,i)}\{(i,i)\}{(i,i)} is optimal among all 2k(k+1)/22^{k(k+1)/2}2k(k+1)/2 offer sets, asserted without proof;
  • the claim that the full set is the best threshold set;
  • the evaluation of DN(S∗)D_N(S^*)DN​(S∗), which needs ℓ=k\ell=kℓ=k.

The naive witness, one instance per bound, does not help: the goal asks for one instance with exactly kkk revenues on which all three bounds are nearly attained, for every kkk.

Formalization scope

  • Products are an arbitrary finite type C. The no-purchase option is not a product: P(0,S)\mathcal P(0,S)P(0,S) is the derived quantity noPurchase P S. Offer sets are Finset C.
  • IsRegular carries axioms (i)–(iv), with (i) and (iv) stated both for products and for the no-purchase option. Regularity at x=0x=0x=0 is essential: without it the guarantees fail.
  • OPT\mathrm{OPT}OPT is Finset.sup' over all subsets, including ∅\emptyset∅. RO\mathrm{RO}RO is Finset.sup' over the kkk threshold sets only, and needs Nonempty C.
  • The distinct revenues are the sorted image of r, indexed by Fin k from 000: the Lean index iii is the paper's i+1i+1i+1, and r0=0r_0=0r0​=0 is a separate case. ℓ\ellℓ lives in WithBot (Fin k).
  • Bounds are multiplicative (OPT≤D⋅RO\mathrm{OPT}\le D\cdot\mathrm{RO}OPT≤D⋅RO); there is no ratio RO/OPT\mathrm{RO}/\mathrm{OPT}RO/OPT in the goal. Limits are along 𝓝[>] 0.
  • The tight instance keeps the paper's 1-based pairs (i,j)(i,j)(i,j) as a subtype of Fin (k+1) × Fin (k+1). Its regularity is a theorem to prove, never a field assumed.

Ruled out:

  • a fixed kkk, since "for every kkk" is the content;
  • tightness of the logarithmic forms 1/(1+ln⁡(rk/r1))1/(1+\ln(r_k/r_1))1/(1+ln(rk​/r1​)) and 1/(1+ln⁡ν)1/(1+\ln\nu)1/(1+lnν), which this instance does not show (there 1+ln⁡(rk/r1)→∞1+\ln(r_k/r_1)\to\infty1+ln(rk​/r1​)→∞ while OPT/RO→k\mathrm{OPT}/\mathrm{RO}\to kOPT/RO→k), so only the sum forms are claimed tight;
  • an instance whose regularity is assumed;
  • a heuristic maximizing over all subsets.

Contributions welcome: proofs of the milestones, especially (8), (9) and the optimality of {(i,i)}\{(i,i)\}{(i,i)}, and general lemmas on sorted distinct values of a finite function.

Selected references

  • G. Berbeglia and G. Joret, Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments, arXiv:1606.01371v3, 2019; published in Algorithmica, 2020. https://arxiv.org/abs/1606.01371
  • K. Talluri and G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004. https://doi.org/10.1287/mnsc.1030.0147
  • P. Rusmevichientong, D. Shmoys, C. Tong and H. Topaloglu, Assortment Optimization under the Multinomial Logit Model with Random Choice Parameters, Production and Operations Management 23(11), 2014. https://doi.org/10.1111/poms.12191
  • A. Aouad, V. Farias, R. Levi and D. Segev, The Approximability of Assortment Optimization Under Ranking Preferences, Operations Research 66(6), 2018. https://doi.org/10.1287/opre.2018.1724
15 thms2 active usersReviewed
Graph TheoryOperations ResearchOptimization·Captain: mikedeng1

Send-and-Split Method for Minimum-Concave-Cost Network Flows I: A Minimum-Cost Flow Exists iff Every Simple Circulation Has Nonnegative Cost, and Then an Extreme One Exists (Theorem 1)Research Paper

Why minimum-concave-cost flows

Many network design and production–distribution problems have economies of scale: shipping twice as much along an arc costs less than twice as much, because of fixed charges, set-up costs or volume discounts. Modelled as network flows, such problems ask for a flow of least cost when each arc cost is a concave function of the flow on the arc. Classical instances include the uncapacitated lot-sizing problem, the fixed-charge transportation problem, and the Steiner tree problem in graphs. Unlike linear costs, concave costs make the problem NP-hard in general, and the usual linear-programming arguments do not apply directly.

Erickson, Monma and Veinott (Math. Oper. Res. 12 (1987) 634–664) give the send-and-split method, a dynamic program that solves such problems in time exponential only in the number of demand nodes. Before the method can run, two questions must be settled: when does a minimum-cost flow exist at all, and can the arc costs be shifted so that they are nonnegative on flows? Theorem 1 of the paper answers both. This mission formalizes Theorem 1.

Timeline. Hirsch and Hoffman (1961) showed that a concave function bounded below on a polyhedron's extreme rays attains its minimum at a vertex; Rockafellar's Convex Analysis (1970, pp. 61, 343) gives the polyhedral form. Edmonds and Karp (1972) showed how to choose node potentials making linear arc costs nonnegative. Theorem 1 (1987) extends both to additive concave costs on uncapacitated networks.

Setting

A graph G=(N,A)G = (N, A)G=(N,A) has nnn nodes and a set AAA of ordered pairs of distinct nodes, the arcs. A demand vector r∈Rnr \in \mathbb{R}^nr∈Rn assigns a demand rir_iri​ to each node (negative demands are supplies). A preflow is a nonnegative matrix x=(xij)x = (x_{ij})x=(xij​) carried by the arcs, and a flow for rrr is a preflow with

∑(j,i)∈Axji−∑(i,k)∈Axik=ri(i∈N),\sum_{(j,i)\in A} x_{ji} - \sum_{(i,k)\in A} x_{ik} = r_i \qquad (i \in N),(j,i)∈A∑​xji​−(i,k)∈A∑​xik​=ri​(i∈N),

inflow minus outflow equal to demand. A circulation is a flow for r=0r = 0r=0.

The flow cost is c(x)=∑(i,j)∈Acij(xij)c(x) = \sum_{(i,j)\in A} c_{ij}(x_{ij})c(x)=∑(i,j)∈A​cij​(xij​), where each cijc_{ij}cij​ is concave on [0,∞)[0,\infty)[0,∞) and cij(0)=0c_{ij}(0) = 0cij​(0)=0. A minimum-cost flow for rrr is a flow whose cost is at most that of every flow for rrr.

A preflow induces the subgraph of arcs with nonzero flow. An extreme flow is a flow whose induced subgraph is a forest (in the undirected sense; two antiparallel arcs form a cycle). A simple circuit is a directed cycle through at least two distinct nodes, with arc set CCC; a simple circulation is a circulation whose induced subgraph is a simple circuit. The slope at infinity c˙ij(∞)∈[−∞,∞)\dot c_{ij}(\infty) \in [-\infty, \infty)c˙ij​(∞)∈[−∞,∞) is the limit of the right derivative of cijc_{ij}cij​.

Two nodes are in the same strong component if chains (directed walks) join them both ways; a component is a sink if no chain leaves it. The augmented graph G‾\underline{G}G​ appends a node ν\nuν and an arc (i,ν)(i,\nu)(i,ν) for exactly one node iii of each sink component. Its arc costs c‾\underline{c}c​ are c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) on arcs inside strong components and arbitrary real numbers elsewhere; π‾i\underline{\pi}_iπ​i​ is the infimum of the costs of chains from iii to ν\nuν. For π∈Rn\pi \in \mathbb{R}^nπ∈Rn, the altered costs are cijπ(y)=cij(y)−(πi−πj)yc^\pi_{ij}(y) = c_{ij}(y) - (\pi_i - \pi_j) ycijπ​(y)=cij​(y)−(πi​−πj​)y.

Formalization targets

Goal: Theorem 1

The following are equivalent:

1∘ there is a minimum-cost flow for some demand vector;2∘ the null circulation is a minimum-cost circulation;3∘ for every r with a flow, some minimum-cost flow for r is extreme;4∘ c(y)≥0 for every simple circulation y;5∘ ∑(i,j)∈Cc˙ij(∞)≥0 for every simple circuit with arc set C;6∘ there is a minimum-cost chain from each node of G‾ to ν under c‾.\begin{aligned} &1^\circ\ \text{there is a minimum-cost flow for some demand vector;}\\ &2^\circ\ \text{the null circulation is a minimum-cost circulation;}\\ &3^\circ\ \text{for every } r \text{ with a flow, some minimum-cost flow for } r \text{ is extreme;}\\ &4^\circ\ c(y) \ge 0 \text{ for every simple circulation } y;\\ &5^\circ\ \textstyle\sum_{(i,j)\in C} \dot c_{ij}(\infty) \ge 0 \text{ for every simple circuit with arc set } C;\\ &6^\circ\ \text{there is a minimum-cost chain from each node of } \underline{G} \text{ to } \nu \text{ under } \underline{c}. \end{aligned}​1∘ there is a minimum-cost flow for some demand vector;2∘ the null circulation is a minimum-cost circulation;3∘ for every r with a flow, some minimum-cost flow for r is extreme;4∘ c(y)≥0 for every simple circulation y;5∘ ∑(i,j)∈C​c˙ij​(∞)≥0 for every simple circuit with arc set C;6∘ there is a minimum-cost chain from each node of G​ to ν under c​.​

If moreover rrr admits a flow and c‾ijz≤cij(z)\underline{c}_{ij} z \le c_{ij}(z)c​ij​z≤cij​(z) on arcs joining distinct strong components, where z=∑iri+z = \sum_i r_i^+z=∑i​ri+​, they are equivalent to

7∘∃π  cijπ(xij)≥0 for all arcs (i,j) and all flows x for r,7^\circ\quad \exists \pi\ \ c^\pi_{ij}(x_{ij}) \ge 0 \text{ for all arcs } (i,j) \text{ and all flows } x \text{ for } r,7∘∃π  cijπ​(xij​)≥0 for all arcs (i,j) and all flows x for r,

and π=π‾\pi = \underline{\pi}π=π​ is real and satisfies 7∘7^\circ7∘.

Milestones

The milestones are the statements the paper's proof rests on: the Hirsch–Hoffman extension (p. 638), cπ(x)=c(x)+∑iπiric^\pi(x) = c(x) + \sum_i \pi_i r_icπ(x)=c(x)+∑i​πi​ri​, the bounds 12c(2x)+12c(2θy)≤c(x+θy)≤c(x)+c(θy)\tfrac12 c(2x) + \tfrac12 c(2\theta y) \le c(x+\theta y) \le c(x) + c(\theta y)21​c(2x)+21​c(2θy)≤c(x+θy)≤c(x)+c(θy), the circuit-wise form of 4° ⇔ 5°, uniqueness of the extreme circulation, xij≤zx_{ij} \le zxij​≤z between strong components, and the two inequalities giving 7∘7^\circ7∘ (all p. 639).

Significance

Theorem 1 decides existence of an optimum from the costs alone: conditions 4° and 5° do not mention the demand vector, so one test settles every demand pattern at once, and 3° guarantees the optimum may be sought among extreme (forest) flows, which is what the send-and-split recursion enumerates. Condition 6° is checkable by a shortest-chain computation, and 7° supplies node potentials that convert the instance into an equivalent one with nonnegative arc costs, the standing assumption of the paper's Theorem 2 and of its running-time analysis. For linear costs the theorem reduces to the familiar statement that a minimum-cost flow exists iff no simple circuit has negative cost.

The result is proved in the paper; it has not been machine-checked. The formalization adds a precise model of extreme flows over arcs (so that antiparallel arcs form a cycle), a treatment of slopes that may equal −∞-\infty−∞, and the Hirsch–Hoffman extension specialized to network polyhedra, which the paper cites rather than proves. Related platform items cover the linear, capacitated case: CycleCanceling.MinMean.minCost_iff_no_negative_cycle and CycleCanceling.MinMean.minCost_iff_exists_price (Goldberg–Tarjan), and LinearOptimization.positive_directed_cycle_of_circulation and LinearOptimization.network_basic_iff_tree on a different arc encoding.

Difficulty

The first idea, to argue as for linear costs by cancelling negative cycles, fails because concave costs are not additive along cycle decompositions: the cost of a flow is not the sum of the costs of its cycle and path components, and a circuit can be harmless at small flow and arbitrarily negative at large flow. Existence therefore depends on the asymptotic slopes c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞), which may be −∞-\infty−∞, rather than on any finite cost evaluation. The implication from bounded rays to an attained minimum (Hirsch–Hoffman) requires identifying the vertices of the flow polyhedron with forest flows and its extreme rays with simple circulations. The potential step 6° ⇒ 7° needs a cost bound on arcs between strong components, where the concave cost is only controlled up to the total positive demand zzz.

Formalization scope

Nodes are Fin n; a graph is ArcGraph n, a Finset (Fin n × Fin n) of arcs without loops. Preflows are real matrices vanishing off the arcs; arc costs are functions R→R\mathbb{R} \to \mathbb{R}R→R, concave on Set.Ici 0 with value 000 at 000 (the paper's "without further mention" assumption, made a hypothesis). The augmented graph has nodes Option (Fin n), with none the node ν\nuν; chain costs, c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) and π‾\underline{\pi}π​ are EReal-valued.

The explicit readings of loose phrases are:

  • "minimum-cost flow" is a flow whose cost is at most that of every flow for the same demands (attained, never an infimum);
  • "bounded below on each half-line" is ∃M ∀θ≥0, M≤c(x+θy)\exists M\ \forall \theta \ge 0,\ M \le c(x+\theta y)∃M ∀θ≥0, M≤c(x+θy);
  • c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) is the infimum over t>0t > 0t>0 of the right derivative at ttt, equal to the limit by concavity;
  • "chain" is a directed walk; "minimum-cost chain" is a chain of real cost at most every chain's cost;
  • 6° quantifies over every admissible choice of the appended arcs and of the finite costs c‾\underline{c}c​;
  • in the 7° part, "flows xxx" are flows for the given rrr, and the existence of such a flow is an added hypothesis: without it 7° is vacuous while 4° can fail;
  • "π‾\underline{\pi}π​ satisfies 7°" uses the real values of π‾\underline{\pi}π​, which the theorem asserts are real.

A formalization in which extreme flows are forests of a simple graph built from the support, in which chains are simple paths, or in which a chain of cost −∞-\infty−∞ counts as a minimum would make 3°, 6° or the equivalence trivially or falsely true; all three are ruled out by the definitions. The running-time remarks, the computation paragraph and the linear-cost remark after the proof are not formalized. Contributions are welcome on the polyhedral side (vertices and extreme rays of {x≥0:conservation}\{x \ge 0 : \text{conservation}\}{x≥0:conservation}), on right derivatives of concave functions at infinity, and on walk costs with negative cycles; all are reusable beyond this mission.

Selected references

  • R. E. Erickson, C. L. Monma, A. F. Veinott, Jr., Send-and-Split Method for Minimum-Concave-Cost Network Flows, Mathematics of Operations Research 12(4), 1987, 634–664. https://doi.org/10.1287/moor.12.4.634
  • W. M. Hirsch, A. J. Hoffman, Extreme varieties, concave functions, and the fixed charge problem, Communications on Pure and Applied Mathematics 14, 1961, 355–369. https://doi.org/10.1002/cpa.3160140312
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • J. Edmonds, R. M. Karp, Theoretical improvements in algorithmic efficiency for network flow problems, Journal of the ACM 19(2), 1972, 248–264. https://doi.org/10.1145/321694.321699
11 thms1 active userReviewed
Graph TheoryLinear OptimizationOperations Research+1·Captain: mikedeng1

Finding Minimum-Cost Circulations by Successive Approximation I: The Generic Refine Subroutine Stops Within 3n(n − 1) + 3nm + 3n²(m + n) Update Operations at an ε-Optimal CirculationResearch Paper

Motivation

Minimum-cost circulation asks how to route flow around a directed network without accumulating flow at any vertex, while minimizing the total cost of the routed units. It is a basic network optimization problem: lower-bound and demand constraints in many flow models can be converted into circulation form. Goldberg and Tarjan's 1987 technical report develops a successive-approximation approach in which a local repair subroutine, refine, improves an approximately optimal circulation. The report was followed by a 1990 journal article; all theorem numbers and page citations in this mission refer to the 1987 report.

The mission isolates the generic form of refine, where an implementation may choose any applicable update at each step. Its question is whether every such choice sequence finishes after a controlled number of operations and returns a circulation with a stronger optimality certificate. The related Goldberg–Tarjan maximum-flow algorithm uses push and relabel operations with distance labels; here the labels are real-valued prices tied to arc costs. The authors' cycle-canceling work uses the same circulation network model and supplies published definitions reused in this development.

Setting

A circulation network has a finite vertex set VVV and a symmetric set EEE of directed arcs: whenever (v,w)(v,w)(v,w) is an arc, so is (w,v)(w,v)(w,v). Let n=∣V∣n=|V|n=∣V∣ and m=∣E∣m=|E|m=∣E∣, counting both orientations. Each arc has a real capacity u(v,w)u(v,w)u(v,w) and cost c(v,w)c(v,w)c(v,w), with c(v,w)=−c(w,v)c(v,w)=-c(w,v)c(v,w)=−c(w,v). A pseudoflow fff respects capacities and the paired-arc relation f(v,w)=−f(w,v)f(v,w)=-f(w,v)f(v,w)=−f(w,v). Its excess ef(v)e_f(v)ef​(v) is the sum of flow entering vvv. A circulation is a pseudoflow with zero excess everywhere. The already published CycleCanceling.MinMean.Network supplies this network, its circulation predicate, and residual capacity uf(v,w)=u(v,w)−f(v,w)u_f(v,w)=u(v,w)-f(v,w)uf​(v,w)=u(v,w)−f(v,w). An arc is residual when this capacity is positive.

A price function p:V→Rp:V\to\mathbb Rp:V→R changes an arc's reduced cost to cp(v,w)=c(v,w)−p(v)+p(w)c_p(v,w)=c(v,w)-p(v)+p(w)cp​(v,w)=c(v,w)−p(v)+p(w). A pseudoflow is ε\varepsilonε-optimal with respect to ppp when every residual arc has reduced cost at least −ε-\varepsilon−ε. A vertex is active when its excess is positive. An admissible arc is a residual arc of negative reduced cost. Refine takes an input circulation that is 2ε2\varepsilon2ε-optimal, saturates every arc whose reduced cost is negative, and then repeatedly applies an available update. A push sends flow from an active vertex along an admissible arc. A relabel raises the price of an active vertex with no outgoing admissible arc to the largest value permitted by ε\varepsilonε-optimality. These rules are Figures 4 and 5, printed pages 18–19.

Formalization targets

The supporting targets are the paper's progress and correctness results, its price bound, and the three operation counts. For any generic refine run from a 2ε2\varepsilon2ε-optimal circulation, Lemma 5.8 bounds each vertex's price increase by 3nε3n\varepsilon3nε. Lemmas 5.9–5.11 bound the numbers R,S,TR,S,TR,S,T of relabelings, saturating pushes, and nonsaturating pushes:

R≤3n(n−1),S≤3nm,T≤3n2(m+n).R\leq 3n(n-1),\qquad S\leq 3nm,\qquad T\leq 3n^2(m+n).R≤3n(n−1),S≤3nm,T≤3n2(m+n).

The goal combines the resulting bound on the number KKK of updates with progress and correctness:

K≤3n(n−1)+3nm+3n2(m+n).K\leq 3n(n-1)+3nm+3n^2(m+n).K≤3n(n−1)+3nm+3n2(m+n).

If the final state has an active vertex, another update exists. If no update applies, the final pseudoflow is a circulation and is ε\varepsilonε-optimal with respect to its final prices. This is the explicit operation-count content behind the generic subroutine's analysis in Section 5. It does not claim a bound for a particular data structure or a complete minimum-cost algorithm.

Significance

The theorem gives an order-independent finite bound: the choice of which applicable push or relabel to perform cannot cause generic refine to run forever or stop with an active vertex. Its output is a circulation whose approximate-optimality tolerance has been halved. That output can serve as the next input in the successive-approximation framework. For integral costs, the report's Theorem 2.3 later turns a sufficiently small tolerance into exact minimum cost; that outer-loop result is outside this mission.

This mission specifies the generic cost-scaling state machine in Lean and poses its quantitative analysis as open formalization targets. The shared network and circulation definitions from the published Goldberg–Tarjan 1989 series are available, and a related generic maximum-flow theorem in the 1988 series has a machine-checked proof. Those results do not prove refine's price-based bounds. Contributions that establish the paper's progress, price, or counting statements for this state machine, and reusable facts about finite residual networks, advance the open goal.

Difficulty

A push respects a capacity, but it can create activity at another vertex; a relabel changes which arcs are admissible. Thus checking a single update does not bound an arbitrary sequence. The price bound also depends on the circulation and prices supplied at entry, not merely on the current pseudoflow being ε\varepsilonε-optimal. Finally, a vertex with no admissible outgoing arc may appear to be stuck when the relabel minimum is over an empty set. Feasibility of the original circulation network is needed to establish that an active vertex still has a genuine next update. The operation bound requires accounting for the three update types across every possible choice sequence.

Formalization scope

Vertices form a finite type, and capacities, costs, flows, and prices are real-valued functions. The network has symmetric ordered arcs and antisymmetric costs. There is no separate nonnegativity assumption on capacities; feasibility is supplied by the input circulation. The new ε\varepsilonε is positive, so the entry circulation is 2ε2\varepsilon2ε-optimal before Figure 4 halves the error parameter. The run starts from the resulting saturated pseudoflow and records one applicable push or relabel per index k<Kk<Kk<K. Counts classify those actual steps by the selected arc's residual capacity after a push. Termination is the negation of the paper's loop guard, not a definition that assumes zero excess.

The reduced-cost sign is c−p(v)+p(w)c-p(v)+p(w)c−p(v)+p(w), and relabel raises p(v)p(v)p(v). This differs from the published 1989 epsilon-optimality definition, so only its network model is imported. The relabel relation requires an attained minimum over a nonempty set of outgoing residual arcs; it assigns no default value to an empty minimum. Loops may occur in the reused network model, but cost antisymmetry makes their reduced cost zero, so they cannot be push arcs. The explicit constants are the report's 3nε3n\varepsilon3nε, 3n(n−1)3n(n-1)3n(n−1), 3nm3nm3nm, and 3n2(m+n)3n^2(m+n)3n2(m+n); the goal sums the last three. The report's RAM-model O(⋅)O(\cdot)O(⋅) running times are outside the formal statements. A definition that makes termination equivalent to conservation or assigns an arbitrary relabel price at an empty set would miss the target.

Selected references

  • Andrew V. Goldberg and Robert E. Tarjan, Finding Minimum-Cost Circulations by Successive Approximation, MIT/LCS/TM-333, July 1987. Technical report.
  • Andrew V. Goldberg and Robert E. Tarjan, Finding Minimum-Cost Circulations by Successive Approximation, Mathematics of Operations Research 15(3), 1990, pp. 430–466. DOI. The report above supplies this mission's numbering.
  • Andrew V. Goldberg and Robert E. Tarjan, A New Approach to the Maximum-Flow Problem, Journal of the ACM 35(4), 1988. DOI.
  • Andrew V. Goldberg and Robert E. Tarjan, Finding Minimum-Cost Circulations by Canceling Negative Cycles, Journal of the ACM 36(4), 1989. DOI.
10 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

A Numerically Stable Dual Method for Solving Strictly Convex Quadratic Programs: The Dual Algorithm Solves the QP or Detects Its Infeasibility in Finitely Many StepsResearch Paper

Motivation

Strictly convex quadratic programs — minimize a positive definite quadratic subject to linear inequalities — are the subproblems solved at every iteration of successive quadratic programming (SQP) methods for nonlinear optimization, and they arise directly in least-squares estimation with constraints, portfolio selection and model predictive control. In SQP the unconstrained minimizer of the quadratic model is available at no cost, while a feasible point is not.

D. Goldfarb and A. Idnani (Math. Programming 27 (1983) 1–33) proposed a dual active-set method that exploits this asymmetry. It starts at the unconstrained minimizer, which is optimal for the problem with all constraints removed, and adds violated constraints one at a time while keeping the current point optimal for the subproblem defined by the current active set. No phase 1 is needed. The method, usually called the Goldfarb–Idnani algorithm, is the basis of widely used solvers (for example the quadprog package in R and QuadProg++), and the paper proves that it terminates finitely with a correct answer.

Earlier dual methods for quadratic programming include the modified-simplex methods of Lemke (Management Science 8 (1962) 442–453) and of Van de Panne and Whinston (1964), which the paper compares with its own in Section 7.

Setting

Fix n,m∈Nn, m \in \mathbb Nn,m∈N, a vector a∈Rna \in \mathbb R^na∈Rn, a symmetric positive definite n×nn\times nn×n matrix GGG, an n×mn\times mn×m matrix CCC with columns n1,…,nmn_1,\dots,n_mn1​,…,nm​, and b∈Rmb \in \mathbb R^mb∈Rm. The quadratic program (1.1) is

min⁡x f(x)=aTx+12xTGxsubject tosi(x)=niTx−bi≥0,i∈K={1,…,m}.\min_x\ f(x) = a^{\mathsf T}x + \tfrac12 x^{\mathsf T}Gx \quad\text{subject to}\quad s_i(x) = n_i^{\mathsf T}x - b_i \ge 0,\quad i \in K = \{1,\dots,m\}.xmin​ f(x)=aTx+21​xTGxsubject tosi​(x)=niT​x−bi​≥0,i∈K={1,…,m}.

The gradient is g(x)=Gx+ag(x) = Gx + ag(x)=Gx+a. For J⊆KJ \subseteq KJ⊆K, the subproblem P(J)P(J)P(J) keeps only the constraints indexed by JJJ; P(∅)P(\emptyset)P(∅) is solved by x0=−G−1ax^0 = -G^{-1}ax0=−G−1a. A set A⊆KA \subseteq KA⊆K is linearly independent if the normals nin_ini​, i∈Ai\in Ai∈A, are.

For an independent AAA, let NNN be the matrix with columns nin_ini​, i∈Ai\in Ai∈A, and define

N∗=(NTG−1N)−1NTG−1,H=G−1−G−1N(NTG−1N)−1NTG−1.N^* = (N^{\mathsf T}G^{-1}N)^{-1}N^{\mathsf T}G^{-1},\qquad H = G^{-1} - G^{-1}N(N^{\mathsf T}G^{-1}N)^{-1}N^{\mathsf T}G^{-1}.N∗=(NTG−1N)−1NTG−1,H=G−1−G−1N(NTG−1N)−1NTG−1.

The multipliers are u(x)=N∗g(x)u(x) = N^*g(x)u(x)=N∗g(x); for a constraint p∉Ap \notin Ap∈/A with normal n+=npn^+ = n_pn+=np​ the infeasibility multipliers are r=N∗n+r = N^*n^+r=N∗n+; a superscript +++ denotes the same objects for A+=A∪{p}A^+ = A\cup\{p\}A+=A∪{p}.

An S-pair (x,A)(x, A)(x,A) is an independent active set AAA with si(x)=0s_i(x) = 0si​(x)=0 for i∈Ai\in Ai∈A and xxx optimal for P(A)P(A)P(A). A V-triple (x,A,p)(x, A, p)(x,A,p) has p∉Ap\notin Ap∈/A, A+A^+A+ independent, sp(x)<0s_p(x) < 0sp​(x)<0, si(x)=0s_i(x) = 0si​(x)=0 for i∈Ai \in Ai∈A, H+g(x)=0H^+g(x) = 0H+g(x)=0 and u+(x)=(N+)∗g(x)≥0u^+(x) = (N^+)^*g(x) \ge 0u+(x)=(N+)∗g(x)≥0.

The dual algorithm starts from (x0,∅)(x^0, \emptyset)(x0,∅). In Step 1 it stops if xxx is feasible; otherwise it picks any violated constraint ppp. In Step 2 it moves along the primal direction z=Hn+z = Hn^+z=Hn+ and the dual direction (−r;1)(-r; 1)(−r;1) with step t=min⁡{t1,t2}t = \min\{t_1, t_2\}t=min{t1​,t2​}, where t1t_1t1​ is the largest step that keeps the multipliers nonnegative and t2=−sp(x)/zTn+t_2 = -s_p(x)/z^{\mathsf T}n^+t2​=−sp​(x)/zTn+ makes constraint ppp active. If both are infinite it reports infeasibility. A full step (t=t2t = t_2t=t2​) adds ppp and returns to Step 1. A partial step (t=t1<t2t = t_1 < t_2t=t1​<t2​), or a dual step (z=0z = 0z=0), drops a constraint kkk attaining t1t_1t1​ and repeats Step 2.

Formalization targets

Goal: Theorem 3 (p. 11)

For every choice of the violated constraint ppp and of the dropped constraint kkk:

no run from (x0,∅) is infinite, and every run that cannot continue ends in {STOP at an optimal x of (1.1), orSTOP with {x:CTx≥b}=∅.\text{no run from } (x^0,\emptyset) \text{ is infinite, and every run that cannot continue ends in } \begin{cases}\text{STOP at an optimal } x \text{ of (1.1)}, \text{ or}\\ \text{STOP with } \{x : C^{\mathsf T}x \ge b\} = \emptyset.\end{cases}no run from (x0,∅) is infinite, and every run that cannot continue ends in {STOP at an optimal x of (1.1), orSTOP with {x:CTx≥b}=∅.​

Milestones, in attack order

  1. Properties (2.6)–(2.9) (p. 5): Hw=0  ⟺  w∈range⁡NHw = 0 \iff w \in \operatorname{range} NHw=0⟺w∈rangeN; H⪰0H \succeq 0H⪰0; HGH=HHGH = HHGH=H; N∗GH=0N^*GH = 0N∗GH=0.
  2. Optimality conditions (2.3)–(2.4) (p. 5): on the manifold of AAA, xxx solves P(A)P(A)P(A) iff N∗g(x)≥0N^*g(x) \ge 0N∗g(x)≥0 and Hg(x)=0Hg(x) = 0Hg(x)=0.
  3. Lemma 1 (p. 8): along xˉ=x+tHn+\bar x = x + tHn^+xˉ=x+tHn+ from a V-triple, H+g(xˉ)=0H^+g(\bar x) = 0H+g(xˉ)=0, the constraints of AAA stay active, u+(xˉ)=u+(x)+t(−r;1)u^+(\bar x) = u^+(x) + t(-r;1)u+(xˉ)=u+(x)+t(−r;1) and sp(xˉ)=sp(x)+t zTn+s_p(\bar x) = s_p(x) + t\,z^{\mathsf T}n^+sp​(xˉ)=sp​(x)+tzTn+.
  4. Theorem 1 (pp. 8–9): the step t=min⁡{t1,t2}t = \min\{t_1,t_2\}t=min{t1​,t2​} increases sps_psp​ and fff; a partial step yields a V-triple, a full step an S-pair.
  5. Theorem 2 (p. 10): if np=Nrn_p = Nrnp​=Nr and sp(x)<0s_p(x) < 0sp​(x)<0 at an S-pair, then r≤0r \le 0r≤0 means P(A∪{p})P(A\cup\{p\})P(A∪{p}) is infeasible; otherwise dropping a minimizing kkk gives a V-triple.
  6. One round of Step 2 (p. 11): from an S-pair and a violated ppp, at most ∣A∣|A|∣A∣ partial or dual steps and one final step end either in infeasibility of (1.1) or in a new S-pair (xˉ,Aˉ∪{p})(\bar x, \bar A \cup\{p\})(xˉ,Aˉ∪{p}) with Aˉ⊆A\bar A\subseteq AAˉ⊆A and f(xˉ)>f(x)f(\bar x) > f(x)f(xˉ)>f(x).

Significance

Theorem 3 is the correctness certificate of the Goldfarb–Idnani method: whatever rule an implementation uses to choose the entering and leaving constraints, it cannot cycle and its answer is right. In particular the infeasibility verdict is a proof that (1.1) has no feasible point, which matters in SQP where infeasible subproblems trigger a different branch of the outer method. The intermediate results (the operator identities, Lemma 1, Theorems 1–2) are the standard analysis of dual active-set methods for quadratic programming.

The result is proved in the paper; to our knowledge it has not been machine-checked. A formal development produces verified projector identities for N∗N^*N∗ and HHH, a verified KKT characterization for equality-active subproblems, and a verified finite-termination proof for a nondeterministic algorithm with an explicit step relation. The platform already has a proved KKT sufficiency theorem for general convex programs (ConvexOptimization.kkt_sufficient_for_convex), stated over EuclideanSpace with general convex functions and gradient fields; it can serve as background for the sufficiency half of milestone 2, but it is not stated in this mission's matrix objects.

Difficulty

The obvious termination argument is that fff increases strictly at every iteration and there are finitely many active sets. It fails as stated: partial steps may leave xxx unchanged (the dual steps of Step 2(c)(ii)), so fff is only nondecreasing between consecutive states. A termination proof therefore needs a measure that also decreases along steps that do not move xxx. Any such argument relies on invariants (independence of A+A^+A+, nonnegativity of the multipliers, sp<0s_p < 0sp​<0 along partial steps) that hold only on reachable states, and the operators N∗N^*N∗ and HHH are meaningful only while those invariants hold. Correctness of the infeasibility verdict requires the dependent case (Theorem 2), not only Theorem 1.

Formalization scope

Vectors are Fin n → ℝ, GGG is Matrix (Fin n) (Fin n) ℝ with G.PosDef, CCC is Matrix (Fin n) (Fin m) ℝ, and active sets are Finset (Fin m). Multiplier vectors are indexed by constraint index (Fin m → ℝ, zero off the active set), not by position in AAA. Lean's matrix inverse returns 000 for singular matrices, so every statement about N∗N^*N∗ and HHH assumes G≻0G \succ 0G≻0 and an independent active set (directly, or through an S-pair or V-triple).

The algorithm is the inductive relation Step on states step1 x A u, step2 x A p u⁺, stopOptimal x, stopInfeasible, with one transition per admissible choice of ppp and kkk. Infinite step lengths are separate transitions; a tie t1=t2t_1 = t_2t1​=t2​ takes the full step, as the paper tests t=t2t = t_2t=t2​ first. The running value of fff and the factorizations of Section 4 are not part of the state.

Explicit readings of the paper's words:

  • "solves the QPP or indicates infeasibility in a finite number of steps" is: no infinite sequence of Step transitions from the Step-0 state, and every reachable state without a successor is a STOP whose verdict is correct (optimal for (1.1), or (1.1) infeasible);
  • "S-pair" is: AAA independent and active at xxx, with xxx optimal for P(A)P(A)P(A) (the reading every use in the paper needs);
  • in Theorem 1 the partial-step clause carries t<t2t < t_2t<t2​ (as in its proof), and the multiplier printed uj+1+u^+_{j+1}uj+1+​ in (3.16) is uq+1+u^+_{q+1}uq+1+​, the entry belonging to ppp;
  • "an S-pair can never reoccur" is expressed as the strict increase f(xˉ)>f(x)f(\bar x) > f(x)f(xˉ)>f(x) in milestone 6.

Property (2.10), printed HH+=H+HH^+ = H^+HH+=H+, is false unless G=IG = IG=I and is not formalized. Equality constraints (1.2), Section 4 (numerically stable implementation), Sections 5–6 (computations), Section 7 (comparisons) and the Appendix example are out of scope.

A trivializing formalization is ruled out: the goal quantifies over every run of the relation (not one selection rule, not "some run terminates"), the infeasibility verdict is about (1.1) itself, and the algorithm is a relation that always has a successor until a STOP, so correctness cannot hold because a run gets stuck.

Needed infrastructure: Schur-complement and projector identities for N∗N^*N∗ and HHH; first-order optimality for convex quadratics on affine subspaces with inequality multipliers; well-foundedness arguments for a nondeterministic relation. The operator identities and the KKT characterization are reusable for other active-set and SQP analyses. Contributions of proofs of any milestone, and of reusable lemmas about N∗N^*N∗ and HHH, are welcome.

Selected references

  • D. Goldfarb and A. Idnani, A numerically stable dual method for solving strictly convex quadratic programs, Mathematical Programming 27 (1983) 1–33. https://doi.org/10.1007/BF02591962
  • C. E. Lemke, A method of solution for quadratic programs, Management Science 8 (1962) 442–453. https://doi.org/10.1287/mnsc.8.4.442
  • J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed., Springer, 2006, Chapter 16. https://doi.org/10.1007/978-0-387-40065-5
9 thms1 active userReviewed
Complexity TheoryLinear OptimizationOperations Research·Captain: mikedeng1

On Linear Characterizations of Combinatorial Optimization Problems I: A Small Facial Description in NP Puts the Decision Problem in co-NPResearch Paper

Motivation

Polyhedral combinatorics attacks a combinatorial optimization problem by replacing its finite set of feasible solutions with the convex hull of that set and describing the hull by linear inequalities. Once such a description is known, the problem becomes a linear program, and linear programming duality supplies optimality certificates. For matchings, matroids and network flows this programme succeeded completely (Edmonds' matching polytope is the classical example). For the traveling salesman problem, set covering and integer programming, decades of work produced large families of valid and facet-defining inequalities but never a complete list.

R. M. Karp and C. H. Papadimitriou asked whether the failure is accidental. Their answer, in the MIT technical report On linear characterizations of combinatorial optimization problems (MIT/LCS/TM-154, February 1980; journal version SIAM J. Comput. 11 (1982) 620–632), is that for NP-complete problems a usable complete description cannot exist unless NP = co-NP. This mission formalizes the first of their two complexity results, Theorem 1, together with the steps of its proof and its Corollary 1.

Setting

A combinatorial optimization problem (c.o.p.) CCC consists of a set L⊆{0,1}∗L\subseteq\{0,1\}^*L⊆{0,1}∗ of inputs, a function nnn assigning to each input z∈Lz\in Lz∈L a number of variables n(z)≥0n(z)\ge 0n(z)≥0, and for each z∈Lz\in Lz∈L a set S(z)⊆(Z+)n(z)S(z)\subseteq(\mathbb Z^+)^{n(z)}S(z)⊆(Z+)n(z) of nonnegative integer vectors, the feasible solutions. The three languages LLL, {⟨z,y⟩:∣y∣=n(z)}\{\langle z,y\rangle : |y|=n(z)\}{⟨z,y⟩:∣y∣=n(z)} and {⟨z,x⟩:x∈S(z)}\{\langle z,x\rangle : x\in S(z)\}{⟨z,x⟩:x∈S(z)} must be recognizable in polynomial time. An instance is a pair ⟨z,c⟩\langle z,c\rangle⟨z,c⟩ with z∈Lz\in Lz∈L and c∈Zn(z)c\in\mathbb Z^{n(z)}c∈Zn(z), and the decision problem of CCC is

D(C)={⟨z,c,k⟩:z∈L, c∈Zn(z), k∈Z, ∃x∈S(z)  c⋅x≥k}.D(C)=\{\langle z,c,k\rangle : z\in L,\ c\in\mathbb Z^{n(z)},\ k\in\mathbb Z,\ \exists x\in S(z)\ \ c\cdot x\ge k\}.D(C)={⟨z,c,k⟩:z∈L, c∈Zn(z), k∈Z, ∃x∈S(z)  c⋅x≥k}.

Write CH(S(z))⊆Qn(z)\mathrm{CH}(S(z))\subseteq\mathbb Q^{n(z)}CH(S(z))⊆Qn(z) for the convex hull of S(z)S(z)S(z) over the rationals. A facial description of CCC is a set F(C)F(C)F(C) of triples ⟨z,f,g⟩\langle z,f,g\rangle⟨z,f,g⟩, with z∈Lz\in Lz∈L, f∈Zn(z)f\in\mathbb Z^{n(z)}f∈Zn(z) and g∈Zg\in\mathbb Zg∈Z, such that for every z∈Lz\in Lz∈L and every x∈Qn(z)x\in\mathbb Q^{n(z)}x∈Qn(z)

x∈CH(S(z))  ⟺  f⋅x≤g  for all ⟨z,f,g⟩∈F(C).x\in\mathrm{CH}(S(z))\iff f\cdot x\le g\ \text{ for all }\langle z,f,g\rangle\in F(C).x∈CH(S(z))⟺f⋅x≤g  for all ⟨z,f,g⟩∈F(C).

It is small if for some polynomial ppp every component of every triple ⟨z,f,g⟩∈F(C)\langle z,f,g\rangle\in F(C)⟨z,f,g⟩∈F(C) has absolute value at most 2p(∣z∣+n(z))2^{p(|z|+n(z))}2p(∣z∣+n(z)), so that each coefficient has polynomially many bits. The statement F(C)∈NPF(C)\in\mathrm{NP}F(C)∈NP means that the language of the triples of F(C)F(C)F(C) is in NP: membership of a listed inequality has short, checkable proofs.

Formalization targets

Goal: Theorem 1 (p. 7)

F(C) a small facial description of C,F(C)∈NP ⟹ D(C)∈co-NP.F(C)\ \text{a small facial description of }C,\quad F(C)\in\mathrm{NP}\ \Longrightarrow\ D(C)\in\text{co-NP}.F(C) a small facial description of C,F(C)∈NP ⟹ D(C)∈co-NP.

Milestones, in the order the proof uses them

  1. (p. 5) For a small facial description and every z∈Lz\in Lz∈L, only finitely many triples have first entry zzz, and CH(S(z))\mathrm{CH}(S(z))CH(S(z)) is the intersection of finitely many half-spaces.
  2. (pp. 7–8, (i)⇔(ii)) ⟨z,c,k⟩∉D(C)\langle z,c,k\rangle\notin D(C)⟨z,c,k⟩∈/D(C) iff c⋅x<kc\cdot x<kc⋅x<k for every x∈CH(S(z))x\in\mathrm{CH}(S(z))x∈CH(S(z)).
  3. (p. 8, (ii)⇔(iii)) For a facial description, the same holds with CH(S(z))\mathrm{CH}(S(z))CH(S(z)) replaced by the system f⋅x≤gf\cdot x\le gf⋅x≤g, ⟨z,f,g⟩∈F(C)\langle z,f,g\rangle\in F(C)⟨z,f,g⟩∈F(C).
  4. (p. 8, (iii)⇔(vi)) For a small facial description and S(z)≠∅S(z)\neq\emptysetS(z)=∅: c⋅x<kc\cdot x<kc⋅x<k on that system iff there are n(z)n(z)n(z) triples ⟨z,fi,gi⟩∈F(C)\langle z,f_i,g_i\rangle\in F(C)⟨z,fi​,gi​⟩∈F(C) whose matrix F\mathbf FF is nonsingular and the solution yyy of yTF=cy^T\mathbf F=cyTF=c satisfies y≥0y\ge 0y≥0 and yTg<ky^Tg<kyTg<k.

After the goal: Corollary 1 (p. 8)

D(C) NP-complete, F(C) small facial, F(C)∈NP ⟹ NP=co-NP.D(C)\ \text{NP-complete},\ F(C)\ \text{small facial},\ F(C)\in\mathrm{NP}\ \Longrightarrow\ \mathrm{NP}=\text{co-NP}.D(C) NP-complete, F(C) small facial, F(C)∈NP ⟹ NP=co-NP.

Significance

Theorem 1 converts a question of polyhedral combinatorics into one of complexity theory. Corollary 1 then says that for the traveling salesman problem, Hamiltonian circuit, set covering, integer programming and every other c.o.p. with an NP-complete decision problem, no complete linear description of the hulls has both polynomially sized coefficients and polynomially verifiable membership, unless NP = co-NP. This explains why the search for complete descriptions of such polytopes has not succeeded and why research on them turned to partial descriptions and separation. The companion result of the same paper (Theorem 2, the subject of the second mission in this series) treats separation routines and P instead of facial descriptions and co-NP.

The result itself is proved, by a short argument in the paper. To our knowledge it has no machine-checked proof. Formalizing it requires connecting three things that the platform holds only separately: Cook's Turing-machine classes P, NP and co-NP (published as CookPvsNP_defs), linear programming duality over the rationals (Farkas' lemma is published, e.g. LinearOptimization.farkas_inequality_form_fintype, for real matrices), and polynomial-time arithmetic on binary-encoded rational data, such as solving a nonsingular integer linear system. The last ingredient, a polynomial-time verifier built from a polynomial-time recognizer, is reusable for every co-NP or NP membership proof on the platform.

Difficulty

The mathematical content of Theorem 1 is the duality chain (i)⇔(vi): the "no" answer is certified by n(z)n(z)n(z) inequalities of F(C)F(C)F(C) and a basic dual solution. Two points make the formal proof harder than the paper's page suggests.

First, the duality chain needs care at its edges. When S(z)S(z)S(z) is empty the chain (iii)⇔(vi) can fail, so the verifier must also accept a different certificate (an infeasibility certificate from at most n(z)+1n(z)+1n(z)+1 triples), while milestone 4 carries the hypothesis S(z)≠∅S(z)\neq\emptysetS(z)=∅. Pointedness of the hull, which follows from S(z)⊆(Z+)n(z)S(z)\subseteq(\mathbb Z^+)^{n(z)}S(z)⊆(Z+)n(z), is what guarantees n(z)n(z)n(z) linearly independent rows.

Second, "Algorithm B clearly runs in polynomial time" hides a complete complexity argument on Cook's one-tape machines: parsing the input, testing z∈Lz\in Lz∈L and ∣c∣=n(z)|c|=n(z)∣c∣=n(z) with the recognizers of Definition 1, guessing the matrix within the size bound given by smallness, invoking the NP verifier of F(C)F(C)F(C) n(z)n(z)n(z) times, and solving yTF=cy^T\mathbf F=cyTF=c exactly over Q\mathbb QQ with polynomially bounded bit sizes (Cramer's rule bounds the numerators and denominators of yyy). The certificate must be of length polynomial in the input, which uses the uniform polynomial in the definition of "small". The naive certificate, a single optimal vertex of the hull, does not work: it proves a "yes" answer, not a "no".

Formalization scope

All definitions live in the namespace KarpPapadimitriou.Facial. Strings are List Bool; S(z)S(z)S(z) is a set of Fin (n z) → ℤ with nonnegative entries; CH(S(z))\mathrm{CH}(S(z))CH(S(z)) is convexHull ℚ of its image in Fin (n z) → ℚ, because the paper's "R" denotes the rationals (footnote, p. 3). Tuples are coded over the four-letter alphabet {0,1,−,#}\{0,1,-,\#\}{0,1,−,#} of the published ProjSchedTW_Complexity_Encoding, integers in binary, vectors prefixed by their length so that codes are uniquely decodable. P, NP, co-NP and NP-completeness are the published CookPvsNP_defs; D(C)D(C)D(C) and the triple language of F(C)F(C)F(C) are sets of codes, so strings encoding no triple lie in the complement of D(C)D(C)D(C), as in Algorithm B's step (i). The three polynomial-time conditions of Definition 1 are fields of the structure COP.

Explicit readings of the paper's loose phrases:

  • "polynomial ppp" in "small" is m↦mk+km\mapsto m^k+km↦mk+k with one kkk for all triples;
  • "has optimal value <k<k<k" for (ii) and (iii) is "every feasible point has value <k<k<k", meaningful for infeasible and unbounded programs;
  • "the system yTF=cy^T\mathbf F=cyTF=c has a unique nonnegative solution yyy with yTg<ky^Tg<kyTg<k" is "det⁡F≠0\det\mathbf F\neq0detF=0 and the solution satisfies y≥0y\ge 0y≥0, yTg<ky^Tg<kyTg<k";
  • (iii)⇔(vi) carries the hypothesis S(z)≠∅S(z)\neq\emptysetS(z)=∅, tacit in the paper; Theorem 1 does not;
  • "NP = co-NP" in Corollary 1 holds for every finite nonempty alphabet, since Cook's classes are indexed by the alphabet.

Printed slips: display (3) reads "min" while D(C)D(C)D(C) and the proof maximize; Algorithm B's step (v) reads "yTb>ky^Tb>kyTb>k" for yTg<ky^Tg<kyTg<k. Both are formalized in the corrected sense.

A trivializing formalization is ruled out: the goal quantifies over every c.o.p. and every small facial description, with complements taken over all strings, and no hypothesis restricts S(z)S(z)S(z) or F(C)F(C)F(C) beyond Definition 1 and the definitions of p. 4–5. Claim 1 (p. 9), announced without proof, is not part of the mission.

Contributions welcome: proofs of the four milestones (milestone 4 is an exercise in rational LP duality on finite systems), a reusable library of polynomial-time integer and rational arithmetic on Cook's machines, and the closure of NP under polynomial-time reductions across alphabets that Corollary 1 needs.

Selected references

  • R. M. Karp and C. H. Papadimitriou, On linear characterizations of combinatorial optimization problems, MIT/LCS/TM-154, February 1980. https://dspace.mit.edu/server/api/core/bitstreams/eb122126-c312-4445-a8d2-153e3e7d285f/content ; journal version SIAM J. Comput. 11 (1982) 620–632, https://doi.org/10.1137/0211053
  • S. A. Cook, The P versus NP problem, Clay Mathematics Institute Millennium Problem description, 2000. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
  • J. Edmonds, Maximum matching and a polyhedron with 0,1-vertices, J. Res. Nat. Bur. Standards 69B (1965) 125–130. https://doi.org/10.6028/jres.069B.013
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986 (LP duality, basic solutions, sizes of solutions of linear systems). ISBN 978-0-471-98232-6
  • M. Grötschel and M. W. Padberg, On the symmetric travelling salesman problem I: Inequalities, Math. Programming 16 (1979) 265–280. https://doi.org/10.1007/BF01582116
10 thms3 active usersReviewed
Algorithmic Game TheoryCombinatoricsOperations Research+2·Captain: mikedeng1

Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments V: Stackelberg Matroid Pricing Is an Assortment Problem Under a Regular Choice ModelResearch Paper

Motivation

In Stackelberg network pricing a leader sets prices on some resources, and a follower then buys the cheapest structure available to them, paying the leader for the priced resources they use. The Stackelberg Minimum Spanning Tree problem, introduced by Cardinal, Demaine, Fiorini, Joret, Langerman, Newman and Weimann (Algorithmica 2011), is the version in which the follower buys a minimum spanning tree. The best known approximation factors for it are those of uniform pricing, which gives every priced edge the same price (Berbeglia–Joret, p. 21).

Independently, revenue management studies assortment optimisation: a seller chooses which products to offer, and customers choose among the offered products according to a discrete choice model. Berbeglia and Joret (arXiv:1606.01371, Algorithmica 2020) analyse the revenue-ordered heuristic (offer every product whose revenue is at least some threshold) under any regular choice model, and prove tight approximation bounds.

§4.6 of that paper shows that the two problems are the same problem: a Stackelberg Matroid pricing instance is an assortment problem under a regular choice model, and uniform pricing is the revenue-ordered heuristic on that model. The bounds of Cardinal et al. on uniform pricing thus become special cases of the general bounds on revenue-ordered assortments. This mission formalizes that correspondence (Theorem 4.16).

Setting

Choice model. Let C\mathcal CC be a finite set of products. A system of choice probabilities assigns to each offered set S⊆CS\subseteq\mathcal CS⊆C and product xxx a probability P(x,S)\mathcal P(x,S)P(x,S), with no-purchase probability P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S). It is regular if (i) all probabilities are nonnegative, (ii) P(x,S)=0\mathcal P(x,S)=0P(x,S)=0 for x∉Sx\notin Sx∈/S, (iii) ∑x∈SP(x,S)≤1\sum_{x\in S}\mathcal P(x,S)\le1∑x∈S​P(x,S)≤1, and (iv) P(x,S)≥P(x,S′)\mathcal P(x,S)\ge\mathcal P(x,S')P(x,S)≥P(x,S′) whenever S⊆S′S\subseteq S'S⊆S′ and x∈S∪{0}x\in S\cup\{0\}x∈S∪{0}. With revenues r:C→R>0r:\mathcal C\to\mathbb R_{>0}r:C→R>0​, rev(S)=∑x∈SP(x,S)r(x)\mathrm{rev}(S)=\sum_{x\in S}\mathcal P(x,S)r(x)rev(S)=∑x∈S​P(x,S)r(x) and OPT=max⁡Srev(S)\mathrm{OPT}=\max_S\mathrm{rev}(S)OPT=maxS​rev(S). The revenue-ordered assortment generated by yyy is {y′∈C:r(y′)≥r(y)}\{y'\in\mathcal C:r(y')\ge r(y)\}{y′∈C:r(y′)≥r(y)}.

Greedy algorithm. Given a family of independent sets, a linear ordering LLL and a set FFF, greedy(F,L)\mathrm{greedy}(F,L)greedy(F,L) scans FFF in the order induced by LLL, starting from ∅\emptyset∅, and adds each element that keeps the current set independent.

Stackelberg Matroid problem. An instance is a matroid M=(E,X)M=(E,\mathcal X)M=(E,X), a bipartition E=R⊔BE=R\sqcup BE=R⊔B into red and blue elements, and red costs c:R→R>0c:R\to\mathbb R_{>0}c:R→R>0​; some base of MMM lies inside RRR. The leader chooses prices p:B→R>0p:B\to\mathbb R_{>0}p:B→R>0​. The customer buys a minimum-weight base by running greedy on R∪BR\cup BR∪B with an ordering L∗L^*L∗ that is non-decreasing in weight (ccc on RRR, ppp on BBB) and puts blue elements first on ties. The leader earns revStack(p,L∗)=∑e∈B∩greedyM(R∪B,L∗)p(e)\mathrm{rev}_{\mathrm{Stack}}(p,L^*)=\sum_{e\in B\cap\mathrm{greedy}_M(R\cup B,L^*)}p(e)revStack​(p,L∗)=∑e∈B∩greedyM​(R∪B,L∗)​p(e).

The assortment instance. Let c1<⋯<ckc_1<\dots<c_kc1​<⋯<ck​ be the distinct red costs. Products are C=B×{c1,…,ck}\mathcal C=B\times\{c_1,\dots,c_k\}C=B×{c1​,…,ck​} with r((e,q))=∣B∣ qr((e,q))=|B|\,qr((e,q))=∣B∣q. The auxiliary matroid M′M'M′ on R∪CR\cup\mathcal CR∪C declares XXX independent when it holds at most one pair (e,q)(e,q)(e,q) per blue eee and (R∩X)∪{e:(e,q)∈X}(R\cap X)\cup\{e:(e,q)\in X\}(R∩X)∪{e:(e,q)∈X} is independent in MMM. With an ordering LLL of R∪CR\cup\mathcal CR∪C that is non-decreasing in cost and puts products before red elements on ties, P((e,q),S)=1/∣B∣\mathcal P((e,q),S)=1/|B|P((e,q),S)=1/∣B∣ if (e,q)∈greedyM′(R∪S,L)(e,q)\in\mathrm{greedy}_{M'}(R\cup S,L)(e,q)∈greedyM′​(R∪S,L) and 000 otherwise.

Formalization targets

Goal: Theorem 4.16 (p. 24)

For the instance above, with B≠∅B\ne\emptysetB=∅ and every admissible LLL:

P is regular,r>0,max⁡S⊆Crev(S)=max⁡p>0, L∗revStack(p,L∗),\mathcal P\ \text{is regular},\quad r>0,\qquad \max_{S\subseteq\mathcal C}\mathrm{rev}(S)=\max_{p>0,\ L^*}\mathrm{rev}_{\mathrm{Stack}}(p,L^*),P is regular,r>0,S⊆Cmax​rev(S)=p>0, L∗max​revStack​(p,L∗),

and uniform pricing corresponds to revenue-ordered assortments: for each cic_ici​ some revenue-ordered assortment earns the revenue of the uniform price cic_ici​, and every revenue-ordered assortment earns the revenue of some uniform price cic_ici​.

Milestones

  1. Lemma 4.14 (p. 23): for F⊆F′F\subseteq F'F⊆F′, ∣greedyM(F′,L)∣≥∣greedyM(F,L)∣|\mathrm{greedy}_M(F',L)|\ge|\mathrm{greedy}_M(F,L)|∣greedyM​(F′,L)∣≥∣greedyM​(F,L)∣ and F∩greedyM(F′,L)⊆greedyM(F,L)F\cap\mathrm{greedy}_M(F',L)\subseteq\mathrm{greedy}_M(F,L)F∩greedyM​(F′,L)⊆greedyM​(F,L).
  2. Property (14) (p. 31): orderings agreeing on a block partition make greedy pick the same number of elements per block.
  3. Lemma 4.15 (p. 23): the Stackelberg revenue does not depend on the compatible ordering.
  4. M′M'M′ is a matroid (p. 32).
  5. Regularity of P\mathcal PP (pp. 32–33).
  6. rev(S)\mathrm{rev}(S)rev(S) equals the Stackelberg revenue of pS(e)=min⁡{q:(e,q)∈S}p_S(e)=\min\{q:(e,q)\in S\}pS​(e)=min{q:(e,q)∈S} (pp. 33–34).
  7. Rounding prices up to the cost levels does not decrease revenue (p. 34).
  8. For prices in {c1,…,ck}∪{+∞}\{c_1,\dots,c_k\}\cup\{+\infty\}{c1​,…,ck​}∪{+∞}, rev(Sp)\mathrm{rev}(S_p)rev(Sp​) equals the Stackelberg revenue of ppp (pp. 34–35).

Significance

Theorem 4.16 transfers every guarantee for revenue-ordered assortments under regular models to uniform pricing in Stackelberg Matroid pricing. Specialising Theorems 3.1, 3.2 and 3.3 of the paper through it gives exactly the three bounds on uniform pricing proved by Cardinal et al. for Stackelberg Minimum Spanning Tree (Theorem 3 of their paper), which those authors showed to be tight (p. 24). It also places uniform pricing inside a general picture: it is a threshold policy for a regular choice model whose purchase probabilities come from a matroid greedy algorithm, and the paper notes that the argument extends to polymatroids.

The result is proved in the paper, with two steps left to the reader (M′M'M′ is a matroid) or justified briefly (rounding prices). No machine-checked proof exists. A formalization also produces a reusable greedy algorithm on finite matroids with its monotonicity properties (Lemma 4.14, (14)), which Mathlib at the pinned revision does not have.

Difficulty

The obvious argument identifies the customer's run of greedy on (M,R∪B)(M,R\cup B)(M,R∪B) with the run of greedy on (M′,R∪S)(M',R\cup S)(M′,R∪S) step by step. That identification fails as stated: the choice probabilities are defined with one fixed ordering LLL of R∪CR\cup\mathcal CR∪C, while the customer's ordering L∗L^*L∗ is any ordering compatible with the prices, and ties among blue elements of equal price, or between a product and a red element of equal cost, may be broken differently. Equality of revenues therefore needs the tie-independence property (14) applied to M′M'M′ as well as to MMM, which in turn needs M′M'M′ to be a matroid. A second gap is axiom (iv) for the no-purchase option: it requires that offering more products never decreases the number of products greedy selects, which is Lemma 4.14 (i)–(ii) for M′M'M′ combined, not a pointwise statement. Finally, the paper's "+∞+\infty+∞" price must be handled with the red base: without a base inside RRR, a blue element priced above all costs can still be bought and the optimum is unbounded.

Formalization scope

  • Elements and orderings. The matroid is a Mathlib Matroid α; RRR, BBB are Finset α with R∪BR\cup BR∪B equal to the ground set; costs and prices are functions α → ℝ, used only on RRR and BBB. A linear ordering is a duplicate-free List covering the set; greedy on FFF scans the whole list and skips elements outside FFF, so FFF is never re-sorted.
  • Greedy is defined for an arbitrary independence predicate on finite sets, so that it applies to M′M'M′ before M′M'M′ is shown to be a matroid.
  • Customer model. Compatibility (15a)–(15b), including blue priority on ties, is part of the definition of an admissible customer ordering. The red base is a field of every instance.
  • Assortment instance. Elements of R∪CR\cup\mathcal CR∪C live in α ⊕ (α × ℝ). The paper's conditions (1)–(2) for M′M'M′ contain two typos (a missing "∈X\in X∈X" and X\mathcal XX for XXX); the intended conditions are formalized. The price +∞+\infty+∞ is the real number 1+∑f∈Rc(f)1+\sum_{f\in R}c(f)1+∑f∈R​c(f), strictly above every red cost.
  • Goal shape. The theorem is stated for the explicit instance of the proof, for every admissible LLL. The optimum of the Stackelberg side is a maximum (IsGreatest) over positive real prices and all compatible customer orderings. Cost levels are quantified as elements of the set of red costs rather than by index.
  • Ruled out. An existential statement ("some regular instance has the same optimum") is met by a single product with revenue OPTStack\mathrm{OPT}_{\mathrm{Stack}}OPTStack​ and is not this theorem; so is a customer model without tie-breaking, a formalization without the red base, or Lemma 4.14 only for F=F′F=F'F=F′.

Contributions welcome: proofs of Lemma 4.14 and (14) for Mathlib matroids (reusable beyond this mission), the matroid property of parallel extensions such as M′M'M′, and the three revenue identities.

Selected references

  • G. Berbeglia and G. Joret, Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments, arXiv:1606.01371v3, 2019 (Algorithmica, 2020). https://arxiv.org/abs/1606.01371
  • J. Cardinal, E. D. Demaine, S. Fiorini, G. Joret, S. Langerman, I. Newman and O. Weimann, The Stackelberg Minimum Spanning Tree Game, Algorithmica 59(2):129–144, 2011. https://doi.org/10.1007/s00453-009-9299-y
  • A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Vol. B, Algorithms and Combinatorics 24, Springer, 2003 (matroids and the greedy algorithm). https://link.springer.com/book/9783540443896
14 thms1 active userReviewed
Dynamic ProgrammingGraph TheoryOperations Research+1·Captain: mikedeng1

Send-and-Split Method for Minimum-Concave-Cost Network Flows II: Subproblem Minimum Costs Are the Greatest Solution of the Send-and-Split Equations, Unique if Circulations Cost Positively (Theorem 2)Research Paper

Motivation

Many network-design and production-planning problems ask for a cheapest way to route a commodity from supply points to demand points when the cost of an arc grows less than proportionally with the amount sent: setup charges, economies of scale, and fixed-plus-linear costs all give concave arc costs. Minimizing a concave function over the flow polytope is NP-hard in general, and the classical linear-cost machinery (potentials, negative-cycle tests) no longer applies. Erickson, Monma and Veinott (Math. Oper. Res. 12 (1987)) gave the send-and-split method, a dynamic program over subsets of the demand nodes that solves the uncapacitated problem in time polynomial in the number of nodes and arcs and exponential only in the number of demand nodes. It contains as special cases the Dreyfus–Wagner recursion for Steiner trees in graphs (Networks 1 (1971)), and the paper applies it to concave-cost production, inventory and network-design problems (§6).

Timeline. Zangwill (1968) solved minimum-concave-cost flows on special networks by dynamic programming. Dreyfus and Wagner (1971) gave the subset recursion for Steiner trees with positive arc lengths. Erickson, Monma and Veinott (1987) extended the subset recursion to arbitrary uncapacitated networks with additive concave arc costs and arbitrary real demands, proved that the minimum costs of the subproblems form the greatest solution of the resulting equations (Theorem 2), and showed it is the only solution when every simple circulation has positive cost.

Setting

A network consists of a directed graph G=(N,A)G = (N, A)G=(N,A) with nodes N={0,…,n−1}N = \{0, \dots, n-1\}N={0,…,n−1} and arcs AAA, ordered pairs of distinct nodes, together with a real demand vector r=(ri)r = (r_i)r=(ri​). A preflow is a nonnegative matrix x=(xij)x = (x_{ij})x=(xij​) supported on AAA; a flow for rrr is a preflow with inflow minus outflow equal to rir_iri​ at every node. Each arc has a cost function cijc_{ij}cij​, concave on [0,∞)[0, \infty)[0,∞) with cij(0)=0c_{ij}(0) = 0cij​(0)=0, and the cost of a preflow is c(x)=∑(i,j)∈Acij(xij)c(x) = \sum_{(i,j)\in A} c_{ij}(x_{ij})c(x)=∑(i,j)∈A​cij​(xij​). A minimum-cost flow is a flow whose cost is at most that of every flow. A simple circulation is a circulation equal to some θ>0\theta > 0θ>0 on the arcs of a simple directed circuit and 000 elsewhere.

The demand nodes are D={i:ri≠0}D = \{ i : r_i \neq 0 \}D={i:ri​=0}. For ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D let rI=∑j∈Irjr_I = \sum_{j \in I} r_jrI​=∑j∈I​rj​. The subproblem i→Ii \to Ii→I keeps the demands of the nodes in III, sets all others to zero, and subtracts rIr_IrI​ at node iii; CiIC_{iI}CiI​ is its minimum cost, +∞+\infty+∞ when it has no flow. Let AI=AA_I = AAI​=A if rI>0r_I > 0rI​>0 and the reversed arcs if rI<0r_I < 0rI​<0, with sending cost cij(rI)c_{ij}(r_I)cij​(rI​), read as cji(−rI)c_{ji}(-r_I)cji​(−rI​) when rI<0r_I < 0rI​<0. The send-and-split equations for an array C′C'C′ are

CiI′=Cj,I∖{j}′ (j∈I)if rI=0,(1)C'_{iI} = C'_{j, I\setminus\{j\}} \ (j \in I) \quad \text{if } r_I = 0, \qquad (1)CiI′​=Cj,I∖{j}′​ (j∈I)if rI​=0,(1) CiI′=min⁡(i,j)∈AI[cij(rI)+CjI′]∧BiI′if rI≠0,(2)C'_{iI} = \min_{(i,j)\in A_I} \bigl[ c_{ij}(r_I) + C'_{jI} \bigr] \wedge B'_{iI} \quad \text{if } r_I \neq 0, \qquad (2)CiI′​=(i,j)∈AI​min​[cij​(rI​)+CjI′​]∧BiI′​if rI​=0,(2)

with BiI′=min⁡∅⊂J⊂I[CiJ′+Ci,I∖J′]B'_{iI} = \min_{\emptyset\subset J\subset I} [C'_{iJ} + C'_{i,I\setminus J}]BiI′​=min∅⊂J⊂I​[CiJ′​+Ci,I∖J′​] for ∣I∣>1|I| > 1∣I∣>1, and BiI′=0B'_{iI} = 0BiI′​=0 if I={i}I = \{i\}I={i}, +∞+\infty+∞ otherwise, for ∣I∣=1|I| = 1∣I∣=1 (3).

Formalization targets

Goal: Theorem 2 (Dynamic-Programming Equations)

If there is a minimum-cost flow for rrr, then

C solves (1)–(3),CjI′≤CjI  for every +∞-or-real solution C′,C \text{ solves (1)–(3)}, \qquad C'_{jI} \le C_{jI} \ \text{ for every } +\infty\text{-or-real solution } C',C solves (1)–(3),CjI′​≤CjI​  for every +∞-or-real solution C′,

for all j∈Nj \in Nj∈N and ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D. If moreover every simple circulation has positive cost, then every +∞+\infty+∞-or-real solution equals CCC.

Milestones

In attack order: the subproblem alternative (a minimum-cost flow or no flow, p. 640); equation (1); inequalities (4), (5), (6) (p. 641); CiI=BiIC_{iI} = B_{iI}CiI​=BiI​ for i∈Ii \in Ii∈I (p. 641); CCC satisfies (1) and (2) (p. 642); and two generic statements about Bellman's equations (2)′ for minimum-cost chains in a graph with nonnegative, respectively positive, simple circuits: the minimum chain costs form the greatest solution and are nondecreasing in the arc costs, and with positive circuits the solution is unique (p. 642).

Significance

Theorem 2 is the correctness theorem of the send-and-split method: it says that solving equations (1)–(3) by increasing ∣I∣|I|∣I∣, with a shortest-chain computation for each III, yields the true subproblem minimum costs, in particular the optimum CiDC_{iD}CiD​ of the original problem. Its uniqueness clause identifies when the equations alone determine the answer, and the counterexample on p. 641 (zero costs on a strongly connected graph) shows that the positivity hypothesis cannot simply be dropped. The same structure underlies the Steiner-tree recursion.

The theorem is proved in the paper; to our knowledge none of it is formalized. This mission supplies Lean definitions of uncapacitated concave-cost flows with extended-real minimum costs and the send-and-split equations, and poses the correctness theorem as a proof goal. The two Bellman milestones are general facts about minimum-cost chains with +∞+\infty+∞-or-real values and are reusable well beyond this paper. Related items on the platform are credited, not reused: the Dreyfus–Wagner Steiner recursion DreyfusWagner.Steiner.steinerLength_recurrence and DreyfusWagner.Steiner.optimal_decomposition (the special case of undirected positive lengths), and BellmanRouting.PolicySpace.routing_equation_unique (uniqueness of the routing equation on a complete graph with positive real times).

Difficulty

The equations (2) mix two minima: sending the whole demand rIr_IrI​ across one arc, and splitting III at the current node. Showing that CCC satisfies them requires that some optimal flow of every subproblem has a tree-like structure, which in turn rests on the existence theory for concave-cost flows (an optimum is attained at an extreme flow whose support is a forest). Showing that CCC is the greatest solution requires an induction on ∣I∣|I|∣I∣ in which, for fixed III, equation (2) is a shortest-chain system whose arc costs to an auxiliary node depend on the solution at smaller sets; comparison then needs monotonicity of minimum chain costs in the arc costs, including arcs whose cost drops from +∞+\infty+∞. The naive attempt to prove uniqueness by iterating (2) fails without the positivity hypothesis, because zero-cost circuits admit spurious solutions.

Formalization scope

Nodes are Fin n; arcs are a Finset (Fin n × Fin n) with no loops; arc costs are functions R→R\mathbb{R} \to \mathbb{R}R→R assumed concave on Set.Ici 0 with cij(0)=0c_{ij}(0) = 0cij​(0)=0 at arcs (the paper's standing assumption, stated as a hypothesis). Minimum costs, sending costs, splitting terms and solutions take values in EReal; the empty infimum is +∞+\infty+∞, as on the page.

Explicit readings of the paper's phrases:

  • "there is a minimum-cost flow" means a flow for rrr whose cost is at most that of every flow for rrr;
  • "+∞+\infty+∞ or real-valued" means ≠−∞\neq -\infty=−∞, required on every ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D;
  • "greatest solution" is two claims: CCC is a solution, and every solution is ≤C\le C≤C entrywise;
  • "each simple circulation has positive cost" quantifies over every simple circuit and every θ>0\theta > 0θ>0;
  • "CiIC_{iI}CiI​ is finite" is rendered as CiI=c(x)C_{iI} = c(x)CiI​=c(x) for a minimum-cost flow xxx of the subproblem;
  • "minimum-cost chain" is the infimum of walk costs, attained or +∞+\infty+∞; arc costs of +∞+\infty+∞ in (2)′ are missing arcs.

The definition of CiIC_{iI}CiI​ is the infimum over flows, never the equations themselves; a formalization defining CCC by (1)–(3), or omitting the ≠−∞\neq -\infty=−∞ condition on solutions, or dropping the clause that CCC is itself a solution, would make the theorem trivial or false and is ruled out. Arrays are compared only on admissible sets. The graph structure of (2)′ is the platform definition BertsekasSPGraph. Running-time bounds, the planar refinements of §4 (Theorem 3) and the capacitated reduction of §5 are out of scope. Proofs of any milestone, and a formalization of the paper's Theorem 1 that the proofs rely on, are welcome.

Selected references

  • R. E. Erickson, C. L. Monma, A. F. Veinott, Jr., Send-and-Split Method for Minimum-Concave-Cost Network Flows, Mathematics of Operations Research 12(4), 1987, 634–664. https://doi.org/10.1287/moor.12.4.634
  • S. E. Dreyfus, R. A. Wagner, The Steiner Problem in Graphs, Networks 1(3), 1971, 195–207. https://doi.org/10.1002/net.3230010302
  • R. Bellman, On a Routing Problem, Quarterly of Applied Mathematics 16(1), 1958, 87–90. https://doi.org/10.1090/qam/102435
  • W. M. Hirsch, A. J. Hoffman, Extreme Varieties, Concave Functions, and the Fixed Charge Problem, Communications on Pure and Applied Mathematics 14(3), 1961, 355–369. https://doi.org/10.1002/cpa.3160140312
  • W. I. Zangwill, Minimum Concave Cost Flows in Certain Networks, Management Science 14(7), 1968, 429–450. https://doi.org/10.1287/mnsc.14.7.429
15 thms2 active usersReviewed
Complexity TheoryOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Complexity of Machine Scheduling Problems 1: PARTITION Reduces to Makespan and to Weighted Completion Time on Two Identical MachinesResearch Paper

Motivation

Deterministic machine scheduling asks how to process a set of jobs on a set of machines so that an overall criterion, such as the time at which the last job finishes, is as small as possible. In the early 1970s many such problems had efficient algorithms (Johnson's rule for the two-machine flow shop, Smith's ratio rule for a single machine, Lawler's rule under precedence constraints), while others resisted every attempt. The report of Brucker, Lenstra and Rinnooy Kan (Mathematisch Centrum, 1975; journal version in Annals of Discrete Mathematics 1, 1977) drew the line between the two groups systematically. It fixed the four-field notation n∣m∣ℓ,λ∣kn|m|\ell,\lambda|kn∣m∣ℓ,λ∣k that the scheduling literature still uses, and it proved NP-completeness of the "easiest" hard problems by explicit reductions in the sense of Karp.

The first family of reductions in the report, Theorem 3, concerns the simplest machine environment beyond a single machine: two identical machines. It shows that already there, minimizing the makespan and minimizing the total weighted completion time are as hard as PARTITION. These two reductions are simplified versions of reductions given by Bruno, Coffman and Sethi (1974), reference [3] of the report.

Setting

PARTITION. Given positive integers a1,…,ata_1,\dots,a_ta1​,…,at​, decide whether there is a subset SSS of T={1,…,t}T=\{1,\dots,t\}T={1,…,t} with

∑j∈Saj=∑j∈T−Saj.\sum_{j\in S}a_j=\sum_{j\in T-S}a_j .j∈S∑​aj​=j∈T−S∑​aj​.

Write A=∑j∈TajA=\sum_{j\in T}a_jA=∑j∈T​aj​ for the total.

Two identical machines. There are nnn jobs J1,…,JnJ_1,\dots,J_nJ1​,…,Jn​ and two machines M1,M2M_1,M_2M1​,M2​. Job JjJ_jJj​ has a processing time pj∈Np_j\in\mathbb Npj​∈N and a weight wj∈Nw_j\in\mathbb Nwj​∈N, and must be processed without interruption on one machine of its choice; all jobs are available at time 000. A schedule assigns to every job a machine and a starting time Bj∈NB_j\in\mathbb NBj​∈N; its completion time is Cj=Bj+pjC_j=B_j+p_jCj​=Bj​+pj​. A schedule is feasible if no two jobs on the same machine are processed at the same time, i.e. the intervals [Bj,Bj+pj)[B_j,B_j+p_j)[Bj​,Bj​+pj​) on each machine are pairwise disjoint. Idle time is allowed. Two criteria are considered:

Cmax⁡=max⁡jCj,∑jwjCj.C_{\max}=\max_j C_j,\qquad \sum_j w_jC_j .Cmax​=jmax​Cj​,j∑​wj​Cj​.

The problems n∣2∣I∣Cmax⁡n|2|I|C_{\max}n∣2∣I∣Cmax​ and n∣2∣I∣∑wjCjn|2|I|\sum w_jC_jn∣2∣I∣∑wj​Cj​ ask for a feasible schedule minimizing the respective criterion.

Reducibility. Following Section 2 of the report, each problem is replaced by its recognition version: given an instance and a threshold yyy, is there a feasible schedule with value ≤y\le y≤y? A problem P′P'P′ is reducible to PPP, written P′∝PP'\propto PP′∝P, if every instance of P′P'P′ can be transformed in polynomial time into an instance of PPP with the same answer. Instances are written as words over a finite alphabet, with every number in binary.

Formalization targets

Goal: Theorem 3

PARTITION∝n∣2∣I∣Cmax⁡andPARTITION∝n∣2∣I∣∑wjCj.\text{PARTITION}\propto n|2|I|C_{\max}\qquad\text{and}\qquad \text{PARTITION}\propto n|2|I|\textstyle\sum w_jC_j .PARTITION∝n∣2∣I∣Cmax​andPARTITION∝n∣2∣I∣∑wj​Cj​.

Both reductions use the same instance shape: n=tn=tn=t jobs with pj=ajp_j=a_jpj​=aj​.

Milestones

  1. Theorem 3(a), equivalence. With pj=ajp_j=a_jpj​=aj​ and y=12Ay=\tfrac12Ay=21​A: PARTITION has a solution iff some feasible schedule has Cmax⁡≤yC_{\max}\le yCmax​≤y.
  2. Ordering independence. With pj=wj=ajp_j=w_j=a_jpj​=wj​=aj​, if SSS is the set of jobs on M1M_1M1​ and each machine works without idle time from 000, then ∑wjCj=k(S)\sum w_jC_j=k(S)∑wj​Cj​=k(S) for every order of the jobs, where
k(S)=∑j,k∈S, j≤kajak+∑j,k∈T−S, j≤kajak;k(S)=\sum_{j,k\in S,\,j\le k}a_ja_k+\sum_{j,k\in T-S,\,j\le k}a_ja_k ;k(S)=j,k∈S,j≤k∑​aj​ak​+j,k∈T−S,j≤k∑​aj​ak​;

every feasible schedule with this assignment has value at least k(S)k(S)k(S). 3. The identity for k(S)k(S)k(S). With c=∑j∈Saj−12Ac=\sum_{j\in S}a_j-\tfrac12Ac=∑j∈S​aj​−21​A,

k(S)=k(T)−(∑j∈Saj)(∑j∈T−Saj)=∑j,k∈T, j≤kajak−(12A+c)(12A−c)=y+c2.k(S)=k(T)-\Big(\sum_{j\in S}a_j\Big)\Big(\sum_{j\in T-S}a_j\Big)=\sum_{j,k\in T,\,j\le k}a_ja_k-\big(\tfrac12A+c\big)\big(\tfrac12A-c\big)=y+c^2 .k(S)=k(T)−(j∈S∑​aj​)(j∈T−S∑​aj​)=j,k∈T,j≤k∑​aj​ak​−(21​A+c)(21​A−c)=y+c2.
  1. Theorem 3(b), equivalence. With pj=wj=ajp_j=w_j=a_jpj​=wj​=aj​ and y=∑j,k∈T, j≤kajak−14A2y=\sum_{j,k\in T,\,j\le k}a_ja_k-\tfrac14A^2y=∑j,k∈T,j≤k​aj​ak​−41​A2: PARTITION has a solution iff some feasible schedule has ∑wjCj≤y\sum w_jC_j\le y∑wj​Cj​≤y.

Significance

The result. Since PARTITION is NP-complete (Karp 1972), Theorem 3 shows that both problems are NP-hard with only two machines and a single operation per job; their recognition versions are NP-complete. Together with the single-machine and shop results in the rest of the report, it places the boundary of tractability in deterministic scheduling. The makespan problem P2∥Cmax⁡P2\|C_{\max}P2∥Cmax​ became a standard source problem for later hardness proofs and a standard target for pseudo-polynomial algorithms and approximation schemes. The weighted completion time result contrasts with the single-machine case, which Smith's ratio rule solves in polynomial time.

Formalizing it. The theorem is classical and fully proved on paper; the report prints the constructions and, for (b), a short calculation. To our knowledge no machine-checked proof exists. The mission produces (i) a precise model of nonpreemptive schedules on two identical machines with integer start times and idle time allowed, (ii) the two yes-instance equivalences with the paper's rational thresholds, (iii) the ordering-independence statement for pj=wjp_j=w_jpj​=wj​ behind part (b), and (iv) the polynomial-time computability of the reductions in a Turing machine model. Part (iv) is the formal content of "reducible" and is missing from the paper.

Difficulty

For part (a) the mathematics is short. The paper treats it as evident; a formal proof must still handle schedules with idle time and the case of odd AAA, where 12A\tfrac12A21​A is not an integer.

Part (b) rests on the claim that, when pj=wjp_j=w_jpj​=wj​, the value ∑wjCj\sum w_jC_j∑wj​Cj​ does not depend on the order of the jobs on a machine. For a single machine without idle time this is a symmetric double sum. A recognition-problem proof also needs the converse direction: no schedule with idle time beats the non-idle one, so every feasible schedule with assignment SSS has value at least k(S)k(S)k(S). The paper cites this rather than proving it.

The step the paper leaves out entirely is polynomiality. The constructions copy the input and compute 12A\tfrac12A21​A or ∑j≤kajak−14A2\sum_{j\le k}a_ja_k-\tfrac14A^2∑j≤k​aj​ak​−41​A2, and in a one-tape Turing machine model with an explicit polynomial time bound this needs binary arithmetic (sums, products, a floor) carried out on the tape. It also needs a decoder that rejects malformed words and lists containing a zero. This is routine in principle but long in practice.

Formalization scope

  • Model. Jobs are Fin n and machines Fin 2 (machine 0 is M1M_1M1​). Starting times are natural numbers. Section 3 of the report computes them from processing orders on nonnegative integer data, and both criteria are regular, so real starting times would give the same yes-instances. Processing times may be zero; a zero-length job occupies the empty interval. Schedules may contain idle time.
  • Criteria. "Cmax⁡≤yC_{\max}\le yCmax​≤y" is stated as Cj≤yC_j\le yCj​≤y for every job, which equals max⁡jCj≤y\max_jC_j\le ymaxj​Cj​≤y for n≥1n\ge1n≥1 and avoids a supremum. ∑wjCj\sum w_jC_j∑wj​Cj​ is a finite sum in N\mathbb NN.
  • Languages. PARTITION is the set of binary codes of lists of positive integers that admit a partition; a code of a list with a zero entry is not in the language. A target word codes nnn, the processing times (and weights, job by job), and a threshold y∈Ny\in\mathbb Ny∈N. The number of machines is fixed by the class and not coded. Every coded instance is in the class, so the language admits nothing outside it.
  • Reducibility is CookPvsNP.PolyReducible from the published definition CookPvsNP_defs (Cook's one-tape Turing machines, polynomial-time many-one reductions). The alphabet BSym and the binary code encNats are reused from the published ProjSchedTW.Complexity.Encoding (Neumann, Schwindt and Zimmermann). Its PARTITION language is not reused, because it allows zero sizes.
  • Thresholds. The milestones state the paper's thresholds 12A\tfrac12A21​A and ∑j≤kajak−14A2\sum_{j\le k}a_ja_k-\tfrac14A^2∑j≤k​aj​ak​−41​A2 as real numbers, exactly as printed. The goal's reduction must write a natural-number threshold; all schedule values are integers, so the floor of the printed threshold gives the same yes-instances.
  • Explicit readings. The equivalence of (a) is not printed; the report says on p. 14 that such equivalences are "trivial or clear" where not proved. "Only depends on the choice of SSS" is stated as two facts: equality for non-idle schedules and a lower bound for all feasible schedules. "It is easily seen (cf. Figure 1)" is the three-step identity, one equality per printed step. k(S)k(S)k(S) is defined by its closed form, and its link to schedules is a milestone.
  • Ruled out. A target language whose yes-instances are defined through PARTITION, an equivalence for some instance rather than the paper's construction, and a goal that drops polynomial-time computability would all make the goal vacuous or different. The statements here use the constructions as printed and Cook's reducibility.
  • Welcome contributions. Proofs of the four milestones; a library of polynomial-time Turing machine programs for binary arithmetic and list decoding over BSym, which every mission of this series needs and which is reusable for other reductions on the platform.

Selected references

  • P. Brucker, J. K. Lenstra, A. H. G. Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75, Amsterdam, 1975. https://ir.cwi.nl/pub/9725/9725D.pdf
  • 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
  • J. Bruno, E. G. Coffman Jr., R. Sethi, Scheduling independent tasks to reduce mean finishing time, Communications of the ACM 17 (1974) 382–387. https://doi.org/10.1145/361011.361064
  • R. M. Karp, Reducibility among combinatorial problems, in Complexity of Computer Computations, Plenum, 1972, 85–103. https://doi.org/10.1007/978-1-4684-2001-2_9
  • S. A. Cook, The complexity of theorem-proving procedures, STOC 1971, 151–158. https://doi.org/10.1145/800157.805047
  • W. E. Smith, Various optimizers for single-stage production, Naval Research Logistics Quarterly 3 (1956) 59–66. https://doi.org/10.1002/nav.3800030106
11 thms3 active usersReviewed
Discrete GeometryLinear OptimizationOperations Research·Captain: mikedeng1

On Linear Characterizations of Combinatorial Optimization Problems III: Zero-One and Integer-Programming-Type Problems Have Small Facial DescriptionsResearch Paper

Motivation

Many discrete optimization problems can be described by linear inequalities, even when their feasible solutions are integer vectors. A linear description lets one study the geometry of the feasible set and connect combinatorial methods with linear programming. The number of inequalities may be large, so a more basic question is whether each inequality needs coefficients of manageable size. Karp and Papadimitriou separated this coefficient-size issue from the number and computational recognizability of the inequalities in their study of facial descriptions Karp and Papadimitriou, MIT/LCS/TM-154, pp. 3–7.

Their Lemma 1 identifies two common families for which small coefficients suffice: zero-one problems and problems given by an integer linear system. This result establishes a geometric premise used by the paper's later complexity discussion. It says nothing by itself about finding the inequalities efficiently or recognizing whether a proposed inequality belongs to a description. Those computational conditions belong to the paper's subsequent theorems Karp and Papadimitriou, pp. 5–8.

Setting

A combinatorial optimization problem here consists of a set LLL of binary strings, a dimension n(z)n(z)n(z) for each z∈Lz\in Lz∈L, and a set S(z)S(z)S(z) of feasible nonnegative integer vectors of that dimension. The geometric object is the rational convex hull CH(S(z))⊆Qn(z)\mathrm{CH}(S(z))\subseteq\mathbb Q^{n(z)}CH(S(z))⊆Qn(z). The paper calls the rationals RRR in its notation. The values of nnn and SSS outside LLL carry no meaning. A feasible set may be empty; its convex hull is then empty as well Karp and Papadimitriou, Definition 1 and footnote, p. 3.

A facial description FFF is a collection of triples ⟨z,f,g⟩\langle z,f,g\rangle⟨z,f,g⟩, where z∈Lz\in Lz∈L, f∈Zn(z)f\in\mathbb Z^{n(z)}f∈Zn(z), and g∈Zg\in\mathbb Zg∈Z. For every rational vector xxx and every z∈Lz\in Lz∈L, membership in CH(S(z))\mathrm{CH}(S(z))CH(S(z)) must be equivalent to satisfying all inequalities f⋅x≤gf\cdot x\le gf⋅x≤g indexed by triples of FFF with first component zzz. A facial description is small when one polynomial in ∣z∣+n(z)|z|+n(z)∣z∣+n(z) bounds the binary size of every coefficient of every triple in the collection. The collection itself need not be small Karp and Papadimitriou, pp. 4–5.

A zero-one problem has only vectors with entries zero or one in each S(z)S(z)S(z). An integer-programming-type problem gives an integral matrix A(z)A(z)A(z) and right-hand side b(z)b(z)b(z) and takes S(z)S(z)S(z) to be all nonnegative integer vectors satisfying A(z)x≤b(z)A(z)x\le b(z)A(z)x≤b(z). The dimensions of these data depend on zzz. Their total binary coefficient size is controlled by the length of the encoded input Karp and Papadimitriou, pp. 5–6.

Formalization targets

Lemma 1

The mission goal is the complete statement for both classes:

∀C,(ZeroOne⁡(C)∨IPType⁡(C))⟹∃F,FacialDescription⁡(C,F)∧Small⁡(C,F).\forall C,\quad \bigl(\operatorname{ZeroOne}(C)\lor\operatorname{IPType}(C)\bigr) \Longrightarrow \exists F,\quad \operatorname{FacialDescription}(C,F)\land\operatorname{Small}(C,F).∀C,(ZeroOne(C)∨IPType(C))⟹∃F,FacialDescription(C,F)∧Small(C,F).

The milestone list records three claims used in the paper's proof. In a zero-one hull, every vertex is a zero-one vector and there are no nonzero rays. For integer hulls, the cited vertex-size result gives a uniform polynomial bound on the coordinates of vertices. Finally, the Cramer's-rule calculation bounds an integral normal fff and intercept ggg by (2nx)n(2nx)^n(2nx)n when the geometric data have coordinates bounded by xxx Karp and Papadimitriou, pp. 5–7.

Significance

Lemma 1 permits descriptions of the whole hull, including lower-dimensional hulls that require equations and unbounded integer hulls that have recession directions. It gives a coefficient bound for every input with one polynomial, rather than a polynomial chosen separately for each instance. This is the premise needed when the paper treats a facial description as a language of short encodable inequalities. The later assertion that an NP-recognizable small facial description places the decision problem in co-NP has a distinct hypothesis and is handled by the first mission of this series Karp and Papadimitriou, Theorem 1, pp. 7–8.

The mathematical result is known; the mission asks for a Lean proof of its precise rational, input-indexed version. The local declarations are proof obligations and do not yet carry verified proofs. Existing platform work includes a rational integer-hull definition reused here, a related open theorem of Cook–Gerards–Schrijver–Tardos that bounds normal coefficients under different hypotheses, and proved real-carrier versions of Meyer's polyhedrality and finite-generation results. The related open theorem does not supply Lemma 1: it has neither this zero-one case nor the bound on the intercept ggg. The real-carrier theorems supply neither the input-size bound nor the paper's rational convention.

Difficulty

The zero-one case has bounded coordinates, but a complete description must also handle an empty hull and a hull contained in a proper affine subspace. Bounding only the facet inequalities of a full-dimensional nonempty polytope does not describe those cases. The integer-programming case adds unbounded directions, and the paper's printed identification of extreme rays with rows of AAA is false. A faithful treatment must bound suitable recession directions and then obtain a uniform coefficient bound for the inequalities describing the hull Karp and Papadimitriou, pp. 5–7.

Formalization scope

The Lean model uses List Bool for inputs, Fin (n z) → ℤ for feasible vectors, and Fin (n z) → ℚ for the convex hull. The published CookSensitivity.ChvatalRank.polyhedron and integerHull definitions provide the general rational integer-programming substrate. This mission adds only the paper's input-indexed problem, facial description, smallness condition, and two named problem classes. The three language-recognition requirements in the paper's Definition 1 are omitted because Lemma 1 never uses them; the resulting theorem applies to every such geometric problem, including every c.o.p. in the paper's narrower definition.

The polynomial bound is represented by (∣z∣+n(z))k+k(|z|+n(z))^k+k(∣z∣+n(z))k+k with a single natural exponent kkk chosen before every input and inequality. For an integer-programming-type input, the sum s(A,b)=∑a⌈log⁡2(1+∣a∣)⌉s(A,b)=\sum_a\lceil\log_2(1+|a|)\rceils(A,b)=∑a​⌈log2​(1+∣a∣)⌉ over all entries of AAA and bbb must be at most ∣z∣|z|∣z∣. This makes the paper's phrase “zzz specifies AAA and bbb” an explicit binary-size condition. The cited vertex milestone bounds coordinates in terms of sss alone, as the page states: a zero column gives a line direction rather than a vertex. Its statement follows the paper's unrestricted Ax≤bAx\le bAx≤b formulation; the IP-type goal additionally imposes x≥0x\ge0x≥0. The paper calls bbb an nnn-vector, but it has one entry per row of AAA and is an mmm-vector here. The Cramer's-rule milestone allows rows of size 2x2x2x, as vertex differences can reach that size.

Empty feasible sets, dimension zero, lower-dimensional hulls, and unbounded IP hulls remain in the goal. A description restricted to full-dimensional facets, or a smallness exponent chosen separately for each input, would not meet it. A complete development needs rational convex hulls, integer-hull geometry, finite descriptions of rational polyhedra, bounds on vertices and recession generators, and finite-dimensional determinant estimates. The rational integer-hull definitions and the coefficient estimates are reusable beyond this mission; contributions that establish the three listed milestones or the remaining geometric steps are in scope.

Selected references

  • Richard M. Karp and Christos H. Papadimitriou, On Linear Characterizations of Combinatorial Optimization Problems, MIT/LCS/TM-154, February 1980, pp. 3–7. Report scan. Later published in SIAM Journal on Computing 11 (1982), 620–632, DOI.
6 thms1 active userReviewed
Complexity TheoryOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Complexity of Machine Scheduling Problems 2: KNAPSACK Reduces to Single-Machine Maximum Lateness, Weighted Number of Late Jobs, and Weighted Completion Time with DeadlinesResearch Paper

Motivation

Deterministic machine scheduling was one of the first application areas of the theory of NP-completeness. After Cook (1971) and Karp (1972) showed that a large family of combinatorial problems are polynomially equivalent, Brucker, Lenstra and Rinnooy Kan set out to locate the boundary between the polynomially solvable and the NP-complete scheduling problems. Their report Complexity of Machine Scheduling Problems (Mathematisch Centrum, Report BW 43/75, 1975; journal version in Annals of Discrete Mathematics 1, 1977) introduced the four-field notation n∣m∣ℓ,λ∣kn|m|\ell,\lambda|kn∣m∣ℓ,λ∣k that, in refined form, is still the standard classification of scheduling problems, and proved NP-completeness of the "easiest" hard problems by explicit reductions.

Single-machine problems with due dates sit right at that boundary. Minimizing the maximum lateness Lmax⁡L_{\max}Lmax​ is solved by Jackson's earliest-due-date rule (1955), and minimizing the number of late jobs by Moore's algorithm (1968). Theorem 4 of the report shows that small changes to these problems — one release date, job weights, or due dates turned into deadlines under a weighted completion-time objective — make them NP-complete, by reduction from KNAPSACK. This mission formalizes four of those reductions, parts (b), (c), (e) and (f) of Theorem 4.

Timeline, as far as this mission is concerned:

  • 1955: Jackson — n∣1∣∣Lmax⁡n|1||L_{\max}n∣1∣∣Lmax​ is solved by sequencing in order of nondecreasing due dates.
  • 1968: Moore — n∣1∣∣∑Ujn|1||\sum U_jn∣1∣∣∑Uj​ (unit weights, no release dates) is solvable in polynomial time.
  • 1972: Karp — KNAPSACK (in the subset-sum form used here) is NP-complete; Karp also notes the reduction to n∣1∣∣∑wjUjn|1||\sum w_jU_jn∣1∣∣∑wj​Uj​, which the report cites for part (e).
  • 1975: Brucker, Lenstra and Rinnooy Kan — Theorem 4: KNAPSACK reduces to ten scheduling problems, including the four single-machine problems of this mission.

Setting

A single-machine instance consists of n≥1n\ge1n≥1 jobs J1,…,JnJ_1,\dots,J_nJ1​,…,Jn​. Job JjJ_jJj​ needs pj1p_{j1}pj1​ units of processing on the machine M1M_1M1​, has a weight wjw_jwj​, a release date rjr_jrj​ and a due date djd_jdj​; all data are nonnegative integers. A schedule assigns to each job a starting time Bj≥rjB_j\ge r_jBj​≥rj​ such that the occupied intervals [Bj,Bj+pj1)[B_j,B_j+p_{j1})[Bj​,Bj​+pj1​) of distinct jobs are disjoint. Idle time is allowed; a job with pj1=0p_{j1}=0pj1​=0 occupies an empty interval. The completion time is Cj=Bj+pj1C_j=B_j+p_{j1}Cj​=Bj​+pj1​, the lateness is Lj=Cj−djL_j=C_j-d_jLj​=Cj​−dj​ (possibly negative), and UjU_jUj​ is 000 if Cj≤djC_j\le d_jCj​≤dj​ and 111 otherwise. The criteria are

Lmax⁡=max⁡jLj,∑wjCj=∑j=1nwjCj,∑wjUj=∑j=1nwjUj.L_{\max}=\max_j L_j,\qquad \sum w_jC_j=\sum_{j=1}^n w_jC_j,\qquad \sum w_jU_j=\sum_{j=1}^n w_jU_j .Lmax​=jmax​Lj​,∑wj​Cj​=j=1∑n​wj​Cj​,∑wj​Uj​=j=1∑n​wj​Uj​.

The problem class is written in the λ\lambdaλ field: by default every rj=0r_j=0rj​=0; rn≥0r_n\ge0rn​≥0 allows a nonzero release date for the last job JnJ_nJn​ only; wj=1w_j=1wj​=1 fixes unit weights; Lmax⁡≤0L_{\max}\le0Lmax​≤0 admits only schedules that meet every due date. A problem is turned into a yes/no question by asking whether a schedule with value ≤y\le y≤y exists.

KNAPSACK (Theorem 2(b) of the report): given positive integers a1,…,at,ba_1,\dots,a_t,ba1​,…,at​,b, is there a subset S⊆T={1,…,t}S\subseteq T=\{1,\dots,t\}S⊆T={1,…,t} with ∑j∈Saj=b\sum_{j\in S}a_j=b∑j∈S​aj​=b? Write A=∑j∈TajA=\sum_{j\in T}a_jA=∑j∈T​aj​.

A problem P′P'P′ is reducible to PPP, P′∝PP'\propto PP′∝P, if every instance of P′P'P′ can be transformed in polynomial time into an instance of PPP whose answer is the same.

Formalization targets

Goal: Theorem 4(b), (c), (e), (f)

KNAPSACK∝n∣1∣Lmax⁡≤0∣∑wjCj,KNAPSACK∝n∣1∣rn≥0∣Lmax⁡,\mathsf{KNAPSACK}\propto n|1|L_{\max}\le0|\textstyle\sum w_jC_j,\quad \mathsf{KNAPSACK}\propto n|1|r_n\ge0|L_{\max},KNAPSACK∝n∣1∣Lmax​≤0∣∑wj​Cj​,KNAPSACK∝n∣1∣rn​≥0∣Lmax​, KNAPSACK∝n∣1∣∣∑wjUj,KNAPSACK∝n∣1∣rn≥0,wj=1∣∑wjUj,\mathsf{KNAPSACK}\propto n|1||\textstyle\sum w_jU_j,\quad \mathsf{KNAPSACK}\propto n|1|r_n\ge0,w_j=1|\textstyle\sum w_jU_j ,KNAPSACK∝n∣1∣∣∑wj​Uj​,KNAPSACK∝n∣1∣rn​≥0,wj​=1∣∑wj​Uj​,

as polynomial-time many-one reductions between languages of binary strings.

Milestones: the four yes-instance equivalences

For positive a1,…,at,ba_1,\dots,a_t,ba1​,…,at​,b with 0<b<A0<b<A0<b<A, and the paper's constructions:

  • 4(c): n=t+1n=t+1n=t+1; rj=0r_j=0rj​=0, pj1=ajp_{j1}=a_jpj1​=aj​, dj=A+1d_j=A+1dj​=A+1 for j∈Tj\in Tj∈T; rn=br_n=brn​=b, pn1=1p_{n1}=1pn1​=1, dn=b+1d_n=b+1dn​=b+1. KNAPSACK has a solution iff some schedule has Lmax⁡≤0L_{\max}\le0Lmax​≤0.
  • 4(f): the same instance with unit weights; KNAPSACK has a solution iff some schedule has ∑Uj≤0\sum U_j\le0∑Uj​≤0.
  • 4(e): n=tn=tn=t; pj1=wj=ajp_{j1}=w_j=a_jpj1​=wj​=aj​, dj=bd_j=bdj​=b. KNAPSACK has a solution iff some schedule has ∑wjUj≤A−b\sum w_jU_j\le A-b∑wj​Uj​≤A−b.
  • 4(b): n=t+1n=t+1n=t+1; pj1=wj=ajp_{j1}=w_j=a_jpj1​=wj​=aj​, dj=A+1d_j=A+1dj​=A+1 for j∈Tj\in Tj∈T; pn1=1p_{n1}=1pn1​=1, wn=0w_n=0wn​=0, dn=b+1d_n=b+1dn​=b+1. KNAPSACK has a solution iff some schedule meeting all due dates has
∑wjCj≤y=∑j,k∈T, j≤kajak+A−b.\sum w_jC_j\le y=\sum_{j,k\in T,\ j\le k}a_ja_k+A-b .∑wj​Cj​≤y=j,k∈T, j≤k∑​aj​ak​+A−b.

Significance

The result. Combined with the NP-completeness of KNAPSACK, the four reductions show that the four problems are NP-hard (in the ordinary sense; they admit pseudo-polynomial algorithms). Part (c) shows that Jackson's rule cannot be extended to a single nonzero release date unless P = NP; part (f) does the same for Moore's algorithm; part (e) explains why weights are essential in the late-jobs problem; part (b) shows that deadlines turn the weighted completion-time problem, solved by Smith's ratio rule without them, into a hard one. These are entries of the complexity tables that every later scheduling classification builds on.

Formalizing it. The reductions are classical and proved on paper, in a few lines each: for (c), (e) and (f) the report gives only the construction and a figure. None of them has a machine-checked proof. A complete formalization supplies the explicit equivalence over all feasible schedules (including schedules with idle time and arbitrary processing order), the handling of the inputs the proof sets aside by "we may assume that 0<b<A0<b<A0<b<A", and the polynomial-time computability of the constructions in a Turing-machine model.

Difficulty

Each equivalence has an easy direction: a subset SSS with sum bbb gives the schedule "jobs of SSS, then JnJ_nJn​, then the rest" (Figures 4 and 7 of the report). The other direction must rule out every feasible schedule, not only the idle-free ones in the displayed order. The report gives no argument for this direction in (c), (e) and (f), and for (b) only a computation for idle-free schedules of one shape. The equivalences are false outside 0<b<A0<b<A0<b<A in some cases (for (c), any b>Ab>Ab>A makes every schedule on time), so the goal's reduction must treat those inputs separately.

The heavier part is polynomial-time computability: the reduction must be a function on strings, computed by a one-tape Turing machine within a polynomial number of steps, that parses a binary-coded KNAPSACK instance, computes AAA and the threshold (for (b), a sum of O(t2)O(t^2)O(t2) products), and writes the coded scheduling instance — and maps malformed strings outside the target language.

Formalization scope

  • Model. Jobs are Fin n (0-based; JnJ_nJn​ is the last index), with n>0n>0n>0 in each target language. Starting times are natural numbers: Section 3 computes them from processing orders on integer data, and since all criteria here are regular and release dates survive left shifts, real starting times give the same yes-instances. Feasibility requires disjoint occupied intervals, including empty intervals when pj1=0p_{j1}=0pj1​=0. Idle time is allowed. Lateness is an integer.
  • Problem classes are binding. rn≥0r_n\ge0rn​≥0 means at least one job and release date 000 for every job except the last; Lmax⁡≤0L_{\max}\le0Lmax​≤0 in (b) is a constraint on schedules, not the criterion. Instances outside the class are not in the target language.
  • Thresholds. y∈Ny\in\mathbb Ny∈N in all four languages; for Lmax⁡L_{\max}Lmax​ this restricts to nonnegative thresholds, enough for the paper's y=0y=0y=0. "Lmax⁡≤yL_{\max}\le yLmax​≤y" is stated as "Lj≤yL_j\le yLj​≤y for all jjj".
  • Codes. An instance with threshold yyy is the list nnn, then pj1,wj,rj,djp_{j1},w_j,r_j,d_jpj1​,wj​,rj​,dj​ per job, then yyy, each number in binary.
  • Reducibility. "Reducible" (Section 2) is read as Karp reducibility, CookPvsNP.PolyReducible from the published definition CookPvsNP_defs. The alphabet and binary number codes are those of the published definition ProjSchedTW.Complexity.Encoding (Neumann, Schwindt and Zimmermann); its SUBSET SUM language is not reused because it admits zero sizes, while the paper's KNAPSACK is over positive integers.
  • Explicit readings of loose phrases. "We may assume that 0<b<A0<b<A0<b<A" becomes a hypothesis of each milestone and an obligation on the goal's reduction. "Cf. reduction (i) and Figure 4", "Cf. Karp [19] and Figure 7" and "The equivalence follows immediately" become the stated equivalences over all feasible schedules. Reduction (c) does not specify weights; the shared construction uses unit weights.
  • Not trivializable. The equivalences are stated for the paper's explicit constructions, not for an existentially chosen instance; the target languages enforce the problem class; and the goal demands polynomial-time computability, not only the equivalence.
  • Infrastructure. A Turing-machine library for arithmetic on binary codes (parsing, addition, multiplication, comparison) is reusable across all seven missions of this series and across every reduction posed in the same framework. Contributions of such general lemmas are welcome.

Parts (a), (d) and (g)–(j) of Theorem 4 are formalized in other missions of this series.

Selected references

  • P. Brucker, J. K. Lenstra, A. H. G. Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum, Report BW 43/75, Amsterdam, 1975; journal version: J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Annals of Discrete Mathematics 1 (1977) 343–362. https://doi.org/10.1016/S0167-5060(08)70743-X
  • R. M. Karp, Reducibility among combinatorial problems, in: Complexity of Computer Computations, Plenum, 1972, 85–103. https://doi.org/10.1007/978-1-4684-2001-2_9
  • S. A. Cook, The complexity of theorem-proving procedures, Proc. 3rd ACM STOC, 1971, 151–158. https://doi.org/10.1145/800157.805047
  • J. M. Moore, An n job, one machine sequencing algorithm for minimizing the number of late jobs, Management Science 15 (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.
11 thms3 active usersReviewed
CombinatoricsOperations ResearchProbability+1·Captain: mikedeng1

An Optimal Algorithm for On-line Bipartite Matching 1: RANKING Finds a Matching of Expected Size at Least n(1 − 1/e) − o(n) on Every Graph with a Perfect MatchingResearch Paper

Motivation

Online matching describes allocation when requests must be answered as they arrive. A matching decision uses only the edges revealed so far and cannot be revised when later requests appear. In the bipartite setting studied by Karp, U. Vazirani, and V. Vazirani, the arriving vertices are girls and the possible partners are boys. Even when the full graph has a perfect matching, a fixed greedy priority can leave many girls unmatched. The paper introduced RANKING, which randomly chooses the boys' priority order once and then uses that order for every arrival.

The question is quantitative: how many pairs does RANKING guarantee in expectation against a graph and an arrival order chosen before its random ranking? The paper's target is a fraction approaching 1−1/e1-1/e1−1/e of the nnn pairs in a perfect matching. Its printed Theorem 1 concerns an auxiliary algorithm called EARLY; the RANKING statement follows the intended chain through Lemmas 3 and 5. The original EARLY analysis has a gap for general upper-triangular matrices, so this mission states the RANKING target and the earlier, unaffected lemmas separately. This distinction matters because an assertion about EARLY would be a different formalization target.

Setting

A bipartite graph has a boy side UUU and a girl side VVV, each with nnn vertices. An edge (u,v)(u,v)(u,v) means that boy uuu may be paired with girl vvv. A matching is a collection of edges in which no boy or girl occurs twice. The standing hypothesis for the performance guarantee is that the graph has a perfect matching: some bijection from boys to girls selects an edge for every boy. The graph is otherwise arbitrary.

Girls arrive in a predetermined order. When girl vvv arrives, only her incident edges are revealed. RANKING first chooses a uniformly random permutation π\piπ of the boys. For each arriving girl, it selects the highest-ranked adjacent boy who is still unmatched, if one exists. Write MR(G,π)M_{\mathrm R}(G,\pi)MR​(G,π) for the final matching. The expected size is the finite average over all n!n!n! rankings. The guarantee must hold for every graph and every predetermined arrival order; relabeling girls lets the formal statement fix their order to n,n−1,…,1n,n-1,\ldots,1n,n−1,…,1.

The paper also uses a dual rows-arrive view. Boys arrive in an order and choose among eligible girls, whose priority order is fixed. This is the same greedy rule with the sides exchanged. For its triangular reduction, the columns are numbered 1,…,n1,\ldots,n1,…,n and column nnn has highest priority. An upper-triangular matrix with unit diagonal is a graph with every edge (i,i)(i,i)(i,i) and with an edge (i,j)(i,j)(i,j) only when i≤ji\le ji≤j. On such a graph, the auxiliary algorithm EARLY declines to match row iii if column iii is already covered by EARLY's own matching. For any matching MMM, D(M)D(M)D(M) denotes the indices for which both row iii and column iii are covered.

Formalization targets

RANKING guarantee

For every ε>0\varepsilon>0ε>0, one threshold NNN must work for every size n≥Nn\ge Nn≥N and every graph GGG with a perfect matching:

Eπ∼Unif(Sn)∣MR(G,π)∣≥(1−e−1−ε)n.\mathbb E_{\pi\sim\mathrm{Unif}(S_n)}|M_{\mathrm R}(G,\pi)| \ge (1-e^{-1}-\varepsilon)n.Eπ∼Unif(Sn​)​∣MR​(G,π)∣≥(1−e−1−ε)n.

This is the uniform lower-bound reading of the paper's n(1−1/e)−o(n)n(1-1/e)-o(n)n(1−1/e)−o(n) target. It does not prescribe a finite-nnn additive constant. The mission goal is the RANKING assertion drawn from the paper's Theorem 1 and Lemmas 3 and 5. The six milestones formalize the paper's Lemmas 1–5 and the corollary to Lemma 4, in their source order. They cover the side-exchange identity, arbitrary refusal algorithms, the triangular reduction, the matching-count identity, its expected form, and the pointwise comparison with EARLY.

Significance

The guarantee gives a concrete worst-case floor for a simple randomized allocation rule: as the graph size grows, RANKING matches at least an asymptotic 1−1/e1-1/e1−1/e fraction of the pairs available in a perfect matching, in expectation. The order is selected before the random permutation, matching the paper's performance measure. The lower bound remains meaningful on sparse graphs and does not rely on a density assumption. The original paper also studies the limit on what any randomized online algorithm can guarantee; that upper-bound result is treated in a separate mission.

A formal development here would provide reusable finite definitions for online greedy matching, arbitrary state-dependent refusal, fixed-order duality, and uniform expectation over permutations. The goal is a theorem statement awaiting a machine-checked proof; compiling the draft declarations verifies their Lean syntax and types, not their truth. The local mission separates the valid early structural statements from later statements whose published EARLY argument does not justify them on general upper-triangular graphs.

Difficulty

The random permutation does not make the fate of different vertices independent. Matching one girl removes a boy who might be essential to a later girl, so a per-arrival probability estimate cannot simply be added across all arrivals. The dual and triangular views capture useful structure, but turning that structure into a uniform bound for every graph is the main obstacle. In particular, reasoning about EARLY as if its matched-column set had the same monotonicity as unrestricted RANKING fails on some upper-triangular matrices. A proof of the goal must establish the RANKING guarantee without treating those later EARLY statements as available facts.

Formalization scope

Boys and girls are both Fin n; an adjacency matrix is a relation between them. A published predicate represents a perfect matching as an edge-preserving bijection. The generic greedy run processes arrival times in increasing order and interprets a smaller priority index as higher rank. It makes a new matching decision only from the current matching and the arriving vertex. RANKING's returned edges are consistently ordered as (boy, girl), even though girls arrive. The dual run has rows arriving in an arbitrary permutation and takes column n−1n-1n−1 as highest priority in Lean's zero-based numbering. EARLY's refusal test consults the matching constructed by EARLY itself.

All expectations are finite averages over Equiv.Perm (Fin n), scaled by 1/n!1/n!1/n!. The formal o(n)o(n)o(n) claim is ∀ε>0, ∃N, ∀n≥N, ∀G\forall\varepsilon>0,\ \exists N,\ \forall n\ge N,\ \forall G∀ε>0, ∃N, ∀n≥N, ∀G with a perfect matching, the displayed lower bound. Placing NNN before GGG preserves the worst-case meaning. The perfect-matching condition is essential: the empty graph cannot satisfy a positive linear guarantee. The triangular matrix in Lemma 3 retains every diagonal edge, so a zero matrix cannot witness the reduction. These conventions rule out vacuous versions of the goal and reduction.

The definitions of partial matching, covered vertices, greedy run, RANKING, EARLY, and uniform average are part of the mission. A complete proof may build further finite counting and permutation machinery; such lemmas can be shared beyond this paper. Contributions toward the six milestone statements, the goal, and faithful supporting results are in scope. Lemmas 6–12 and the printed EARLY Theorem 1 are outside this mission because their analysis depends on claims that fail for some matrices allowed by their surrounding assumptions.

Selected references

  • Richard M. Karp, Umesh V. Vazirani, and Vijay V. Vazirani, An Optimal Algorithm for On-line Bipartite Matching, Proceedings of the 22nd Annual ACM Symposium on Theory of Computing, 1990, pp. 352–358. DOI: 10.1145/100216.100262.
10 thms2 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me