From 81ef7b078ee5fc56f7547ad6e1e3132bb4f3ba8f Mon Sep 17 00:00:00 2001 From: abdoulbari zakir <32519851+a-zakir@users.noreply.github.com> Date: Thu, 16 Nov 2023 18:01:18 +0100 Subject: [PATCH] suggestion by @flomnes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Florian Omnès <26088210+flomnes@users.noreply.github.com> --- src/solver/optimisation/opt_appel_solveur_lineaire.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solver/optimisation/opt_appel_solveur_lineaire.cpp b/src/solver/optimisation/opt_appel_solveur_lineaire.cpp index 373aeda4f8..589d6838e2 100644 --- a/src/solver/optimisation/opt_appel_solveur_lineaire.cpp +++ b/src/solver/optimisation/opt_appel_solveur_lineaire.cpp @@ -399,7 +399,7 @@ bool OPT_AppelDuSimplexe(const OptimizationOptions& options, if (Probleme.SolverLogs()) { - setOrtoolsSolverLogs(MPproblem.get(), ortools_logger); + MPproblem->EnableOutput(&ortools_logger); } auto analyzer = makeUnfeasiblePbAnalyzer(); analyzer->run(MPproblem.get());