On one problem of Koffman-Shor connected to strip packing problem
Abstract
In 1993 Coffman and Shor proposed on-line strip packing algorithm with expected unpacked area (waste area) of order O(n^{2/3}) in a standard probabilistic model, where n is the number of rectangles. In the standard probabilistic model the width and height of each rectangle are independent random variables with uniform distribution in [0,1]. It is well-known that optimal packing has expected waste of order O(n^{1/2}) and there exists off-line polynomial algorithm that provides this bound.. During more than 10 years the question concerning the possibility to obtain similar upper bound in the class of on-line strip packing algorithms was open. It was also known that in the class of popular so-called shelf algorithms the bound O(n^{2/3}) cannot be improved. In this paper we propose new strip packing algorithm which differs from all known on-line strip packing algorithms. We analyze our strip packing algorithm experimentally and show that the upper bound of expected unpacked area is of order O(n^{1/2}) which is optimal up to constant factor. Our experimnets show that this constant factor is close to 1.5-1.6. Our experiments were done with up to 2000000000 random rectangles. The only restriction is the following: we must know the number n of rectangles in advance. In a popular terminology concerning on-line algorithms this means that our algorithm is closed-end on-line algorithm.
The paper proposes a new online strip packing algorithm that provides a quality of packing significantly higher than well-known algorithm of Koffman-Shor.References
1. Baker B. S., Coffman E. J., Rivest R. L. Orthogonal packings in two dimensions. SIAMJ. Computing. 1980. V. 9. 4. P. 846-855.
2. Baker B. S., Schwartz J. S. Shelf algorithms for two dimensional packing problems.SIAM J. Computing. 1983. V. 6. 2. P. 508-525.
3. Karp R. M., Luby M., Marchetti-Spaccamela A. A probabilistic analysis ofmultidimensional bin packing problems. Proc. Annu, ACM Symp. on Theory of Computing. New-York: ACM. 1984. P 289-298.
4. Shor P. W. The average-case analysis of some on-line algorithms for bin packing.Combinatorica. 1986. V. 6. 2. P. 179-200.
5. Csirik J., Woeginger G. J. Shelf algorithm for on-line strip packing, Inf. Process. Lett. 1997. V. 63. 4, P. 171-175.
6. Coffman E. G., Jr, Shor P. W. Packing in two dimensions: Asymptotic average-case analysis of algorithms. Algorithmica. 1993. V. 9. 3. P. 253-277.
7. Kuzyurin N.N., Pospelov A. I.. Veroyatnostnyi analiz shelfovyh algoritmov upakovki pryamougolnikov v polosu [Probabilistic analysis of shelf strip packintg algorithms]. Discretnaya matematika [Discrete mathematics]. 2006. V. 18. N 1. P. 76-90. (in Russian)
8. Han X., Iwama K., Ye D., Zhang G. Strip Packing vs. Bin Packing. Algorithmic Aspects in Information and Management. Lecture Notes in Computer Science. 2009. V. 4508/2007. P. 358-367.
9. Kuzyurin N.N., Pospelov A. I. Veroyatrnostnyi analiz novogo klassa algoritmov upakovki pryamougolnikov v polosu [Probabilistic analysis of a new class of strip packing algorithms]. JVMiMF [Journal of computational mathematics and mathematicak physics]. 2011. V. 51, N 10, p. 1931-1936. (in Russian)
10. Seiden S. S., On the online bin packing problem. J. ACM 49. 2002. P. 640-671.
Review
For citations:
Trushnikov M.A. On one problem of Koffman-Shor connected to strip packing problem. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2012;22. (In Russ.)