RealConstraintSet#
- class ioh.iohcpp.RealConstraintSet(self: ioh.iohcpp.RealConstraintSet, constraints: List[ioh.iohcpp.AbstractRealConstraint] = [])#
Bases:
pybind11_objectA set of constraints
- Parameters:
constraints (list[Constraint]) – The list of constraints
Methods Summary
Methods Documentation
- add(self: ioh.iohcpp.RealConstraintSet, arg0: ioh.iohcpp.AbstractRealConstraint) None#
- n(self: ioh.iohcpp.RealConstraintSet) int#
- penalize(self: ioh.iohcpp.RealConstraintSet, arg0: float) float#
- penalty(self: ioh.iohcpp.RealConstraintSet) float#
- remove(self: ioh.iohcpp.RealConstraintSet, arg0: ioh.iohcpp.AbstractRealConstraint) None#
- violation(self: ioh.iohcpp.RealConstraintSet) float#