Replies: 1 comment 2 replies
-
| 
         I'd say in general it helps a lot when it's impossible for a hard constraint violation to occur because of your design. Creating and performing moves that will result in solutions that violate hard constraints for certain (and having to calculate a new score after a move) wastes time and thus leads to worse solutions.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When using Timefold to optimize PlaningSolution, how can I make sure domain rules (like invariants) are not violated during planning?
Is it better to prevent invalid states by design (e.g. value range limits or setter checks), or should I rely only on hard constraints?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions