結果 : to find optimal solution for a knapsack problem using greedy method