(i) Write down the dynamic programming table for a knapsack problem with 6 items of weight 4,3,2,1,2,3, value 3,3,2,3,3,4 and weight limit 6. Give all optimum solutions. (ii) Write down the dynamic programming table for a knapsack problem with 5 items of weight 2,3,5,1,2, value 3,4,6,2,2 and weight limit 7. Give all optimum solutions.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter9: Integer Programming
Section9.2: Formulating Integer Programming Problems
Problem 45P
icon
Related questions
Question
100%

Do Both please.

(i) Write down the dynamic programming table for a knapsack problem with 6 items of weight
4,3,2,1,2,3, value 3,3,2,3,3,4 and weight limit 6. Give all optimum solutions.
(ii) Write down the dynamic programming table for a knapsack problem with 5 items of weight
2,3,5,1,2, value 3,4,6,2,2 and weight limit 7. Give all optimum solutions.
Transcribed Image Text:(i) Write down the dynamic programming table for a knapsack problem with 6 items of weight 4,3,2,1,2,3, value 3,3,2,3,3,4 and weight limit 6. Give all optimum solutions. (ii) Write down the dynamic programming table for a knapsack problem with 5 items of weight 2,3,5,1,2, value 3,4,6,2,2 and weight limit 7. Give all optimum solutions.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Rod cutting
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole