OptimizationParameter#
- class ansys.optislang.core.project_parametric.OptimizationParameter(name: str = '', reference_value: bool | float | str | int | None = 0.0, reference_value_type: ParameterValueType = ParameterValueType.REAL, id: str | None = None, const: bool = False, deterministic_resolution: ParameterResolution | str = ParameterResolution.CONTINUOUS, range: Tuple[float, float] | Sequence[bool | float | str | int] = (-1.0, 1.0))#
 Stores optimization parameter data.
Methods
OptimizationParameter.from_dict(par_dict)Create an instance of the
Parameterclass from optiSLang output.Convert an instance of the
OptimizationParameterto a dictionary.Attributes
Whether the value for the parameter is a constant.
Type of the deterministic resolution.
ID of the parameter.
Name of the parameter.
Range of the optimization parameter.
Reference value of the parameter.
Type of the reference value.
Type of the parameter.