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

Warn about unconstrained integer variables #80

Open
MaxOstrowski opened this issue Jun 4, 2021 · 1 comment
Open

Warn about unconstrained integer variables #80

MaxOstrowski opened this issue Jun 4, 2021 · 1 comment
Labels

Comments

@MaxOstrowski
Copy link
Member

MaxOstrowski commented Jun 4, 2021

This addresses the issue with undefined variables that only occur in the body of rules and are not statically "defined".
@rkaminsk would it be enough to raise a warning somewhere in init if a domain of a variable has an upper/lower bound that is min/max (given by config) ?

@rkaminsk
Copy link
Member

@rkaminsk would it be enough to raise a warning somewhere in init if a domain of a variable has an upper/lower bound that is min/max (given by config) ?

No this would not be enough because in encodings the bounds of variables can be set exactly to these values.

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

No branches or pull requests

2 participants