Benchmarks (1), (2):
ProvedTwoStageMatch.opt_online_le_opt_offlinecompetitive-ratioonline-matchingp2o-gran-per-chapterp2o-plan-paperp2o-v1ride-hailingtwo-stage-stochastic-matching
On every instance:
- for every first-stage matching with matched supplies and every realization ,
since together with a matching between and is a matching between and ; 2. consequently .
This is the first inequality of Theorem 1: the omniscient offline policy dominates every online policy.
Differences from the source:
- encoding: the graph G = (D, S, E) with D = D₁ ∪ D₂, matchings, the law of D̃₂ → D = D₁ ⊕ D₂, edges as a relation, matchings as Finsets of edges, x : D₁ → S → ℝ vanishing off the edges, the law of D̃₂ as the product weight Π_{i∈A} π_i Π_{i∉A} (1 − π_i) on Finset D₂; reason: Lean conventions; same instances
- reading: the first inequality of Theorem 1, printed only between the two Γ; the benchmarks (1), (2) in prose ("an omniscient offline policy") → OPT_online ≤ OPT_offline on every instance, with the pointwise inequality for every M₁ and A; reason: the paper does not display the per-instance inequality; it is what the Γ inequality rests on
Preamble
import Mathlib import Definitions.Def_TwoStageMatch_Instance
Formal statement
namespace TwoStageMatch
/-- **`OPT_online ≤ OPT_offline`** (Feng, Niazadeh & Saberi, arXiv:2210.11648v1, benchmarks (1)
and (2), p.10; the first inequality of Theorem 1, p.12). On every instance:
1. for every first-stage matching `M₁` (supplies `S₁`) and every realization `A ⊆ D₂`,
`w(S₁) + Max-WeightMatch^w(A, S \ S₁) ≤ Max-WeightMatch^w(D₁ ∪ A, S)`
(`M₁ ∪ M₂` is a matching between `D₁ ∪ A` and `S`);
2. hence `OPT_online ≤ OPT_offline`. -/
theorem opt_online_le_opt_offline {D₁ D₂ S : Type*} [Fintype D₁] [Fintype D₂] [Fintype S]
[DecidableEq D₁] [DecidableEq D₂] [DecidableEq S] (I : Instance D₁ D₂ S) :
(∀ M, IsFirstStageMatching I M → ∀ A : Finset D₂,
twoStageWeight I M A ≤ maxWeightMatch I.E I.w (firstStage ∪ secondStage A) Finset.univ) ∧
optOnline I ≤ optOffline I := by sorry
end TwoStageMatch
Source
Y. Feng, R. Niazadeh, A. Saberi, Two-stage Stochastic Matching and Pricing with Applications to Ride Hailing, arXiv:2210.11648v1 [cs.DS] (preprint, 21 Oct 2022), https://arxiv.org/abs/2210.11648v1, §2, p.10, benchmarks (1) and (2); first inequality of Theorem 1, p.12
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.