re: Knapsack problem algorithms for my real-life carry-on knapsack VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Yep, this. I was going to comment about items that change in importance based on destination. For example, her gloves are not showing up in the res...
 

In short, yes. To carry the analogy through I left all the items in, but as a practical exercise, removing the mandatory ones from the calculation makes more sense. :)

code of conduct - report abuse