Question: Prove the Smart-Greedy Algorithm 1/2-approximates KNAPSACK. (Hint: What would the optimal value be if we were allowed to take a fraction of each item?)
Prove the Smart-Greedy Algorithm 1/2-approximates KNAPSACK. (Hint: What would the optimal value be if we were allowed to take a fraction of each item?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
