fractional knapsack problem