optimoptions ga error - "Invalid solver specified"

12 ビュー (過去 30 日間)
Mo Jay
Mo Jay 2019 年 10 月 28 日
コメント済み: Mo Jay 2019 年 10 月 28 日
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.

採用された回答

Matt J
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.
  1 件のコメント
Mo Jay
Mo Jay 2019 年 10 月 28 日
Yes I have checked Global Optimization Toolbox is installed, everything there! I have realised it is due to me being in MATLAB 2015b. THank you :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by