Motivation
The newsvendor problem is the basic single-period inventory model: a decision maker orders q units before a random demand D is observed, pays b>0 per unit of unmet demand and h>0 per unit left over, and minimizes the expected cost C(q)=E[b(D−q)++h(q−D)+]. When the distribution of D is known, the optimal order is the b/(b+h) quantile of D. In practice the distribution is unknown and only a sample of past demands is available; the standard data-driven order is the sample average approximation (SAA), the b/(b+h) quantile of the empirical distribution.
R. Levi, G. Perakis and J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights (Operations Research 63(6), 2015), ask how many samples guarantee that the SAA order is ϵ-optimal with high probability. Levi, Roundy and Shmoys (2007) gave a distribution-free bound. Levi, Perakis and Uichanco show that, asymptotically in ϵ, the right measure of difficulty is a single scalar of the demand law, the weighted mean spread at the critical quantile, and that for the class of log-concave demand distributions (normal, uniform, exponential, logistic, Laplace and many others used in inventory theory) this scalar is bounded below by min(b,h)/(b+h). That uniform bound turns a distribution-dependent sample-size guarantee into one that holds for every log-concave demand, and is markedly tighter than the distribution-free one.
This mission formalizes the bound (Proposition 2) and the chain of lemmas the paper uses to prove it. The source is the authors' accepted manuscript of the paper (MIT DSpace), cited by its own page numbers.
Setting
Fix costs b>0, h>0 and the critical ratio β=b/(b+h)∈(0,1). A demand law is given by a probability density f:R→R: measurable, nonnegative, with ∫f=1. Its cdf is F(t)=∫(−∞,t]f, and its β quantile is
q∗=inf{q:F(q)≥β}.
The absolute mean spread (AMS, Definition 1) at t is the gap between the conditional means above and below t,
Δ(t)=E(D∣D≥t)−E(D∣D≤t)=1−F(t)∫[t,∞)xf(x)dx−F(t)∫(−∞,t]xf(x)dx,
and the weighted mean spread (WMS, Definition 2) is Δ(q∗)f(q∗).
A density is log-concave (Definition 3) if logf is concave on its support. Equivalently, f(x)af(y)1−a≤f(ax+(1−a)y) for all x,y and a∈[0,1]; this form allows f to vanish outside an interval.
For a log-concave f and a point t with f(t)>0, the number γ1 is a supergradient of logf at t, written γ1∈∂logf(t), if logf(x)≤logf(t)+γ1(x−t) for all x with f(x)>0. The paper splits the class L of log-concave densities into the subclasses Lq∗,γ0,γ1 of densities with quantile q∗, f(q∗)=γ0 and γ1∈∂logf(q∗), and minimizes the AMS over each subclass (problem (11)). The minimizer is the truncated exponential density
f~(x)=γ0eγ1(x−q∗) on [x,x],x=q∗+γ11log(1−γ0γ1β),x=q∗+γ11log(1+γ0γ1(1−β)),
and zero elsewhere (display (12)), with AMS zq∗,γ0,γ1∗ in closed form.
The Lean development uses the names IsPdf, cdfOf, quantileOf, ams, IsLogSupergradient, tildeF and zStar for these objects, in the namespace DataDrivenNV.WMS.
Formalization targets
Goal: Proposition 2
For every log-concave density f,
Δ(q∗)f(q∗) ≥ b+hmin(b,h).
The statement has no further hypothesis: no moment condition, no continuity, no restriction on γ0,γ1.
Milestones, in the order of the paper's proof
- Lemma 1: at the quantile, −hb+h≤γ0γ1≤bb+h.
- Lemma 2: f(x)≤γ0eγ1(x−t) for every x.
- Lemma 3 (Domination Lemma): a density dominated on the support of another, with the same mass left of t, has the larger AMS at t.
- Proposition 1: f~ belongs to Lq,γ0,γ1 and minimizes the AMS there.
- The closed form: Δf~(q)=zq,γ0,γ1∗=γ12γ0[(hb+h+γ0γ1)log(1+γ0γ1b+hh)+(bb+h−γ0γ1)log(1−γ0γ1b+hb)].
- Lemma 4: three elementary inequalities in β∈(0,1) and η∈(−1−β1,β1).
Significance
The proposition is what makes the paper's log-concave sample-size bound (Theorem 4) parameter-free: the probability that the biased SAA order is ϵ-optimal is, asymptotically, at least 1−2exp(−41NϵΔ(q∗)f(q∗)) (Theorem 3), and Proposition 2 replaces the unknown Δ(q∗)f(q∗) by min(b,h)/(b+h). A manager who only knows that demand is log-concave can then size a sample without estimating any parameter of the law.
The result is proved in the paper; nothing about it is open. As far as is known it has no machine-checked proof. Formalizing it produces a checked lower bound for an inventory-theory quantity together with reusable facts about log-concave densities on the line: exponential envelopes from a supergradient, the quantile-and-slope constraints of Lemma 1, and the comparison of conditional means behind the Domination Lemma.
Difficulty
The definitions are elementary, but the proof passes through an infinite-dimensional optimization problem over a class of densities. The obvious first step, "the AMS is minimized by the most concentrated density", has no direct meaning without fixing the density value and the slope of logf at the quantile; after fixing them, one needs the envelope of Lemma 2, a stochastic comparison (Lemma 3) and an explicit integral of a truncated exponential. The Domination Lemma as printed is false (a density whose support has a gap to the right of t is a counterexample), so it is formalized under the hypothesis that the dominating density is positive exactly on an interval around t, which is how Proposition 1 uses it. The case γ1=0 (uniform minimizer) and the two boundary values of γ1/γ0 (one-sided exponential minimizers) are not covered by the closed form (12) and must be handled separately in a proof of the goal. Finally, Lemma 1 rests on the monotonicity of the failure rate f/(1−F) and the reversed hazard rate f/F of log-concave laws, which must be proved from log-concavity.
Formalization scope
Densities are functions ℝ → ℝ with IsPdf f (measurable, nonnegative everywhere, integrable, total integral 1); the law of D is never introduced separately. Log-concavity is the published definition ConvexOptimization.LogConcaveOn Set.univ f (power form, zeros allowed). Concavity of Real.log ∘ f is not used, because Real.log 0 = 0 would treat logf as 0 off the support. The quantile is an sInf; for β∈(0,1) its defining set is nonempty and bounded below. The AMS is the difference of two ratios of integrals. At the quantile both denominators are positive, and the goal and Proposition 1 assume no integrability of xf(x), since log-concave densities have exponential tails. The value f(q∗) is taken pointwise; q∗ lies in the interior of the support, where a log-concave density is continuous.
Conventions and disclosed departures from the page:
- "γ1∈∂logf, the set of all subgradients" is read as the superdifferential of the concave logf on {f>0}.
- Lemma 3 carries three added hypotheses: f2 vanishes outside some [l,u]∋t and is positive on (l,u); 0<F1(t)<1; and xf1(x), xf2(x) are integrable. The first repairs the printed statement; the other two are the conditions under which Definition 1 makes sense for general densities.
- Proposition 1 and the closed form of z∗ are stated for γ1=0 and γ1/γ0 strictly inside the interval of Lemma 1, where (12) is a finite interval.
- The goal has no such restriction.
Assumption 1 of the paper (monotonicity of f beyond q∗) and the continuity assumption of §3 are hypotheses of Theorems 3–4 only and are not used here. A formalization in which f(q∗) or Δ(q∗) takes a junk value (a non-integrable xf(x), a zero denominator) would make the goal trivially true or false; the hypotheses above exclude this, and no statement assumes the conclusion of another.
Contributions welcome: proofs of the milestones in any order; general lemmas on log-concave densities on R (exponential tails, integrability of moments, monotone hazard rates, continuity in the interior of the support); and the boundary cases of problem (11).
Selected references
- R. Levi, G. Perakis, J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, Operations Research 63(6):1294–1306, 2015. Authors' accepted manuscript, MIT DSpace. https://doi.org/10.1287/opre.2015.1422
- R. Levi, R. O. Roundy, D. B. Shmoys, Provably Near-Optimal Sampling-Based Policies for Stochastic Inventory Control Models, Mathematics of Operations Research 32(4):821–839, 2007. https://doi.org/10.1287/moor.1070.0272