Fitness function increases rather than decreasing with fmincon using hybrid Genetic Algorithm
1 回表示 (過去 30 日間)
古いコメントを表示
While running a hybrid GA with fmincon for minimising the objective function to 0. Once GA stops and fmincon starts. The fitness value in iteration as shown in figure instead of decreasing increases. GA achieves perfect solutions, but with fmincon usage approximate solution is obtained. I am using interior algorithm with central difference in fmincon. Note this code is related to my topic. For standard bencmark problems the process works just fine .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/338188/image.png)
0 件のコメント
採用された回答
Matt J
2020 年 7 月 28 日
This might happen if your objective has discontinuities or non-differentiabilities. Such functions are outside the scope of fmincon.
2 件のコメント
Matt J
2020 年 7 月 29 日
Is there anything which can be done to minimize further
Not if GA has already successfully brought you to the global minimum. If so, then there's no further to go.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Genetic Algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!