Is the 0-1 Knapsack that each item has the same weight NP-complete?
-
18-06-2021 - |
문제
The 0-1 Knapsack problem is known as NP-complete. But if the weight for each item are the same, the problem is still NP-complete?
해결책
No, because you always just take whatever items are the most valuable.
제휴하지 않습니다 StackOverflow