From 7c93423208db449208a4197801318ac17677985b Mon Sep 17 00:00:00 2001 From: John Forrest Date: Wed, 17 Apr 2024 16:54:49 +0100 Subject: [PATCH] ask for cpu time less often --- src/ClpSimplexDual.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClpSimplexDual.cpp b/src/ClpSimplexDual.cpp index cd97a9bf..f7d702bd 100644 --- a/src/ClpSimplexDual.cpp +++ b/src/ClpSimplexDual.cpp @@ -5425,7 +5425,7 @@ void ClpSimplexDual::statusOfProblemInDual(int &lastCleaned, int type, // mark as having gone optimal if looks like it if (!numberPrimalInfeasibilities_ && !numberDualInfeasibilities_) progressFlag_ |= 8; - if (handler_->detail(CLP_SIMPLEX_STATUS, messages_) < 100 && (CoinWallclockTime() - lastStatusUpdate_ > minIntervalProgressUpdate_)) { + if (handler_->logLevel()>0&&handler_->detail(CLP_SIMPLEX_STATUS, messages_) < 100 && (CoinWallclockTime() - lastStatusUpdate_ > minIntervalProgressUpdate_)) { handler_->message(CLP_SIMPLEX_STATUS, messages_) << numberIterations_ << objectiveValue(); handler_->printing(sumPrimalInfeasibilities_ > 0.0)