Increase max iterations for simulated annealing

This commit is contained in:
coolneng 2021-06-22 09:58:42 +02:00
parent baf6e40e15
commit 44d4cefa98
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from argparse import ArgumentParser
def execute_algorithm(args, n, m, data): def execute_algorithm(args, n, m, data):
if args.algorithm == "annealing": if args.algorithm == "annealing":
return simulated_annealing(n, m, data, max_iterations=100) return simulated_annealing(n, m, data, max_iterations=1000)
return multistart_local_search(n, m, data) return multistart_local_search(n, m, data)