We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe3960 commit 0228337Copy full SHA for 0228337
highs/presolve/HPresolve.cpp
@@ -6898,8 +6898,8 @@ bool HPresolve::zeroRowActivityFeasible() const {
6898
// has no columns to assess whether the HighsModelStatus returned is
6899
// kOptimal or kInfeasible (as was required for 2326)
6900
for (HighsInt iRow = 0; iRow < model->num_row_; iRow++)
6901
- if (model->row_lower_[row] > primal_feastol ||
6902
- model->row_upper_[row] < -primal_feastol)
+ if (model->row_lower_[iRow] > primal_feastol ||
+ model->row_upper_[iRow] < -primal_feastol)
6903
return false;
6904
return true;
6905
}
0 commit comments