The business analysis defines the score weights, it's not our call to make which is more important etc.Hi,
(using drools-planner 5.5.0.Final)
I'm struggling with assigning weights to IntConstraintOccurrence in a rule's LHS.If I assign different weights for different rules (because we think one rule is more important than an other)
That's comparing apples and oranges.our end result is far worse than when we assign all equal weights.I do not look at the total value of hard and soft score but at the number of violations.
Yes, if and only if the more difficult constraints have higher weights (otherwise it's the opposite).I can imagine that the planner can evolve much easier to a better solution with all weights being the same because if not then "transient" moves will be made impossible to take.
Define your score function as your business needs it. Use the techniques described in the 6.0 manual: negative/postive, weights and levels.
But how should we then implement importance in rules?
Thanks-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users