Skip to content

Commit d77e739

Browse files
committed
Removed stray printf and isolated health warning logging for MIP race
1 parent 6cb49c3 commit d77e739

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

highs/lp_data/Highs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4087,7 +4087,7 @@ HighsStatus Highs::callSolveMip() {
40874087
// Race the MIP solver!
40884088
highsLogUser(options_.log_options, HighsLogType::kInfo,
40894089
"\nStarting MIP race with %d instances: behaviour is "
4090-
"non-deterministic!\n",
4090+
"non-deterministic!\n\n",
40914091
int(mip_race_concurrency));
40924092
// Define the HighsMipSolverInfo record for each worker
40934093
std::vector<HighsMipSolverInfo> worker_info(mip_race_concurrency);

highs/mip/HighsMipSolverData.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,13 +1331,7 @@ void HighsMipSolverData::performRestart() {
13311331
// Bounds are currently in the original space since presolve will have
13321332
// changed offset_
13331333
runSetup();
1334-
if (mipsolver.terminate()) {
1335-
printf(
1336-
"HighsMipSolverData::performRestart() mipsolver.termination_status_ = "
1337-
"%d\n",
1338-
int(mipsolver.termination_status_));
1339-
return;
1340-
}
1334+
if (mipsolver.terminate()) return;
13411335

13421336
postSolveStack.removeCutsFromModel(numCuts);
13431337

0 commit comments

Comments
 (0)