arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.5548cs.DS
收藏

在线彩色装箱

Online Colored Bin Packing

Martin Böhm, Jiří Sgall, Pavel Veselý

摘要:

在彩色装箱问题中,一系列大小为$1$的物品到达并被装入单位容量的箱子中。每个项目都有一个$c\geq 2$颜色和一个额外的约束是,我们不能包装两个项目的相同颜色彼此相邻在同一箱。目标是最小化箱的数量。在重要的特殊情况下,当所有项目的大小为零,我们的特点是最佳值等于颜色差异。作为我们的主要结果,我们给出了一个(渐近)1.5-竞争算法是最优的。事实上,该算法总是使用最多$\lceil1.5\cdot OPT\rceil$箱,我们显示了匹配的下限$\lceil1.5\cdot OPT\rceil$的任何值的$OPT\geq 2$。特别是,我们的算法的绝对比率是$5/3$,这是最优的。对于不受限制的项目的大小,我们给出了一个渐进的$3.5$-竞争算法。当项目的大小最多为$1/d$时,对于真正的$d \geq 2$,渐近竞争比为$1.5+d/(d-1)$。我们还表明,经典算法的第一次适合,最佳适合和最差的适合不是恒定的竞争,这已经为三种颜色和小项目。在两种颜色的情况下-黑白装箱问题-我们证明了所有的Any Fit算法都有绝对竞争比$3$。当一个真正的$d \geq 2$项目的大小在最$1/d$,我们表明,最差拟合算法是绝对$(1+d/(d-1))$-竞争。

英文摘要:

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\geq 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 $\lceil1.5\cdot OPT\rceil$ bins and we show a matching lower bound of $\lceil1.5\cdot OPT\rceil$ for any value of $OPT\geq 2$. In particular, the absolute ratio of our algorithm is $5/3$ and this is optimal. For items of unrestricted sizes we give an asymptotically $3.5$-competitive algorithm. When the items have sizes at most $1/d$ for a real $d \geq 2$ the asymptotic competitive ratio is $1.5+d/(d-1)$. 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 prove that all Any Fit algorithms have absolute competitive ratio $3$. When the items have sizes at most $1/d$ for a real $d \geq 2$ we show that the Worst Fit algorithm is absolutely $(1+d/(d-1))$-competitive.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