This commit is contained in:
UmbertoJr 2019-11-09 16:36:10 +01:00
parent 6b669952a2
commit 9a4b9af587

4
run.py
View file

@ -5,8 +5,8 @@ from time import time as t
def run(show_plots=False): def run(show_plots=False):
# names = [name_ for name_ in os.listdir("./problems") if "tsp" in name_] # names = [name_ for name_ in os.listdir("./problems") if "tsp" in name_]
names = ["eil76.tsp"] names = ["eil76.tsp", "kroA100.tsp"]
methods = Solver_TSP.available_methods.keys() #["random", "nearest_neighbors", "best_nn", ] methods = Solver_TSP.available_methods.keys()
results = [] results = []
index = [] index = []
for name in names: for name in names: