Why I have the error Genetic algorithm script error no Global Optimization Toolbox ?

20 ビュー (過去 30 日間)
Rigo ZOO
Rigo ZOO 2024 年 4 月 13 日 5:58
回答済み: Star Strider 2024 年 4 月 13 日 10:37
Hi All,
I'm using a student license for genetic algorithm, when I run my script I have the message below, the student version don't have the Global Optimization Toolbox?
'gamultiobj' requires Global Optimization Toolbox.
Error in main (line 7)
[x,fval,exitflag,output] = gamultiobj(fun,nvars,A,b,Aeq,beq,lb,ub,nonlcon);

回答 (1 件)

Star Strider
Star Strider 2024 年 4 月 13 日 10:37
You have to license, download and install the Global Optimization Toolbox. There is no separate license for gamultobj.
You might have downloaded a File Exchange contribution, however this is not the same as the Global Optimization Toolbox, and may run entirely independently of it.

カテゴリ

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