Skip to content

refactor: Use partition point for retrieving bounds at decision level - #297

Merged
ImkoMarijnissen merged 1 commit into
mainfrom
refactor/bound-at-position
Oct 2, 2025
Merged

ImkoMarijnissen merged 1 commit into
mainfrom
refactor/bound-at-position

Conversation

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor

No description provided.

@ImkoMarijnissen
ImkoMarijnissen merged commit 9bee734 into main Oct 2, 2025
@ImkoMarijnissen
ImkoMarijnissen deleted the refactor/bound-at-position branch October 2, 2025 00:01
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants