SOF in full has bounded sample-path regret in warehouse waste
OpenPerishShip.Waste.sofFull_pathwise_regretWork in the two-echelon model of Akkaş–Honhon (§4.1): a product with shelf life , warehouse order-up-to level , store capacity , and a fraction of FIFO shoppers. A state records the warehouse and store stock by age; the warehouse is replenished to , a shipment is feasible if for each age and , and the warehouse waste of the period is , the unshipped part of the oldest cohort. Let be the shipment that ships oldest first and in full, i.e. the largest feasible total quantity taken from the oldest cohorts first.
Claim. There is a constant , depending only on the parameters, such that for every sequence of shopper populations , every pair of feasible initial states and , and every sequence of shipments that is feasible along the trajectory , the trajectory satisfies, for every horizon ,
In words: along any realisation of demand, the cumulative warehouse waste of shipping oldest first in full exceeds that of any feasible shipping sequence — even one that knows the future demand and starts from a different feasible state — by at most a bounded amount. Shipping in full is not optimal over a finite horizon (filling the store with fresh stock can block later shipments of old stock), so a constant is needed; the claim is the sample-path content behind the first sentence of Theorem 1 (p. 15). Combined with the general block argument PerishShip.Waste.avg_optimal_of_pathwise_regret it yields that SOF in full minimizes the long-run average warehouse waste.
Formalization Note States, dynamics (next), feasibility and the shipment sofFull are those of Def_PerishShip_Waste_Model; trajectories are arbitrary functions satisfying the recursions. Exhaustive computation on small instances (, , , several ) confirms that the worst-case regret is finite.
import Mathlib import Definitions.Def_PerishShip_Waste_Model
namespace PerishShip.Waste
/-- Sample-path regret bound for shipping oldest first in full (warehouse waste). -/
theorem sofFull_pathwise_regret (P : Params) (hP : P.Standing) :
∃ C : ℕ, ∀ (lam : ℕ → ℕ) (u v : ℕ → State P) (a : ℕ → Vec P),
(u 0).Feasible → (v 0).Feasible →
(∀ t, u (t + 1) = next (u t) (sofFull (u t)) (lam t)) →
(∀ t, ShipFeasible (v t) (a t)) →
(∀ t, v (t + 1) = next (v t) (a t) (lam t)) →
∀ T, ∑ t ∈ Finset.range T, ww hP.1 (u t) (sofFull (u t)) ≤
∑ t ∈ Finset.range T, ww hP.1 (v t) (a t) + C := by sorry
end PerishShip.Waste