HS-1710: Simple Optimization Study

Learn how to optimize a simple function defined using a Templex template.

Before you begin, complete HS-1705: Simple Fit Study or import the HS-1705.hstx archive file, available in <hst.zip>/HS-1710/.

The base input template defines two input variables, DV1 and DV2, labeled X and Y, respectively. The objective of the optimization is to minimize X + Y with the constraint 1/X + 1/Y – 2 < 0.

Run Optimization

  1. Add an Optimization.
    1. In the Explorer, right-click and select Add from the context menu.
    2. In the Add dialog, select Optimization and click OK.
  2. Go to the Optimization > Definition > Define Output Responses step.
  3. Click the Objectives/Constraints - Goals tab.
  4. Add an objective.
    1. Click Add Goal.
    2. In the Apply On column, select Response 1 (r_1).
    3. In the Type column, select Minimize.


    Figure 1.
  5. Add a constraint.
    1. Click Add Goal.
    2. In the Apply On column, select Response 2 (r_2).
    3. In the Type column, select Constraint.
    4. In column 1, select <= (less than or equal to).
    5. In column 2, enter 0.0.


    Figure 2.
  6. Go to the Optimization > Specifications step.
  7. In the work area, set the Mode to Adaptive Response Surface Method (ARSM).
    Note: Only the methods that are valid for the problem formulation are enabled.
  8. Click Apply.
  9. Go to the Optimization > Evaluate step.
  10. Click Evaluate Tasks.
  11. Optional: Click the different tabs in the Evaluate step to monitor the progress of the Optimization.
  12. After the optimization has finished, review the optimization history first.
    1. Click the Iteration History tab to review the iteration history.

      With many of the algorithms (SQP, GA, …), each iteration requires many evaluations. Evaluation (plots or tables) show all runs performed during the optimization. Iteration (plots or tables) show the optimization iterations.

      The Iteration History tab uses color coding to indicate which design are feasible, optimal, and violated.
      • White background/black font indicates the design is feasible.
      • White background/red font indicates the design is violated.
      • White background/orange font indicates the design is acceptable, but at least one constraint is near violated.
      • Green background/white font indicates the design is optimal.
      • Green background/orange font indicates the design is optimal, but at least one constraint is near violated.


      Figure 3.
    2. Click the Evaluation Plot tab to plot charts for all of the entities in the optimization (input variables, output responses, objective functions, constraints) against the iteration.


      Figure 4.

Post Process Results

In the Post-Processing step of an Optimization approach, you can access additional tools to review the results. Use the Integrity, Distribution, and Scatter tabs to compare and analyze designs.

  1. Go to the Optimization > Post Processing step.
  2. Click the Integrity tab to analyze statistics of the optimization study.


    Figure 5.