From 62aaac00a47786bb2bad27af4e64cd45c742b2fd Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Thu, 19 Jul 2018 10:35:58 -0700 Subject: [PATCH] fix --- ortools/sat/cp_model_solver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ortools/sat/cp_model_solver.cc b/ortools/sat/cp_model_solver.cc index 28bd0c1b18..83ac8daea5 100644 --- a/ortools/sat/cp_model_solver.cc +++ b/ortools/sat/cp_model_solver.cc @@ -3142,12 +3142,12 @@ CpSolverResponse SolveCpModelParallel( if (MergeOptimizationSolution(r, maximize, &best_response)) { VLOG(1) << absl::StrFormat( "#%-5i %-6s %8.2fs obj:[%0.0f,%0.0f] %s", num_solutions++, - worker_name, timer.Get(), + worker_name.c_str(), timer.Get(), maximize ? best_response.objective_value() : best_response.best_objective_bound(), maximize ? best_response.best_objective_bound() : best_response.objective_value(), - r.solution_info()); + r.solution_info().c_str()); observer(best_response); // We have potentially displayed the improving solution, and updated // the best_response. We can awaken sleeping LNS threads.