The lab is about to explode! There is one rock of each element in the cabinet; each has a weight and value.
You can carry a maximum of 1000 pounds in your bag and you want the most value. Which elements do you take?
KNAPSACK
Generation | |
Best Value | |
Weight | |
No change in |
cabinet | greedy | greedy (weighted) | genetic |