Definition 2 (MS-BPWRT-REAL())
Suppose we have a collection of groups , where each group has a size of , a weight of , and a ready time of . We are given a capacity . For each and , we find such that 1) for all , 2) for all , and, 3) for each , we must have .
Our goal is to minimize .
Proof
Let be an optimal solution of MS-BPWRT(), if , and let if and otherwise. We know that is a solution of MS-BPWRT-REAL() because
1) for all because each is a member of exactly one bin by constraints 1) and 2) of MS-BPWRT(),
2) For all , by the third constraint of MS-BPWRT(),
3) When , and, by the fourth constraint of MS-BPWRT(), .
The objective value of is
We then know that there is a solution of MS-BPWRT-REAL() with objective value . The optimal value of MS-BPWRT-REAL() must not be larger than , i.e. ∎
Proof
Let be an optimal solution of the MS-BPWRT-REAL() problem. It is straightforward to show that satisfies the first and the second constraints of MS-BPWRT-REAL(). Also, because for each , we have , we know that also satisfies the third constraint of MS-BPWRT-REAL(), and is a feasible solution of MS-BPWRT-REAL().
The objective value of is . We then know that there is a solution of MS-BPWRT-REAL() with objective value . The optimal value of MS-BPWRT-REAL() must not be larger than , i.e. ∎
Denote a solution from Algorithm 1 by . Let when . It is clear that is not a feasible solution of MS-BPWRT-REAL(). We prove a property of in the following proposition:
Proof
At Line 3 of Algorithm 1, we define the set . We can observe that both and are defined in the same manner. This implies that, for any integer , even if we increase from to at Line 6, the set of groups considered remains unchanged.
Let be the first element added to the bin . It is a group in which maximizes .
Since the set of groups considered for bins and are the same, must have already been considered for inclusion in . However, it was not added to because doing so would result in .
Therefore, by the definition of , we have
This completes the proof. ∎
Definition 3 (WM())
Suppose we have a collection of groups , where each group has a size of , a weight of , and a ready time of . We are given a capacity . For each and , we find such that:
1) for all ,
2) for all , and,
3) for each , we must have .
We aim to maximize .
Proof
We prove this proposition by induction on .
Let us examine the scenario where . Remember from Algorithm 1 that the bins and contain groups from the set that maximize the ratio . Using the greedy algorithm, any collection of groups with must satisfy . Therefore, we can deduce that the sequence represents an optimal solution for WM().
Next, let us assume the proposition holds true for all . We will assume, aiming for a contradiction, that the sequence does not represent an optimal solution for WM(). Let us say an optimal solution for WM() is represented by the sequence .
Based on our assumption that the sequence is an optimal solution for WM(), it follows that . To satisfy the condition , it is necessary to have .
Recall from the construction that for all . To have , there must be such that , , and for all such that .
Consider the case that for some . Then, in the solution , we move to the bin .
Let .
If , we have more spaces to put the group . We then decrease the value of by and increase the value of by the same value.
If , there is no space left in the bin . We then have to swap with some other groups. There is an item such that while . Let . We can update the value of in the following ways:
1) decrease the value of by ,
2) decrease the value of by ,
3) increase the value of by , and
4) increase the value of by .
Informally, we exchange units of in bin with an equal mass of in bin . This updated result continues to be a feasible solution for WM, and the objective value remains unchanged.
We can iterate the update in the previous paragraph until there is no such that for some . It is sufficient to only consider the case when, for all such , we have not included the group to bins . However, by the assumption that for all such that , the greedy algorithm must have already included the group to the bin . This gives , which contradicts our assumption that . ∎
From the next proposition, let us consider the problem WM where . We denote the optimal solution of the problem by .
Proof
Let be such that . Using the definition of and Proposition 3, we have . An optimal solution for WM() is a feasible solution for WM(). Therefore, the objective value of an optimal solution for WM(), which is according to Proposition 4, cannot be less than .
When , it implies that all items have been allocated to the bins . In this case, the value of is equal to , which is greater than or equal to the sum of the weights of any feasible solution. Hence, we have . ∎
Proof
Let be a collection of all feasible solutions of the MS-BPWRT-REAL(), and let . By Proposition 5, we have that
. ∎