Skip to content

Commit

Permalink
minor tweak for old progress
Browse files Browse the repository at this point in the history
  • Loading branch information
John committed Oct 8, 2024
1 parent 7edeb73 commit 15d36e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ClpParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,16 +341,17 @@ void ClpParameters::synchronizeModel() {
printf("changing ? from %g to %g at line %d\n",modelDoubleValue,doubleValue,__LINE__+1);
#endif
model_->setDblParam(ClpPresolveTolerance, doubleValue);
#if CLP_OLD_PROGRESS == 0
// I dislike new way
parameters_[ClpParam::PROGRESS]->getVal(doubleValue);
#ifdef PRINT_CLP_CHANGES
modelDoubleValue = model_->getMinIntervalProgressUpdate();
if (doubleValue!=modelDoubleValue)
printf("changing ? from %g to %g at line %d\n",modelDoubleValue,doubleValue,__LINE__+1);
model_->setMinIntervalProgressUpdate(doubleValue);
#endif
#if CLP_OLD_PROGRESS
// I dislike new way
if (doubleValue < 0.0)
#endif
model_->setMinIntervalProgressUpdate(doubleValue);
}
}
#endif
Expand Down

0 comments on commit 15d36e7

Please sign in to comment.