[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:
$$\underset{p}{\text{min}}F(p)\text{subjectto}\{\begin{array}{l}{C}_{leq}(p)\le 0\hfill \\ {C}_{eq}(p)=0\hfill \\ A\times p\le B\hfill \\ {A}_{eq}\times p=Beq\hfill \\ lb\le p\le ub\hfill \end{array}$$
where
F — Cost (objective)
p — Design variable
C_{leq}, C_{eq} — Nonlinear inequality and equality constraints
A, B — Linear inequality constraints
A_{eq}, B_{eq} — 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 (Optimization Toolbox) 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.