From: Matthieu P. <ma...@gm...> - 2005-06-15 16:02:12
|
Hi, I have two questions: - I would like to retrieve all the solutions of my problem. But, as I read and experienced, the number of solutions one can retrieve is limited to 5. You proposed to use a while loop on the condition pb.nextSolution() to get all the results. I don't really see how to implement that. When doing so, the functions s.getSearchSolver().solutions.get(0) becomes irrelevant and I have no clue where to find the next result. - I try to retrieve all interger solutions from a Integer Programming problem. I don't know how to multiply an integer variable by an integer value in order to add a constraint of this kind: 2*x + 3*y <= 10 Thanks a lot for your help! Matth -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++ |