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
I think the problem is that optlang returns the slack variable from the associated optlang interface, however those change their sign depending on the type of constraint (negative for >= and positive for <=)...
The text was updated successfully, but these errors were encountered:
In the following model (zipped JSON) you have a constraint "test" whose primal will have the wrong sign after optimizing.
File: bad.zip
Basically you get stuff like this when having constraints with only a lower bound:
I think the problem is that optlang returns the slack variable from the associated optlang interface, however those change their sign depending on the type of constraint (negative for >= and positive for <=)...
The text was updated successfully, but these errors were encountered: