79414372

Date: 2025-02-05 10:14:11
Score: 1
Natty:
Report link

"In Constraint Streams, if you set the constraint weight to zero, the constraint will be disabled and have no performance impact at all."

Source: https://docs.timefold.ai/timefold-solver/latest/constraints-and-score/performance#pointlessConstraints

They should not be executed if the weight is 0. I also sanity-checked that statement by trying it locally and the constraint is not executed while solving.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Tom Cools