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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1462747/image.png)
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
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
2023 年 8 月 23 日
It is the solution that ga thinks is the global optimum.
2 件のコメント
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 Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!