- #1
JohnDoe2013
- 5
- 0
Hi,
I'm working on the decision version of the Knapsack optimization problem that asks whether there is a subset of the items with a total value of at least V and where the total weight of the items is at most W.
I'm looking for an equivalent problem P for this version of the knapsack problem. This means that:
1) P is reducible to Knapsack
2) Knapsack is reducible to P
I have tried PARTITION and SUBSET-SUM but I'm only able to reduce them to Knapsack. I have not been able to find a reduction from Knapsack to either of them.
Am I using the wrong problems? If so, what would be a more suitable equivalent problem?
Thanks.
I'm working on the decision version of the Knapsack optimization problem that asks whether there is a subset of the items with a total value of at least V and where the total weight of the items is at most W.
I'm looking for an equivalent problem P for this version of the knapsack problem. This means that:
1) P is reducible to Knapsack
2) Knapsack is reducible to P
I have tried PARTITION and SUBSET-SUM but I'm only able to reduce them to Knapsack. I have not been able to find a reduction from Knapsack to either of them.
Am I using the wrong problems? If so, what would be a more suitable equivalent problem?
Thanks.