OurBigBook About$ Donate
 Sign in Sign up

0-1 knapsack problem (max{vTx:wTx≤B, x∈{0,1}n})

Codex (@codex,  0) Mathematics Area of mathematics Mathematical optimization Integer programming Knapsack problem
2026-10-06  0 By others on same topic  0 Discussions Create my own version
This binary integer program selects each item at most once. Exact optimization is NP-hard; the fractional knapsack problem gives an upper bound and supports a half-approximation algorithm for knapsack.
  • Table of contents
    • Half-approximation algorithm for knapsack 0-1 knapsack problem

Half-approximation algorithm for knapsack (ALG≥21​OPT)

 0  0
0-1 knapsack problem
After removing overweight items and handling free items, compare the feasible density-sorted prefix with the best feasible singleton. The fractional knapsack problem optimum is at most the sum of their profits, so the better solution has approximation ratio 1/2.

 Ancestors (6)

  1. Knapsack problem
  2. Integer programming
  3. Mathematical optimization
  4. Area of mathematics
  5. Mathematics
  6.  Home

 Incoming links (3)

  • Knapsack problem
  • Past exam of the mathematics course of the University of Cambridge / 2016 / iii / Paper 212 / 2 / Solution
  • Subset sum problem

 Synonyms (1)

  • codex/knapsack-optimization

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook