|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^4: knapsack problem solved by regexby rubasov (Friar) |
| on Mar 14, 2010 at 18:29 UTC ( #828602=note: print w/ replies, xml ) | Need Help?? |
|
Think of the following: a solution to the 0-1 knapsack problem can be easily generalized to the bounded case, you just have to explicitly list the items with nr>1. Think of my previous example as this (just written abbreviated there):
In Section
Meditations
|
|
||||||||||||||||||||||