Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/780542.780578acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article

Random knapsack in expected polynomial time

Published: 09 June 2003 Publication History

Abstract

In this paper, we present the first average-case analysis proving an expected polynomial running time for an exact algorithm for the 0/1 knapsack problem. In particular, we prove, for various input distributions, that the number of dominating solutions (i.e., Pareto-optimal knapsack fillings) to this problem is polynomially bounded in the number of available items. An algorithm by Nemhauser and Ullmann can enumerate these solutions very efficiently so that a polynomial upper bound on the number of dominating solutions implies an algorithm with expected polynomial running time.The random input model underlying our analysis is very general and not restricted to a particular input distribution. We assume adversarial weights and randomly drawn profits (or vice versa). Our analysis covers general probability distributions with finite mean, and, in its most general form, can even handle different probability distributions for the profits of different items. This feature enables us to study the effects of correlations between profits and weights. Our analysis confirms and explains practical studies showing that so-called strongly correlated instances are harder to solve than weakly correlated ones.

References

[1]
E. Balas and E. Zemel. An algorithm for large zero-one knapsack problems. Operations Research, Vol. 28, pp. 1130--1154, 1980.
[2]
K. H. Borgwardt and J. Brzank. Average Saving Effects in Enumerative Methods for Solving Knapsack Problems. J. of Complexity 10, pp. 129--141, 1994.
[3]
M. Coster, A. Joux, B. LaMacchia, A. Odlyzko, C. P. Schnorr, J. Stern. Improved Low-Density Subset Sum Algorithms. J. of Computational Complexity, 111--128, 1992.
[4]
G. B. Dantzig. Discrete Variable Extremum Problems. Operations Research, Vol 5, pp. 266--277, 1957.
[5]
G. D'Atri and C. Puech. Probabilistic Analysis of the Subset-Sum Problem. Discrete Applied Math., Vol 4, 329--334, 1982.
[6]
M. E. Dyer and A. M. Frieze. Probabilistic Analysis of the Multidimensional Knapsack Problem. Mathematics of Operations Research 14(1), 162--176, 1989.
[7]
D. Fayard and G. Plateau. An algorithm for the solution of the 0-1 knapsack problem. Computing, Vol. 28, pp. 269--287, 1982.
[8]
A. M. Frieze. On the Lagarias-Odlyzko algorithm for the Subset-Sum Problem. SIAM J. Comput. 15(2), 536--539, 1986.
[9]
M. R. Garey and D. S~Johnson. Computers and Intractability: A Guide to the Theory of NP completeness. Freeman, 1979.
[10]
S. Martello, D. Pisinger and P. Toth. New Trends in Exact Algorithms for the 0/1 Knapsack Problem. European Journal of Operational Research, Vol. 123, pp. 325--332, 2000.
[11]
S. Martello and P. Toth. Knapsack Problems -- Algorithms and Computer Implementations. Wiley, 1990.
[12]
A. Goldberg and A. Marchetti-Spaccamela. On Finding the Exact Solution to a Zero-One Knapsack Problem. Proceedings of the 16th ACM Symposium on Theory of Computing (STOC), 359--368, 1984.
[13]
R. Impagliazzo and M. Naor. Efficient Cryptographic Schemes Provably as Secure as Subset Sum. J. of Cryptology 9(4), 199--216, 1996.
[14]
G. S. Lueker. On the Average Difference Between the Solutions to Linear and Integer Knapsack Problems. Applied Probability - Computer Science, the Interface, 1, Birkhauser, 1982.
[15]
G. S. Lueker. Average-Case Analysis of Off-Line and On-Line Knapsack Problems. J. of Algorithms, 19, 277--305, 1998.
[16]
G. S. Lueker. Exponentially Small Bounds on the Expected Optimum of the Partition and Subset Sum Problems. Random Structures and Algorithms, 12, 51--62, 1998.
[17]
G. Nemhauser and Z. Ullmann. Discrete Dynamic Programming and Capital Allocation. Management Science, 15(9), 494--505, 1969.
[18]
E. Horowitz and S. Sahni. Computing Partitions with Applications to the Knapsack Problem, J. of the ACM, Vol. 21, 277--292, 1974.
[19]
D. Pisinger. Algorithms for Knapsack Problems. Ph.D. thesis, DIKU, University of Copenhagen, 1995.
[20]
D. Pisinger and P. Toth. Knapsack Problems. In D-Z. Du, P. Pardalos (ed.), Handbook of Combinatorial Optimization, vol. 1, Kluwer Academic Publishers, 299--428, 1998.
[21]
D. A. Spielman and Shang-Hua Teng. Smoothed Analysis of Algorithms: Why The Simplex Algorithm Usually Takes Polynomial Time. Proceedings of the 33rd ACM Symposium on Theory of Computing (STOC), 296--305, 2001.
[22]
H.M. Weingartner and D.N. Ness. Methods for the Solution of the Multi-Dimensional 0/1 Knapsack problem. Operations Research, Vol. 15, No. 1, 83--103, 1967.

