GA cannot satisfy box constraint

2 visualizaciones (últimos 30 días)
Kai Liu
Kai Liu el 20 de Oct. de 2017
Comentada: Arvind Narayanan el 9 de Nov. de 2017
[nextx, mEI, exitflag] = ga(opt.crit, 4, [], [], [], [], [0.6 0.6 0.6 0.6], [6 6 6 6]);
I was running GA with only box constraint on the design variables. But I got the following error message:
Optimization terminated: average change in the fitness value less than options.FunctionTolerance.
Linear constraints are not satisfied within constraint tolerance.
For problems without integer constraints, the genetic algorithm solver handles linear constraints and bounds differently from nonlinear constraints. All the linear constraints and bounds are satisfied throughout the optimization.
Apparently, the bounds are not satisfied.
  1 comentario
Arvind Narayanan
Arvind Narayanan el 9 de Nov. de 2017
Did you try reducing the constraint tolerance and re-run the optimization?

Iniciar sesión para comentar.

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