Genetic Algorithm fitness function for failing parameters
Ältere Kommentare anzeigen
I'm attempting to analyse a strongly nonlinear system using GA. The fitness function evaluates a time-domain comparison between the modelled (estimated) and measured data, and sums the squared error across the duration of the signal. The model that runs uses an optimised/robust variation of Newton's method to solve the nonlinear behaviour, but some of the parameter settings can cause non-convergence, resulting in an Inf value being returned by the fitness function.
Ideally I would like to be able to discard this set of parameters and generate a new set (possibly repeatedly) that yields a working model, but I don't know how to change the population from the fitness function. The parameter set is not necessarily a bad set, just the combination of parameters yields a non-functioning model, and when this happens the parameters are seen as unfit, which is not necessarily true. The parameters are all bound to realistic regions.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!