In the classic bin-packing problem, we have to pack some positive integers into bins, such that the sum in each bin is at most some constant $B$, and subjet to this, the number of bins is minimum.
Suppose now that we relax the capacity constraint: we only require that the sum in each pair of bins is at most $2 B$. For example: suppose the inputs are 9, 8, 7, 4 and $B=10$. With a constraint on each bin, we need 4 bins. With a constraint on each pair of bins, we need only 3 bins: {7,4}, {9}, {8}. Note that the sum of each pair of bins is at most 20.
What are some polynomial-time approximation algorithms for the relaxed problem?
WHAT I TRIED:
I looked at the Karmarkar-Karp bin packing algorithms. They find, in polynomial time, a solution with at most $OPT+\log^2(OPT)$ bins, where $OPT$ is the minimum number of bins. These algorithms crucially rely on configurations. A configuration is a multiset of items that can fit into a single bin (that is, a multiset of integers with sum at most $B$). A configuration for a pair of bins would be a multiset of integers with sum at most $2B$. But here, the constraint is on every pair (not just adjacent pairs), and it is not clear how to enforce this constraint. The same is true for most other algorithms that use configurations, such as the ones by de-la-Vega and Lueker, Hoberg and Rothvoss.
Let $L$ be the largest sum in the optimal bin-packing. We can find an approximate solution to the relaxed bin packing problem by guessing $L$:
- If $L\leq B$, then we run the KK bin-packing algorithm with capacity $B$.
- Otherwise, $B < L\leq 2 B$. Every other sum in the optimal packing must be at most $2 B - L$. Then, we run the KK bin-packing algorithm with one bin of capacity $L$ and as few bins as possible of capacity $2 B-L$.
The problem is that this algorithm is polynomial in $B$, which is pseudopolynomial in the problem size.
Is there a polynomial-time approximation algorithm, with guarantees similar to KK bin packing, for the relaxed bin-packing problem?