Skip to content
Prev 311091 / 398503 Next

Optimizing

On Thu, Nov 15, 2012 at 7:49 PM, Sam Asin <asin.sam at gmail.com> wrote:
Real data sets don't usually have people named A,B,C with wages 3,4,5. ;-)

To your question at hand, it's close to a classic problem in
combinatorial optimization known as the knapsack problem, but there
are some small differences. That's a difficult (in a technical sense)
problem but well-studied so there are lots of good "almost solutions."
I'd look into that and see if you can transform it to fit that
framework, for which there is almost surely a CRAN-tested
implementation available.