How to plot GA best value over Generations?
10 views (last 30 days)
If I plot the ga with 'gaplotbestf', I get the ' best penalty value' and 'mean penalty value' in one chart. What does the 'mean penalty value' stand for?
Is it possible to plot just the 'best penalty value'?
options = optimoptions('ga','PlotFcn','gaplotbestf','MaxGenerations',100);
[x,fval,exitflag,output,population,scores] = ga(ObjectiveFunction,nvars,,,,,LB,UB, ...
Thank you very much in advance!