Charles Explorer logo
🇨🇿

Online Colored Bin Packing

Publikace na Matematicko-fyzikální fakulta |
2015

Tento text není v aktuálním jazyce dostupný. Zobrazuje se verze "en".Abstrakt

In the Colored Bin Packing problem a sequence of items of sizes up to 1 arrives to be packed into bins of unit capacity. Each item has one of c }= 2 colors and an additional constraint is that we cannot pack two items of the same color next to each other in the same bin.

The objective is to minimize the number of bins. In the important special case when all items have size zero, we characterize the optimal value to be equal to color discrepancy.

As our main result, we give an (asymptotically) 1.5-competitive algorithm which is optimal. In fact, the algorithm always uses at most inverted right perpendicular1.5.

OPTinverted left perpendicular bins and we show a matching lower bound of inverted right perpendicular1.5. OPTinverted left perpendicular for any value of OPT }= 2.

For items of arbitrary size we give a lower bound of 2.5 and an absolutely 3.5-competitive algorithm. We also show that classical algorithms First Fit, Best Fit and Worst Fit are not constant competitive.

In the case of two colors-the Black and White Bin Packing problem-we prove that all Any Fit algorithms have the absolute competitive ratio 3. When the items have sizes of at most 1/d for a real d }= 2 we show that the Worst Fit algorithm is absolutely (1 + d/(d - 1))-competitive.