I am generally new to optaplanner with a few months experience on the tool. The version we are using is 5.5.0 final.
Previously with the following line:
insertLogical(new IntConstraintOccurrence("rule1", ConstraintType.NEGATIVE_HARD, 50, $someViolatingEntity));
I was assuming that I can somehow associate violation penalty with a declared violating entity, and influence Optaplanner to pick a Move related to the Entity in the next Move.
I only happen to realize today that this assumption is wrong. $someViolatingEntity seems to be an identifier for a violation.
So I will like to find out if there is away to achieve the kind of capability in Optaplanner? Based on score calculated, derive or favor a particular Move, so that a better solution can be achieved sooner.