Skip to main content

Average-case analysis of the Modified Harmonic algorithm

  • Session 3 Algorithms
  • Conference paper
  • First Online:
Foundations of Software Technology and Theoretical Computer Science (FSTTCS 1986)

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

Abstract

In this paper, we analyze the average-case performance of the Modified Harmonic algorithm for bin packing. We first analyze the average-case performance for arbitrary distribution of item sizes over (0, 1]. This analysis is based on the following result. Let f 1 and f 2 be two linear combinations of random variables {n i} kn=1 , where the N is have a joint multinomial distribution for each \(n = \sum\limits_{i = 1}^k {N_i }\). Let E(f 1)≠0, and E(f 2)↮0. Then \(\mathop {\lim }\limits_{n \to \infty }\) E(max(f 1, f 2))/n=\(\mathop {\lim }\limits_{n \to \infty }\) max(E(f 1), E(f 2))/n. We then consider the special case when the item sizes are uniformly distributed over (0, 1], and obtain optimal values for the parameters of the algorithm. For these values of the parameters, the average-case performance ratio is less than 1.19. This compares well with the performance ratio 1.2865... of the Harmonic algorithm.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bentley, J. L., Johnson, D. S., Leighton, F. T., McGeoch, C. C., and McGeoch, L. A., Some unexpected expected behavior results for bin packing, Proc. 16th Ann. ACM Symp. on Theory of Computing, May 1984, 279–288.

    Google Scholar 

  2. Chernoff, H., A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, Annals of Math. Statistics 23 (1952), 493–507.

    Google Scholar 

  3. Coffman, E. G. Jr, Garey, M. R., and Johnson D. S., Approximation algorithms for bin packing — An updated survey, Analysis and Design of Algorithms in Combinatorial Optimizations, G. Ausiello and M. Lucertini, Editors, Springer-Verlag, New York, 1984.

    Google Scholar 

  4. Coffman, E. G. Jr., So, K., Hofri, M., and Yao, A. C., A stochastic model of binpacking, Information and Control 44 (1980), 105–115.

    Google Scholar 

  5. Frederickson, G. N., Probabilistic analysis for simple one and two-dimensional bin packing algorithms, Information Process. Lett. 11 (1980), 156–161.

    Google Scholar 

  6. Garey, M. R., and Johnson, D. S., Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman and Co., San Francisco, 1979.

    Google Scholar 

  7. Johnson, D. S., Near-optimal bin packing algorithms, Technical Report MAC TR-109 (1973), Project MAC, Massachusetts Institute of Technology, Cambridge, Mass.

    Google Scholar 

  8. Johnson, D. S., Demers, A., Ullman, J. D., Garey, M. R., and Graham, R. L., Worstcase performance bounds for simple one-dimensional packing algorithms, SIAM J. Comput. 3 (1974), 299–325.

    Google Scholar 

  9. Karmarkar, N., Probabilistic analysis of some bin-packing problems, Proc. 23rd Ann. IEEE Symp. on Foundations of Computer Science, Nov. 1982, 107–111.

    Google Scholar 

  10. Karmarkar, N., and Karp, R. M., An efficient approximation scheme for the one-dimensional bin packing problem, Proc. 23rd Ann. IEEE Symp. on Foundations of Computer Science, Nov. 1982, 312–320.

    Google Scholar 

  11. Lee, C. C., and Lee, D. T., A simple on-line packing algorithm, J. Assoc. Comput. Mach. 32 (1985), 562–572.

    Google Scholar 

  12. Ramanan, P., Brown, D. J., Lee, C. C., and Lee, D. T., On-line bin packing in linear time, J. Algorithms, to appear.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Kesav V. Nori

Rights and permissions

Reprints and permissions

Copyright information

© 1986 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ramanan, P., Tsuga, K. (1986). Average-case analysis of the Modified Harmonic algorithm. In: Nori, K.V. (eds) Foundations of Software Technology and Theoretical Computer Science. FSTTCS 1986. Lecture Notes in Computer Science, vol 241. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-17179-7_11

Download citation

  • DOI: https://doi.org/10.1007/3-540-17179-7_11

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-17179-9

  • Online ISBN: 978-3-540-47239-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics