Main Content

Global Optimization Toolbox Default Solvers and Problem Types

This topic identifies the types of problems handled by Global Optimization Toolbox solvers, and the default solver selected by solve or prob2struct for each type.

Problem TypeDefault Solver
Linear Programming (LP)linprog
Mixed-Integer Linear Programming (MILP)intlinprog
Quadratic Programming (QP)quadprog
Second-Order Cone Programming (SOCP)coneprog
Linear Least Squareslsqlin
Nonlinear Least Squareslsqnonlin
Nonlinear Programming (NLP)

fminunc for problems with no constraints, otherwise fmincon

Mixed-Integer Nonlinear Programming (MINLP)ga
Multiobjectivegamultiobj

Note

The call optimoptions(prob) creates options for the default solver of the problem type of prob.

In this table, a check mark Yes means the solver is available for the problem type, and an x means the solver is not available.

Problem Type

LPMILPQPSOCPLinear Least SquaresNonlinear Least SquaresNLPMINLP
Solver
linprog

Yes

xxxxxxx
intlinprog

Yes

Yes

xxxxxx
quadprog

Yes

x

Yes

Yes

Yes

xxx
coneprog

Yes

xx

Yes

xxxx
lsqlinxxxx

Yes

xxx
lsqnonnegxxxx

Yes

xxx
lsqnonlinxxxx

Yes

Yes

xx
fminunc

Yes

x

Yes

x

Yes

Yes

Yes

x
fmincon

Yes

x

Yes

Yes

Yes

Yes

Yes

x
fminbndxxxx

Yes

Yes

Yes

x
fminsearchxxxx

Yes

Yes

Yes

x
patternsearch

Yes

x

Yes

Yes

Yes

Yes

Yes

x
ga

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

particleswarm

Yes

x

Yes

x

Yes

Yes

Yes

x
simulannealbnd

Yes

x

Yes

x

Yes

Yes

Yes

x
surrogateopt

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

gamultiobj

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

paretosearch

Yes

x

Yes

Yes

Yes

Yes

Yes

x

See Also

| |

Related Topics