Borrar filtros
Borrar filtros

Problem with Genetic Algorithm

3 visualizaciones (últimos 30 días)
MHz
MHz el 29 de Mzo. de 2013
I use Genetic Algorithm for optimization of 6 parameters and they limited between 0-100 with Lower and Upper bounds in constrains but in running time it's also setting a negetive number(out of that range)!Why it's occure?

Respuesta aceptada

Alan Weiss
Alan Weiss el 29 de Mzo. de 2013
It is possible that you aren't setting bounds on all components. See the documentation of bounds.
For example, your lower bounds should be zeros(6,1), and your upper bounds should be 100*ones(6,1).
Alan Weiss
MATLAB mathematical toolbox documentation

Más respuestas (0)

Categorías

Más información sobre Genetic Algorithm 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