penalty fitness value not changing

2 Ansichten (letzte 30 Tage)
Nourhan Elsayed
Nourhan Elsayed am 9 Okt. 2020
Beantwortet: Alan Weiss am 25 Okt. 2020
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

Antworten (2)

Star Strider
Star Strider am 10 Okt. 2020
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 Kommentar
Nourhan Elsayed
Nourhan Elsayed am 25 Okt. 2020
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

Melden Sie sich an, um zu kommentieren.


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

Community Treasure Hunt

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

Start Hunting!

Translated by