From 4307fb2a3ca216da794aaa290b7625e436fef069 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Mon, 18 Nov 2019 08:57:12 +0100 Subject: [PATCH] solver --- src/TSP_solver.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index 7d07c57..6a84541 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -46,12 +46,9 @@ class Solver_TSP: start = t() self.solution = self.available_initializers[self.methods[0]](instance_) assert self.check_if_solution_is_valid(self.solution), "Error the solution is not valid" - # print("init ok") for i in range(1, len(self.methods)): self.solution = self.available_improvements[self.methods[i]](self.solution, self.instance) - print(len(self.solution)) assert self.check_if_solution_is_valid(self.solution), "Error the solution is not valid" - print("improve ok") end = t() self.time_to_solve = np.around(end - start,3)