in reply to Re^4: maximizing value from a set of objects
in thread maximizing value from a set of objects
If you're going to answer the question he should have asked instead of the one he did,
The code I supplied answered the exact problem as asked.
The reason the answer isn't your solution of "(E C B adds up nicely to 25)", is because that sums to a value of only $53; when there are other solutions that sum to higher values.
The problem is not a "lack of imagination"; but ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: maximizing value from a set of objects
by GotToBTru (Prior) on Nov 05, 2015 at 21:56 UTC |