what is optimization toolbox? video -凯发k8网页登录
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, either programmatically or with an app. alternatively, you can use expressions of optimization variables that reflect the underlying mathematics. you can use automatic differentiation of objective and constraint functions for faster and more accurate solutions.
optimization toolbox™ provides solvers for finding a maximum or a minimum of an objective function subject to constraints. this enables you to find optimal designs, minimize risk for financial applications, optimize decision making, and estimate parameters.
you can use the problem-based approach to define the optimization variables and their bounds, set the objective, and then solve. on this problem, the solve function recognizes the problem is nonlinear, applies a nonlinear solver, and uses automatic differentiation for faster gradient evaluations.
optimization problems often have sets of variables or constraints like in this production planning problem. you can define arrays of optimization variables and constraints, and index with numbers or strings, resulting in readable and compact representations of large problems.
you can use the problem-based approach even when some functions are not naturally expressed as optimization expressions. this problem’s objective function requires solving an ode. we can convert this to an optimization expression and use it in the problem to be optimized.
you can add integer constraints to linear problems involving variables which must take on integer values. this includes when the variables represent a yes or no decision, like whether a process is assigned to a processor in this scheduling example.
in addition to solvers for nonlinear, linear, and mixed-integer linear programs, optimization toolbox includes specialized solvers for quadratic programs, second-order cone programs, multiobjective, and linear and nonlinear least squares.
you can quickly solve large and sparse problems with thousands of variables. here, a quadratic problem with over 40,000 variables is solved in around thirty seconds.
as an alternative to the problem-based approach, you can use optimization toolbox with the solver-based approach. after representing your objectives and constraints as matlab functions and matrices, the optimize live task helps guide you through this approach by indicating where to select a solver and insert your predefined matlab constructs.
optimization toolbox works in conjunction with other matlab® tools. you can accelerate numerical gradient calculations using parallel computing toolbox™.
you can compile your applications into apps or libraries with matlab compiler™ and matlab compiler sdk™.
you can generate portable and readable c/c code to solve your optimization problems using matlab coder™. use this code to deploy applications to enterprise and embedded systems.
for more information, return to the optimization toolbox page or choose a link below.
featured product
optimization toolbox
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)