Issue with paretosearch optimisation

2 visualizzazioni (ultimi 30 giorni)
salvor
salvor il 30 Giu 2019
Risposto: Matt J il 1 Lug 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

Risposte (1)

Matt J
Matt J il 1 Lug 2019
>> dbstop if caught error

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by