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
댓글 수: 0
답변 (3개)
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.
댓글 수: 1
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.
댓글 수: 0
Ramiro
2012년 5월 11일
Same problem here too, and I have just bought and installed the Global Optimization Toolkit.
댓글 수: 2
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
2012년 5월 11일
Oh yes, you need to restart MATLAB once after installing the new toolbox.
참고 항목
카테고리
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!