So I just remembered Lincoln Logs exist, so I found ten giant sets of them on ebay for Buy It Now, and I'm trying to decide what combination of purchases gives me the most logs for the least money if I'm going to purchase $n$ sets.
Then I remembered this is exactly the sort of thing I learned in algorithms class, but I really don't want to set this up myself. Much, much too lazy on this rainy day. Are there any online or downloadable calculators which let me set it up easily?
The search term you want is "Knapsack Problem".
http://en.wikipedia.org/wiki/Knapsack_problem
There are some interactive ones online,
https://www.google.com/#q=knapsack+problem+solver
As you remembered, this is in principle equivalent to CSP's, or any other NP-complete problem.