How to ask Matlab ga to continously regenerate individuals until they all satisfy user defined constraints prior to fitness evaluation
1 view (last 30 days)
Show older comments
Dear all,
I am currently using matlab ga to set up an optimisation process, with a FE solver used for fitness value calculation. In my model, the design variables of each individual must satisfy a nonlinear constraint to ensure the FE model being successfully built and running okay in the evaluation phase for all generations.
I then wrote an nonlinear constraint function to do this but I found that not all individuals satisfy the constraint I've defined. For intances, if the population size is 100, there might be only 20 individuals that satisfy the constarint. I therefore wonder if there would be a way to ask matlab ga to continously generate individual until all individuals in the population satisfy the user defined constraints or pre-checking functions?
Any help is appreciated.
0 Comments
Accepted Answer
More Answers (0)
See Also
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!