GA cannot satisfy box constraint

1 Ansicht (letzte 30 Tage)
Kai Liu
Kai Liu am 20 Okt. 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 Kommentar
Arvind Narayanan
Arvind Narayanan am 9 Nov. 2017
Did you try reducing the constraint tolerance and re-run the optimization?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by