Main Content

Get Started withOptimization Toolbox

Solve linear, quadratic, conic, 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), second-order cone programming (SOCP), 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 automatic differentiation of objective and constraint functions for faster and more accurate solutions.

您可以使用工具箱求解器来查找连续和离散问题的最佳解决方案,执行权衡分析,并将优化方法纳入算法和应金宝搏官方网站用程序。工具箱允许您执行设计优化任务,包括参数估计,组件选择和参数调整。它使您可以在产品组合优化,能源管理和交易等应用中找到最佳解决方金宝搏官方网站案,以及生产计划。

Tutorials

About Optimization

  • Optimization Theory Overview

    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.

  • Optimization Toolbox Solvers

    Descriptions of optimization solvers.

  • Local vs. Global Optima

    Explains why solvers might not find the smallest minimum.