CADETProcess.parameter_space.LinearConstraint#
- class CADETProcess.parameter_space.LinearConstraint(parameters: ParameterBase | list[ParameterBase], lhs: float | list[float] = 1.0, b: float = 0.0)[source]#
Bases:
objectLinear inequality constraint:
lhs · x <= b.- Parameters:
- parametersParameterBase or sequence of ParameterBase
Parameters involved in the constraint. Validated as numeric (
RangedParameter) when registered withParameterSpace.- lhsfloat or list[float]
Coefficients. A scalar is broadcast to all parameters.
- bfloat
Right-hand side.