Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.2.2, (25)–(27): the robust and the modified nominal problems with inventory capacity

Definition
RobustInventory_SingleStation_Supplement_InventoryCap

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

inventoryp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

This file adds an inventory capacity to the published single-station problems. Stock can only be stored up to Cap\mathrm{Cap}Cap (the paper's CCC of §3.2.2).

  1. The capacitated robust problem is formulation (14), with orders uuu, epigraph variables yyy and dual variables q,rq,rq,r, plus constraint (26) on the same qqq and rrr:
xˉk+1+qkΓk+∑i=0krik≤Cap(k<T),\bar x_{k+1}+q_k\Gamma_k+\sum_{i=0}^{k}r_{ik}\le\mathrm{Cap}\qquad(k<T),xˉk+1​+qk​Γk​+i=0∑k​rik​≤Cap(k<T),

where xˉk+1=x0+∑i=0k(ui−wˉi)\bar x_{k+1}=x_0+\sum_{i=0}^{k}(u_i-\bar w_i)xˉk+1​=x0​+∑i=0k​(ui​−wˉi​). Its objective is that of (14). 2. Let AkA_kAk​ be the value of LP (13), w′w'w′ the modified demand (20) and xk+1′=x0+∑i=0k(ui−wi′)x'_{k+1}=x_0+\sum_{i=0}^{k}(u_i-w'_i)xk+1′​=x0​+∑i=0k​(ui​−wi′​). The capacitated modified nominal problem minimizes ∑k<T[C(uk)+R(xk+1′)]\sum_{k<T}[C(u_k)+R(x'_{k+1})]∑k<T​[C(uk​)+R(xk+1′​)] over uk≥0u_k\ge0uk​≥0 subject to

x0≤Cap,xk+1′≤Cap−2pp+hAk(k<T).x_0\le\mathrm{Cap},\qquad x'_{k+1}\le\mathrm{Cap}-\frac{2p}{p+h}A_k\quad(k<T).x0​≤Cap,xk+1′​≤Cap−p+h2p​Ak​(k<T).

In both problems an optimal solution is a global minimizer over the feasible set. Theorem 3.5 identifies their optimal order sequences.

Formalization Note The capacity is called Cap because Model.C is the purchasing cost. The definitions do not assume that either problem is feasible.

Definition code
import Definitions.Def_RobustInventory_SingleStation_Deviation
import Definitions.Def_RobustInventory_SingleStation_Robust

namespace RobustInventory.SingleStation.Supplement

open Finset

/-- Feasibility in (14) with the inventory capacity constraint (26):
`x̄_{k+1} + q_k Γ_k + ∑_{i=0}^{k} r_ik ≤ Cap` for `k < T`, on the same `q`, `r` as in (14).
`Cap` is the paper's capacity `C` of §3.2.2 (`Model.C` is the ordering cost). -/
def RobustCapFeasible (M : Model) (Cap : ℝ) (u y q : ℕ → ℝ) (r : ℕ → ℕ → ℝ) : Prop :=
  M.RobustFeasible u y q r ∧
    ∀ k < M.T, M.xbar u k + q k * M.Γ k + ∑ i ∈ Finset.range (k + 1), r i k ≤ Cap

/-- A global minimizer of (14) with (26). -/
def IsRobustCapOptimal (M : Model) (Cap : ℝ) (u y q : ℕ → ℝ) (r : ℕ → ℕ → ℝ) : Prop :=
  RobustCapFeasible M Cap u y q r ∧
    ∀ (u' y' q' : ℕ → ℝ) (r' : ℕ → ℕ → ℝ),
      RobustCapFeasible M Cap u' y' q' r' → M.robustObjective u y ≤ M.robustObjective u' y'

/-- The inventory capacity `Cap - (2p/(p + h)) A_k` at time `k + 1` of Theorem 3.5, as in (27). -/
noncomputable def modifiedCap (M : Model) (Cap : ℝ) (k : ℕ) : ℝ :=
  Cap - 2 * M.p / (M.p + M.h) * M.A k

/-- Feasibility in the nominal problem of Theorem 3.5: nonnegative orders, capacity `Cap` at
time `0`, and capacity `modifiedCap` at time `k + 1` on the modified stock `x'_{k+1}`. -/
def NominalCapFeasible (M : Model) (Cap : ℝ) (u : ℕ → ℝ) : Prop :=
  (∀ k < M.T, 0 ≤ u k) ∧ M.x0 ≤ Cap ∧
    ∀ k < M.T, M.stock M.wmod u k ≤ modifiedCap M Cap k

/-- A global minimizer of the nominal problem of Theorem 3.5, with the modified demand `w'`. -/
def IsNominalCapOptimal (M : Model) (Cap : ℝ) (u : ℕ → ℝ) : Prop :=
  NominalCapFeasible M Cap u ∧
    ∀ u', NominalCapFeasible M Cap u' → M.nominalCost M.wmod u ≤ M.nominalCost M.wmod u'

end RobustInventory.SingleStation.Supplement
Source
Bertsimas, Thiele, A Robust Optimization Approach to Inventory Theory, Operations Research 54(1):150–168 (2006), p. 156 (PDF 7), §3.2.2, Eqs. (25)–(27)

View graph

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me