Borrar filtros
Borrar filtros

Error miscalculation in GA model.

1 visualización (últimos 30 días)
Yuandong Wang
Yuandong Wang el 20 de Oct. de 2022
Comentada: Walter Roberson el 21 de Oct. de 2022
I have a genetic algorithm model. It records the optimized variables in every iteration and stores in an array. The array also contains the calculated error for every iteration. Most of the errors match their corresponding variable values, but there are always a few that do not. Why is that? How can I fix it? I have set rng to default for reproducibility. Thank you.
  1 comentario
Walter Roberson
Walter Roberson el 21 de Oct. de 2022
The values might not match if there is a constraint violation.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by