File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -1424,19 +1424,13 @@ HPresolve::Result HPresolve::runProbing(HighsPostsolveStack& postsolve_stack) {
14241424 // columns since it may allow stronger dual presolve and more aggregations
14251425 double hugeBound = primal_feastol / kHighsTiny ;
14261426 for (HighsInt i = 0 ; i != model->num_col_ ; ++i) {
1427- if (model->col_lower_ [i] >= implColLower[i] &&
1428- model->col_upper_ [i] <= implColUpper[i])
1429- continue ;
1430-
1431- if (std::abs (implColLower[i]) <= hugeBound) {
1432- double newLb = implColLower[i];
1433- if (newLb > model->col_lower_ [i]) changeColLower (i, newLb);
1434- }
1427+ if (std::abs (implColLower[i]) <= hugeBound &&
1428+ implColLower[i] > model->col_lower_ [i])
1429+ changeColLower (i, implColLower[i]);
14351430
1436- if (std::abs (implColUpper[i]) <= hugeBound) {
1437- double newUb = implColUpper[i];
1438- if (newUb < model->col_upper_ [i]) changeColUpper (i, newUb);
1439- }
1431+ if (std::abs (implColUpper[i]) <= hugeBound &&
1432+ implColUpper[i] < model->col_upper_ [i])
1433+ changeColUpper (i, implColUpper[i]);
14401434 }
14411435
14421436 HighsInt oldNumProbed = numProbed;
You can’t perform that action at this time.
0 commit comments