GA best f(x)/ mean f(x) don't change

3 visualizaciones (últimos 30 días)
Nikolas Spiliopoulos
Nikolas Spiliopoulos el 6 de Abr. de 2018
Comentada: Walter Roberson el 7 de Abr. de 2018
Hi all,
I'm using GA for optimization and my problem is that I'm getting the same best and mean value and it doesn't change after each generation (screenshot attached)
any ideas why?
I was thinking about crossover, mutation values but I'm not sure
many thanks
Nikolas

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Abr. de 2018
When you see a constant mean or best, but the stall generations is 0, then the implication is that one of these two things is happening:
  1. the value of the function is being improved, but only after more than the 4th digit, too small a change to show up on this limited display; or
  2. the algorithm is progressing by finding locations that violate constraints less . Generally speaking, the f(x) value that is accepted can even increase if the position would violate the constraints less than the previous position.
  2 comentarios
Nikolas Spiliopoulos
Nikolas Spiliopoulos el 7 de Abr. de 2018
ok thanks! is there any way to see more than to digits?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Direct Search en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by