Suppose $m$ supply units are available on the unit interval. At each time unit, a demand unit arrives at a uniformly random location on the interval, and must be matched to one of $m$ available supply units, incurring a cost equal to the distance between the demand and supply locations. A new supply unit then arrives at an independent uniformly random location on the interval, bringing the total number of supply units back to $m$. The goal is to minimize the long run expected average match distance. We compare achievable cost against that achievable under perfect foresight; the latter is known to scale as $Ω(\log m/m)$. Previously, an $O(\sqrt{\log m})$-factor online approximation to the clairvoyant cost was known. We construct an efficient online policy for this problem which approximates the clairvoyant cost to within an $O(1)$ factor, by managing stochastic fluctuations in supply inventory at all length scales, while enabling cancellation across scales.
翻译:暂无翻译