Choose a Solver

Choose the most appropriate solver and algorithm

Choose the solver or solvers that are most appropriate for your problem. For help choosing, consult the Table for Choosing a Solver and Global Optimization Toolbox Solver Characteristics.


gaFind minimum of function using genetic algorithm
gamultiobjFind Pareto front of multiple fitness functions using genetic algorithm
paretosearchFind points in Pareto set
particleswarmParticle swarm optimization
patternsearchFind minimum of function using pattern search
simulannealbndFind minimum of function using simulated annealing algorithm
surrogateoptSurrogate optimization for global minimization of time-consuming objective functions


GlobalSearchFind global minimum
MultiStartFind multiple local minima

Live Editor Tasks

OptimizeOptimize or solve equations in the Live Editor


Table for Choosing a Solver

Recommended solvers for smooth and nonsmooth problems.

Global Optimization Toolbox Solver Characteristics

Describes solvers and their appropriate problem domains.

Optimization Workflow

How to find a local or global optimum.