Theorem 1, p. 13 — for every period t an integer threshold τ_t: hold all pending orders if z > τ_t, ship all if z ≤ τ_t
ProvedShipConsol.OneWH.theorem_1Consider a retailer shipping orders from one warehouse, with a fixed shipping cost for delivery in periods that is convex and non-increasing on , a probability that new orders arrive in a period, and a delivery deadline of periods. Let be the optimal cost-to-go of the dynamic program (2)–(3), with periods to go and smallest slack time among the pending orders.
Theorem. For every there is an integer threshold such that, for every slack :
- if , shipping all pending orders is optimal: ;
- if , holding all pending orders is feasible and optimal: , and .
The threshold depends on the period . In the last period () shipping is forced and the threshold is . The optimal consolidation policy is thus described by one number per period: wait while the most urgent order still has more than periods of slack, and ship everything otherwise.
Formalization Note. The state stands for the smallest slack among pending orders; the paper's Lemma 1, which reduces the general dynamic program (1) to (2)–(3), is not formalized, and the model is the recursion (2)–(3) itself. "Optimal" means that the corresponding branch of (2) attains the minimum, so with ties both decisions are optimal; the threshold is a natural number (a negative threshold is equivalent to since ). Both implications are required: shipping is always optimal at , so the first implication alone would be trivial.
import Mathlib import Definitions.Def_ShipConsol_OneWH_Setting
namespace ShipConsol.OneWH theorem theorem_1 (F : ℝ → ℝ) (hFconv : ConvexOn ℝ (Set.Ici 1) F) (hFanti : AntitoneOn F (Set.Ici 1)) (α : ℝ) (hα : α ∈ Set.Icc (0 : ℝ) 1) (d : ℕ) (hd : 1 ≤ d) (t : ℕ) (ht : 1 ≤ t) : ∃ τ : ℕ, ∀ z : ℕ, 1 ≤ z → z ≤ d → (z ≤ τ → ShipOptimal F α d t z) ∧ (τ < z → HoldOptimal F α d t z) := by sorry end ShipConsol.OneWH
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.