Main Content

Genetic Algorithm

Genetic algorithm solver for mixed-integer or continuous-variable optimization, constrained or unconstrained

Genetic algorithm solves smooth or nonsmooth optimization problems with any types of constraints, including integer constraints. It is a stochastic, population-based algorithm that searches randomly by mutation and crossover among population members.

Functions

expand all

optimvaluesCreate values for optimization problem (Since R2022a)
solveSolve optimization problem or equation problem
gaFind minimum of function using genetic algorithm
optimoptionsCreate optimization options
resetoptionsReset options

Live Editor Tasks

OptimizeOptimize or solve equations in the Live Editor (Since R2020b)

Topics

Problem-Based Genetic Algorithm

Genetic Algorithm Optimization Basics

Common Tuning Options

Mixed Integer Optimization

Specialized Tasks

Genetic Algorithm Background