Partition positive item weights into two bins to minimize the heavier total. The optimum is at least both half the total weight and the largest individual weight. This is two-machine makespan minimization, rather than the version of bin packing that minimizes the number of fixed-capacity bins.
For integer weights, subset-sum dynamic programming finds the greatest achievable total at most in time , where is the total weight. For rational weights and , scale by and round down to . The scaled total is at most , so exact dynamic programming costs arithmetic operations. Lifting its partition to the original weights increases the maximum load by at most . Thus it is a fully polynomial-time approximation scheme for this two-bin problem. Bit complexity also accounts for the rational input and epsilon encodings.
Put each successive item into a currently lighter bin. Before receiving weight , that bin contains at most half the total weight already assigned, hence at most , where is the overall total. Apply this to the last item in a finally heaviest bin to get . Since , the approximation ratio is at most . Ordered weights give loads rather than the optimal , proving the bound is sharp. Its relative-error guarantee is .

Articles by others on the same topic (0)

There are currently no matching articles.