knapsack problem

noun

knapsack problem

noun
1

A problem in combinatorial optimization: given a set of items, each with a weight and a value, determine which items to include in the collection so that the total weight is less than or equal to a given limit and the total value is as large as possible.

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.