Lemma 3.1(c), p. 154: nominal problem with fixed cost, thresholds (15)–(16) at the optimal ordering times
OpenRobustInventory.SingleStation.Supplement.lemma_3_1_cLemma 3.1(c). Consider the single-station model with horizon , initial stock , fixed cost and unit costs , , , and let be a demand sequence with for . The nominal problem minimizes over , where .
Let be the ordering times of any optimal solution, , and . Define
Then some optimal solution orders exactly at and, for every ,
where is the stock under .
Given the ordering times, this determines an optimal policy in closed form. It is the nominal result invoked in the proof of Theorem 3.2(c).
Formalization Note Optimal solutions with given ordering times need not be unique when the ratio in the floor is an integer: for , , , , , , both and are optimal, and (15) selects . The stock before an order equals , so the order is placed at , with equality included.
Differences from the source:
- generalization: the nominal demand w̄ → an arbitrary demand sequence w with w_k ≥ 0 on the horizon; reason: w = w̄ ≥ 0 is the printed case (demand is nonnegative, p. 156), and the proof of Theorem 3.2(c) applies the lemma to w′
- reading: "we have" (15) and (16) for the thresholds at the optimal ordering times → some optimal solution with exactly those ordering times has stock s_j before and S_j after each order; reason: minimizers are not unique when (pL_j − c·1{j=J})/(h+p) is an integer, so this cannot hold of every optimum; the proof exhibits one minimizer (17)–(18)
- reading: s_j is the reorder threshold, and Definition 3.1 orders when x < s → the stock before the order at t_j equals s_j; reason: the proof defines s_j as the stock x_{t_j}; with the strict inequality nothing would be ordered at t_j
- encoding: j = 1, …, J with t_{J+1} = T; sums up to t_1 − 1 and L_{j−1} − 1 → a function t on 1, …, J + 1, sums over half-open ranges, natural-number floor; reason: the same values: empty sums are zero and the numerator of I_j is positive on ordering times
- encoding: binary variables v_k with 0 ≤ u_k ≤ M v_k, M a large number → the fixed-cost indicator K·1{u_k > 0} of (21); reason: the two agree for M large enough; this is the convention of the published definitions
import Definitions.Def_RobustInventory_SingleStation_Supplement_Thresholds
namespace RobustInventory.SingleStation.Supplement
/-- Lemma 3.1(c), p. 154, for a nonnegative demand sequence `w` and `K > 0`: if `t_1 < … < t_J`
are the ordering times of an optimal solution of the nominal problem, then some optimal solution
orders exactly at these times, and at each `t_j` its stock is `s_j` of (16) before the order and
`S_j` of (15) after it. -/
theorem lemma_3_1_c (M : Model) (hK : 0 < M.K) (w : ℕ → ℝ) (hw : ∀ k < M.T, 0 ≤ w k)
(u : ℕ → ℝ) (hu : M.IsNominalOptimal w u)
(J : ℕ) (t : ℕ → ℕ) (ht : IsOrderingTimes M.T u J t) :
∃ v : ℕ → ℝ, M.IsNominalOptimal w v ∧ IsOrderingTimes M.T v J t ∧
∀ j ∈ Finset.Icc 1 J,
stockBefore M w v (t j) = lowerThreshold M w J t j ∧
stockBefore M w v (t j) + v (t j) = upperThreshold M w J t j := by sorry
end RobustInventory.SingleStation.Supplement