Abstract
We consider class constrained packing problems, in which we are given a set of bins, each having a capacity v and c compartments, and n items of M different classes and the same (unit) size. We need to fill the bins with items, subject to capacity constraints, such that items of different classes are placed in separate compartments; thus, each bin can contain items of at most c distinct classes. We consider two optimization goals. In the class-constrained bin-packing problem (CCBP), our goal is to pack all the items in a minimal number of bins; in the class-constrained multiple knapsack problem (CCMK), we wish to maximize the total number of items packed in m bins, for m >> 1. The CCBP and CCMK model fundamental resource allocation problems in computer and manufacturing systems. Both are known to be strongly NP-hard.
In this paper we derive tight bounds for the online variants of these problems. We first present a lower bound of (1 + α) on the competitive ratio of any deterministic algorithm for the online CCBP, where α ∈ (0, 1] depends on v, c,M and n. We show that this ratio is achieved by the algorithm first-fit.
We then consider the temporary CCBP, in which items may be packed for a bounded time interval (that is unknown in advance). We obtain a lower bound of v/c on the competitive ratio of any deterministic algorithm. We show that this ratio is achieved by all any-fit algorithms.
Finally, tight bounds are derived for the online CCMK and the temporary CCMK problems.
On leave from the Department of Computer Science, Technion, Haifa 32000, Israel.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
L. Babel, B. Chen, H. Kellerer, and V. Kotov. On-line algorithms for cardinality constraint bin packing problems. Technical report, Institut fuer Statistik und Operations Research, Universitaet Graz, 2001.
A. Borodin and R. El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998.
A. Caprara, H. Kellerer, U. Pferschy, and D. Pisinger. Approximation algorithms for knapsack problems with cardinality constraints. European Journal of Operations Research, 123:333–345, 2000.
W. J. Davis, D. L. Setterdahl, J. G. Macro, V. Izokaitis, and B. Bauman. Recent advances in the modeling, scheduling and control of fiexible automation. In Proc. of the Winter Simulation Conference, 143–155, 1993.
A. Fiat and G.J. Woeginger. Online Algorithms: The State of the Art. LNCS. 1442, Springer-Verlag, 1998.
M.R. Garey, R.L. Graham, and J.D. Ullman. Worst-case analysis of memory allocation algorithms. In Proc. of STOC, 143–150, 1972.
S. Ghandeharizadeh and R.R. Muntz. Design and implementation of scalable continuous media servers. Parallel Computing Journal, 24(1):91–122, 1998.
L. Golubchik, S. Khanna, S. Khuller, R. Thurimella, and A. Zhu. Approximation algorithms for data placement on parallel disks. In Proc. of SODA, 223–232, 2000.
D.S. Hochbaum. Approximation Algorithms for NP-Hard Problems. PUS Publishing Company, 1995.
D.S. Johnson. Near-optimal bin packing algorithms. PhD thesis, MIT, 1973.
D.S. Johnson. Fast algorithms for bin packing. J. Comput. Sys. Sci., 8:272–314, 1974.
D.S. Johnson, A. Demers, J.D. Ullman, M.R. Garey, and R.L. Graham. Worst-case performance bounds for simple one-dimensional packing algorithm. SIAM Journal of Computing, 3:256–278, 1974.
H. Kellerer and U. Pferschy. Cardinality constrained bin-packing problems. Annals of Operations Research, 92:335–349, 1999.
S.O. Krumke, W. de Paepe, J. Rambau and L. Stougie. Online bin-coloring. In Proc. of ESA, 74–85, 2001.
S. Martello and P. Toth. Algorithms for knapsack problems. Annals of Discrete Math., 31:213–258, 1987.
H. Shachnai and T. Tamir. Polynomial time approximation schemes for classconstrained packing problems. Journal of Scheduling, 4:313–338, 2001.
H. Shachnai and T. Tamir. Multiprocessor scheduling with machine allotment and parallelism constraints. 2001. Algorithmica, to appear.
H. Shachnai and T. Tamir. On two class-constrained versions of the multiple knapsack problem. Algorithmica, 29:442–467, 2001.
A. van Vliet. On the asymptotic worst case behavior of harmonic fit. J. of Algorithms, 20:113–136, 1996.
J.L. Wolf, P.S. Yu, and H. Shachnai. Disk load balancing for video-on-demand systems. ACM Multimedia Systems Journal, 5:358–370, 1997.
A. Yao. New algorithms for bin packing. Journal of the ACM, 27:207–227, 1980.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Shachnai, H., Tamir, T. (2002). Tight Bounds for Online Class-Constrained Packing. In: Rajsbaum, S. (eds) LATIN 2002: Theoretical Informatics. LATIN 2002. Lecture Notes in Computer Science, vol 2286. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45995-2_49
Download citation
DOI: https://doi.org/10.1007/3-540-45995-2_49
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43400-9
Online ISBN: 978-3-540-45995-8
eBook Packages: Springer Book Archive