How to set the values for the options in genetic algorithm toolbox?

Hello, I am trying to solve a nonlinear constrained optimization problem using genetic algorithm solver. The problem includes 22 variables, each of whose bounds are defined. Can you please help in providing the solver options such as the population size, crossover probability, migration probability, generations, stall generations, etc.?

Answers (1)

Why do you need to set any options? Get the program to work, and then, if the default options don't give you a satisfactory solution, tune the options then.
For examples, see Common Tuning Options in the ga documentation.
Alan Weiss
MATLAB mathematical toolbox documentation

Asked:

on 17 Nov 2015

Answered:

on 17 Nov 2015

Community Treasure Hunt

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

Start Hunting!