Repository navigation
refactor: Use partition point for retrieving bounds at decision level - #297
Merged
Merged
Conversation
2 tasks done
maartenflippo
approved these changes
Oct 1, 2025
ImkoMarijnissen
added a commit
that referenced
this pull request
Oct 7, 2025
…#290) Currently, we use an eager explanation for `<=` constraints which can be quite expensive if there are many of them, each making several allocations. This PR addresses this by lazily calculating the reason for these propagations. Additionally, in my mind it makes sense to include the predicate for which the reason is asked when asking for a lazy reason. _Could also be related to #284; perhaps only doing the trimming for the lazy explanations is worthwhile_ ## TODO - [x] Profiling - [x] Merge #297 **These results are _with_ the changes from #297; without these changes, the MiniZinc score is worse** ### MiniZinc Scoring - Main: 173.89 - **Lazy Explanations: 186.12** ### Primal Integral - **Main: 26.13** - Lazy Explanations: 26.69
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.