There are two approaches to using Optimization Toolbox™ solvers: problem-based and solver-based. Before you start, choose the approach.
Presents an example that minimizes a nonlinear function with a nonlinear constraint.
Linear problem formulation using the problem-based approach.
Problem formulation using the solver-based approach.
Set your options or run your optimization visually.
Introduces optimization as a way of finding a set of parameters that can be defined as optimal. These parameters are obtained by minimizing or maximizing an objective function, subject to equality or inequality constraints and/or parameter bounds.
What is an optimization solver?
Explains why solvers might not find the smallest minimum.