-
From the Flow section of the action bar,
click Optimization
and drop it on
the process diagram.
-
Double-click Optimization
.
The Optimization Editor appears.
-
From the Optimization Editor,
click the Constraints tab.
The list of parameters includes all output parameters from the Optimization
adapter and output parameters from the subflow adapter, if they
are not mapped to any parameters in the Optimization adapter. When
any subflow parameter is selected as a constraint, Optimization
Process Composer
creates a corresponding parameter in the Optimization adapter.
-
Perform the following options, which may vary
based on your design:
-
Determine which parameters you want to use as constraints by selecting
the corresponding check boxes in the first column. Alternatively, you
can click Select all
to select all the selected parameters
as constraints. To clear all the parameters, click Clear all.
-
Set the Lower Bound and the Upper Bound
on the output constraint in the corresponding columns.
-
Set the constraint’s Target in the corresponding
column.
-
Set the constraint’s Scale Factor and Weight
Factor in the corresponding columns. Scale factors are used
to bring constraint values to the same order of magnitude to improve
the efficiency of the optimizers. Weight factors are used to change the
importance of various constraints.
The value of each constraint is calculated as follows:
where is the lower bound value, is the
upper bound value, is the target value,
is the parameter value, is the weight factor, and
is the scale factor.
- Optional: Map any of the constraint attributes to parameters.
-
Click Ok to save your changes
and to close the Optimization Editor.
|