-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
Milestone
Description
On scipy/scipy/optimize/_linprog_util.py, line 512, the method _presolve generates the incorrect message
message = ("The problem is (trivially) infeasible due to a row "
"of zeros in the equality constraint matrix with a "
"nonzero corresponding constraint value."
after testing zero_row = np.array(np.sum(A_ub != 0, axis=1) == 0).flatten().
The message should be
message = ("The problem is (trivially) infeasible due to a row "
"of zeros in the INEQUALITY constraint matrix with a "
"nonzero corresponding constraint value."