Bin packing: config LP is not affected by grouping identical items
Dependencies:
-
Bin packing: configuration LP
The optimal objective value of the configuration LP of a bin packing instance
doesn't depend on how identical items are grouped into types.
Formally, let be a bin packing instance with items such that there are
types of items, and all items of the same type are identical.
Let be the number of items of type .
Let be a function that takes an item and returns its type.
For an item of type , define
i.e., is the set of items whose type is .
An expanded configuration is an -tuple ,
where the items can fit into a bin.
For an -tuple , define ,
where .
is called the compact version of .
Let be the set of all expanded configurations
and be the set of all compact configurations.
Note that a compact representation can correspond to multiple expanded representations.
Let and .
Let be the expanded configuration matrix of ,
i.e., if expanded configuration contains item .
Let be the compact configuration matrix of ,
i.e., is the number of items of type in compact configuration .
Then the following two linear programs, called
the expanded configuration LP (denoted by )
and the compact configuration LP (denoted by )
have the same optimal objective value:
Proof that
Let be an optimal solution to .
For a compact configuration , define
and define .
Then for the vector ,
we have .
We will prove that is a feasible solution to ,
which would imply that .
Let where is the
number of items of type in expanded configuration .
Then .
For any , we get
Hence, , so is feasible for .
Proof that
Without loss of generality, assume for each .
We will show how to convert to by gradually increasing the number of types.
Let be the function that gives the type of each item.
Let be items of type .
Without loss of generality, assume .
We'll pick an item of type and change its type to .
Formally, define be defined as
Let be an optimal solution to .
For , let .
Note that for any , we have .
We will define a vector , and show that it's a solution to .
We will also show that for any , .
This will imply .
Let and . Then . Hence,
Therefore, satisfies the first constraints of .
Let ,
i.e, is the set of configurations containing at least one item of type .
Order the configurations in in decreasing order of
number of items of type ().
Let be the resulting configurations.
We know that , so
Let be the smallest number such that .
Let be the largest number such that .
Case 1: : Let
When , such that .
This implies that for any , we have .
For , let be the unique configuration
such that . Then
Therefore, is feasible for .
Case 2: : Hence, .
When , such that .
This implies that for any , we have .
Let and . Then
Therefore, is feasible for .
Dependency for:
-
1BP: Karmarkar-Karp algorithm
(broken)
Info:
- Depth: 2
- Number of transitive dependencies: 2
Transitive dependencies:
-
Bin packing and Knapsack
-
Bin packing: configuration LP