<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Either:<br>
    <br>
    1) add a hard constraint to penalize what you don't want<br>
    <br>
    2) look into ValueRangeProvider from entity (see docs), which
    effectively makes it a build-in hard constraint.<br>
    <br>
    3) Use Filtering in both the Local Search selectors as the CH
    selectors (but the CH selector usage is not yet documented).<br>
    This 3) option is very difficult, especially for SwapMove's.<br>
    <br>
    I recommend 1) by default.<br>
    Also don't expect that CH's give you a feasible solution, use LS on
    top of CH's to get a good, feasible solution.<br>
    See "phase overview" section in the docs.<br>
    <br>
    <div class="moz-cite-prefix">On 03-11-13 17:29, Tales Costa wrote:<br>
    </div>
    <blockquote
cite="mid:CAJZ7QEAUdjAk3nXZqrVWMxk4b-W91Zfq4vQivekYgUN6N==+OA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>I am new to Optaplanner and would like some help on
          understanding how to control the planning value chosen
          by&nbsp;Optaplanner.&nbsp;</div>
        <div><br>
        </div>
        <div>Based on the info on User Guide and the NQueen example, I
          understand that &nbsp;for Local Search algorithms one can use the
          Move interface (for example &nbsp;to forbid some specific row
          change).&nbsp;</div>
        <div><br>
        </div>
        <div>However, for the &nbsp;Construction heuristics have not found
          any similar option. For these algoritms the only option seems
          to be to make load adjustements on the score calculations (as
          the nqueens example does for queens on the same row). &nbsp;Is this
          correct or am I missing something ?</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>Tales</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>