From dc1268b75e81531077c8479a5b4a824dba621fab Mon Sep 17 00:00:00 2001 From: Haroldo Santos Date: Mon, 10 Feb 2020 19:24:58 +0000 Subject: [PATCH] respect log level in C interface --- src/Cbc_C_Interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Cbc_C_Interface.cpp b/src/Cbc_C_Interface.cpp index 260c37e14..8394a43b2 100644 --- a/src/Cbc_C_Interface.cpp +++ b/src/Cbc_C_Interface.cpp @@ -1672,6 +1672,8 @@ Cbc_solve(Cbc_Model *model) } } + + if (model->int_param[INT_PARAM_LOG_LEVEL] > 0) { char phaseName[128] = ""; if (solver->getNumIntegers() && (!model->relax_))