A sublinear-time approximation scheme for bin packing

  • Authors:
  • Tukan Batu;Petra Berenbrink;Christian Sohler

  • Affiliations:
  • Department of Mathematics, London School of Economics, London, UK;School of Computing Science, Simon Fraser University, Burnaby, BC, Canada;Department of Computer Science, TU Dortmund, Dortmund, Germany

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2009

Quantified Score

Hi-index 5.23

Visualization

Abstract

The bin packing problem is defined as follows: given a set of n items with sizes 00, we present an algorithm A"@e that has sampling access to the input instance and outputs a value k such that C"o"p"t@?k@?(1+@e)@?C"o"p"t+1, where C"o"p"t is the cost of an optimal solution. It is clear that uniform sampling by itself will not allow a sublinear-time algorithm in this setting; a small number of items might constitute most of the total weight and uniform samples will not hit them. In this work we use weighted samples, where item i is sampled with probability proportional to its weight: that is, with probability w"i/@?"iw"i. In the presence of weighted samples, the approximation algorithm runs in O@?(n@?poly(1/@e))+g(1/@e) time, where g(x) is an exponential function of x. When both weighted sampling and uniform sampling are allowed, O@?(n^1^/^3@?poly(1/@e))+g(1/@e) time suffices. In addition to an approximate value to C"o"p"t, our algorithm can also output a constant-size ''template'' of a packing that can later be used to find a near-optimal packing in linear time.