Optimization of a Coupled Function

This tutorial allows you to complete an optimization of the following analytical nonlinear function:

This function has several local and one dominant global minimum.

Task Description

This tutorial demonstrates how to do the following:

  • Use the parameter and response definition from the sensitivity analysis

  • Specify the optimization criteria

  • Perform optimization on the Metamodel of Optimal Prognosis (MOP) from the sensitivity analysis

  • Perform direct optimization in full parameter space using the Adaptive Metamodel of Optimal Prognosis (AMOP)

Prerequisites

You must complete the Sensitivity Analysis of a Coupled Function tutorial before starting this one.

Results of the Sensitivity Analysis

The sensitivity analysis indicates, that only X1 , X2 and X3 are important variables for a global optimization.

Optimization is performed in the reduced design space.

Tutorial Steps

Opening and Preparing the Sensitivity Analysis Project

  1. Start optiSLang.

  2. From the Start screen, click Open.

  3. Browse to the location of the sensitivity analysis project you created in the previous tutorial and click Open.

  4. Right-click the Sensitivity system and select Hide contents from the context menu.

  5. Repeat step 4 for the AMOP system.

Completing the Optimization Wizard using the MOP

  1. From the Wizards pane, drag the Optimization to the AMOP node and let it drop.

  2. Do not adjust the values in the Parametrize Inputs table.

  3. Click Next.

  4. To define Y as a minimization objective, drag the row from the Responses table to the Objective Minimize icon and let it drop.

    The new criterion is displayed in the Criteria table.

  5. Click Next.

  6. Click Manual optimizer selection.

  7. Do not adjust the current optimization method settings.

    The gradient based NLPQL is recommended. Start designs can be selected manually.

  8. Click Next.

  9. Click Import start values from system.

  10. In the Select system pane, select AMOP.

  11. In the Select designs to import pane, click the heading of the Y column to sort the data by response values.

  12. Select the design at the top of the list and click OK.

    The selected design is added to the Start design(s) table.

  13. Click Next.

  14. Leave the additional optional settings at the default and click Finish.

    The optimization and validation flow is added to the Scenery pane.

Running the MOP Optimization

  1. To save the project, click  .

  2. To run the project, click  .

    The optimizer should converge in a few iteration steps. The response and objective of the best design are verified with the solver. Due to local approximation errors the estimated response value may differ from the solver result. Validation of the best design is necessary.

Completing the Optimization Wizard using the Adaptive MOP

  1. From the Wizards pane, drag the Optimization wizard to the Sensitivity node and let it drop.

  2. Do not adjust the values in the Parametrize Inputs table.

  3. Click Next.

  4. To define Y as a minimization objective, drag the row from the Responses table to the Objective Minimize icon and let it drop.

    The new criterion is displayed in the Criteria table.

  5. Click Next.

  6. Click Manual optimizer selection.

  7. Do not adjust the current optimization method settings.

    The Adaptive Metamodel of Optimal Prognosis (AMOP) is recommended. All previous designs are considered as start designs.

  8. Click Next.

  9. Leave the additional optional settings at the default and click Finish.

    The AMOP system is connected to the previous sensitivity system. The best design of the previous optimization is imported automatically.

  10. Right-click the AMOP (1) system and select Rename from the context menu.

  11. Change the name to AMOP_local and press Enter.

Configuring AMOP Settings

  1. Double-click the AMOP_local system to open the settings.

  2. On the Adaption tab, select the Show advanced settings check box.

  3. In the Maximum number of samples field, enter 45.

  4. Adjust the refinement sliders so the first two are at 0% and the Importance of optimization criteria slider is at 100%

  5. In the Maximum iterations field, enter 10.

  6. To save and close the settings, click OK.

Running the Project and Viewing AMOP Postprocessing

  1. To save the project, click  .

  2. To run the project, click  .

    The AMOP postprocessing is displayed. You can observe:

    • The AMOP with criteria refinement converges in a few iteration steps to the global optimum

    • Validation of best design is performed in every iteration

    • The history plot compares best design approximation and validation

Summary

The tutorial showed that:

  • Sensitivity analysis indicated three of five design variables as important

  • Optimization on the MOP lead to good optimal design in reduced space

  • Optimization in the full parameter space could be obtained efficiently by the AMOP

MethodBest ObjectiveSolver Runs
Analytical solution-12.4-
Initial design6.51
Sensitivity analysis-9.1100 (300 with AMOP)
NLPQL on MOP-11.21
AMOP with local refinement-12.4100+45