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

经典装箱问题的一个全局近优解

An All-Around Near-Optimal Solution for the Classic Bin Packing Problem

Shahin Kamali, Alejandro López-Ortiz

摘要:

在本文中,我们提出了第一个算法与最佳的平均情况和接近最佳已知的最坏情况下的性能的经典在线装箱问题。长期以来,人们已经观察到,具有最佳平均情况性能的已知装箱算法在最坏情况意义上不是最佳的。特别是First Fit和Best Fit的最佳平均情况比为1,但最差情况竞争比为1.7。长度为$n$的均匀随机序列的第一拟合和最佳拟合的浪费空间预计分别为$Θ(n^{2/3})$和$Θ(\sqrt{n} \log ^{3/4} n)$。使用Harmonic算法可以将竞争比提高到1.691;该算法的进一步变化可以将竞争比降低到1.588。然而,Harmonic及其变体的平均性能较差;特别是,Harmonic的平均案例比约为1.27。本文首先介绍了一种简单的谐波匹配算法。该算法的平均性能与最佳拟合一样好,即,它的平均情况比为1,预期浪费空间为$Θ(\sqrt{n} \log ^{3/4} n)$。此外,该算法的竞争比与Harmonic一样好,即,它收敛到$ 1.691$,这是对最佳拟合和第一拟合的1.7的改进。我们还介绍了一种不同的算法,称为精炼谐波匹配,它实现了改进的竞争比的$1.636$,同时保持良好的平均情况下的性能谐波匹配和最佳拟合。最后,我们广泛的实验评估所研究的装箱算法表明,我们提出的算法具有可比的平均情况下的性能与最佳拟合和第一拟合,这也适用于序列,遵循分布以外的均匀分布。

英文摘要:

In this paper we present the first algorithm with optimal average-case and close-to-best known worst-case performance for the classic on-line problem of bin packing. It has long been observed that known bin packing algorithms with optimal average-case performance were not optimal in the worst-case sense. In particular First Fit and Best Fit had optimal average-case ratio of 1 but a worst-case competitive ratio of 1.7. The wasted space of First Fit and Best Fit for a uniform random sequence of length $n$ is expected to be $Θ(n^{2/3})$ and $Θ(\sqrt{n} \log ^{3/4} n)$, respectively. The competitive ratio can be improved to 1.691 using the Harmonic algorithm; further variations of this algorithm can push down the competitive ratio to 1.588. However, Harmonic and its variations have poor performance on average; in particular, Harmonic has average-case ratio of around 1.27. In this paper, first we introduce a simple algorithm which we term Harmonic Match. This algorithm performs as well as Best Fit on average, i.e., it has an average-case ratio of 1 and expected wasted space of $Θ(\sqrt{n} \log ^{3/4} n)$. Moreover, the competitive ratio of the algorithm is as good as Harmonic, i.e., it converges to $ 1.691$ which is an improvement over 1.7 of Best Fit and First Fit. We also introduce a different algorithm, termed as Refined Harmonic Match, which achieves an improved competitive ratio of $1.636$ while maintaining the good average-case performance of Harmonic Match and Best Fit. Finally, our extensive experimental evaluation of the studied bin packing algorithms shows that our proposed algorithms have comparable average-case performance with Best Fit and First Fit, and this holds also for sequences that follow distributions other than the uniform distribution.

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

↑