How to ask Matlab ga to continously regenerate individuals until they all satisfy user defined constraints prior to fitness evaluation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
fei yu
el 7 de Mzo. de 2024
Comentada: fei yu
el 8 de Mzo. de 2024
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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!