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 Type | Default Solver |
---|---|
Linear Programming (LP) | linprog |
Mixed-Integer Linear Programming (MILP) | intlinprog |
Quadratic Programming (QP) | quadprog |
Second-Order Cone Programming (SOCP) | coneprog |
Linear Least Squares | lsqlin |
Nonlinear Least Squares | lsqnonlin |
Nonlinear Programming (NLP) | |
Mixed-Integer Nonlinear Programming (MINLP) | ga |
Multiobjective | gamultiobj |
Note
The call optimoptions(prob)
creates options for the default solver of
the problem type of prob
.
In this table, a check mark means the solver is available for the problem type, and an x means the solver is not available.
Problem Type | LP | MILP | QP | SOCP | Linear Least Squares | Nonlinear Least Squares | NLP | MINLP |
---|---|---|---|---|---|---|---|---|
Solver | ||||||||
linprog |
| x | x | x | x | x | x | x |
intlinprog |
|
| x | x | x | x | x | x |
quadprog |
| x |
|
|
| x | x | x |
coneprog |
| x | x |
| x | x | x | x |
lsqlin | x | x | x | x |
| x | x | x |
lsqnonneg | x | x | x | x |
| x | x | x |
lsqnonlin | x | x | x | x |
|
| x | x |
fminunc |
| x |
| x |
|
|
| x |
fmincon |
| x |
|
|
|
|
| x |
fminbnd | x | x | x | x |
|
|
| x |
fminsearch | x | x | x | x |
|
|
| x |
patternsearch |
| x |
|
|
|
|
| x |
ga |
|
|
|
|
|
|
|
|
particleswarm |
| x |
| x |
|
|
| x |
simulannealbnd |
| x |
| x |
|
|
| x |
surrogateopt |
|
|
|
|
|
|
|
|
gamultiobj |
|
|
|
|
|
|
|
|
paretosearch |
| x |
|
|
|
|
| x |
See Also
prob2struct
| solve
| optimoptions