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

possibility for infinite loop in only_bv_implies #369

Closed
Wout4 opened this issue Jun 30, 2023 · 0 comments · Fixed by #394
Closed

possibility for infinite loop in only_bv_implies #369

Wout4 opened this issue Jun 30, 2023 · 0 comments · Fixed by #394
Assignees

Comments

@Wout4
Copy link
Collaborator

Wout4 commented Jun 30, 2023

Only_bv_implies goes into a loop when a reified global is given as input.
For now this never occurs in the wild since no solvers using only_bv_implies support any reified globals, but that could be possible in the future. Otherwise we should clearly state this precondition for only_bv_implies.

example:
bv = boolvar(shape=3)
only_bv_implies([Xor([bv[0],bv[1]]) == bv[2]])

@Wout4 Wout4 linked a pull request Jul 13, 2023 that will close this issue
@Wout4 Wout4 self-assigned this Jul 13, 2023
@Wout4 Wout4 closed this as completed in #394 Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant