From c93538961826d214faa35ee63e0bc4b99b3d2814 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Fri, 17 Nov 2023 11:48:00 +0100 Subject: [PATCH] direct call --- src/solver/optimisation/opt_appel_solveur_lineaire.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/solver/optimisation/opt_appel_solveur_lineaire.cpp b/src/solver/optimisation/opt_appel_solveur_lineaire.cpp index 589d6838e2..14336b6663 100644 --- a/src/solver/optimisation/opt_appel_solveur_lineaire.cpp +++ b/src/solver/optimisation/opt_appel_solveur_lineaire.cpp @@ -242,12 +242,10 @@ static SimplexResult OPT_TryToCallSimplex(const OptimizationOptions& options, if (options.useOrtools) { const bool keepBasis = (optimizationNumber == PREMIERE_OPTIMISATION); - // std::ofstream log_writer; // one per thread - // std::vector log_streams; if (Probleme.SolverLogs()) { - setOrtoolsSolverLogs(solver, ortools_logger); + solver->EnableOutput(&ortools_logger); } solver = ORTOOLS_Simplexe(&Probleme, solver, keepBasis); if (solver != nullptr)