Why I have the error Genetic algorithm script error no Global Optimization Toolbox ?
显示 更早的评论
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
2024-4-13
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!