<div dir="ltr"><br><div class="gmail_extra">Ok, I will try option 1 first.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks<br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 6:14 AM, Geoffrey De Smet <span dir="ltr">&lt;<a href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Either:<br>
    <br>
    1) add a hard constraint to penalize what you don&#39;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&#39;s.<br>
    <br>
    I recommend 1) by default.<br>
    Also don&#39;t expect that CH&#39;s give you a feasible solution, use LS on
    top of CH&#39;s to get a good, feasible solution.<br>
    See &quot;phase overview&quot; section in the docs.<div><div class="h5"><br>
    <br>
    <div>On 03-11-13 17:29, Tales Costa wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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 Optaplanner. </div>
        <div><br>
        </div>
        <div>Based on the info on User Guide and the NQueen example, I
          understand that  for Local Search algorithms one can use the
          Move interface (for example  to forbid some specific row
          change). </div>
        <div><br>
        </div>
        <div>However, for the  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).  Is this
          correct or am I missing something ?</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>Tales</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a 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></blockquote></div><br></div></div>