<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Op 14-01-13 15:42, Michiel Vermandel
      schreef:<br>
    </div>
    <blockquote
      cite="mid:1358174541.88506.YahooMailNeo@web161302.mail.bf1.yahoo.com"
      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 hope this is ok:
            <a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JBRULES-3716">https://issues.jboss.org/browse/JBRULES-3716</a></span></div>
      </div>
    </blockquote>
    Looks good, thanks.<br>
    <blockquote
      cite="mid:1358174541.88506.YahooMailNeo@web161302.mail.bf1.yahoo.com"
      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;"><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>&nbsp;</div>
        <div>-----------------<br>
          <a class="moz-txt-link-freetext" href="http://www.codessentials.com">http://www.codessentials.com</a> - Your essential software, for
          free!<br>
          Follow us at <a class="moz-txt-link-freetext" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a><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 class="moz-txt-link-rfc2396E" href="mailto:ge0ffrey.spam@gmail.com">&lt;ge0ffrey.spam@gmail.com&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                Michiel Vermandel <a class="moz-txt-link-rfc2396E" href="mailto:mvermand@yahoo.com">&lt;mvermand@yahoo.com&gt;</a>; Rules
                Users List <a class="moz-txt-link-rfc2396E" href="mailto:rules-users@lists.jboss.org">&lt;rules-users@lists.jboss.org&gt;</a> <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
                        moz-do-not-send="true" 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 moz-do-not-send="true" 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>&nbsp;<br>
                      Thanks<br>
                      <br>
                    </div>
                    <div>-----------------<br>
                      <a class="moz-txt-link-freetext" href="http://www.codessentials.com">http://www.codessentials.com</a> - Your essential
                      software, for free!<br>
                      Follow us at <a class="moz-txt-link-freetext" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a><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 moz-do-not-send="true"
                              rel="nofollow"
                              class="yiv418258713moz-txt-link-rfc2396E"
                              ymailto="mailto:ge0ffrey.spam@gmail.com"
                              target="_blank"
                              href="mailto:ge0ffrey.spam@gmail.com">&lt;ge0ffrey.spam@gmail.com&gt;</a><br>
                            <b><span style="font-weight:bold;">To:</span></b>
                            Michiel Vermandel <a moz-do-not-send="true"
                              rel="nofollow"
                              class="yiv418258713moz-txt-link-rfc2396E"
                              ymailto="mailto:mvermand@yahoo.com"
                              target="_blank"
                              href="mailto:mvermand@yahoo.com">&lt;mvermand@yahoo.com&gt;</a>;
                            Rules Users List <a moz-do-not-send="true"
                              rel="nofollow"
                              class="yiv418258713moz-txt-link-rfc2396E"
ymailto="mailto:rules-users@lists.jboss.org" target="_blank"
                              href="mailto:rules-users@lists.jboss.org">&lt;rules-users@lists.jboss.org&gt;</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>&nbsp;</div>
                                <div>-----------------<br>
                                  <a moz-do-not-send="true"
                                    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
                                    moz-do-not-send="true"
                                    rel="nofollow"
                                    class="yiv418258713moz-txt-link-freetext"
                                    target="_blank"
                                    href="http://twitter.com/#%21/Codessentials">http://twitter.com/#!/Codessentials</a></div>
                              </div>
                              <br>
                              <fieldset
                                class="yiv418258713mimeAttachmentHeader"></fieldset>
                              <br>
                              <pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>