BUG: Linprog reports failure despite success convergence, given a problem involving semi-continuous variables #18106
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.optimize
Milestone
Describe your issue.
Given the following problem involving a semi-continuous variable,
linprog(method='highs')
reports a failure despite successful convergence to a solution.The problem is the following:
Linprog reports the correct solution:
x=[0.]
andslack=[0.5]
, but thesuccess
flag isFalse
and there is an error message.Reproducing Code Example
Error message
SciPy/NumPy/Python version and system information
The text was updated successfully, but these errors were encountered: