Comment Comment by icedog I'm not saying it's exactly the knapsack problem, but it's quite related. Ordering from largest to smallest does not yield the optimal solution - period. parent icedog 11 years ago