Question: The name knapsack problem dates back to the early works of mathematician Tobias Dantzig ( 1 8 8 4 1 9 5 6 ) ,

The name "knapsack problem" dates back to the early works of mathematicianTobias Dantzig(18841956),and refers to the commonplace problem of packing the most valuable or useful items without overloading the luggage. The question is: which boxes should be chosen to maximize the amount of money while keeping the overall weight under or equal to 15 kg? Assume that only one of each box is available and you can only either take the whole of a box or nothing at all.
a. Solve the Knapsack problem in Solver and tell me your strategy below. Which boxes would you take? (1 point)
(You can name the boxes using their colors: green, gray, orange, yellow, and blue.)
Ans:
b. What happens to your solution when you want to include the yellow box but don't want to include the blue box? (1 point)
Ans:
c. What happens to your solution (in part (a)) when you want to include at least one of the green or the orange boxes? (1 point)
Ans:
(Please solve different parts in different tabs.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!