Benchmarking exercises with knapsack algorithms.