Skip to content

Commit 7c93423

Browse files
committed
ask for cpu time less often
1 parent f6e0dff commit 7c93423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClpSimplexDual.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5425,7 +5425,7 @@ void ClpSimplexDual::statusOfProblemInDual(int &lastCleaned, int type,
54255425
// mark as having gone optimal if looks like it
54265426
if (!numberPrimalInfeasibilities_ && !numberDualInfeasibilities_)
54275427
progressFlag_ |= 8;
5428-
if (handler_->detail(CLP_SIMPLEX_STATUS, messages_) < 100 && (CoinWallclockTime() - lastStatusUpdate_ > minIntervalProgressUpdate_)) {
5428+
if (handler_->logLevel()>0&&handler_->detail(CLP_SIMPLEX_STATUS, messages_) < 100 && (CoinWallclockTime() - lastStatusUpdate_ > minIntervalProgressUpdate_)) {
54295429
handler_->message(CLP_SIMPLEX_STATUS, messages_)
54305430
<< numberIterations_ << objectiveValue();
54315431
handler_->printing(sumPrimalInfeasibilities_ > 0.0)

0 commit comments

Comments
 (0)