Package: sdo
Design optimization problem solution
[param_opt,opt_info] = sdo.optimize(opt_fcn,param)
[param_opt,opt_info] = sdo.optimize(opt_fcn,param,options)
[param_opt,opt_info] = sdo.optimize(prob)
[
uses param_opt
,opt_info
] = sdo.optimize(opt_fcn
,param
)fmincon
(the default optimization method)
to solve a design optimization problem of the form:
where
F — Cost (objective)
p — Design variable
Cleq, Ceq — Nonlinear inequality and equality constraints
A, B — Linear inequality constraints
Aeq, Beq — Linear equality constraints
lb, ub — Upper and lower bounds on p
[
specifies
the optimization options. For parameter estimation, you typically
use the Nonlinear Least Squares method:param_opt
,opt_info
] = sdo.optimize(opt_fcn
,param
,options
)
opts = sdo.OptimizeOptions('Method','lsqnonlin');
[
uses
a structure that contains the function to be minimized, design variables
and optimization options.param_opt
,opt_info
] = sdo.optimize(prob
)
|
Cost function to be minimized. The optimization solver calls this function during optimization. The function requires:
For an example, type |
|
A |
|
Optimization options.
|
|
Structure with the following fields:
|
|
A |
|
Optimization information. Structure with one or more of the following fields:
|
By default, the software displays the optimization information for each iteration in the MATLAB® command window. To learn more about the information displayed, see:
Iterative Display when the optimization method is
specified as 'fmincon'
(default), 'fminsearch'
,
or 'lsqnonlin'
Display to Command Window Options (Global Optimization Toolbox) when the optimization
method is specified as 'patternsearch'
You can configure the level of this display using the MethodOptions.Display
property
of an optimization option set.