File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ void HighsMipSolver::run() {
8989 analysis_.mipTimerStop (kMipClockInit );
9090#ifdef HIGHS_DEBUGSOL
9191 mipdata_->debugSolution .activate ();
92+ bool debugSolActive = false ;
93+ std::swap (mipdata_->debugSolution .debugSolActive , debugSolActive);
9294#endif
9395 analysis_.mipTimerStart (kMipClockRunPresolve );
9496 mipdata_->runPresolve (options_mip_->presolve_reduction_limit );
@@ -122,6 +124,9 @@ void HighsMipSolver::run() {
122124 highsLogUser (options_mip_->log_options , HighsLogType::kInfo ,
123125 " MIP-Timing: %11.2g - starting setup\n " , timer_.read ());
124126 analysis_.mipTimerStart (kMipClockRunSetup );
127+ #ifdef HIGHS_DEBUGSOL
128+ mipdata_->debugSolution .debugSolActive = debugSolActive;
129+ #endif
125130 mipdata_->runSetup ();
126131 analysis_.mipTimerStop (kMipClockRunSetup );
127132 if (analysis_.analyse_mip_time && !submip)
You can’t perform that action at this time.
0 commit comments