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
The provided example is infeasible . The constraints are contradictory and there is no valid solution.
linprog probably shouldn't be returning true or the return value should be documented to mean something like returns false on failure or detected infeasibility, returns true on termination.
I'm not planning to dig into the algorithm now to figure out whether it will always correctly determine infeasibility. So for now I'm going to "fix" this with documentation.
Describe the bug
Running this test:
Gives following output:
Meaning the function returns success, but the returned values don't fulfill the specified constraints.
Platform
The text was updated successfully, but these errors were encountered: