From 2e245cf572ae955c23954f858dee9f0916c3c514 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Mon, 18 Nov 2019 08:58:34 +0100 Subject: [PATCH] solver --- src/TSP_solver.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index 6a84541..b9eac91 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -20,9 +20,11 @@ class Solver_TSP: } available_improvements = {"2-opt": TwoOpt.loop2opt, - "2.5-opt": TwoDotFiveOpt.loop2dot5opt, - "simulated_annealing": Simulated_Annealing, - "iterated_local_search": Iterated_Local_Search} + "2.5-opt": TwoDotFiveOpt.loop2dot5opt} + + # , + # "simulated_annealing": Simulated_Annealing, + # "iterated_local_search": Iterated_Local_Search} def __init__(self, initializer): # self.available_methods = {"random": self.random_method, "nearest_neighbors": self.nn,