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

  1. Prove Knapsack problem is NP.
  2. Choose Subset Sum Problem
  3. Prove that Subset Sum Problem Knapsack Problem. Given Subset Sum instance and an integer , set and .