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

1 次查看(过去 30 天)
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
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 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