Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Optimization Toolbox

Solve linear, quadratic, integer, and nonlinear optimization problems

Optimization Toolbox™ provides functions for finding parameters that minimize or maximize objectives while satisfying constraints. The toolbox includes solvers for linear programming (LP), mixed-integer linear programming (MILP), quadratic programming (QP), nonlinear programming (NLP), constrained linear least squares, nonlinear least squares, and nonlinear equations. You can define your optimization problem with functions and matrices or by specifying variable expressions that reflect the underlying mathematics.

You can use the toolbox solvers to find optimal solutions to continuous and discrete problems, perform tradeoff analyses, and incorporate optimization methods into algorithms and applications. The toolbox lets you perform design optimization tasks, including parameter estimation, component selection, and parameter tuning. It can be used to find optimal solutions in applications such as portfolio optimization, resource allocation, and production planning and scheduling.

Getting Started

Learn the basics of Optimization Toolbox

Optimization Problem Setup

Choose solver, define objective function and constraints, compute in parallel

Nonlinear Optimization

Solve constrained or unconstrained nonlinear problems with one or more objectives, in serial or parallel

Linear Programming and Mixed-Integer Linear Programming

Solve linear programming problems with continuous and integer variables

Quadratic Programming

Solve problems with quadratic objectives and linear constraints

Least Squares

Solve least-squares (curve-fitting) problems

Systems of Nonlinear Equations

Find roots of sets of nonlinear equations in serial or parallel

Optimization Results

Understand solver outputs and improve results

Was this topic helpful?