GA is not available in Optimtool

9 次查看(过去 30 天)
When I run the command optimtool ('ga')...I am getting the following error: Warning: GA is not available; starting OPTIMTOOL with FMINCON solver. Please tell me the solution for this problem

回答(3 个)

Seth DeLand
Seth DeLand 2012-1-23
The genetic algorithm is part of the Global Optimization Toolbox, this warning leads me to believe you only have the Optimization Toolbox installed.

Frantisek Merka
Frantisek Merka 2012-2-16
Hi, I have the same problem, optimtool('ga') with error Warning: GA is not available; starting OPTIMTOOL with FMINCON solver. But I have Global Optim. Toolbox installed. Doc ga and help ga found manuals and also edit ga found ga.m file. But I am unable to use ga funtion from command line i get: Undefined function 'ga' for input arguments of type 'function_handle'. I am using R2011b Campus license. Thank you.

Ramiro
Ramiro 2012-5-11
Same problem here too, and I have just bought and installed the Global Optimization Toolkit.
  2 个评论
Walter Roberson
Walter Roberson 2012-5-11
which -all ga
see if it reports that the function exists but that there is no license. Use
version
to see what is installed.
Use
license
to check licenses.
Walter Roberson
Walter Roberson 2012-5-11
Oh yes, you need to restart MATLAB once after installing the new toolbox.

请先登录,再进行评论。

类别

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