If item i fits at capacity c, what does K(i,c) compare?
What do the indices of K(i,c) represent in the taught 0/1 knapsack table?
Why is O(n(W+1)) knapsack table work called pseudo-polynomial for binary-encoded inputs?
Weights are 2, 3, 4; values are 3, 4, 6; capacity is 6. The table gives K(3,6)=9, K(2,6)=7, K(2,2)=3 and K(1,2)=3. Which items does traceback select?
A 0/1 knapsack has weights 1, 3, 4 and corresponding values 2, 5, 6. Capacity is 4. Give the maximum value.
Answer: ______________
Two items each weigh 2 and have values 3 and 5. Capacity is 2. The value-3 item fits but is excluded from every optimal selection.
Circle one: True False
The single value K(n,W), without traceback or other information, identifies which items were selected.
Circle one: True False
All weights and the capacity W are doubled, with the same items and values. For the uncompressed capacity table, what changes?