Question: Example: We are given 5 objects and weight carrying capacity of knapsack W = 100. For each object, weight w; and value vi are

Example: We are given 5 objects and weight carrying capacity of knapsack

Example: We are given 5 objects and weight carrying capacity of knapsack W = 100. For each object, weight w; and value vi are given in the following table. Object i Wi V Vi/Wi 1 10 20 2.0 2 20 30 1.5 3 30 66 2.2 4 40 40 1.0 5 50 60 1.2

Step by Step Solution

3.44 Rating (154 Votes )

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 Computer Engineering Questions!