Skip to main content
Log in

Worst-case analysis of greedy algorithms for the subset-sum problem

  • Published:
Mathematical Programming Submit manuscript

Abstract

Given a set ofn positive integers and another positive integerW, the Subset-Sum Problem is to find that subset whose sum is closest to, without exceeding,W. We present a polynomial approximation scheme for this problem and prove that its worst-case performance dominates that of Johnson's well-known scheme.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. M.L. Fisher, “Worst-case analysis of heuristic algorithms,”Management Science 26 (1980) 1–17.

    Article  MATH  MathSciNet  Google Scholar 

  2. M.R. Garey and D.S. Johnson,Computers and intractability: a guide to the theory of NP-completeness (Freeman, San Francisco, 1979).

    MATH  Google Scholar 

  3. G.V. Gens and E.V. Levner, “Fast approximation algorithms for knapsack type problems,” in: K. Iracki, K. Malanowski and S. Walukiewicz, eds.,Optimization techniques, Part 2, Lecture Notes in Control and Information Sciences 23 (Springer, Berlin, 1980) pp. 185–194.

    Chapter  Google Scholar 

  4. O.H. Ibarra and C.E. Kim, “Fast approximation algorithms for the knapsack and sum of subset problems,”Journal of the ACM 22 (1975) 463–468.

    Article  MATH  MathSciNet  Google Scholar 

  5. D.S. Johnson, “Approximation algorithms for combinatorial problems,”Journal of Computer and System Sciences 9 (1974) 256–278.

    Article  MATH  MathSciNet  Google Scholar 

  6. E. L. Lawler, “Fast approximation algorithms for knapsack problems,”Mathematics of Operations Research 4 (1979) 339–356.

    MATH  MathSciNet  Google Scholar 

  7. S. Sahni, “Approximate algorithms for the 0/1 knapsack problem,”Journal of the ACM 22 (1975) 115–124.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Research supported by Ministero Pubblica Istruzion, Italy.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Martello, S., Toth, P. Worst-case analysis of greedy algorithms for the subset-sum problem. Mathematical Programming 28, 198–205 (1984). https://doi.org/10.1007/BF02612360

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02612360

Key words