Problem Definition
Given a set of items , size , values , a weight limit , and a target value , is there a subset such that: and
Prove Knapsack problem is NP-complete
- Prove Knapsack problem is NP.
- Choose Subset Sum Problem
- Prove that Subset Sum Problem Knapsack Problem. Given Subset Sum instance and an integer , set and .