What Is Optimization Toolbox?

What Is Optimization Toolbox? What Is Optimization Toolbox?

cda.psych.uiuc.edu
from cda.psych.uiuc.edu More from this publisher
12.07.2015 Views

fminconGradObjMaxFunEvalsMaxIterOutputFcnPlotFcnsTolFunGradient for the objective function defined bythe user. See the preceding description of funto see how to define the gradient in fun. Youmust provide the gradient to use the large-scalemethod. It is optional for the medium-scalemethod.Maximum number of function evaluationsallowed.Maximum number of iterations allowed.Specify one or more user-defined functions thatan optimization function calls at each iteration.See “Output Function” on page 6-16.Plots various measures of progress while thealgorithm executes, select from predefined plotsor write your own. Specifying @optimplotx plotsthe current point; @optimplotfunccount plotsthe function count; @optimplotfval plots thefunction value; @optimplotconstrviolationplots the maximum constraint violation;@optimplotstepsize plots the step size;@optimplotfirstorderopt plots the first-orderof optimality.Termination tolerance on the function value.TolConTermination tolerance on the constraintviolation.TolX Termination tolerance on x.TypicalXTypical x values.Large-Scale Algorithm OnlyThese options are used only by the large-scale algorithm:8-44

fminconHessianHessMultIf 'on', fmincon uses a user-defined Hessian(defined in fun), or Hessian information (whenusing HessMult), for the objective function. If'off', fmincon approximates the Hessian usingfinite differences.Function handle for Hessian multiply function.For large-scale structured problems, this functioncomputes the Hessian matrix product H*Ywithout actually forming H. The function is ofthe formW = hmfun(Hinfo,Y,p1,p2,...)where Hinfo and possibly the additionalparameters p1,p2,... contain the matrices usedto compute H*Y.The first argument must be the same as the thirdargument returned by the objective function fun,for example by[f,g,Hinfo] = fun(x)8-45

fminconGradObjMaxFunEvalsMaxIterOutputFcnPlotFcnsTolFunGradient for the objective function defined bythe user. See the preceding description of funto see how to define the gradient in fun. Youmust provide the gradient to use the large-scalemethod. It is optional for the medium-scalemethod.Maximum number of function evaluationsallowed.Maximum number of iterations allowed.Specify one or more user-defined functions thatan optimization function calls at each iteration.See “Output Function” on page 6-16.Plots various measures of progress while thealgorithm executes, select from predefined plotsor write your own. Specifying @optimplotx plotsthe current point; @optimplotfunccount plotsthe function count; @optimplotfval plots thefunction value; @optimplotconstrviolationplots the maximum constraint violation;@optimplotstepsize plots the step size;@optimplotfirstorderopt plots the first-orderof optimality.Termination tolerance on the function value.TolConTermination tolerance on the constraintviolation.TolX Termination tolerance on x.TypicalXTypical x values.Large-Scale Algorithm OnlyThese options are used only by the large-scale algorithm:8-44

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!