solver
This commit is contained in:
parent
ed270740c5
commit
57c7702f6b
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ class Solver_TSP:
|
|||
}
|
||||
|
||||
available_improvements = {"2-opt": TwoOpt.loop2opt,
|
||||
"2.5-opt": TwoDotFiveOpt.loop2dot5opt}
|
||||
"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,
|
||||
|
|
Reference in a new issue