Multi-selector variable
This variable selects multiple outputs of a surrogate model or a multi-output variable.
name (str)
The name of the variable under which it can be addressed by other variables or objectives. The name must be distinct from any surrogate name.
Default:
'v'
output_dim (int)
Output dimension of variable.
Default: This value has no default and must be provided
output_names (list[str])
Allows to assign names to each of the outputs of the variable. By specifying input names they can be accessed in variables as
{output_names[0]}, {output_names[1]}, ..., {output_names[K-1]}
, whereK
is the output dimension.Default:
By default, the variables can be accessed as
{name}0, {name}1, ...,{name}(K-1)
, where{name}
is the name of the variable andK
is the output dimension.
input (str)
The name of a surrogate or a multi-output variable.
Default: This value has no default and must be provided
select_range (list[int])
A tuple of lower and upper bounds \((i_\text{lower}, i_\text{upper})\) of the inputs of the surrogate model or the outputs of the multi-output variable. The indexing starts from zero and the last index is included in the selection.
Default: If not specified, the selections is based on the select_by_names parameter.
select_by_names (list[str])
A selection of input names of the surrogate or output names of the multi-output variable.
Default:
[]