Skip to content
EntityQ864457· pop 31· linked from 84 articles

knapsack problem

Sign in to save

Also known as rucksack problem, backpack problem

problem in combinatorial optimization

In the Vinony graph

Vinony's link graph records 84 inbound references to knapsack problem, and connects out to polynomial-time approximation scheme, pseudo-polynomial time and International Standard Book Number.

It sits within the topics Combinatorial optimization, Cryptography and Dynamic programming.

Vinony links it to 31 Wikipedia language editions.

Wikidata facts

Named after
backpack
Image
Knapsack.svg
Show 4 more facts
different from
packing problem
computational complexity
NP-hard
maintained by WikiProject
WikiProject Mathematics
Sources (2)

via Wikidata · CC0

~38 min read

Encyclopedic overview

Example of a one-dimensional (constraint) knapsack problem: which books should be chosen to maximize the books' value while still keeping the overall weight under or equal to 15 kg? A multiple constrained problem could consider both the weight and volume of the books. (Solution: if any number of each book is available, then three yellow books and three grey books; if only the shown books are available, then all except for the green book.)

The knapsack problem is the following problem in combinatorial optimization:

Excerpted from Wikipedia’s “knapsack problem” article, available under the CC BY-SA 4.0 licence.

Categories