1. Consider an instance of the Knapsack Problem without repetitions with 4 items, having weights and values as follows. The weights (in pounds) are w1=2, w2 =7, w3 =10, w4 =12. The dollar values of these items are respectively v1 = 12, v2 = 28, v3 = 30, v4 = 5. The capacity of the knapsack is 12. (a) Find the optimal solution for Fractional Knapsack. (b) Find the optimal solution for 0-1 Knapsack.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter13: Decision Making Under Uncertainty
Section13.3: Flaws In Expected Maximization Of Utility: Prospect Theory And Framing Effects
Problem 4P
icon
Related questions
Question
1. Consider an instance of the Knapsack Problem without repetitions with 4 items, having
weights and values as follows. The weights (in pounds) are w1=2, w2 =7, w3 =10, w4 =12.
The dollar values of these items are respectively v1 = 12, v2 = 28, v3 = 30, v4 = 5. The
capacity of the knapsack is 12.
(a) Find the optimal solution for Fractional Knapsack.
(b) Find the optimal solution for 0-1 Knapsack.
Transcribed Image Text:1. Consider an instance of the Knapsack Problem without repetitions with 4 items, having weights and values as follows. The weights (in pounds) are w1=2, w2 =7, w3 =10, w4 =12. The dollar values of these items are respectively v1 = 12, v2 = 28, v3 = 30, v4 = 5. The capacity of the knapsack is 12. (a) Find the optimal solution for Fractional Knapsack. (b) Find the optimal solution for 0-1 Knapsack.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Heuristic Path Algorithm
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