You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the following lines, I'm wondering why you passed new_nest to empty_nests ??
I checked the original code in Matlab they passed nest
new_nest=get_cuckoos(nest,bestnest,lb,ub,n,dim)
# Evaluate new solutions and find best
fnew,best,nest,fitness=get_best_nest(nest,new_nest,fitness,n,dim,objf)
new_nest=empty_nests(new_nest,pa,n,dim) ;
Here is Matlab code:
% Generate new solutions (but keep the current best)
new_nest=get_cuckoos(nest,bestnest,Lb,Ub);
[fnew,best,nest,fitness]=get_best_nest(nest,new_nest,fitness);
% Update the counter
N_iter=N_iter+n;
% Discovery and randomization
new_nest=empty_nests(nest,Lb,Ub,pa) ;
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for your repo.
According to the following lines, I'm wondering why you passed
new_nest
toempty_nests
??I checked the original code in Matlab they passed
nest
Here is Matlab code:
The text was updated successfully, but these errors were encountered: