<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt">Hi Geoffrey,<br><br>Thanks for your response.<br>Indeed I use Simulated Annealing with maximumSecondsSpend. So that explains the randomness of the LocalSearchPhase.<br>Sorry for not remembering.<br><br>Can you tell me please some more on "Use of HashSet in your Solution class"?<br>Do you mean a planning fact as a HashSet?<br>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.<br><br>Regards,<br>Michiel<br><div> </div><div>-----------------<br>http://www.codessentials.com - Your essential software, for free!<br>Follow us at http://twitter.com/#!/Codessentials<br></div> <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Geoffrey De Smet <ge0ffrey.spam@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Rules Users List <rules-users@lists.jboss.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, February 12, 2013 12:29 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] planner environmentMode<br> </font> </div> <br>
<div id="yiv772796617">
<div>
Common causes:<br>
- Use of HashSet in your Solution class.<br>
- Combination of Simulated Annealing with time spend termination
(clearly documented in manual)<br>
<br>
<div class="yiv772796617moz-cite-prefix">Op 12-02-13 12:08, Michiel Vermandel
schreef:<br>
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;">
<div><span>Hi,</span></div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;"><span>Using
Planner 5.5.0-Final, currently my environmentMode is set to
DEBUG.</span></div>
<div>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.<br>
Though, even with o nly the construction phase enabled, I get
different results from sequential runs on the same machine
with the same code.<br>
Of course full solution (with LocalSearch) results in
different outcome too.<br>
<br>
How is this possible?<br>
<br>
Thanks<br>
<br>
<br>
</div>
<div>-----------------<br>
http://www.codessentials.com - Your essential software, for
free!<br>
Follow us at http://twitter.com/#!/Codessentials</div>
</div>
<br>
<fieldset class="yiv772796617mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a rel="nofollow" class="yiv772796617moz-txt-link-abbreviated" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a rel="nofollow" class="yiv772796617moz-txt-link-freetext" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</div>
</div><br>_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br> </div> </div> </div></body></html>