What Is Optimization Toolbox?
What Is Optimization Toolbox? What Is Optimization Toolbox?
fgoalattainoutputupper Upper bounds ubineqlin Linear inequalitieseqlin Linear equalitiesineqnonlin Nonlinear inequalitieseqnonlin Nonlinear equalitiesStructure containing information about theoptimization. The fields of the structure areiterationsfuncCountalgorithmNumber of iterations takenNumber of function evaluationsAlgorithm usedOptionsOptimization options used by fgoalattain. Youcanuseoptimset toset or change the values of these fields in the options structure options.See “Optimization Options” on page 6-8 for detailed information.DerivativeCheckDiagnosticsDiffMaxChangeDiffMinChangeDisplayCompare user-supplied derivatives(gradients of objective or constraints) tofinite-differencing derivatives.Display diagnostic information aboutthe function to be minimized or solved.Maximum change in variables forfinite-difference gradients.Minimum change in variables forfinite-difference gradients.Level of display. 'off' displays nooutput; 'iter' displays output ateach iteration; 'notify' displaysoutput only if the function does notconverge;'final' (default) displaysjust the final output.8-20
fgoalattainFunValCheckGoalsExactAchieveGradConstrGradObjMaxFunEvalsMaxIterMaxSQPIterMeritFunctionOutputFcnCheck whether objective function andconstraints values are valid. 'on'displays an error when the objectivefunction or constraints return a valuethat is complex, Inf, orNaN. 'off'displays no error.Specifies the number of objectives forwhich it is required for the objective funto equal the goal goal. Suchobjectivesshould be partitioned into the first fewelements of F.Gradient for the constraints defined bythe user. See the preceding descriptionof nonlcon to see how to define thegradient in nonlcon.Gradient for the user-defined objectivefunction. See the preceding descriptionof fun to see how to define the gradientin fun.Maximum number of functionevaluations allowed.Maximum number of iterations allowed.Maximum number of SQP iterationsallowed.Use goal attainment/minimax meritfunction if set to 'multiobj'. Usefmincon meritfunctionifsetto'singleobj'.Specify one or more user-definedfunctions that an optimization functioncalls at each iteration. See “OutputFunction” on page 6-16.8-21
- Page 253 and 254: Optimization Tool ExamplesThe Aeq a
- Page 255 and 256: 6Argument and OptionsReferenceThis
- Page 257 and 258: Function ArgumentsInput Arguments (
- Page 259 and 260: Function ArgumentsInput Arguments (
- Page 261 and 262: Function ArgumentsOutput Arguments
- Page 263 and 264: Optimization OptionsOptimization Op
- Page 265 and 266: Optimization OptionsOptimization Op
- Page 267 and 268: Optimization OptionsOptimization Op
- Page 269 and 270: Optimization OptionsOptimization Op
- Page 271 and 272: Optimization Optionsspecifies Outpu
- Page 273 and 274: Optimization OptionsoptimValues Fie
- Page 275 and 276: Optimization OptionsoptimValues Fie
- Page 277 and 278: Optimization OptionsoptimValues Fie
- Page 279 and 280: Optimization OptionsStopping an Opt
- Page 281 and 282: 7Functions — By CategoryMinimizat
- Page 283 and 284: Least Squares (Curve Fitting)Least
- Page 285 and 286: Functions — AlphabeticalList8
- Page 287 and 288: intprogx = bintprog(f,A,b,Aeq,Beq,x
- Page 289 and 290: intprogBranchStrategyStrategy the a
- Page 291 and 292: intprog• Verifies that no better
- Page 293 and 294: intprogExampleTo minimize the funct
- Page 295 and 296: colorPurposeSyntaxDescriptionColumn
- Page 297 and 298: fgoalattainx = fgoalattain(fun,x0,g
- Page 299 and 300: fgoalattainfunThefunctiontobeminimi
- Page 301 and 302: fgoalattainfunction [c,ceq,GC,GCeq]
- Page 303: fgoalattainattainfactorexitflaglamb
- Page 307 and 308: fgoalattainExamplesConsider a linea
- Page 309 and 310: fgoalattainof overattainment is met
- Page 311 and 312: fgoalattainLimitationsReferencesThe
- Page 313 and 314: fminbndInputArguments“Function Ar
- Page 315 and 316: fminbndPlotFcnsPlots various measur
- Page 317 and 318: fminbndLimitationsReferencesThe fun
- Page 319 and 320: fminconx = fmincon(fun,x0,A,b) star
- Page 321 and 322: fminconfunThe function to be minimi
- Page 323 and 324: fminconthen the function nonlcon mu
- Page 325 and 326: fmincongradhessianlambdaoutputGradi
- Page 327 and 328: fminconthe values of these fields i
- Page 329 and 330: fminconHessianHessMultIf 'on', fmin
- Page 331 and 332: fminconPrecondBandWidth Upper bandw
- Page 333 and 334: fminconSince both constraints are l
- Page 335 and 336: fmincon• A dense (or fairly dense
- Page 337 and 338: fminconReferences[1] Coleman, T.F.
- Page 339 and 340: fminimaxx = fminimax(fun,x,A,b,Aeq,
- Page 341 and 342: fminimaxfunThe function to be minim
- Page 343 and 344: fminimaxIf nonlcon returns a vector
- Page 345 and 346: fminimaxlambdamaxfvaloutputStructur
- Page 347 and 348: fminimaxMeritFunctionMinAbsMaxOutpu
- Page 349 and 350: fminimaxx0 = [0.1; 0.1]; % Make a s
- Page 351 and 352: fminimax[3] Han, S.P., “A Globall
- Page 353 and 354: fminsearchInputArguments“Function
fgoalattainoutputupper Upper bounds ubineqlin Linear inequalitieseqlin Linear equalitiesineqnonlin Nonlinear inequalitieseqnonlin Nonlinear equalitiesStructure containing information about theoptimization. The fields of the structure areiterationsfuncCountalgorithmNumber of iterations takenNumber of function evaluationsAlgorithm usedOptions<strong>Optimization</strong> options used by fgoalattain. Youcanuseoptimset toset or change the values of these fields in the options structure options.See “<strong>Optimization</strong> Options” on page 6-8 for detailed information.DerivativeCheckDiagnosticsDiffMaxChangeDiffMinChangeDisplayCompare user-supplied derivatives(gradients of objective or constraints) tofinite-differencing derivatives.Display diagnostic information aboutthe function to be minimized or solved.Maximum change in variables forfinite-difference gradients.Minimum change in variables forfinite-difference gradients.Level of display. 'off' displays nooutput; 'iter' displays output ateach iteration; 'notify' displaysoutput only if the function does notconverge;'final' (default) displaysjust the final output.8-20