Types of Objective Functions
Many Optimization Toolbox™ solvers minimize a scalar function of a multidimensional vector. The objective function is the function the solvers attempt to minimize. Several solvers accept vector-valued objective functions, and some solvers use objective functions you specify by vectors or matrices.
Objective Type | Solvers | How to Write Objectives |
---|---|---|
Scalar |
| Writing Scalar Objective Functions |
Nonlinear least squares |
| Writing Vector and Matrix Objective Functions |
Multivariable equation solving |
| |
Multiobjective |
| |
Linear programming |
| Writing Objective Functions for Linear or Quadratic Problems |
Mixed-integer linear programming |
| |
Linear least squares |
| |
Quadratic programming |
|