关于用遗传算法寻求全局最优解的疑问。

1 view (last 30 days)
N/A
N/A on 21 Nov 2022
最近尝试用matlab 自带的ga函数对有约束的一个多变量的目标函数进行优化时,发现尽管算法的运行时间很短,但几乎都收敛不到我想要的全局最优解,往往陷入一个局部的最优解时就终止了 message: 'Optimization terminated: average change in the fitness value less than options.TolFun.' 即使增加population size 和 generation ,好比说分别设为 1000 和 100 ,也没有太大改善。请问对于这种情况,有什么办法可以改进以得到全局的最优解?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!