Process Integration of Kursawe Functions

This tutorial allows you to integrate the Kursawe functions into a solver chain using Python.

Task Description

This tutorial demonstrates how to do the following:

  • Generate a solver chain using Python

  • Define the parameters and responses

  • Specify parameter properties of the three inputs using the global bounds -5 ≤ xi ≤ 5

The Kursawe Functions

Objective function one has one dominant global optimum. Objective function two has four local optima.

Preparation

Before you start the tutorial, download the kursawe_process zip file from here , and extract it to your working directory.

Tutorial Steps

Creating a New Project

  1. Start optiSLang.

  2. Create a new guided project.

  3. From the solver list, click Python.

Selecting the Input File

  1. In the Select input file dialog box, browse to the kursawe_process folder and select kursawe.py.

  2. Click Open.

Selecting the Parameters and Responses

  1. From the Detect assignments drop-down list, select Test run.

  2. In the Python table, select rows x_1, x_2, and x_3 and drag them to the Parameter pane.

  3. In the Python table, select rows kursawe1 and kursawe2 and drag them to the Responses pane.

  4. Click Next.

Editing the Parameter Properties

  1. To highlight all of the parameters in the table, do one of the following:

    • Click the name of the first parameter, press Shift, and then click the name of the parameter the last row.

    • Click the name of the first parameter, then with the mouse key pressed, pull down to the last parameter and release the mouse key.

  2. While pressing the Shift key, double-click the range numbers in row 3.

  3. Change the lower bound to -5 and the upper bound to 5.

  4. Press Enter.

    The range of all of the parameters changes to -5 and 5.

  5. Click Next.

Defining the Optimization Criteria

  1. Do not adjust or add to the currently displayed values for parameters, responses, and criteria.

  2. Click Next.

Completing the Solver Wizard

  1. Select the Create a template from solver chain check box.

  2. Click Finish.

    The template is added to the Templates pane and the solver chain is displayed in the Scenery pane.

Saving and Running the Project

  1. To save the project, click  .

  2. Browse to the location to save the project and type a project name in the File name field.

  3. Click Save.

  4. To run the project, click  .

  5. To review the result, double-click the kursawe system and switch to the Result designs tab.