News for hackers. Stuff that matters.
Re:What the U.S. needs is an 18-cent coin by eddington on Thursday May 17, 2012 @03:13AM (#3985849)
I don't know why you're saying it isn't NP-complete. For an arbitrary set of coins, it's definitely NP-complete. You could easily reduce 0-1 ILP to it, or subset-sum.

If you don't believe me, believe http://graal.ens-lyon.fr/~abenoit/algo09/coins2.pdf

"Optimally making change—representing a given value with the fewest coins from a set of denominations—is in general NP-hard."

There are no comments on this comment yet.