Consider the Integer Knapsack Problem. Unlike 0/1 Knapsack problem which restric
ID: 3644589 • Letter: C
Question
Consider the Integer Knapsack Problem. Unlike 0/1 Knapsack problem which restricts xito be either 0 or 1, Integer Knapsack Problem allows xi to be any integer >= 0 (that is, we
assume that unlimited copies of ith object are available, for all i).
(a) Obtain the dynamic programming functional equation to solve the Integer Knapsack
Problem.
(b) Give an algorithm to implement your functional equation.
(c) What is the complexity of your algorithm?