[Global Optimization Toolbox] How does nonlinear constraint influence the population number in GA?
Show older comments
After adding a nonlinear constraint to the optimization problem and defining the population size of 100, I got f-count=5200 after 1 iteration. For the case of population size of 200 I got f-count=10400 after 1 iteration. In the no-constraint case I got f-count=200 for population=100 and f-count=400 for population=200.
Answers (1)
Alan Weiss
on 4 Sep 2012
The population size does not change with the existence of nonlinear constraints, but the algorithm does. Look at the penultimate line in the algorithm description:
Each subproblem solution represents one generation. The number of function evaluations per generation is therefore much higher when using nonlinear constraints than otherwise.
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Surrogate Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!