Copyright © Philip M. Parker, INSEAD. Terms of Use.

KNAPSACK PROBLEM

Specialty Definition: KNAPSACK PROBLEM

DomainDefinition

Computing

Knapsack problem Given a set of items, each with a cost and a value, determine the number of each item to include in a collection so that the total cost is less than some given cost and the total value is as large as possible. The 0/1 knapsack problem restricts the number of each items to zero or one. Such constraint satisfaction problems are often solved using dynamic programming. The general knapsack problem is NP-hard, and this has led to attempts to use it as the basis for public-key encryption systems. Several such attempts failed because the knapsack problems they produced were in fact solvable by polynomial-time algorithms. [Are there any trusted knapsack-based public-key cryptosystems?]. (1995-04-10). Source: The Free On-line Dictionary of Computing.

Math

Given items of different values and volumes, find the most valuable set of items that fit in a knapsack of fixed volume. (references)

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Knapsack problem

(From Wikipedia, the free Encyclopedia)

The knapsack problem is a problem in complexity theory, cryptography, and applied mathematics. Given a set of items, each with a cost and a value, determine the number of each item to include in a collection so that the total cost is less than some given cost and the total value is as large as possible. The name derives from the scenario of choosing treasures to stuff into your knapsack, when you can only carry so much weight.

The decision problem form of the knapsack problem is the question "can a value of at least V be achieved without exceeding the cost C?"

The 0/1 knapsack problem restricts the number of each items to zero or one.

Of particular interest is the special case of the problem with these properties:

Notice that in this special case, the problem is equivalent to this: given a set of integers, does any subset of it add up to exactly C? Or, if negative costs are allowed and C is chosen to be zero, the problem is: given a set of integers, does any subset add up to exactly 0? This special case is called the subset sum problem. For some reason, it is traditional in cryptography to say "knapsack problem" when it is actually the "subset sum problem" that is meant.

The knapsack problem is often solved using dynamic programming, though no polynomial-time algorithm is known for the general problem. Both the general knapsack problem and the subset sum problem are NP-hard, and this has led to attempts to use subset sum as the basis for public key cryptography systems, such as Merkle-Hellman. These attempts typically used some group other than the integers. Merkle-Hellman and several similar algorithms were later broken, because the subset sum problems they produced were in fact solvable by polynomial-time algorithms.

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Knapsack problem."

Top     

Crosswords: KNAPSACK PROBLEM

Specialty definitions using "KNAPSACK PROBLEM": 0/1 knapsack problempublic-key encryption. (references)

Top     

Commercial Usage: KNAPSACK PROBLEM

DomainTitle

Books

  • Cryptographic Significance of the Knapsack Problem Plus Exercises and Solutions (Cryptographic Series , No 50) (reference)

    (more book examples)

Source: compiled by the editor from various references; see credits.

Top     

Expression: KNAPSACK PROBLEM

Expression using "KNAPSACK PROBLEM": 0/1 knapsack problem. Additional references.

Source: compiled by the editor from various references; see credits.

Top     

Frequency of Internet Keywords: KNAPSACK PROBLEM

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

knapsack problem

8
Source: compiled by the editor from various references; see credits.

Top     

Anagrams: KNAPSACK PROBLEM

Scrabble® Enable2K-Verified Anagrams

Words within the letters "a-a-b-c-e-k-k-l-m-n-o-p-p-r-s"

-4 letters: backslapper.

-5 letters: blacksnake, comparable, mascarpone, paperbacks.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: KNAPSACK PROBLEM


Hexadecimal (or equivalents, 770AD-1900s) (references)

4B 4E 41 50 53 41 43 4B      50 52 4F 42 4C 45 4D

Leonardo da Vinci (1452-1519; backwards) (references)

    

Binary Code (1918-1938, probably earlier) (references)

01001011 01001110 01000001 01010000 01010011 01000001 01000011 01001011 00100000 01010000 01010010 01001111 01000010 01001100 01000101 01001101

HTML Code (1990) (references)

&#75 &#78 &#65 &#80 &#83 &#65 &#67 &#75 &#32 &#80 &#82 &#79 &#66 &#76 &#69 &#77

ISO 10646 (1991-1993) (references)

004B 004E 0041 0050 0053 0041 0043 004B      0050 0052 004F 0042 004C 0045 004D

Encryption (beginner's substitution cypher): (references)

4548355053353745250524936463947

Top     



INDEX

1. Crosswords
2. Usage: Commercial
3. Expressions
4. Expressions: Internet
5. Anagrams
6. Orthography
7. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.