Re: [math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Michele Mazzucco
Antonio, thanks for the quick answer. Do you know any library/framework which could help me with that? Cheers, Michele On Jun 21, 2011, at 5:46 PM, Antonio Petrelli wrote: > 2011/6/21 Michele Mazzucco > >> Hi all, >> >> I am trying to solve an optimization problem

[math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Michele Mazzucco
Hi all, I am trying to solve an optimization problem using the SimplexSolver. The solution should be of type integer (e.g., which shoes and how many of each type to buy?), not double: Best 4.462 at [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 6.561679790026248] found in 2 iterations I am using th