I have these two problems:
Problem 1 (Dual bin packing problem)
Instance: A set of $n$ items where each item $i$ has weight $w_i$. A set of $k$ bins where each bin has capacity $W$.
Question: Find the maximum number of items that can be packed into the $k$ bins such that each bin $j$ has a set of items of weights no more than $W$.
Problem 2 (Knapsack problem)
Instance: A set of $n$ items where each item $i$ has weight $w_i$. One bin of capacity $W$.
Question: Find the maximum number of items that can be packed into the bin such that it has a set of items of weights no more than $W$.
Now given a set of items $\{w_1, \ldots, w_n\}$ and a set of $k$ bins.
If we apply the following algorithm for dual bin packing problem :
S = set of items
for each bin j do
Solve the knapsack problem on bin j and save the result on OPT[j]
\\ OPT[j] is the set of items packed into bin j.
Update S by removing the items in OPT[j]
\\ S = S - OPT[j]
if S is empty do
break
How can the output of this algorithm compared to the optimal solution of the dual bin packing problem?
My attempt is:
Let us denote by $OPT_b$ the optimal value of problem 1. That is, $OPT_b$ is the maximum number of items that are packed into the $k$ bins. Moreover, let us denote by $OPT_j$ the optimal number of items that are packed into bin $j$ by solving problem 2 on bin $j$. That is $OPT_j$ is the optimal value of problem 2 when applied to bin $j$. In other words, the output of the algorithm, denoted $ALG$, is equal to $\sum_{j=1}^{k}OPT_j$.
We have $$ OPT_b \geq ALG, $$ because, otherwise, $ALG$ will be greater than $OPT_b$ which contradicts the optimality of $OPT_b$. But can we prove the other inequality? More probably, it is not possible to obtain the other inequality. Hence, we can argue that it could be true, sometimes, that $$ OPT_b > ALG. $$
So can we give a bound on $ALG$ like $$ALG\geq \rho OPT_b,$$ for some $\rho$?