From b0590b4d62ea8d97fd11f73523c6a276046910a5 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Thu, 31 Oct 2019 16:19:43 +0100 Subject: [PATCH] update --- src/TSP_solver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index 3a0a882..1ca9a27 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -17,13 +17,13 @@ class Solver_TSP: def __call__(self, instance_, verbose=True, return_value=True): self.instance = instance_ if verbose: - print(f"### solving with {self.method}####") + print(f"### solving with {self.method} ####") self.solution = self.available_methods[self.method](instance_) assert self.check_if_solution_is_valid(self.solution), "Error the solution is not valid" self.evaluate_solution() self._gap() if verbose: - print(f"### solution found with {self.gap} ####") + print(f"### solution found with {self.gap} % gap ####") self._gap() if return_value: return self.solution