Replies: 1 comment 2 replies
-
|
Hello @lepsch22! The solver unfortunately cannot tell you why something didn't happen - the solver goes where the constraints tell it to go. Had the constraints been different, the score would have been different, and the solver would have taken an entirely different path, likely giving vastly different solutions. If you want to see what would happen if the entity was assigned, use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I was wondering if there's a recommended way to perform score analysis in an over-constrained solution.
I've read through the Score Analysis section in the Timefold documentation, but I'm not sure it will fully addresses my situation.
My planning problem involves continuous scheduling, so I use unassigned
@PlanningEntityinstances to represent entities that would otherwise cause hard constraint violations. This means I often end up with unassigned entities when the solution is over-constrained due to numerous hard constraints.I'd like to build a service that can tell someone what hard constraints were broken (even though they weren't technically broken as it only will break that medium unassigned constraint). From my understanding, the
ScoreAnalysistool would just indicate that the entity is unassigned and thus breaking the unassigned constraint, but it wouldn't explain the hard constraints that were broken.So my questions are:
Am I misunderstanding the capabilities of the ScoreAnalysis tool?
Does anything exist (or is there a strategy) to help diagnose why a specific
@PlanningEntitywas left unassigned?Has anyone encountered and addressed a similar challenge in over-constrained, continuous scheduling use cases?
Any insights or references would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions