Sect. 4.2, p. 90 — the n largest m_i(k) give the revenue-maximising booking limits
ProvedSeatInventory.Distinct.marginal_allocation_optimalA flight leg with seats serves fare classes with average fares and integer-valued requests , each class with its own distinct seat inventory. Let be the expected marginal revenue of the -th seat of class , , and let be any set of pairs carrying largest values across all classes. Define the booking limits . Then , and for every allocation with ,
This is the marginal approach to distinct seat allocation: since decreases in , ranking all (class, seat) marginal values and keeping the largest determines the revenue-maximising combination of fare-class booking limits.
Formalization Note Expected revenue is computed from the booking rule , not postulated as a sum of marginal values, and ranges over every set of largest values (ties allowed), not a particular sort. Seat numbers start at . Discrete reading: requests are a PMF ℕ and is used. Fares are assumed nonnegative; the competing allocations may use fewer than seats.
import Mathlib import Definitions.Def_SeatInventory_Distinct_DemandModel import Definitions.Def_SeatInventory_Distinct_MarginalAllocation
namespace SeatInventory.Distinct
/-- Belobaba 1987, Sect. 4.2, p. 90: since `m_i(k)` decreases in `k`, the `n` largest values
`m_i(k)` across all fare classes determine the revenue-maximising booking limits. For every set
`T` of `n` largest values of `m_i(k) = f_i · P[r_i ≥ k]` over (class, seat) pairs with
`1 ≤ k ≤ n`, the allocation `S^T_i = #{k : (i, k) ∈ T}` uses exactly `n` seats and its total
expected revenue `Σ_i f_i · E[min(r_i, S_i)]` is at least that of every allocation `S` of at
most `n` seats to distinct fare-class inventories. Fares are nonnegative. -/
theorem marginal_allocation_optimal {ι : Type*} [Fintype ι] [DecidableEq ι] (f : ι → ℝ)
(hf : ∀ i, 0 ≤ f i) (d : ι → PMF ℕ) (n : ℕ) (T : Finset (ι × ℕ))
(hT : IsTopN (marginalRevenue f d) (seatPairs ι n) T n) :
∑ i, allocationOf T i = n ∧
∀ S : ι → ℕ, ∑ i, S i ≤ n →
totalExpectedRevenue f d S ≤ totalExpectedRevenue f d (allocationOf T) := by sorry
end SeatInventory.Distinct
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.