Construct · 2 fields · 2 citations

knapsack: one construct, many systems

One name. One construct. Different systems. One map.

● invariant · one hard problem, two systems Nearest construct by meaning·not indexed
the optimization problem's hardness was borrowed to build a cipherknapsack2 SYSTEMSKnapsack problemDANTZIG · 1957Knapsack cryptosystemMERKLE & HELLMAN · 1978

Spokes are the systems the one construct recurs in; dashed arcs are shared lineage. Tap a field for its definition, unit, and measures.

2026

Drag to watch the word get claimed. Each field appears at the publication date of the earliest source cited for it. Tap a year to see which.

Operations research

Pack the most value into a limited capacity

In operations research, the knapsack problem asks which subset of items, each with a value and a weight, should be chosen to maximise total value without exceeding a fixed capacity. Dantzig's 1957 Discrete-variable extremum problems set it among the integer programming problems and gave the bound-based reasoning behind solving it, and it became a canonical example of a combinatorially hard optimisation problem. The referent is a constrained selection problem whose difficulty grows sharply with size, the same structural difficulty that cryptographers later borrowed to try to build a cipher.[1]

Unit
The maximum attainable total value of items packed under a capacity limit
Recovery means
Not applicable
Measured by
Studied through exact and approximate algorithms, worst-case running time, and optimality bounds

Cryptography

Build a public key from a hidden easy subset-sum

In cryptography, the knapsack (or subset-sum) cryptosystem turns the hardness of the same packing problem into a public-key cipher: the private key is an easily solved instance, which is disguised by modular arithmetic into a public instance that looks intractable to anyone without the trapdoor. Merkle and Hellman's 1978 Hiding information and signatures in trapdoor knapsacks proposed exactly this construction, though later cryptanalysis broke it, making it a cautionary case where a hard-on-average assumption proved false. The referent is the identical subset-sum structure of operations research, transposed into a cryptographic trapdoor, which is why the same word carries across both systems.[2]

Unit
The difficulty of recovering the chosen subset from a disguised public instance
Recovery means
Not applicable
Measured by
Assessed by the computational cost of solving the underlying subset-sum instance and by lattice-reduction attacks that break disguised ones

Next

Run it through the Collider, or take the citations with you.

See how knapsack sits against neighbouring constructs in the Collider, or export every reference on this page in one click.

Open in ColliderExport BibTeXReport this entry

Nearby constructs

trapdoor1 fields · 1 citationsanchor · a standalone constructcapacity5 fields · 8 citationsjingle · one word, four limitscase2 fields · 3 citationsjingle · one word, two constructs

References

  1. Dantzig, G. B. (1957). Discrete-variable extremum problems. Operations Research, 5(2), 266–288. https://doi.org/10.1287/opre.5.2.266
  2. Merkle, R., & Hellman, M. (1978). Hiding information and signatures in trapdoor knapsacks. IEEE Transactions on Information Theory, 24(5), 525–530. https://doi.org/10.1109/TIT.1978.1055927

Cited on this page?

Confirm your construct, or correct us.

If your work is cited behind one of these entries, you know better than we do whether we captured the meaning right. Confirm it, suggest an edit, or dispute it, and your name goes on the entry as an author who has checked it, linked to your ORCID.

Claim your construct