Issue with paretosearch optimisation

2 views (last 30 days)
salvor
salvor on 30 Jun 2019
Answered: Matt J on 1 Jul 2019
Good afternoon everyone,
I am running a MultiObjective Optimisation with Matlab using the Paretosearch algorithm. After 7 iterations, the optimisation stops as an error comes up regarding the dimensions of the fitness function. First, I don't understand why this error comes up after 7 iterations and not at the beginning. I am quite sure the fitness function is correct as I used it with other optimisation algorithms (gamultiobj) and it worked.
In addition, I don't know if this is connected with the error above but when I look at the results of each iteration once the optimisation has stopped, I have NaN for averagedistance and spread.
Could you please me suggest how it is best to proceed to solve this issue?
Thank you
Salvatore

Answers (1)

Matt J
Matt J on 1 Jul 2019
>> dbstop if caught error

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!