Skip to content

Commit e4632db

Browse files
committed
Suppress call to reportSolvedLpQpStats() if model is MIP and not solving relaxation
1 parent cc5b4e1 commit e4632db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

highs/lp_data/Highs.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4764,8 +4764,7 @@ HighsStatus Highs::returnFromOptimizeModel(const HighsStatus run_return_status,
47644764
}
47654765

47664766
// Unless solved as a MIP, report on the solution
4767-
const bool solved_as_mip = !options_.solver.compare(kHighsChooseString) &&
4768-
model_.isMip() && !options_.solve_relaxation;
4767+
const bool solved_as_mip = model_.isMip() && !options_.solve_relaxation;
47694768
if (!solved_as_mip) reportSolvedLpQpStats();
47704769
return returnFromHighs(return_status);
47714770
}

0 commit comments

Comments
 (0)