- the value of the function is being improved, but only after more than the 4th digit, too small a change to show up on this limited display; or
- the algorithm is progressing by finding locations that violate constraints less . Generally speaking, the f(x) value that is accepted can even increase if the position would violate the constraints less than the previous position.
GA best f(x)/ mean f(x) don't change
5 ビュー (過去 30 日間)
古いコメントを表示
Nikolas Spiliopoulos
2018 年 4 月 6 日
コメント済み: Walter Roberson
2018 年 4 月 7 日
Hi all,
I'm using GA for optimization and my problem is that I'm getting the same best and mean value and it doesn't change after each generation (screenshot attached)
any ideas why?
I was thinking about crossover, mutation values but I'm not sure
many thanks
Nikolas
0 件のコメント
採用された回答
Walter Roberson
2018 年 4 月 6 日
When you see a constant mean or best, but the stall generations is 0, then the implication is that one of these two things is happening:
2 件のコメント
Walter Roberson
2018 年 4 月 7 日
You can use an output function; see https://www.mathworks.com/help/gads/custom-output-function-for-genetic-algorithm.html
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Direct Search についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!