Cited By

View all
  • (2021)Branch-and-bound solves random binary IPs in polytimeProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458099(579-591)Online publication date: 10-Jan-2021
  • (2020)Smoothing the gap between NP and ER2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS46700.2020.00099(1022-1033)Online publication date: Nov-2020
  • (2020)Solving Knapsack Problem with Fuzzy Random Variable CoefficientsIntelligent Techniques and Applications in Science and Technology10.1007/978-3-030-42363-6_120(1037-1048)Online publication date: 3-Mar-2020
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
STOC '03: Proceedings of the thirty-fifth annual ACM symposium on Theory of computing
June 2003
740 pages
ISBN:1581136749
DOI:10.1145/780542
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 June 2003

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. average case analysis
  2. exact algorithms
  3. knapsack problem

Qualifiers

  • Article

Conference

STOC03
Sponsor:

Acceptance Rates

STOC '03 Paper Acceptance Rate 80 of 270 submissions, 30%;
Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)26
  • Downloads (Last 6 weeks)7
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2021)Branch-and-bound solves random binary IPs in polytimeProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458099(579-591)Online publication date: 10-Jan-2021
  • (2020)Smoothing the gap between NP and ER2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS46700.2020.00099(1022-1033)Online publication date: Nov-2020
  • (2020)Solving Knapsack Problem with Fuzzy Random Variable CoefficientsIntelligent Techniques and Applications in Science and Technology10.1007/978-3-030-42363-6_120(1037-1048)Online publication date: 3-Mar-2020
  • (2019)On sparsity of the solution to a random quadratic optimization problemMathematical Programming10.1007/s10107-019-01456-2Online publication date: 9-Dec-2019
  • (2017)Bi-dimensional knapsack problems with one soft constraintComputers and Operations Research10.1016/j.cor.2016.07.01278:C(15-26)Online publication date: 1-Feb-2017
  • (2015)New Analysis on Sparse Solutions to Random Standard Quadratic Optimization Problems and ExtensionsMathematics of Operations Research10.1287/moor.2014.069240:3(725-738)Online publication date: 1-Mar-2015
  • (2015)An Integer Linear Programming approach to the single and bi-objective Next Release ProblemInformation and Software Technology10.1016/j.infsof.2015.03.00865:C(1-13)Online publication date: 1-Sep-2015
  • (2015)Representation of the non-dominated set in biobjective discrete optimizationComputers and Operations Research10.1016/j.cor.2015.05.00363:C(172-186)Online publication date: 1-Nov-2015
  • (2015)Average-Case Performance of Rollout Algorithms for Knapsack ProblemsJournal of Optimization Theory and Applications10.1007/s10957-014-0603-x165:3(964-984)Online publication date: 1-Jun-2015
  • (2014)Integer feasibility of random polytopesProceedings of the 5th conference on Innovations in theoretical computer science10.1145/2554797.2554838(449-458)Online publication date: 12-Jan-2014
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media