solver
This commit is contained in:
parent
4307fb2a3c
commit
2e245cf572
1 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue