Skip to main content

2015 | OriginalPaper | Buchkapitel

All-Around Near-Optimal Solutions for the Online Bin Packing Problem

verfasst von : Shahin Kamali, Alejandro López-Ortiz

Erschienen in: Algorithms and Computation

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this paper we present algorithms with optimal average-case and close-to-best known worst-case performance for the classic online bin packing problem. It has long been observed that known bin packing algorithms with optimal average-case performance are not optimal in the worst-case. In particular First Fit and Best Fit have optimal asymptotic average-case ratio of 1 but a worst-case competitive ratio of 1.7. 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, these algorithms have poor performance on average; in particular, Harmonic algorithm has average-case ratio of 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. Moreover, the competitive ratio of the algorithm is as good as Harmonic, i.e., it converges to 1.691 which is an improvement over 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. Our experimental evaluations show 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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Balogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theor. Comput. Sci. 440–441, 1–13 (2012)MathSciNetCrossRefMATH Balogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theor. Comput. Sci. 440–441, 1–13 (2012)MathSciNetCrossRefMATH
2.
Zurück zum Zitat Bentley, J.L., Johnson, D.S., Leighton, F.T., McGeoch, C.C., McGeoch, L.A.: Some unexpected expected behavior results for bin packing. In: Proceedings of the 16th Symposium on Theory of Computing (STOC), pp. 279–288 (1984) Bentley, J.L., Johnson, D.S., Leighton, F.T., McGeoch, C.C., McGeoch, L.A.: Some unexpected expected behavior results for bin packing. In: Proceedings of the 16th Symposium on Theory of Computing (STOC), pp. 279–288 (1984)
3.
4.
Zurück zum Zitat Coffman, E.G., Garey, M.R., Johnson, D.S.: Approximation algorithms for bin packing: a survey. In: Approximation Algorithms for NP-hard Problems. PWS Publishing Co., Boston (1997) Coffman, E.G., Garey, M.R., Johnson, D.S.: Approximation algorithms for bin packing: a survey. In: Approximation Algorithms for NP-hard Problems. PWS Publishing Co., Boston (1997)
6.
Zurück zum Zitat Coffman, E.G., Johnson, D.S., Shor, P.W., Weber, R.R.: Bin packing with discrete item sizes, part II: tight bounds on First Fit. Random Struct. Algorithms 10(1–2), 69–101 (1997)CrossRefMATH Coffman, E.G., Johnson, D.S., Shor, P.W., Weber, R.R.: Bin packing with discrete item sizes, part II: tight bounds on First Fit. Random Struct. Algorithms 10(1–2), 69–101 (1997)CrossRefMATH
7.
Zurück zum Zitat Coffman Jr, E.G., Lueker, G.S.: Probabilistic Analysis of Packing and Partitioning Algorithms. Wiley-Interscience Series in Discrete Mathematics and Optimization. Wiley, New York (1991)MATH Coffman Jr, E.G., Lueker, G.S.: Probabilistic Analysis of Packing and Partitioning Algorithms. Wiley-Interscience Series in Discrete Mathematics and Optimization. Wiley, New York (1991)MATH
8.
Zurück zum Zitat Coffman, E.G., Shor, P.W.: A simple proof of the \({O(\sqrt{n \log ^{3/4} n)}}\) up-right matching bound. SIAM J. Discrete Math. 4, 48–57 (1991)MathSciNetCrossRefMATH Coffman, E.G., Shor, P.W.: A simple proof of the \({O(\sqrt{n \log ^{3/4} n)}}\) up-right matching bound. SIAM J. Discrete Math. 4, 48–57 (1991)MathSciNetCrossRefMATH
9.
Zurück zum Zitat Csirik, J., Galambos, G.: An \({O}(n)\) bin-packing algorithm for uniformly distributed data. Computing 36(4), 313–319 (1986)MathSciNetCrossRefMATH Csirik, J., Galambos, G.: An \({O}(n)\) bin-packing algorithm for uniformly distributed data. Computing 36(4), 313–319 (1986)MathSciNetCrossRefMATH
10.
Zurück zum Zitat Gu, X., Chen, G., Xu, Y.: Deep performance analysis of refined harmonic bin packing algorithm. J. Comput. Sci. Technol. 17, 213–218 (2002)MathSciNetCrossRefMATH Gu, X., Chen, G., Xu, Y.: Deep performance analysis of refined harmonic bin packing algorithm. J. Comput. Sci. Technol. 17, 213–218 (2002)MathSciNetCrossRefMATH
11.
Zurück zum Zitat Johnson, D.S.: Near-optimal bin packing algorithms. Ph.D. thesis, MIT (1973) Johnson, D.S.: Near-optimal bin packing algorithms. Ph.D. thesis, MIT (1973)
12.
Zurück zum Zitat Karp, R.M., Luby, M., Marchetti-Spaccamela, A.: Probabilistic analysis of multi-dimensional binpacking problems. In: Proceedings of the 16th Symposium on Theory of Computing (STOC), pp. 289–298 (1984) Karp, R.M., Luby, M., Marchetti-Spaccamela, A.: Probabilistic analysis of multi-dimensional binpacking problems. In: Proceedings of the 16th Symposium on Theory of Computing (STOC), pp. 289–298 (1984)
13.
Zurück zum Zitat Kousiouris, G.: Minimizing the effect of dos attacks on elastic cloud-based applications. In: Proceedings of International Conference on Cloud Computing and Services Science, pp. 622–628 (2014) Kousiouris, G.: Minimizing the effect of dos attacks on elastic cloud-based applications. In: Proceedings of International Conference on Cloud Computing and Services Science, pp. 622–628 (2014)
14.
Zurück zum Zitat Lee, C.C., Lee, D.T.: A simple online bin packing algorithm. J. ACM 32, 562–572 (1985)CrossRefMATH Lee, C.C., Lee, D.T.: A simple online bin packing algorithm. J. ACM 32, 562–572 (1985)CrossRefMATH
15.
Zurück zum Zitat Lee, C.C., Lee, D.T.: Robust online bin packing algorithms. Northwestern University, Technical report (1987) Lee, C.C., Lee, D.T.: Robust online bin packing algorithms. Northwestern University, Technical report (1987)
16.
Zurück zum Zitat Leighton, F.T., Shor, P.: Tight bounds for minimax grid matching with applications to the average case analysis of algorithms. Combinatorica 9, 161–187 (1989)MathSciNetCrossRefMATH Leighton, F.T., Shor, P.: Tight bounds for minimax grid matching with applications to the average case analysis of algorithms. Combinatorica 9, 161–187 (1989)MathSciNetCrossRefMATH
17.
18.
19.
21.
22.
Zurück zum Zitat Shor, P.W.: How to pack better than Best-Fit: Tight bounds for average-case on-line bin packing. In: Proceedings of the 32nd Symposium on Foundations of Computer Science (FOCS), pp. 752–759 (1991) Shor, P.W.: How to pack better than Best-Fit: Tight bounds for average-case on-line bin packing. In: Proceedings of the 32nd Symposium on Foundations of Computer Science (FOCS), pp. 752–759 (1991)
Metadaten
Titel
All-Around Near-Optimal Solutions for the Online Bin Packing Problem
verfasst von
Shahin Kamali
Alejandro López-Ortiz
Copyright-Jahr
2015
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-662-48971-0_61

Premium Partner