penalty value of matlab ga optimization

6 次查看(过去 30 天)
Using the MATLAB Global Optimization Toolbox for calculation, the trend of the penalty value's variation is consistently as follows:
The final output in the command-line window is:
Optimization terminated: average change in the penalty fitness value less than options.FunctionTolerance
and constraint violation is less than options.ConstraintTolerance.
IdleTimeout has been reached.
Is this result the global optimum? thank you very much!
  1 个评论
Stephen23
Stephen23 2023-8-23
"Is this result the global optimum?"
There is no optimization routine in existence that can reliably obtain "the global optimum" of any arbitrary function.

请先登录,再进行评论。

回答(1 个)

Matt J
Matt J 2023-8-23
It is the solution that ga thinks is the global optimum.
  2 个评论
binbin cao
binbin cao 2023-8-25
I just want to ask, why is it that no matter how I adjust the parameters, the mean value and the best value will never coincide in the end? Later on, their curves will become parallel to each other.
Stephen23
Stephen23 2023-8-25
编辑:Stephen23 2023-8-25
"the mean value and the best value will never coincide in the end?"
The sample populaton is randomly selected and randomly modified, see an explanation of GA here:
In general there is no reason to expect the mean and best values to coincide, no matter how long GA runs for.
By the way, you can easily find that page in the ALGORITHMS section of the GA documentation:

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by