What is penalty value in GA

16 次查看(过去 30 天)
SeungJu Choi
SeungJu Choi 2022-1-6
Hello,
I am a student who is using optimization MATLAB GA toolbox.
Now I'm doing binary optimization include nonlinear constraints.
But, I have ask you something and several problems are occurring in my code.
First, when I plotting a graph, I can see the generation-penalty value(G-P) graph. In here, what is a meaning of penalty value?
It is same function value? (The function value I mean refers to the value of the objective function)
Second, when I look at the G-P graph(below the picture) I got, there is a ridiculous value(it means penalty value) in the previous generation.
Is this a normal?
If that is normal, then why does the front part of generation come out like that?

回答(1 个)

Alan Weiss
Alan Weiss 2022-1-7
The documentation describes the penalty value.
As for the lower-left portion of the plot, these points are infeasible. Once ga finds a feasible point, the penalty value changes. See the description of the penalty value.
Alan Weiss
MATLAB mathematical toolbox documentation

类别

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

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by