multiobjective ga tolfun error

1 view (last 30 days)
VISHNUPRIYA M S
VISHNUPRIYA M S on 16 Apr 2019
Edited: Torsten on 16 Apr 2019
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 Comment
Torsten
Torsten on 16 Apr 2019
Edited: Torsten on 16 Apr 2019
Not an error message, but a message of successful termination:
https://de.mathworks.com/help/gads/examples/multiobjective-genetic-algorithm-options.html

Sign in to comment.

Answers (0)

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!