Hi Geoffrey,

Thanks for your response.
Indeed I use Simulated Annealing with maximumSecondsSpend. So that explains the randomness of the LocalSearchPhase.
Sorry for not remembering.

Can you tell me please some more on "Use of HashSet in your Solution class"?
Do you mean a planning fact as a HashSet?
I have some HashMap fields in my Solution (which I also pass in the cloneSolution method) but non of these fields are planning variables/entity.

Regards,
Michiel
 
-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials

From: Geoffrey De Smet <ge0ffrey.spam@gmail.com>
To: Rules Users List <rules-users@lists.jboss.org>
Sent: Tuesday, February 12, 2013 12:29 PM
Subject: Re: [rules-users] planner environmentMode

Common causes:
- Use of HashSet in your Solution class.
- Combination of Simulated Annealing with time spend termination (clearly documented in manual)

Op 12-02-13 12:08, Michiel Vermandel schreef:
Hi,

Using Planner 5.5.0-Final, currently my environmentMode is set to DEBUG.
As I read here (http://docs.jboss.org/drools/release/5.5.0.Final/drools-planner-docs/html_single/#d0e3120) this mode should produce a reproducible result.
Though, even with o nly the construction phase enabled, I get different results from sequential runs on the same machine with the same code.
Of course full solution (with LocalSearch) results in different outcome too.

How is this possible?

Thanks


-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users