List of knapsack problems

The knapsack problem is one of the most studied problems in combinatorial optimization, with many real-life applications. For this reason, many special cases and generalizations have been examined.[1][2]

Common to all versions are a set of n items, with each item having an associated profit pj and weight wj. The binary decision variable xj is used to select the item. The objective is to pick some of the items, with maximal total profit, while obeying that the maximum total weight of the chosen items must not exceed W. Generally, these coefficients are scaled to become integers, and they are almost always assumed to be positive.

The knapsack problem in its most basic form:

maximize
subject to
  1. ^ Martello, Silvano and Toth, Paolo (1990). Knapsack Problems: Algorithms and Computer Implementations. John Wiley & Sons. ISBN 978-0471924203.{{cite book}}: CS1 maint: multiple names: authors list (link)
  2. ^ Cite error: The named reference KP-KPP was invoked but never defined (see the help page).