Skip to main content
Article thumbnail
Location of Repository

A sublinear-time approximation scheme for bin packing

By Tugkan Batu, Petra Berenbrink and Christian Sohler


The bin packing problem is defined as follows: given a set of n items with sizes 01,w2,..., wn≤ 1, find a packing of these items into minimum number of unit-size bins possible. We present a sublinear-time asymptotic approximation scheme for the bin packing problem; that is, for any ε>0, we present an algorithm Aε that has sampling access to the input instance and outputs a value k such that Copt≤ k≤ (1+ε) Copt+1, where Copt 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 wi/∑i wi. In the presence of weighted samples, the approximation algorithm runs in O(n1/2 poly(log(n)/ε)) + g(1/ε) time, where g(x) is an exponential function of x. When both weighted and uniform sampling are allowed, O(n1/3 poly(log(n)/ε)) + g(1/ε) time suffices. In addition to an approximate value to Copt, 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

Topics: H Social Sciences (General)
Publisher: London School of Economics and Political Science
Year: 2007
OAI identifier:
Provided by: LSE Research Online
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • (external link)
  • (external link)
  • Suggested articles

    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.