This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Optimization Toolbox Functions - By Category

Alphabetical List By Category

Optimization Problem Setup

Choose a Solver

optimtoolSelect solver and optimization options, run problems

Set Options

optimoptionsCreate optimization options
optimsetCreate or edit optimization options structure
optimtoolSelect solver and optimization options, run problems
resetoptionsReset options

Nonlinear Optimization

Unconstrained Optimization

fminsearchFind minimum of unconstrained multivariable function using derivative-free method
fminuncFind minimum of unconstrained multivariable function

Constrained Optimization

fminbndFind minimum of single-variable function on fixed interval
fminconFind minimum of constrained nonlinear multivariable function
fseminfFind minimum of semi-infinitely constrained multivariable nonlinear function

Multiobjective Optimization

fgoalattainSolve multiobjective goal attainment problems
fminimaxSolve minimax constraint problem

Linear Programming and Mixed-Integer Linear Programming

Problem-Based Optimization

optimproblemCreate optimization problem
optimvarCreate optimization variables
showboundsDisplay variable bounds
showproblemDisplay optimization problem
showvarDisplay optimization variable
writeboundsSave description of variable bounds
writeproblemSave optimization problem description
writevarSave optimization variable description
optimconstrCreate empty optimization constraint array
optimexprCreate empty optimization expression array
showconstrDisplay optimization constraint
showexprDisplay optimization expression
writeconstrSave optimization constraint description
writeexprSave optimization expression description
evaluateEvaluate optimization expression
findindexFind numeric index equivalents of named index variables
infeasibilityConstraint violation at a point
prob2structConvert optimization problem to solver form
solveSolve optimization problem
OptimizationConstraintOptimization constraints
OptimizationExpressionObjective function or constraints
OptimizationProblemOptimization problem
OptimizationVariableVariable for optimization

Solver-Based Optimization

intlinprogMixed-integer linear programming (MILP)
linprogSolve linear programming problems
mpsreadRead MPS file for LP and MILP optimization data

Quadratic Programming

quadprogQuadratic programming

Least Squares

Linear Least Squares

lsqlinSolve constrained linear least-squares problems
lsqnonnegSolve nonnegative linear least-squares problem
mldivide, \Solve systems of linear equations Ax = B for x

Nonlinear Least Squares (Curve Fitting)

lsqcurvefitSolve nonlinear curve-fitting (data-fitting) problems in least-squares sense
lsqnonlinSolve nonlinear least-squares (nonlinear data-fitting) problems

Systems of Nonlinear Equations

fsolveSolve system of nonlinear equations
fzeroRoot of nonlinear function
Was this topic helpful?