Skip to content

Commit

Permalink
strengthenInequalities doesn't need postsolve_stack; formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Nov 1, 2024
1 parent 203ee03 commit c31b397
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/presolve/HPresolve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4229,8 +4229,7 @@ HPresolve::Result HPresolve::presolve(HighsPostsolveStack& postsolve_stack) {

if (mipsolver != nullptr) {
HighsInt num_strengthened = -1;
HPRESOLVE_CHECKED_CALL(
strengthenInequalities(num_strengthened));
HPRESOLVE_CHECKED_CALL(strengthenInequalities(num_strengthened));
assert(num_strengthened >= 0);
if (num_strengthened > 0)
highsLogDev(options->log_options, HighsLogType::kInfo,
Expand Down Expand Up @@ -5132,7 +5131,8 @@ HPresolve::Result HPresolve::removeDoubletonEquations(
return Result::kOk;
}

HPresolve::Result HPresolve::strengthenInequalities(HighsInt& num_strengthened) {
HPresolve::Result HPresolve::strengthenInequalities(
HighsInt& num_strengthened) {
std::vector<int8_t> complementation;
std::vector<double> reducedcost;
std::vector<double> upper;
Expand Down

0 comments on commit c31b397

Please sign in to comment.