arXiv:1311.2578

Paper record

W2899383020

Primal Beats Dual on Online Packing LPs in the Random-Order Model

Thomas Keßelheim, Klaus Radke, Andreas Abels, Berthold Vöcking

Year
2018
Venue
SIAM Journal on Computing
References
22
Cited by
56

Details and counts from OpenAlex.

Abstract

We study packing linear programs (LPs) in an online model where the columns are presented to the algorithm in random order. This natural problem was investigated in various recent studies motivated, e.g., by online ad allocations and yield management, where rows correspond to resources and columns to requests specifying demands for resources. Our main contribution is a 1−O(\nicefrac(log⁡d)B)1-O(\sqrt{\nicefrac{(\log d)}{B}})-competitive online algorithm. Here dd denotes the column sparsity, i.e., the maximum number of resources that occur in a single column, and BB denotes the capacity ratio BB, i.e., the ratio between the capacity of a resource and the maximum demand for this resource. In other words, we achieve a (1−ϵ)(1-\epsilon)-approximation if the capacity ratio satisfies B=Ω(log⁡dϵ2)B=\Omega(\frac{\log d}{\epsilon^2}), which is known to be the best possible for any (randomized) online algorithms. Our result improves exponentially on previous work with respect to the capacity ratio. In contrast to existing results on packing LP problems, our algorithm does not use dual prices to guide the allocation of resources over time. Instead, the algorithm simply solves, for each request, a scaled version of the partially known primal program and randomly rounds the obtained fractional solution to obtain an integral allocation for this request. We show that this simple algorithmic technique is not restricted to packing LPs with large capacity ratio of order Ω(log⁡d)\Omega(\log d), but also yields close-to-optimal competitive ratios if the capacity ratio is bounded by a constant. In particular, we prove an upper bound on the competitive ratio of Ω(d\nicefrac−1(B−1))\Omega(d^{\nicefrac{-1}{(B-1)}}) for any B≥2B\geq2. In addition, we show that our approach can be combined with VCG payments and obtain an incentive-compatible (1−ϵ)(1-\epsilon)-competitive mechanism for packing LPs with B=Ω(log⁡mϵ2)B=\Omega(\frac{\log m}{\epsilon^2}), where mm is the number of constraints. Finally, we apply our technique to the generalized assignment problem for which we obtain the first online algorithm with competitive ratio O(1)O(1).