Skip to content

Commit c0cb7bf

Browse files
committed
Looks like highsLogDev everywhere is what we want
1 parent de724d7 commit c0cb7bf

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

highs/mip/feasibilityjump.hh

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,10 @@ class FeasibilityJumpSolver {
495495
int solve(double* initialValues,
496496
std::function<CallbackControlFlow(FJStatus)> callback) {
497497
assert(callback);
498-
highsLogUser(logOptions, HighsLogType::kInfo,
499-
FJ_LOG_PREFIX
500-
"starting solve. weightUpdateDecay=%g, relaxContinuous=%d \n",
501-
weightUpdateDecay, problem.usedRelaxContinuous);
498+
highsLogDev(logOptions, HighsLogType::kInfo,
499+
FJ_LOG_PREFIX
500+
"starting solve. weightUpdateDecay=%g, relaxContinuous=%d \n",
501+
weightUpdateDecay, problem.usedRelaxContinuous);
502502

503503
init(initialValues);
504504

@@ -552,17 +552,16 @@ class FeasibilityJumpSolver {
552552
void logging(const int step, const bool header = false) {
553553
const HighsLogType logType = HighsLogType::kInfo;
554554
if (header) {
555-
highsLogUser(
556-
logOptions, logType,
557-
FJ_LOG_PREFIX
558-
" step violations good bumps effort (per "
559-
"step) Objective\n");
555+
highsLogDev(logOptions, logType,
556+
FJ_LOG_PREFIX
557+
" step violations good bumps effort (per "
558+
"step) Objective\n");
560559
} else {
561-
highsLogUser(logOptions, logType,
562-
" %10d %8zd %6zd %8zd %12zd %6zd %10.4g\n",
563-
step, problem.violatedConstraints.size(), goodVarsSet.size(),
564-
nBumps, totalEffort, step > 0 ? totalEffort / step : 0,
565-
problem.incumbentObjective);
560+
highsLogDev(logOptions, logType,
561+
" %10d %8zd %6zd %8zd %12zd %6zd %10.4g\n",
562+
step, problem.violatedConstraints.size(), goodVarsSet.size(),
563+
nBumps, totalEffort, step > 0 ? totalEffort / step : 0,
564+
problem.incumbentObjective);
566565
effortAtLastLogging = totalEffort;
567566
}
568567
}

0 commit comments

Comments
 (0)