SLIDE 3
- n offline vertices, one online vertex at each
time t
- λt(i): fraction of online vertex arriving at time t
matched to offline vertex i
Σ1 ≤ t ≤ T Σ1 ≤ i ≤ n λt(i)
- s.t. (offline capacity constraints) for every set
- f items S:
Σ1 ≤ t ≤ T Σi ∈ S λt(i) ≤ f(S)
- s.t. (online supply constraints) for every set of
items S, time t: Σi ∈ S λt(i) ≤ gt(S)
Primal LP for ski rental
- n products available for purchasing / renting
- f(S): cost of purchasing S
- gt(S): cost of renting S at time t
- x(S) ≥ 0: probability of purchasing S
- yt(S) ≥ 0: probability of renting S at time t
- minimize:
ΣS x(S) f(S) + Σ1 ≤ t ≤ T ΣS’ yt(S’) gt(S’)
- s.t. for all item i, time t:
ΣS: i ∈ S x(S) + yt(S) ≥ 1
Dual LP for online matching
take-home message: online primal-dual analysis can go fully combinatorial
total (fractional) number of online vertices matched total load of all
in S cannot exceed f(S) fraction of online vertex at time t matched to
cannot exceed gt(S)