Main Content

遗传算法

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

optimvalues Create values for optimization problem
solve Solve optimization problem or equation problem
ga Find minimum of function using genetic algorithm
optimoptions Create optimization options
resetoptions Reset options

Live Editor Tasks

Optimize Optimize or solve equations in the Live Editor

Topics

Problem-Based Genetic Algorithm

遗传算法Optimization Basics

Common Tuning Options

Mixed Integer Optimization

Specialized Tasks

遗传算法Background