Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
An almost linear-time algorithm for the dense subset-sum problem
Galil Z., Margalit O. SIAM Journal on Computing20 (6):1157-1189,1991.Type:Article
Date Reviewed: Mar 1 1993

The subset-sum problem discussed in this paper is as follows: Given a set A of m distinct integers in the interval [ 1 , l ] and an integer N, find a subset B ⊆ A such that S B ≤ N and no set C ⊆ A exists with S B < S c ≤ N. Here S B denotes the sum of B’s elements. Although the problem is known to be NP-hard, a pseudopolynomial dynamic program exists that solves it. So too does an algorithm, derived using analytic number theoretic methods, for the restricted case of dense A. The algorithm introduced in this paper, also concerned with the dense case, is not only an improvement over the previous algorithm’s performance (and the dynamic program’s as well), but is proven using elementary number theory.

The authors first provide an outline of the algorithm and later fill in the details. En route, they characterize the set of all subset sums of A. The earlier analytic number theoretic approach also did this. Because only elementary number theory is used in this paper, however, it is more widely accessible. The intended audience is readers interested in the analysis of computer algorithms, especially the subset-sum problem. For that group in particular, the authors note that this paper nicely complements Lagarias and Odlyzko’s [1], which treats the case of sparse A. The bibliography is good, but the paper includes an apparently erroneous reference to pages 201–206 in Aho et al. [2] for the fast Fourier transform.

Reviewer:  D. Goelman Review #: CR116128
1) Lagarias, J. and Odlyzko, A. Solving low-density subset sums. In Proceedings of the 24th IEEE Symposium on Foundations of Computer Science, Tucson, AZ, October 1983, 1–10.
2) Aho, A. V.; Hopcroft, J.; and Ullman, J. B. The design and analysis of computer algorithms. Addison-Wesley, Reading, MA, 1974. See <CR> 16, 10 (Oct. 1975), Rev. 29,039.
Bookmark and Share
 
Number-Theoretic Computations (F.2.1 ... )
 
 
Computations On Discrete Structures (F.2.2 ... )
 
 
Integer Programming (G.1.6 ... )
 
 
Complexity Measures And Classes (F.1.3 )
 
Would you recommend this review?
yes
no
Other reviews under "Number-Theoretic Computations": Date
The little book of big primes
Ribenboim P., Springer-Verlag New York, Inc., New York, NY, 1991. Type: Book (9780387975085)
Aug 1 1992
Number theory in science and communication
Schroeder M., Springer-Verlag New York, Inc., New York, NY, 1984. Type: Book (9789780387121642)
Sep 1 1985
Reductions among number theoretic problems
Woll H. Information and Computation 72(3): 167-179, 1987. Type: Article
Apr 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy