A sublinear-time approximation scheme for bin packing
A sublinear-time approximation scheme for bin packing
复制标题
DOI:
10.1016/j.tcs.2009.08.006
复制
发表时间:
2009-11
期刊:
影响因子:
--
通讯作者:
Tugkan Batu;P. Berenbrink;C. Sohler
中科院分区:
文献类型:
--
作者:
Tugkan Batu;P. Berenbrink;C. Sohler
The bin packing problem is defined as follows: given a set of n items with sizes 0<w1,w2,…,wn≤1, find a packing of these items into a 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 Coptis 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/∑iwi. In the presence of weighted samples, the approximation algorithm runs in Õ(n⋅poly(1/ϵ))+g(1/ϵ) time, where g(x) is an exponential function of x. When both weighted sampling and uniform sampling are allowed, Õ(n1/3⋅poly(1/ϵ))+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.