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

pysat: accept reified cardinality constraints #316

Merged
merged 3 commits into from
May 25, 2023

Conversation

tias
Copy link
Collaborator

@tias tias commented May 24, 2023

refactor to directly call the transformations

split out cardinality encoding in a function so that it can also be used for implied constraints

fixes #296

refactor to directly call the transformations

split out cardinality encoding in a function so that it can also be used for
implied constraints

fixes #296
@tias tias linked an issue May 24, 2023 that may be closed by this pull request
@tias tias mentioned this pull request May 25, 2023
@IgnaceBleukx
Copy link
Collaborator

Small update to tests so negative boolvars are also tested.
Looks good to me!

@Wout4
Copy link
Collaborator

Wout4 commented May 25, 2023

good to merge

@Wout4 Wout4 merged commit 61250b3 into master May 25, 2023
@tias tias mentioned this pull request May 27, 2023
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.

pysat reified cardinality
3 participants