<div dir="ltr">Is there a way to debug my project monitoring if it passes by my rule?<div style>In my console i don&#39;t see the score of hard constraint of this rule:</div><div style><br></div><div style>----</div><div style>
<div>rule &quot;requiredWorktimeToFinish&quot;</div><div><span class="" style="white-space:pre">        </span>when</div><div><span class="" style="white-space:pre">                </span>$engineer : Engineer($worktime : worktime)</div><div><span class="" style="white-space:pre">                </span>$requiredWorktimeTotal : Number(intValue &lt; $worktime) from accumulate(</div>
<div><span class="" style="white-space:pre">                        </span>WorkOrder (</div><div><span class="" style="white-space:pre">                                </span>engineer == $engineer, </div><div><span class="" style="white-space:pre">                                </span>$requiredWorktime : requiredWorktime),</div>
<div><span class="" style="white-space:pre">                        </span>sum($requiredWorktime)</div><div><span class="" style="white-space:pre">                </span>)</div><div><span class="" style="white-space:pre">        </span>then</div><div><span class="" style="white-space:pre">                </span>insertLogical(new IntConstraintOccurrence(&quot;requiredWorktimeToFinish&quot;, ConstraintType.NEGATIVE_HARD,</div>
<div><span class="" style="white-space:pre">                                </span>$requiredWorktimeTotal.intValue() - $worktime,</div><div><span class="" style="white-space:pre">                                </span>$engineer));</div><div>end</div><div style><br></div><div style>
<div>rule &quot;hardConstraintsBroken&quot;</div><div>        salience -1</div><div>    when</div><div>        $hardTotal : Number() from accumulate(</div><div>            IntConstraintOccurrence(constraintType == ConstraintType.NEGATIVE_HARD, $weight : weight),</div>
<div>            sum($weight)</div><div>        )</div><div>    then</div><div>        scoreHolder.setHardConstraintsBroken($hardTotal.intValue());</div><div>end</div><div>----</div><div><br></div><div style><br></div><div style>
<br></div><div style>in my console it points no score</div><div style>----</div><div style><div>17:02:49.009 [main] INFO  o.d.p.core.solver.DefaultSolver - Solving started: time spend (127), score (null), new best score (null), random seed (0).</div>
<div>17:02:49.041 [main] DEBUG o.d.p.c.c.g.DefaultGreedyFitSolverPhase -     Step index (0), time spend (164), score (0hard/0soft), initialized planning entity ([WorkOrder-7]).</div><div>17:02:49.042 [main] DEBUG o.d.p.c.c.g.DefaultGreedyFitSolverPhase -     Step index (1), time spend (165), score (0hard/0soft), initialized planning entity ([WorkOrder-9]).</div>
<div>17:02:49.043 [main] DEBUG o.d.p.c.c.g.DefaultGreedyFitSolverPhase -     Step index (2), time spend (166), score (0hard/0soft), initialized planning entity ([WorkOrder-8]).</div><div>17:02:49.045 [main] DEBUG o.d.p.c.c.g.DefaultGreedyFitSolverPhase -     Step index (3), time spend (168), score (0hard/0soft), initialized planning entity ([WorkOrder-6]).</div>
<div>17:02:49.045 [main] INFO  o.d.p.c.c.g.DefaultGreedyFitSolverPhase - Phase constructionHeuristic ended: step total (4), time spend (168), best score (0hard/0soft).</div><div>17:02:49.274 [main] DEBUG o.d.p.c.l.DefaultLocalSearchSolverPhase -     Step index (0), time spend (397), score (0hard/0soft),     best score (0hard/0soft), accepted/selected move count (1000/1000) for picked step ([WorkOrder-7] =&gt; [Engineer-5]).</div>
<div>17:02:49.592 [main] DEBUG o.d.p.c.l.DefaultLocalSearchSolverPhase -     Step index (1), time spend (715), score (0hard/0soft),     best score (0hard/0soft), accepted/selected move count (1000/1926) for picked step ([WorkOrder-8] =&gt; [Engineer-3]).</div>
<div>17:02:50.045 [main] DEBUG o.d.p.c.l.DefaultLocalSearchSolverPhase -     Step index (2), time spend (1168), score (0hard/0soft),     best score (0hard/0soft), accepted/selected move count (1000/3686) for picked step ([WorkOrder-6] =&gt; [Engineer-2]).</div>
<div>17:02:50.464 [main] DEBUG o.d.p.c.l.DefaultLocalSearchSolverPhase -     Step index (3), time spend (1587), score (0hard/0soft),     best score (0hard/0soft), accepted/selected move count (1000/7516) for picked step ([WorkOrder-9] =&gt; [Engineer-2]).</div>
<div>17:02:53.877 [main] DEBUG o.d.p.c.l.DefaultLocalSearchSolverPhase -     Step index (4), time spend (5000), score (0hard/0soft),     best score (0hard/0soft), accepted/selected move count (0/350227) for picked step ([WorkOrder-7] =&gt; [Engineer-4]).</div>
<div>17:02:53.877 [main] INFO  o.d.p.c.l.DefaultLocalSearchSolverPhase - Phase localSearch ended: step total (5), time spend (5000), best score (0hard/0soft).</div><div>17:02:53.878 [main] INFO  o.d.p.core.solver.DefaultSolver - Solving ended: time spend (5000), best score (0hard/0soft), average calculate count per second (72872).</div>
</div></div></div></div>