How to plot GA best value over Generations?
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello everybody,
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, ...
simple_constraint,IntCon,options);
Thank you very much in advance!
댓글 수: 0
답변 (1개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!