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

Table constraint on right hand side of implication crashes linearize_constraint #260

Closed
Wout4 opened this issue Mar 23, 2023 · 2 comments
Closed

Comments

@Wout4
Copy link
Collaborator

Wout4 commented Mar 23, 2023

bug found with fuzztesting

iv = intvar(-8,8, shape=3)
bv = boolvar()

cons = [bv.implies(Table(iv,[0,5,4]))]
linearize_constraint(cons)

@Wout4
Copy link
Collaborator Author

Wout4 commented Mar 23, 2023

this might also be the case with other globalconstraints

@IgnaceBleukx
Copy link
Collaborator

Same issue as #259, unsupported global constraints should be decomposed in decompose_global.
If table is supported, the constraint falls through the transformation on the current master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants