Genetic Algorithm fitness function for failing parameters
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!