Skip to content

Commit

Permalink
Synchronize the logLevel parameter from a model.
Browse files Browse the repository at this point in the history
  • Loading branch information
dop251 authored and svigerske committed Nov 25, 2024
1 parent c4c1523 commit 473cf48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Cbc_C_Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,9 @@ static void synchronizeParams( CbcModel *model, CbcParameters *parameters ) {
intValue = model->getRandomSeed();
parameters->setParamVal(CbcParam::RANDOMSEED, intValue);

intValue = model->logLevel();
parameters->setParamVal(CbcParam::LOGLEVEL, intValue);

double doubleValue;

doubleValue = model->getDblParam(CbcModel::CbcInfeasibilityWeight);
Expand Down

0 comments on commit 473cf48

Please sign in to comment.