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 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
Get step-by-step solutions from verified subject matter experts
