knapsack data and objective