Borrar filtros
Borrar filtros

Fitness function increases rather than decreasing with fmincon using hybrid Genetic Algorithm

1 visualización (últimos 30 días)
While running a hybrid GA with fmincon for minimising the objective function to 0. Once GA stops and fmincon starts. The fitness value in iteration as shown in figure instead of decreasing increases. GA achieves perfect solutions, but with fmincon usage approximate solution is obtained. I am using interior algorithm with central difference in fmincon. Note this code is related to my topic. For standard bencmark problems the process works just fine .

Respuesta aceptada

Matt J
Matt J el 28 de Jul. de 2020
This might happen if your objective has discontinuities or non-differentiabilities. Such functions are outside the scope of fmincon.
  2 comentarios
Ankur Shah
Ankur Shah el 29 de Jul. de 2020
Editada: Ankur Shah el 29 de Jul. de 2020
Hey Matt,
It might be an issue. When using GA with fminunc and even fminsearch, both the functions can't decrease the fitness function any further than that by GA. Is there anything which can be done to minimize further?
Matt J
Matt J el 29 de Jul. de 2020
Is there anything which can be done to minimize further
Not if GA has already successfully brought you to the global minimum. If so, then there's no further to go.

Iniciar sesión para comentar.

Más respuestas (0)

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!

Translated by