Configuring the Python Optimizer Technique

You can configure the Python Optimizer technique options.

  1. Double-click the Optimization component icon .
    The Optimization Component Editor appears.
  2. From the General tab's Optimization Technique list, select Python Optimizer.
  3. In the Optimization Technique Options area, click Browse to select the Python routine file that contains the Optimization algorithm that you want to execute using Isight. You can configure the Python Optimizer technique using the Python (*.py) file type.
    • The file must contain implementation of functions named defineTechniqueOptions(Object) and optimize(Object).
    • Once you browse the file, it will read Technique Options from the Python routine file using the defineTechniqueOptions(Object) function. These technique options will be added to the Optimization Technique Options table.
    • Max Failed Runs is a default technique option. This parameter is used to set the maximum number of failed subflow evaluations that can be tolerated by the optimization technique. If the number of failed runs exceeds this value, the optimization component will terminate execution. To disable this feature, set this option to any negative value (e.g., –1). When this option is set to a negative value, the optimization will continue execution despite any number of failed subflow runs.
  4. Click OK to save your changes and to close the Optimization Component Editor.