Interpreting Results

It is useful to interpret the results of an Optimization or of a Design of Experiment.

This page discusses:

Results File

You can analyze results files.

Select the Save Optimization Data field to study the computation results after an optimization is carried out. Modify the default path when required. The file generated contains the value of the objective function for each iteration and the free parameter values (and the constraint values if any).

The optimization curves are generated from the data provided by this results file.

Optimization and Design of Experiment Graph Results

You can customize the visualization of different parameters on a graph with the Plot panel.

In the Optimization panel, click Show curves... to begin viewing results.

The table below indicates the interactive options are available to customize a graph's view and its plots and curves.

Table 1. Interactive Graph Viewing Options
Command Name Description


Customize plot, charts, curves and axes This command lets you customize plot, chart, curve, and axis settings. You can also customize the display properties of plots and graphs.


Fit all in chart Select this option to fit all the curves in the grid.


Deactivate cursor along X axis Select this option to display the vertical line on the chart. Unselect it to hide the line.


Hide legend Select this option to hide different curve legends.


Zooms back to previous state Select this option to return to the prezoom state.

Notes:
  • Right-click a point and click Apply or View to apply or view a command from the shortcut menu.
  • Hover over any point to get information about it.
  • From the Options dialog box, scroll down to the Curve Item and select the name of a curve to highlight individually or to know the slope between the lines.

Optimization Curves

You can optimize curves.

Click Show Curves.. to display the optimization curves. The abscissa represents the iteration numbers and the ordinate represents the objective function value, or the free parameter values. Click the relevant curve key displayed on the right of the curves to obtain the proper values on the ordinate axis.

The results file generates the optimization curves. The curves are generated from the results file. To display the optimization curves, select the Save optimization data field.

Two curves are drawn with relation to the optimized parameters:

  • Its actual value, and
  • The Optimization log reproduces the evolution of its best value.

Gradient Algorithm

The gradient algorithm is below.



Simulated Annealing Algorithm

The simulated annealing algorithm is below.



Warnings and Errors

A Knowledge Report appears and lists the errors encountered while running the optimization. You can click a line in the top frame to display the explanation in the Message section.

The optimization process may issue several warnings. One of the most common is the "Unable to restore best solution" warning.

The openness of Design Optimization enables you to insert any kind of objective functions. Some of them might be either undetermined or dependent on previous actions (case of a model with rules impacting the result of the objective function).

The consequence for optimization is the disability to restore a previously found configuration. A warning is issued specifying the difference between the restored solution and the previously best configuration. A small difference is generally related to rounding errors. In this case, the optimization is valid. Accept the results. A large difference could indicate that there is a real problem.

Causes of Errors

This section provides additional information about the cause of errors.

Problem Example 1

You can encounter an issue as described below.



f(x)=a x2+1

if (x>1) a=1

else a = -1

If x takes a value between 1 and 2 during the optimization process, the definition of the problem changes.

Solution Example 1

You can solve the issue with the solution below.

Check the model.

Problem Example 2

You can encounter an issue as described below.

Models with sketches that can take unreasonable configurations from which they cannot escape.



Solution Example 2

You can solve the issue with the solution below.

Always use constraint sketches and use ranges in the optimization.

Problem Example 3

You can encounter an issue as described below.

Analysis models with adapted types of meshing elements that are not adapted (T4 instead of T10).

Solution Example 3

You can solve the issue with the solution below.

Use polynomial interpolation (T10) instead of linear (T4).