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