Constraint configuration.
KEY | TYPE | Description |
---|---|---|
code | str | The code for the constraint. |
enforcement | str | The enforcement for the constraint. Could be 'HARD' or 'SOFT'. Default is 'HARD' |
penalty | float | The penalty for violating the constraint. |
constant | float | The constant value for the constraint. |
operator | str | The operator for the constraint. Could be 'EQ', 'LE', 'GE' |