Question: 4. Prove the Smart-Greedy Algorithm (from lecture) 1/2-approximates KNAPSACK. (Hint: What would the optimal value be if we were allowed to take a fraction of

4. Prove the Smart-Greedy Algorithm (from lecture) 1/2-approximates KNAPSACK. (Hint: What would the optimal value be if we were allowed to take a fraction of each item? 4. Prove the Smart-Greedy Algorithm (from lecture) 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
