Hi,

I am using Drools planner 5.5.0.Final.
Once again I have the exception "The workingMemory has 1 ConstraintOccurrence(s) in excess".
I have added all relevant planning variables as parameters of the ConstraintOccurrence.

Could the following theory be an explanation for this issue?

My dataset is not that big (not small either).
Could it be that a certain move is taken twice within the same step (as part of score trap?) which results in the same constraint occurrence?

I have one other question - maybe related:
In my configuration I have this:

        <acceptor>
          <planningEntityTabuSize>7</planningEntityTabuSize> <!-- I tested with lower values (5, 3) too -->
        </acceptor>
        <forager>
            <pickEarlyType>FIRST_BEST_SCORE_IMPROVING</pickEarlyType>
            <minimalAcceptedSelection>1000</minimalAcceptedSelection>
        </forager>

Because of the forager configuration a step is sometimes taken after as little as 40 moves, but sometimes the number of moves grows to enormous amounts.
I think if that happens that the score is no longer improving.
Is it "normal" that a certain step can make +50k moves and counting?
Or does indicate once more to a score trap?

Thanks

Michiel
 
-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials