<div dir="ltr"><div>Thanks Geoffrey, I missed that section 5.5 in the manual.<br></div>I will be eagerly waiting for updates on 2nd point :)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 9:00 PM, Geoffrey De Smet <span dir="ltr"><<a href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>></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">
1) yes<br>
Take a look if this section in the manual solves your questions:<br>
5.5. Reusing the score calculation outside the Solver<br>
<a href="http://docs.jboss.org/drools/release/latest/optaplanner-docs/html_single/index.html#d0e4529" target="_blank">http://docs.jboss.org/drools/release/latest/optaplanner-docs/html_single/index.html#d0e4529</a><br>
<br>
2) For Beta4 (which will be released soon), that section is improved
to show the use of ScoreDirector.getConstaintMatch() which will
answer question 2).<div><div class="h5"><br>
<br>
<div>On 26-06-13 17:13, Sandeep Bandela
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
</div>
I have some experience with drools 5 and now experimenting
on planner & drools 6.<br>
I have 'unsolved' PlanningSolution that could be given to a
solver and it successfully solves it. (its just the
curriculum example with few more variables like
teachingAssistant, equipment etc)<br>
<br>
</div>
I need to know few things about this unsolved solution.<br>
1) I want to know the score of this unsolved before starting
to solve it. can I do this without instantiating my own drools
session with my score holder and execute the rules for score?
i.e only using optaplanner-api and not depend on underlying
rules engine used by planner.<br>
</div>
2) I also want to have some information on what all rules got
fired in calculation of score (the negative ones). to print the
conflicting planning entities & their variables. I could put
a message from each rule to some object in workingMem. but how
can I get those objects back after the solver is done but didnt
have a feasible solution/ or even for any given solution. or is
there any better way?<br>
<div>
<div><br clear="all">
<div>
<div><br>
-- <br>
Regards,<br>
Sandeep Bandela.<br>
</div>
</div>
</div>
</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><br clear="all"><br>-- <br>Regards,<br>Sandeep Bandela.<br>
</div>