diff --git a/src/TSP_solver.py b/src/TSP_solver.py index 64a3902..74072cc 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -59,6 +59,11 @@ class Solver_TSP: self._gap() if verbose: print(f"### solution found with {self.gap} % gap in {self.time_to_solve} seconds ####") + print(f"the total length for the solution found is {self.found_length}", + f"while the optimal length is {self.instance.best_sol}", + f"the gap is {self.solver.gap}%", + f"the solution is found in {self.time_to_solve} seconds", sep="\n") + if return_value: return self.solution