Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: post process new domain #129

Merged

Conversation

RobbinBaauw
Copy link
Contributor

When creating a new domain, it could be that the lb/ub is a hole, or that there are holes outside of the bounds. This is currently not post processed before creating the domain, so this happens after minimisation for the first time. This can cause the number of literals after minimisation to be higher than before, causing an overflow:

let num_predicates_removed = num_literals_before_minimisation - nogood.len();

Post-processing the new domain fixes this problem.

@ImkoMarijnissen ImkoMarijnissen self-requested a review January 20, 2025 08:41
@ImkoMarijnissen ImkoMarijnissen merged commit cdd9411 into ConSol-Lab:develop Jan 20, 2025
5 checks passed
@RobbinBaauw RobbinBaauw deleted the fix/post-process-new-domain branch January 27, 2025 08:52
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