I have finished Masters in evolutionary computation. I have published a research paper on a new technique for Bacterial Foraging Oriented by Particle Swarm
Optimization Strategy for PID Tuning(support with money)
@Sayan, the NaN as an error goal just tells the program to have no goal, in other words just minimize as much as possible with no target in mind. The commented code line right before that isn't a comment explaining the code, it's code that was commented out. Sorry, sloppy I know, and this is due for a major update.
This is a great PSO toolbox. But can anyone please help me out in the folowing problem:
In DemoPSOBehavior.m file at lines 89 - 95 I see
% errgoal=0.97643183; % max for f6 function (close enough for termination)
% errgoal=0; % min
errgoal=NaN; <------ Will it be 0 ?