PenaltyFormulation¶
- class PenaltyFormulation¶
Bases:
Enum
Members
- classmethod __contains__(value)¶
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)
- classmethod __getitem__(name)¶
Return the member matching name.
- classmethod __iter__()¶
Return members in definition order.
- classmethod __len__()¶
Return the number of members (no aliases)
- Default = 0¶
- IntegerVariable = 1¶
- LinearRelaxation = 4¶
- QuadraticRelaxation = 5¶
- RealVariable = 2¶
- Relaxation = 3¶