Theorem 1.2: rounding LP-Match online earns 0.51 of the optimal online algorithm
ProvedOnlineMaxWeightMatch.Approx.theorem_1_2Let be a RideHail instance: bins (a finite set), balls arriving in this order, ball arriving independently with probability , and weights . Let be the expected profit of the optimal online algorithm, and let be any optimal solution of the linear program LP-Match. Then Algorithm 1 (Rounding LP-Match Online, with ) run on satisfies
where is the matching it outputs.
The paper states: "There exists a polynomial-time online algorithm which is a 0.51-approximation of the optimal online algorithm for the RideHail problem." The algorithm is Algorithm 1; the benchmark is the optimal online algorithm, not the offline optimum, against which cannot be beaten.
Formalization Note "Polynomial time" is not formalized. Stating only that some online algorithm earns would be trivially true (take the optimal online algorithm), so the theorem names Algorithm 1 run on an arbitrary optimal LP-Match solution , which is what the paper's proof uses. The constant is . Only the lower end of the paper's "-approximation" () is stated: the upper end holds because Algorithm 1 is itself an online algorithm. is the supremum over deterministic non-anticipating online policies; Algorithm 1's expected profit is defined with the dummy bins of Line 2 (weight ).
import Mathlib import Definitions.Def_OnlineMaxWeightMatch_Approx_Algorithm1 open MeasureTheory ProbabilityTheory
namespace OnlineMaxWeightMatch.Approx
/-- Theorem 1.2. Algorithm 1, run on any optimal solution `x` of LP-Match, is a
`0.51`-approximation of the optimal online algorithm: its expected profit is at least
`0.51 · OPT_on(I)`. -/
theorem theorem_1_2 {ι : Type*} [Fintype ι] {n : ℕ} (I : RideHailInstance ι n)
(x : ι → Fin n → ℝ) (hopt : IsLPOptimal I x) :
51 / 100 * optOn I ≤ algorithm1Value I x := by sorry
end OnlineMaxWeightMatch.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.