Years and Authors of Summarized Original Work
2000; Ibarra, Kim
Problem Definition
For a given set of items N = {1, …, n} with nonnegative integer weights w j and profits p j , j = 1, …, n, and a knapsack of capacity c, the knapsack problem (KP) is to select a subset of the items such that the total profit of the selected items is maximized and the corresponding total weight does not exceed the knapsack capacity c.
Alternatively, a knapsack problem can be formulated as a solution of the following linear integer programming formulation:
The knapsack problem is the simplest nontrivial integer programming model having binary variables, only a single constraint, and only positive coefficients. A large...
Recommended Reading
Ibarra OH, Kim CE (1975) Fast approximation algorithms for the knapsack and sum of subset problem. J ACM 22:463–468
Kellerer H, Pferschy U (1999) A new fully polynomial time approximation scheme for the knapsack problem. J Comb Optim 3:59–71
Kellerer H, Pferschy U (2004) Improved dynamic programming in connection with an FPTAS for the knapsack problem. J Comb Optim 8:5–11
Kellerer H, Pisinger D, Pferschy U (2004) Knapsack problems. Springer, Berlin
Lawler EL (1979) Fast approximation algorithms for knapsack problems. Math Oper Res 4:339–356
Magazine MJ, Oguz O (1981) A fully polynomial approximation algorithm for the 0-1 knapsack problem. Eur J Oper Res 8:270–273
Martello S, Toth P (1990) Knapsack problems: algorithms and computer implementations. Wiley, Chichester
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer Science+Business Media New York
About this entry
Cite this entry
Tomita, E. (2014). Knapsack. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, Boston, MA. https://doi.org/10.1007/978-3-642-27848-8_192-2
Download citation
DOI: https://doi.org/10.1007/978-3-642-27848-8_192-2
Received:
Accepted:
Published:
Publisher Name: Springer, Boston, MA
Online ISBN: 978-3-642-27848-8
eBook Packages: Springer Reference Computer SciencesReference Module Computer Science and Engineering