From 30b4cbebcd4a413f780c87be5b46a97c8cfe69de Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Mon, 18 Nov 2019 09:04:26 +0100 Subject: [PATCH] solver --- src/TSP_solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index b9eac91..64a3902 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -38,7 +38,7 @@ class Solver_TSP: def bind(self, local_or_meta): assert local_or_meta in self.available_improvements, f"the {local_or_meta} method is not available currently." self.methods.append(local_or_meta) - self.name_method = ", improve with " + local_or_meta + self.name_method += ", improve with " + local_or_meta def __call__(self, instance_, verbose=True, return_value=True): self.instance = instance_