You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] Return an error for inconsistent imported NL bounds #122
Describe the bug
Importing a variable with bounds such as 10 <= x <= 0 reaches the infallible core variable builder and panics. A malformed input file should produce a reader error.
Expected behaviour
We should validate decoded bound pairs before constructing the model and return IoError::InvalidNl identifying the b section and the offending variable index when the lower bound exceeds the upper bound.
We should preserve legitimate unbounded variables and fixed variables. Also, we should follow the core bound contract without using panic catching as validation.
Additional context
This issue is tagged good first issue specifically to help new contributors get hands-on with the codebase and wants to contribute in the long term. Please do not use AI for this issue.
Activity