QuadraticPenaltyConfig ¶
Bases: BaseModel, _EnableMixin
Configuration for quadratic penalties.
Adds penalty terms to the objective. Adds slack variables for inequality constraints if neccessaray.
Attributes:
| Name | Type | Description |
|---|---|---|
penalty | PenaltySetting | Custom penalty setting for quadratic penalty terms. |
enable | bool | Toggle to enable or disable this method. Default: True. |