Online fractional covering is -competitive (Buchbinder–Naor), in the form (4.4)
ProvedBudgetedAffine.Disjoint.online_cover_existsConsider the online fractional covering problem
with a non-negative constraint matrix and a cost vector . The covering requirements arrive online in batches : when arrives, the algorithm must augment its current solution (it may never decrease it) so that every revealed row is covered.
There are constants and such that for every , every , every such and every such , there is an online algorithm with the following properties:
- it starts from and only ever augments its non-negative solution;
- whenever the revealed rows can be covered at all, it covers every revealed row;
- for every sequence of pairwise disjoint batches whose union can be covered, its cost satisfies
where is the offline covering cost.
This is the -competitive online fractional covering algorithm of Buchbinder and Naor that El Housni and Goyal use in Section 4.1 (eq. (4.4)) to construct both the greedy scenario of Algorithm 1 and the affine policy for disjoint constrained budgeted sets.
Formalization Note "Online algorithm with competitive ratio " is the platform structure OnlineCover M d ρ (definition BudgetedAffine_Disjoint_OnlineCover). Its solution is a function of the revealed list of batches, which encodes the online (prefix-only) dependence. Variables with zero cost are allowed; is the natural logarithm.
import Mathlib import Definitions.Def_BudgetedAffine_Disjoint_Model import Definitions.Def_BudgetedAffine_Disjoint_OnlineCover
namespace BudgetedAffine.Disjoint
open Matrix
/-- Buchbinder–Naor: online fractional covering admits an `O(log n)`-competitive online algorithm,
i.e. there are `K > 0` and `N` such that for every `n ≥ N`, every non-negative `M ∈ ℝ^{m×n}` and
every cost `d ≥ 0` there is an online covering algorithm for `M`, `d` with competitive ratio
`K log n` (in the sense of `OnlineCover`). -/
theorem online_cover_exists :
∃ K : ℝ, 0 < K ∧ ∃ N : ℕ, ∀ n ≥ N, ∀ (m : ℕ) (M : Matrix (Fin m) (Fin n) ℝ) (d : Fin n → ℝ),
(∀ i j, 0 ≤ M i j) → 0 ≤ d → Nonempty (OnlineCover M d (K * Real.log n)) := by sorry
end BudgetedAffine.Disjoint