multiobjective ga tolfun error

Aeq = [1 0 0 0 0 0 0 0 0 0 1 0 0 0 0;
0 1 0 0 0 0 0 0 0 0 -1 1 0 0 0;
0 0 1 0 0 0 0 0 0 0 0 -1 1 0 0;
0 0 0 1 0 0 0 0 0 0 0 0 -1 1 0;
0 0 0 0 1 0 0 0 0 0 0 0 0 -1 1];
beq = [2924; 230; 410; 493; 370];
lb = [0 0 0 0 0 277 277 277 277 277 2500 2500 2500 2500 2500];
ub = [1500 1500 1500 1500 1500 299 299 299 299 299 3737 3737 3737 3737 3737];
fitnessfcn = @(x)[ max(x(1:5)), max(x(6:10))];
nvars = 15;
x = gamultiobj(fitnessfcn,nvars,[],[],Aeq,beq,lb,ub,options);
Optimization terminated: average change in the spread of Pareto solutions less than options.FunctionTolerance.
I am getting this error. How to overcome this?
I need to draw pareto front also pls help

1 个评论

Torsten
Torsten 2019-4-16
编辑:Torsten 2019-4-16
Not an error message, but a message of successful termination:
https://de.mathworks.com/help/gads/examples/multiobjective-genetic-algorithm-options.html

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Multiobjective Optimization 的更多信息

产品

版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by