Skip to main content

Tight Bounds for Online Class-Constrained Packing

  • Conference paper
  • First Online:
LATIN 2002: Theoretical Informatics (LATIN 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2286))

Included in the following conference series:

  • 899 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Chapter  Google Scholar 

  2. A. Borodin and R. El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998.

    Google Scholar 

  3. 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.

    Article  MathSciNet  Google Scholar 

  4. 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.

    Google Scholar 

  5. A. Fiat and G.J. Woeginger. Online Algorithms: The State of the Art. LNCS. 1442, Springer-Verlag, 1998.

    MATH  Google Scholar 

  6. M.R. Garey, R.L. Graham, and J.D. Ullman. Worst-case analysis of memory allocation algorithms. In Proc. of STOC, 143–150, 1972.

    Google Scholar 

  7. S. Ghandeharizadeh and R.R. Muntz. Design and implementation of scalable continuous media servers. Parallel Computing Journal, 24(1):91–122, 1998.

    Article  Google Scholar 

  8. 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.

    Google Scholar 

  9. D.S. Hochbaum. Approximation Algorithms for NP-Hard Problems. PUS Publishing Company, 1995.

    Google Scholar 

  10. D.S. Johnson. Near-optimal bin packing algorithms. PhD thesis, MIT, 1973.

    Google Scholar 

  11. D.S. Johnson. Fast algorithms for bin packing. J. Comput. Sys. Sci., 8:272–314, 1974.

    Article  MathSciNet  Google Scholar 

  12. 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.

    Article  MathSciNet  Google Scholar 

  13. H. Kellerer and U. Pferschy. Cardinality constrained bin-packing problems. Annals of Operations Research, 92:335–349, 1999.

    Article  MathSciNet  Google Scholar 

  14. S.O. Krumke, W. de Paepe, J. Rambau and L. Stougie. Online bin-coloring. In Proc. of ESA, 74–85, 2001.

    Google Scholar 

  15. S. Martello and P. Toth. Algorithms for knapsack problems. Annals of Discrete Math., 31:213–258, 1987.

    MathSciNet  MATH  Google Scholar 

  16. H. Shachnai and T. Tamir. Polynomial time approximation schemes for classconstrained packing problems. Journal of Scheduling, 4:313–338, 2001.

    Article  MathSciNet  Google Scholar 

  17. H. Shachnai and T. Tamir. Multiprocessor scheduling with machine allotment and parallelism constraints. 2001. Algorithmica, to appear.

    Google Scholar 

  18. H. Shachnai and T. Tamir. On two class-constrained versions of the multiple knapsack problem. Algorithmica, 29:442–467, 2001.

    Article  MathSciNet  Google Scholar 

  19. A. van Vliet. On the asymptotic worst case behavior of harmonic fit. J. of Algorithms, 20:113–136, 1996.

    Article  MathSciNet  Google Scholar 

  20. 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.

    Article  Google Scholar 

  21. A. Yao. New algorithms for bin packing. Journal of the ACM, 27:207–227, 1980.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics