首页> 外文期刊>Algorithmica >Colored Bin Packing: Online Algorithms and Lower Bounds
【24h】

Colored Bin Packing: Online Algorithms and Lower Bounds

机译:有色垃圾箱包装:在线算法和下界

获取原文
获取原文并翻译 | 示例
           

摘要

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 at least two 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 bins and we can force any deterministic online algorithm to use at least bins while the offline optimum is for any value of . In particular, the absolute competitive ratio of our algorithm is 5 / 3 and this is optimal. For items of arbitrary size we give a lower bound of 2.5 on the asymptotic competitive ratio of any online algorithm and an absolutely 3.5-competitive algorithm. When the items have sizes of at most 1 / d for a real the asymptotic competitive ratio of our algorithm is . We also show that classical algorithms First Fit, Best Fit and Worst Fit are not constant competitive, which holds already for three colors and small items. In the case of two colors-the Black and White Bin Packing problem-we give a lower bound of 2 on the asymptotic competitive ratio of any online algorithm when items have arbitrary size. We also 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 we show that the Worst Fit algorithm is absolutely -competitive.
机译:在有色垃圾箱包装问题中,一系列大小最大为1的项目到达后被打包到单位容量的垃圾箱中。每一项都有至少两种颜色中的一种,另外一个限制是我们不能将同一颜色的两项在同一容器中彼此相邻包装。目的是最小化箱的数量。在所有项目的大小均为零的重要特殊情况下,我们将最佳值表征为等于色差。作为主要结果,我们给出了(渐近)1.5竞争最优算法。实际上,该算法始终使用最多bin,并且我们可以强制任何确定性在线算法至少使用bin,而离线优化适用于的任何值。特别是,我们算法的绝对竞争比是5/3,这是最优的。对于任意大小的项目,我们给出任何在线算法和绝对3.5竞争算法的渐近竞争比的下限2.5。当物品的尺寸最多为实数的1 / d时,我们的算法的渐近竞争比为。我们还表明,经典算法“最适合”,“最适合”和“最不适合”并不是一成不变的竞争,它已经适用于三种颜色和小的物品。对于两种颜色(黑白装箱问题),当项目具有任意大小时,对于任何在线算法的渐近竞争比,我们给出的下限为2。我们还证明了所有Any Fit算法都具有绝对竞争比3。当一件商品的尺寸最大为1 / d时,我们证明最差Fit算法绝对具有竞争力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号