Skip to Main Content Skip to Search
Product Documentation

Edit Optimization Parameters

Overview of the Optimization Parameters Dialog Box

The settings in the Optimization Parameters dialog box are algorithm specific.

If you edit these settings and later want to return to the defaults, select Optimization > Reset Parameters. If you add parameters to user-defined optimization scripts, you may need to use this reset option to make all new parameters appear in the dialog box.

foptcon Optimization Parameters

The foptcon optimization algorithm in CAGE uses the MATLAB fmincon algorithm from the Optimization Toolbox product. foptcon wraps up the fmincon function so that you can use the function for maximizing as well as minimizing. For more information, see the fmincon reference page in the Optimization Toolbox documentation, fmincon.

NBI Optimization Parameters

The NBI algorithm is for multiobjective optimizations. For more details see Set Up Multiobjective Optimizations.

The example following shows the NBI options in the Optimization Parameters dialog box.

NBI Options

Note the following:

For more information on the NBI algorithm, see About the NBI (Normal Boundary Intersection) Algorithm.

GA Optimization Parameters

The ga optimization algorithm in CAGE uses the MATLAB ga algorithm from Global Optimization Toolbox product. In CAGE, ga wraps up the ga function from this toolbox so that you can use the function for maximizing as well as minimizing. If you have Global Optimization Toolbox product installed, see Using the Genetic Algorithm.

Pattern Search Optimization Parameters

The patternsearch optimization algorithm in CAGE uses the MATLAB patternsearch algorithm from Global Optimization Toolbox product. In CAGE, patternsearch wraps up the patternsearch function from this toolbox so that you can use the function for maximizing as well as minimizing. If you have the Global Optimization Toolbox product installed, see Using Direct Search.

Modal Optimization Parameters

Use the Modal optimization algorithm with a composite model to select the best operating mode for each operating point. The algorithm uses the foptcon algorithm to optimize an objective for each operating mode and select the best solution.

Modal optimization has the same parameters as foptcon, plus two additional parameters:

See Set Up Modal Optimizations.

MultiStart Optimization Parameters

The MultiStart optimization algorithm in CAGE uses the MultiStart algorithm from Global Optimization Toolbox product. The MultiStart algorithm tries to identify multiple optimal solutions for each operating point. You can set a subset of the algorithm options in CAGE. If you have Global Optimization Toolbox, see How GlobalSearch and MultiStart Work.

In CAGE, the MultiStart algorithm uses the fmincon algorithm to optimize an objective for multiple start points at each operating point, and selects the best solution. You can specify the number of start points and other options in the Optimization Parameters dialog box.

See Set Up MultiStart Optimizations.

Scale Optimization

The Optimization menu contains the option to Scale Optimization Items — Select this to toggle scaling on and off. When you select scaling on, objective and constraint evaluations are (approximately) scaled onto the range [-1 1]. With scaling off, when you run the optimization the objective and constraint evaluations return their raw numbers.

Try running your optimization with scaling off, which is the default setting, to see if it converges to a satisfactory solution (check the output flags and the contour view). If your optimization solution is unsatisfactory, check to see if the objective and constraint functions have vastly different scales. In this case, try turning scaling on, because these optimization problems may benefit from objective and constraint evaluations being scaled to a common scale.

The output view always shows the solutions in raw, unscaled values, whether or not you use scaling to evaluate the problem.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS