Replies: 1 comment 1 reply
-
Exactly. When a constraint's weight is set to zero, it is completely eliminated from processing, as if it never existed in the first place. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, teams,
From the following code, does it mean a constraint wich with a zero constraint weight will be ignored? These constraints will not be included in the score calculation?
https://github.com/TimefoldAI/timefold-solver/blob/8768155a076de1f4b8537fa2ebb62811562e9c67/core/constraint-streams/src/main/java/ai/timefold/solver/constraint/streams/bavet/BavetConstraintSessionFactory.java#L60
Beta Was this translation helpful? Give feedback.
All reactions