Genetic Algorithm

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

Problem-Based Solution

optimvalues Create values for optimization problem (Since R2022a)
solve Solve optimization problem or equation problem

Solver

ga Find minimum of function using genetic algorithm

Options

optimoptions Create optimization options
resetoptions Reset options

Live Editor Tasks

Optimize Optimize 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