penalty fitness value not changing

조회 수: 2 (최근 30일)
Nourhan Elsayed
Nourhan Elsayed 2020년 10월 9일
답변: Alan Weiss 2020년 10월 25일
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