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 CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by