-
Notifications
You must be signed in to change notification settings - Fork 24
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
Better handling of variable bounds for BOOL variables #2560
Better handling of variable bounds for BOOL variables #2560
Conversation
{ | ||
case Study::SystemModel::ValueType::BOOL: | ||
{ | ||
pb.addVariable(0., 1., true, variableID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the user might define lb / ub (for example ub can be a model parameter). it's only in the case where the user doesn't define lb/ub that we should us these default values. maybe set them in the Variable object model to keep this code simple?
Quality Gate passedIssues Measures |
This reverts commit 072dc7b.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for me, just add unit tests
This topic is too complex to be handled without a proper spec |
Make it so that the user doesn't need to provide lower & upper bounds for Boolean variables.