<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Hi,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>I hope this is ok: https://issues.jboss.org/browse/JBRULES-3716</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>Regards,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family:
tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>Michiel Vermandel</span></div><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: tahoma, new york, times, 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> Michiel Vermandel <mvermand@yahoo.com>; Rules Users List <rules-users@lists.jboss.org> <br> <b><span
style="font-weight: bold;">Sent:</span></b> Monday, January 14, 2013 2:34 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Stuck on simple testcase<br> </font> </div> <br>
<div id="yiv418258713">
<div>
<br>
<div class="yiv418258713moz-cite-prefix">Op 14-01-13 14:16, Michiel Vermandel
schreef:<br>
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;">
<div><span>Hi Geoffrey,</span></div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;
background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;
background-color:transparent;font-style:normal;"><span>Putting the </span>entityTabuSizeto
3 did fix the issue, indeed.</div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;
background-color:transparent;font-style:normal;">Many thanks for the tip.</div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma, new york, times, serif;
background-color:transparent;font-style:normal;">With "Feel free to make an
issue about this.", do you mean I should register an Issue
here?:
<a rel="nofollow" class="yiv418258713moz-txt-link-freetext" target="_blank" href="https://issues.jboss.org/issues/?jql=project%20%3D%20DROOLS">https://issues.jboss.org/issues/?jql=project%20%3D%20DROOLS</a><br>
</div>
</div>
</blockquote>
Do it in <a rel="nofollow" class="yiv418258713moz-txt-link-freetext" target="_blank" href="https://issues.jboss.org/browse/JBRULES">https://issues.jboss.org/browse/JBRULES</a> in component
drools-planner for now.<br>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;">
<div> <br>
Thanks<br>
<br>
</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:tahoma, new york, times, 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 <a rel="nofollow" class="yiv418258713moz-txt-link-rfc2396E" ymailto="mailto:ge0ffrey.spam@gmail.com" target="_blank" href="mailto:ge0ffrey.spam@gmail.com"><ge0ffrey.spam@gmail.com></a><br>
<b><span style="font-weight:bold;">To:</span></b>
Michiel Vermandel <a rel="nofollow" class="yiv418258713moz-txt-link-rfc2396E" ymailto="mailto:mvermand@yahoo.com" target="_blank" href="mailto:mvermand@yahoo.com"><mvermand@yahoo.com></a>; Rules
Users List <a rel="nofollow" class="yiv418258713moz-txt-link-rfc2396E" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org"><rules-users@lists.jboss.org></a> <br>
<b><span style="font-weight:bold;">Sent:</span></b>
Monday, January 14, 2013 1:48 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: Stuck on simple testcase<br>
</font> </div>
<br>
<div id="yiv418258713">
<div> <br>
<div class="yiv418258713moz-cite-prefix">Op 14-01-13
13:08, Michiel Vermandel schreef:<br>
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;">
<div><span>Hi,</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>I
wrote a quite simple unit test which I expected
to succeed.</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>But
it does not, it ends with a negative score.</span></div>
</div>
</blockquote>
Enable logging trace (logging != environmentMode) and
check if you can see the moves that it should take and
why it doesn't take them.<br>
A very small problem can't work with entityTabuSize 7
for example.<br>
There are some idea's to auto-tweak the entityTabuSize
or at least automatically lower it if there are too
little entities.<br>
Feel free to make an issue about this.<br>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;">
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>Though,
it is easy to see on sight that there is a
zero-score solution possible.</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>So...
something must be wrong in some of my rules.</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>I
was wondering if it is possible to manually set
all planning variables to what I expected them
to be and then see which rule(s) break(s)?</span></div>
</div>
</blockquote>
Yes, see Solver.getScoreDirectorFactory (see docs).<br>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt;">
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>So
planning variables should not be changed anymore
while solving.</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>I'm
using drools planner 5.5.0.Final.</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>Thanks,</span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><br>
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:tahoma, new york, times, serif;background-color:transparent;font-style:normal;"><span>Michiel</span></div>
<div> </div>
<div>-----------------<br>
<a rel="nofollow" class="yiv418258713moz-txt-link-freetext" target="_blank" href="http://www.codessentials.com/">http://www.codessentials.com</a> - Your essential
software, for free!<br>
Follow us at <a rel="nofollow" class="yiv418258713moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a></div>
</div>
<br>
<fieldset class="yiv418258713mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a rel="nofollow" class="yiv418258713moz-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="yiv418258713moz-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>
</div>
</div>
</div>
<br>
<fieldset class="yiv418258713mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a rel="nofollow" class="yiv418258713moz-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="yiv418258713moz-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> </div> </div> </div></body></html>