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

fix call of compute tau

parent 7eaea4da
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def ACO(Me, NbP, comm, alpha, rho, Q, nb_ants, tau_0, n_iter, n1=256, n2=256, n3
comm.Gather(costs, all_costs, root=0)
if Me == 0:
tau, best_p, best_cost = compute_tau.compute_tau(tau, all_paths, all_costs, Q, rho, n1, n2, n3, nb_threads, reps)
tau, best_p, best_cost = compute_tau.compute_tau(tau, all_paths, all_costs, Q, rho, n1, n2, n3)
if best_cost < cost_opti:
cost_opti = best_cost
path_opti = best_p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment