diff --git a/Appli-iso3dfd/ACO.py b/Appli-iso3dfd/ACO.py index 702be90147c4798284122c1bea647186086c8c8a..4cd49ecd31ce67ae0522676e647a046ac3634585 100644 --- a/Appli-iso3dfd/ACO.py +++ b/Appli-iso3dfd/ACO.py @@ -72,7 +72,7 @@ def ACO(Me, NbP, comm, alpha, rho, Q, nb_ants, tau_0, n_iter, n1_max=256, n2_max paths = np.array(paths, dtype="int32") costs = np.array(costs, dtype="float64") - if fancy_strategy == 'AS' or fancy_strategy == 'ElitistAS': + if fancy_strategy == 'AS' or fancy_strategy == 'ElitistAS' or fancy_strategy == 'crazy': #we initialize the best path with the ants already in this process best_cost = np.amin(costs) best_p = paths[np.argmin(costs), :]