Skip to content
Snippets Groups Projects
Commit 9f9f0da5 authored by Matthieu Oberon's avatar Matthieu Oberon
Browse files

add fancy stategy to variables

parent 8bdd6fa6
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ if __name__ == "__main__":
nb_ants = 2
tau_0 = Q*100
n_iter = 1
fancy_strategy = "AS"
# Parameters for compilation and execution of iso3dfd
nb_threads = 8
......@@ -145,7 +146,7 @@ if __name__ == "__main__":
comm.Barrier()
path_opti, cost_opti = ACO(Me, NbP, comm, alpha, rho, Q, nb_ants, tau_0, n_iter,
n1=n1, n2=n2, n3=n3, fancy_strategy='AS',
n1=n1, n2=n2, n3=n3, fancy_strategy=fancy_strategy,
nb_threads=nb_threads, reps=reps)
if Me == 0:
print(f"Le chemin optimal est {path_opti}.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment