Using the Optimization Parameters Dialog Box

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 example following shows the NBI options in the Optimization Parameters dialog box.

Background on the NBI (Normal Boundary Intersection Algorithm)

To understand the options for the NBI algorithm, some limited understanding of the algorithm is required. For more information on the NBI algorithm, see the NBI home page at the following URL:

http://www.caam.rice.edu/~indra/NBIhomepage.html

The NBI algorithm is performed in two steps. The first step is to find the global of each objective individually. This is called the shadow minima problem, and is a single-objective problem for each objective function. The MATLAB routine fmincon is used to find these . Once these are found, they can be plotted against each other. For example, consider an NBI optimization that simultaneously maximizes TQ and minimizes NOX emissions. A plot of the against each other might resemble the following.

The second step is to find the "best" set of tradeoff solutions between your objectives. To do this, the NBI algorithm spaces Npts start points in the (n-1) hypersurface, S, that connects the shadow . In the above example, S is the straight line that connects the points N and T. For each of the Npts points on S, the algorithm tries to maximize the distance along the normal away from this surface (this distance is labeled L in the following figure). This is called the NBI subproblem. For each of the points, the NBI subproblem is a single-objective problem and the algorithm uses the MATLAB fmincon routine to solve it. This is illustrated below for the TQ-NOX example.

The figure above shows spacing of the points between the along the (n-1) surface. The algorithm tries to maximize the distance L along the normal away from the surface. The following figure shows the final solution found by the NBI algorithm.

NBI Options

Note the following:

NBI Output Messages

The NBI algorithm provides exit messages that can be seen in the Optimization output view, in the Solution Information pane, for the currently selected run. Check these messages to check for problems with your optimization.

All possible exit flags and messages are shown in the following table.

Exit flagMessage
6 The shadow minima do not differ from one another. This suggests that all objectives can be minimized simultaneously. Check that the objectives are competing or alter tolerances.
1 All shadow and NBI subproblems converged to a solution.
0 At least one of the NBI subproblems is infeasible.
0 The maximum number of function evaluations was reached in at least one of the shadow or NBI subproblems.
-1 Optimization terminated prematurely by the user.
-2 At least one of the shadow problems is infeasible.
-7 At least one of the Pareto solutions is dominated.

GA Optimization Parameters

The ga optimization algorithm in CAGE uses the MATLAB ga algorithm from Genetic Algorithm and Direct Search 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 Genetic Algorithm and Direct Search Toolbox product installed, see Getting Started with the Genetic Algorithm.

Pattern Search Optimization Parameters

The patternsearch optimization algorithm in CAGE uses the MATLAB patternsearch algorithm from Genetic Algorithm and Direct Search 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 Genetic Algorithm and Direct Search Toolbox product installed, see Getting Started with Direct Search.

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.

  


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