Increase max iterations for simulated annealing
This commit is contained in:
parent
baf6e40e15
commit
44d4cefa98
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue