ga

Genetic optimization code

Select category:

Genetic Algorithm

ga
Find minimum of function using genetic algorithm.
gaoptimset
Create genetic algorithm options structure.

Creation

gacreationuniform
Create a random initial population with a uniform distribution.

Fitness Scaling

fitscalingrank
Default fitness scaling function

Selection

selectionstochunif
Default selection function

Crossover

crossoverscattered
Default crossover function for problems without linear constraints

Mutation

mutationgaussian
Default mutation function

Utility

rastriginsfcn
Rastrigin's function.

Miscellaneous

test_ga
Execute all available tests at once.

Package: ga