Next: Nonlinear Programming
Defining, Solving, and Assessing Optimization Problems
Optimization Toolbox includes the most widely used methods for performing minimization and maximization. The toolbox implements both standard and large-scale algorithms, enabling you to solve problems by exploiting their sparsity or structure. You can access toolbox functions and solver options with the Optimization app or at the command line.
An optimization routine running at the command line (left) that calls MATLAB files defining the objective function (top right) and constraint equations (bottom right).
The Optimization Tool simplifies common optimization tasks. It enables you to:
- Select a solver and define an optimization problem
- Set and inspect optimization options and their default values for the selected solver
- Run problems and visualize intermediate and final results
- View solver-specific documentation in the optional quick reference window
- Import and export problem definitions, algorithm options, and results between the MATLAB® workspace and the Optimization Tool
- Automatically generate MATLAB code to capture work and automate tasks
- Access Global Optimization Toolbox solvers