pysolvegn.build_batch_sigmoid_parametrization#
- build_batch_sigmoid_parametrization(lower, upper)[source]#
Build a
BatchParametrizationthat constrains parameters to a finite interval using a sigmoid transformation (batched counterpart ofbuild_sigmoid_parametrization()).The same bounds are used for all the problems of the batch:
\[p_{out,k,i} = l_i + (u_i - l_i) \sigma(p_{in,k,i})\]- Parameters:
lower (ArrayLike) – Lower bounds with shape
(n_parameters,).upper (ArrayLike) – Upper bounds with shape
(n_parameters,).
- Returns:
The resulting bounded parametrization:
(m, n_parameters) -> (m, n_parameters).- Return type: