Linear combination variable
This variable describes a linear combination \(c_0 + c_1 \cdot y_1 + \cdots + c_N \cdot y_N\) of \(N\) inputs \(y_1, y_2, \cdots, y_N\) stemming either from a surrogate with \(N\) inputs or from any set of \(N\) variables.
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"
coefficients (cell)
List of coefficients \((c_0, c_1, ..., c_N)\) that determines the linear combination. Any entry of the list can be either a numbers or a string that determines an expression depending only on variables without uncertainty (e.g. parameter names of the design space).
Default: Average of the inputs, i.e. \(c_0=0, c_1 = c_2 = \dots = c_N = \frac{1}{N}\).
Example
Mixed expression and numeric coefficients for \(N=3\) inputs. Here,
param1, param2
are parameters of the design space and not variable names.{"sin(param1)^2 + cos(param2)^2",0.1,-123.0}
inputs (cell{str})
List of the names of surrogates or other variables. The sum of the output dimensions of the surrogates and the output dimensions of the variables must add up to N.
Default: This value has no default and must be provided