optimoptions ga error - "Invalid solver specified"
44 次查看(过去 30 天)
显示 更早的评论
Hello,
I am getting "invalid solve specified" when trying to use optimoptions to set options for the genetic algorithm. I simply put to check if I could get anything:
optimoptions('ga') and optimoptions(@ga)
Can anyone direct me on what I am supposed to put for the solver name to use genetic algortihm please?
Thank you.
0 个评论
采纳的回答
Matt J
2019-10-28
That might happen if you have attempted this on a new Matlab installation which doesn't have the Global Optimization Toolbox installed.
更多回答(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!