penalty fitness value not changing

2 次查看(过去 30 天)
Hi
i am using ga for a mixed integer nonlinear constrained problem. i have got this plot result . the penality fitness value is constant along the generations and the run was terminated at genration 50. what does it mean?? i want also to understand the fundmental meaning of penality fitness value and what is the shape of the plot for a feasable solution

回答(2 个)

Star Strider
Star Strider 2020-10-10
The penalty may not change.
In the options structure (in R2020b), I would use: 'PlotFcn',@gaplotbestf instead of whatever you are using. (I cannot tell what that is.)
  1 个评论
Nourhan Elsayed
Nourhan Elsayed 2020-10-25
Dear Star Strider
thank you for your reply
i'm already using 'PlotFcn',"gaplotbestf". but i am using MATLAB-R2019b
my quistion is about the reasone that penality function not changing. i think it supposed to, at least, show a little change at the begining because of the diveresity of population, but after moving form one generation to another, when the population improves twords the elit solution, the penality function maight not changing, but at least at the begining it should be changing and converging.
may be i missed something

请先登录,再进行评论。


Alan Weiss
Alan Weiss 2020-10-25
There may be only one feasible point that ga found.
Alan Weiss
MATLAB mathematical toolbox documentation

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by