MATLAB Answers

GA and nonlinear constraints stopping criteria

2 views (last 30 days)
Richard Heitz
Richard Heitz on 13 Jan 2012
Hi, I'm having some trouble with ga. without nonlinear constraints, I seem to have direct control of the stopping criteria; I can set number of generations, stallgenlimit, tolFun, etc. However, when I use nonlinear constraints, it is not transparent how to control the number of iterations. For instance, ga will often quit after only 3 populations, telling me that my stopping criteria have been met. I understand that the way it handles inner and outer problems are different, but how might I FORCE ga to do, say, 10 outer generations?


Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!