What Is Optimization Toolbox?
What Is Optimization Toolbox? What Is Optimization Toolbox?
optimsetPurposeSyntaxDescriptionOptionsCreate or edit optimization options structureoptions = optimset('param1',value1,'param2',value2,...)optimsetoptions = optimsetoptions = optimset(optimfun)options = optimset(oldopts,'param1',value1,...)options = optimset(oldopts,newopts)options = optimset('param1',value1,'param2',value2,...)creates an optimization options structure called options, inwhichthespecified options (param) have specified values. Any unspecified optionsare set to [] (options with value [] indicate to use the default value forthat option when you pass options to the optimization function). It issufficient to type only enough leading characters to define the optionname uniquely. Case is ignored for option names.optimset with no input or output arguments displays a complete listof options with their valid values.options = optimset (with no input arguments) creates an optionsstructure options where all fields are set to [].options = optimset(optimfun) creates an options structure optionswith all option names and default values relevant to the optimizationfunction optimfun.options = optimset(oldopts,'param1',value1,...) creates a copyof oldopts, modifying the specified options with the specified values.options = optimset(oldopts,newopts) combines an existing optionsstructure, oldopts, with a new options structure, newopts. Any optionsin newopts with nonempty values overwrite the corresponding oldoptions in oldopts.For more information about individual options, see the reference pagesfor the optimization functions that use these options. “OptimizationOptions” on page 6-8 provides descriptions of these options and whichfunctions use them.8-184
optimsetIn the following lists, values in { } denote the default value; some optionshave different defaults for different optimization functions and so novalues are shown in { }.You can also view the optimization options and defaults by typingoptimset at the command line.Optimization options used by both large-scale and medium-scalealgorithms:DerivativeCheckDiagnosticsDisplayFunValCheckGradObjJacobianLargeScaleMaxFunEvalsMaxIterOutputFcnPlotFcnsTolCon'on' |{'off'}'on' |{'off'}'off' | 'iter' |'final' |'notify'{'off'} |'on''on' |{'off'}'on' |{'off'}'on' |'off'. The default for fsolve is'off'. The default for all other functionsthat provide a large-scale algorithm is 'on'.Positive integerPositive integerfunction_handle | {[]}. Specifyoneormore (using a cell array of function handles)user-defined functions that an optimizationfunction calls at each iteration. See “OutputFunction” on page 6-16.function_handle | {[]}. Specifyoneormore (using a cell array of function handles)pre- or user-defined plot functions that anoptimization function calls at each iteration.See “Plot Functions” on page 6-25.Positive scalar8-185
- Page 417 and 418: linproglambdaoutput-2 No feasible p
- Page 419 and 420: linprogsubject toFirst, enter the c
- Page 421 and 422: linprogDiagnosticsLarge-Scale Optim
- Page 423 and 424: linprogthe primal objective < -1e+1
- Page 425 and 426: lsqcurvefitPurposeEquationSolve non
- Page 427 and 428: lsqcurvefitfunThe function you want
- Page 429 and 430: lsqcurvefitoutputupperUpper bounds
- Page 431 and 432: lsqcurvefitJacobianMaxFunEvalsMaxIt
- Page 433 and 434: lsqcurvefitJacobPatternMaxPCGIterSp
- Page 435 and 436: lsqcurvefitNote that at the time th
- Page 437 and 438: lsqcurvefitof J with many nonzeros,
- Page 439 and 440: lsqlinPurposeEquationSolve constrai
- Page 441 and 442: lsqlinlambdaoutput3 Change in the r
- Page 443 and 444: lsqlinDiagnosticsDisplayMaxIterTypi
- Page 445 and 446: lsqlinPrecondBandWidthUpper bandwid
- Page 447 and 448: lsqlinNotesFor problems with no con
- Page 449 and 450: lsqlinReferences[1] Coleman, T.F. a
- Page 451 and 452: lsqnonlinreturn a vector of values
- Page 453 and 454: lsqnonlinOutputArguments“Function
- Page 455 and 456: lsqnonlinalgorithm. See “Optimiza
- Page 457 and 458: lsqnonlinJacobMultFunction handle f
- Page 459 and 460: lsqnonlinfor(that is, F should have
- Page 461 and 462: lsqnonlinand Requirements on page 2
- Page 463 and 464: lsqnonnegPurposeEquationSolve nonne
- Page 465 and 466: lsqnonneglambdaoutputVector contain
- Page 467: optimgetPurposeSyntaxDescriptionExa
- Page 471 and 472: optimsetLineSearchType'cubicpoly' |
- Page 473 and 474: optimtoolPurposeSyntaxDescriptionTo
- Page 475 and 476: quadprogPurposeEquationSolve quadra
- Page 477 and 478: quadproglambdaoutput3 Change in the
- Page 479 and 480: quadprogLargeScaleUse large-scale a
- Page 481 and 482: quadprogTolPCGTermination tolerance
- Page 483 and 484: quadprogNotesIn general quadprog lo
- Page 485 and 486: quadprogWhen the equality constrain
- Page 487 and 488: IndexIndex ε-Constraint method 3-4
- Page 489 and 490: Indexinfeasible solution warninglin
- Page 491 and 492: Indexdescriptions 6-8possible value
optimsetIn the following lists, values in { } denote the default value; some optionshave different defaults for different optimization functions and so novalues are shown in { }.You can also view the optimization options and defaults by typingoptimset at the command line.<strong>Optimization</strong> options used by both large-scale and medium-scalealgorithms:DerivativeCheckDiagnosticsDisplayFunValCheckGradObjJacobianLargeScaleMaxFunEvalsMaxIterOutputFcnPlotFcnsTolCon'on' |{'off'}'on' |{'off'}'off' | 'iter' |'final' |'notify'{'off'} |'on''on' |{'off'}'on' |{'off'}'on' |'off'. The default for fsolve is'off'. The default for all other functionsthat provide a large-scale algorithm is 'on'.Positive integerPositive integerfunction_handle | {[]}. Specifyoneormore (using a cell array of function handles)user-defined functions that an optimizationfunction calls at each iteration. See “OutputFunction” on page 6-16.function_handle | {[]}. Specifyoneormore (using a cell array of function handles)pre- or user-defined plot functions that anoptimization function calls at each iteration.See “Plot Functions” on page 6-25.Positive scalar8-185