Effacer les filtres
Effacer les filtres

GA is not available in Optimtool

4 vues (au cours des 30 derniers jours)
Zimran Rafique
Zimran Rafique le 23 Jan 2012
Commenté : Nandini Gupta le 3 Mai 2021
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

Réponses (3)

Seth DeLand
Seth DeLand le 23 Jan 2012
The genetic algorithm is part of the Global Optimization Toolbox, this warning leads me to believe you only have the Optimization Toolbox installed.
  1 commentaire
Nandini Gupta
Nandini Gupta le 3 Mai 2021
How to check if Global Optimization Toolbox is installed or not?

Connectez-vous pour commenter.


Frantisek Merka
Frantisek Merka le 16 Fév 2012
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 le 11 Mai 2012
Same problem here too, and I have just bought and installed the Global Optimization Toolkit.
  2 commentaires
Walter Roberson
Walter Roberson le 11 Mai 2012
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 le 11 Mai 2012
Oh yes, you need to restart MATLAB once after installing the new toolbox.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by