RealConstraintSet¶
- class ioh.iohcpp.RealConstraintSet(self, constraints: collections.abc.Sequence[ioh.iohcpp.AbstractRealConstraint] = [])¶
Bases:
objectA set of constraints
- Parameters:
constraints (list[Constraint]) – The list of constraints
Methods Summary
Methods Documentation
- add(self, arg: ioh.iohcpp.AbstractRealConstraint, /) None¶
- n(self) int¶
- penalize(self, arg: float, /) float¶
- penalty(self) float¶
- remove(self, arg: ioh.iohcpp.AbstractRealConstraint, /) None¶
- violation(self) float¶