Skip to content

Commit

Permalink
Added forced bail out after FJ
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Jan 16, 2025
1 parent b5886e3 commit a103543
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mip/HighsMipSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ void HighsMipSolver::run() {
cleanupSolve();
return;
}
const bool bailout_after_feasibility_jump = true;
if (bailout_after_feasibility_jump) {
highsLogUser(options_mip_->log_options, HighsLogType::kInfo,
"HighsMipSolver: Bailing out after Feasibility Jump\n");
modelstatus_ = returned_model_status;
cleanupSolve();
return;
}
}
// Apply the trivial heuristics
analysis_.mipTimerStart(kMipClockTrivialHeuristics);
Expand Down

0 comments on commit a103543

Please sign in to comment.