Professional Documents
Culture Documents
To choose the correct optimization method for a given problem, you must understand your problem;
to understand your problem, you must first explore itwhich requires the selection of an optimization
method. DesignXplorers Adaptive Single-Objective Optimization (ASO) is a robust, adaptive algorithm
that simplifies this process, allowing you to explore your design space during an actual optimization
run.
In this advanced tutorial, well use four different optimization scenarios (including one that uses ASO)
to explore the design space and find the global optimum for the same problem. Well examine the
results and benefits of each method for solving this particular problem, learning how the performance
of different algorithms in combination compare with the performance of an ASO system.
Note
This advanced tutorial assumes that you are familiar with ANSYS Workbench and
DesignXplorers Goal Driven Optimization functionality. For an introduction to Goal Driven
Optimization in version 14.5, see the tutorial Performing a Goal Driven Optimization Study.
This tutorial is divided into the following sections:
1. What is Adaptive Single-Objective Optimization?
2. Problem Definition
3. Basic Project Setup
4. Scenario 1: Kriging-NLPQL Response Surface Optimization to NLPQL Direct Optimization
5. Scenario 2: NLPQL Direct Optimization to NLPQL Direct Optimization
6. Scenario 3: Screening Direct Optimization to NLPQL Direct Optimization
7. Scenario 4: Adaptive Single-Objective Direct Optimization
8.Time to Spare?
9. What Have We Learned?
2. Problem Definition
The problem is a non-convex analytic function with two input parameters. The definition of the problem
is as follows:
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Where
And
=
e[ ( +) ]
3 5 e
[ ( +) ]
This analytic function has three local maxima, one local minimum, and one global minimum point at
(0.2282;-1.6256), with a corresponding objective function value of -6.5511.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
6. Return to the Project Schematic. Note that the Parameter Set bar has been added.
7. Update the project.
8. Save the project as DX_ASO.wbpj.
Next, well run four different optimization scenarios, compare their results, and determine which optimization method was best for this particular problem.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Review Results
The Response Surface Properties view shows that the Kriging with automatic refinement converged
after 54 additional refinement points were created. If you select the Min-Max Search node, shown below,
in the Table view we can review the approximate value of the objective function (-5.8019) and the
parameter minimums (P1 = 0.35345 and P2 = 1.5925). We will use these minimum values to initialize
the Optimization component of the Response Surface Optimization.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Under the Metrics node, select Convergence Curves to see the auto-Kriging Convergence Curves chart.
Review Results
In the Optimization Properties view, the Optimization Status shows that the optimization has converged. If you select Candidate Points under the Results node, the Table view shows that the best
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Note
Starting Value Is set to the minimum found earlier by the Response Surface Min-Max
Search. the Lower Bound and Upper Bound are to +0.3 and 0.3 of the Starting
Value
Review Results
In the Optimization Properties view, the Optimization Status shows that the optimization has converged. Four iterations and 12 design points were needed to find the minimum. If you select Candidate
Points under the Results node, the Table view shows that Candidate Point 1 now exactly matches
expected objective function value of -6.5511.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
When the Objectives and Constraints node is selected, edit the optimization Table as follows:
When the Domain node input parameters are selected, edit the parameter Properties as follows:
Review Results
In the Optimization node Properties view, the Optimization Status property shows you that the optimization has not converged within 20 iterations (the number defined by the Maximum Number of
8
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Note
This is a randomly selected value, not based on the results of the previous optimization
system.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Review Results
In the Optimization node Properties view, the Optimization Status shows that the optimization has
converged. Eight iterations and 31 design points were needed to find the global minimum. In the Table
view summary, you can see that the objective function of the candidate point is -6.5511, the expected
value.
10
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
When the Objectives and Constraints node is selected, edit the optimization Table as follows:
When the Domain node input parameters are selected, edit the parameter Properties as follows:
Review Results
In the Optimization node Properties view, the Optimization Status property shows that the Screening
optimization used 20 evaluations to generate a sample set of 20 design points and identify three candidate points. In the Table summary view, you can see that for the best candidate, parameter P1 has
a value of 0.75, parameter P2 has a value of 1.725, and the objective value of the function (output
P3) is -4.2983.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
11
When the Objectives and Constraints node is selected, edit the optimization Table as follows:
12
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Review Results
In the Optimization node Properties view, the Optimization Status property shows that he optimization
has converged. Five iterations and the creation of 18 new design points were needed to find the global
minimum. In the Table summary view, you can see that for the best candidate, the objective value of
the function is -6.5511, again matching the expected value.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
13
When the Objectives and Constraints node is selected, edit the optimization Table as follows:
When the Domain node input parameters are selected, edit the parameter Properties as follows:
14
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
Review Results
In the Optimization node Table view, the Status property shows that the optimization converged after
55 evaluations. The Candidate Points section shows that the best candidate, parameter P1, has a value
of 0.2281, parameter P2 has a value of -1.6252, and the corresponding objective function value is
6.5511. These values show that the optimization has reached the expected global minimum.
In the Trade-off chart, note that the refinement is targeted to a small area of the surface.
The History charts for the input parameters show the successive steps of the domain reduction performed
by the Adaptive Single-Objective method.
To view each chart in the Charts view, select the objective an/or constrain or input parameter under
the Outline view Domain node. The following History charts show the evolution of parameters P1, P2,
and P3.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
15
16
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
8. Time to Spare?
Try to find the global maximum of the objective function by using the Adaptive Single-Objective optimization method.
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
17
18
Release 14.5 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.