<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    I'm not sure that this email was well received on the list. So i
    resend it and add also the personal address which sent the first
    mail<br>
    Le 26/10/2012 17:19, cheikh dhib a &eacute;crit&nbsp;:
    <blockquote cite="mid:508AAA12.4080801@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      I'm not a good Drools user. But i think what you can do, is to use
      a high value(a value that is greater than the sum of all other
      possible values associated with the soft constraints). By this way
      you will be sure that a solution with this constraint violated
      will not be accepted if there is another one&nbsp; in which the
      constraint is not violated. In opposite if all your solutions
      violate this constraint, you will have one with the less number of
      violation and that can be enhanced through the steps of research,
      which can lead finally to a feasible solution.<br>
      <br>
      Good luck, any way.<br>
      <br>
      Le 26/10/2012 15:03, Michiel Vermandel a &eacute;crit&nbsp;:
      <blockquote
        cite="mid:1351256610.35899.YahooMailNeo@web161302.mail.bf1.yahoo.com"
        type="cite">
        <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
          255); font-family: tahoma,new york,times,serif; font-size:
          10pt;">Hi,<br>
          <br>
          Any one an idea?<br>
          <div><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>&nbsp;</div>
          <div>-----------------<br>
            <a moz-do-not-send="true" 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 moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="http://twitter.com/#%21/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>
                  Michiel Vermandel <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="mailto:mvermand@yahoo.com">&lt;mvermand@yahoo.com&gt;</a><br>
                  <b><span style="font-weight: bold;">To:</span></b>
                  Rules lists.jboss.org <a moz-do-not-send="true"
                    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>
                  Thursday, October 25, 2012 10:27 AM<br>
                  <b><span style="font-weight: bold;">Subject:</span></b>
                  [rules-users] Drools planner: unbreakable constraint
                  question<br>
                </font> </div>
              <br>
              <div id="yiv1711374790">
                <div>
                  <div style="color: rgb(0, 0, 0); background-color:
                    rgb(255, 255, 255); font-family: tahoma,new
                    york,times,serif; font-size: 10pt;">Hi,<br>
                    <br>
                    I have a planning project that is determined by
                    quite some constraints.<br>
                    Translated in rules this results in a number of hard
                    constraints and a number of soft constraints.<br>
                    Now I have one rule (hard constraint) that simply
                    many not be broken, never, ever.<br>
                    If a planning that fails this rule would be
                    executed, we face a lawsuit.<br>
                    <br>
                    Of course I can (and will) do a post-evaluation to
                    find out if this rule is broken, <br>
                    but I want to know if there is a possibility in
                    drools planner to forcefully reject any "solution"
                    that breaks this one rule, <br>
                    continue searching for other solutions and guarantee
                    that the "best solution" will not propose a
                    combination that fails this rule?<br>
                    <br>
                    Is this possible?<br>
                    <div><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<br>
                      </span></div>
                    <div>&nbsp;</div>
                    <div>-----------------<br>
                      <a moz-do-not-send="true"
                        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 moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://twitter.com/#%21/Codessentials">http://twitter.com/#!/Codessentials</a></div>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              rules-users mailing list<br>
              <a moz-do-not-send="true"
                ymailto="mailto:rules-users@lists.jboss.org"
                href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
              <a moz-do-not-send="true"
                href="https://lists.jboss.org/mailman/listinfo/rules-users"
                target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
              <br>
              <br>
            </div>
          </div>
        </div>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" 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>
    </blockquote>
    <br>
  </body>
</html>