File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -851,14 +851,16 @@ void HighsMipSolver::cleanupSolve() {
851851 " Repair LPs 0\n " );
852852 }
853853 highsLogUser (options_mip_->log_options , HighsLogType::kInfo ,
854- " LP iterations %llu\n "
855- " %llu (strong br.)\n "
856- " %llu (separation)\n "
857- " %llu (heuristics)\n " ,
858- (long long unsigned )mipdata_->total_lp_iterations ,
859- (long long unsigned )mipdata_->sb_lp_iterations ,
860- (long long unsigned )mipdata_->sepa_lp_iterations ,
861- (long long unsigned )mipdata_->heuristic_lp_iterations );
854+ " LP iterations %llu\n " ,
855+ (long long unsigned )mipdata_->total_lp_iterations );
856+ if (mipdata_->total_lp_iterations )
857+ highsLogUser (options_mip_->log_options , HighsLogType::kInfo ,
858+ " %llu (strong br.)\n "
859+ " %llu (separation)\n "
860+ " %llu (heuristics)\n " ,
861+ (long long unsigned )mipdata_->sb_lp_iterations ,
862+ (long long unsigned )mipdata_->sepa_lp_iterations ,
863+ (long long unsigned )mipdata_->heuristic_lp_iterations );
862864
863865 if (!timeless_log) analysis_.reportMipTimer ();
864866
You can’t perform that action at this time.
0 commit comments