consider this instance of the knapsack problem: the weights are:15,9,27,12,36,12,9,12,the prices are :15,24,14,20,18,20,18,6,and the capacity c=50,applay the greedy method algorithm to find the solution (that is , how much of every item we are going to get).show the process of deriving the solution step by step.
Tags: