Main Content

Solver-Based Nonlinear Optimization

Solve nonlinear minimization and semi-infinite programming problems in serial or parallel using the solver-based approach

Before you begin to solve an optimization problem, you must choose the appropriate approach: problem-based or solver-based. For details, see First Choose Problem-Based or Solver-Based Approach.

For problem setup, see Solver-Based Optimization Problem Setup.


fminbndFind minimum of single-variable function on fixed interval
fminconFind minimum of constrained nonlinear multivariable function
fminsearchFind minimum of unconstrained multivariable function using derivative-free method
fminuncFind minimum of unconstrained multivariable function
fseminfFind minimum of semi-infinitely constrained multivariable nonlinear function
checkGradientsCheck first derivative function against finite-difference approximation (Since R2023b)
optim.coder.infboundInfinite bound support for code generation (Since R2022b)

Live Editor Tasks

OptimizeOptimize or solve equations in the Live Editor (Since R2020b)


Unconstrained Solver-Based Applications

Constrained Solver-Based Applications

Code Generation

Semi-Infinite Constraints

Parallel Computing

Simulation or ODE

Algorithms and Other Theory