OptimizationParameter#
- class ansys.optislang.core.project_parametric.OptimizationParameter(name: str = '', reference_value: bool | float | str | None = 0, reference_value_type: ParameterValueType = ParameterValueType.REAL, id: str | None = None, const: bool = False, deterministic_resolution: ParameterResolution | str = ParameterResolution.CONTINUOUS, range: Sequence[float, float] | Sequence[Sequence[float]] = (-1, 1))#
Stores optimization parameter data.
Methods
OptimizationParameter.from_dict
(par_dict)Create an instance of the
Parameter
class from optiSLang output.Convert an instance of the
OptimizationParameter
to 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.