AbstractRealConstraint#
- class ioh.iohcpp.AbstractRealConstraint#
Bases:
pybind11_object
Attributes Summary
Methods Summary
__call__
(self, arg0, arg1)compute_violation
(self, arg0)is_feasible
(self, arg0)penalize
(self, arg0)penalty
(self)violation
(self)Attributes Documentation
- enforced#
- exponent#
- weight#
Methods Documentation
- __call__(self: ioh.iohcpp.AbstractRealConstraint, arg0: List[float], arg1: float) float #
- compute_violation(self: ioh.iohcpp.AbstractRealConstraint, arg0: List[float]) bool #
- is_feasible(self: ioh.iohcpp.AbstractRealConstraint, arg0: List[float]) bool #
- penalize(self: ioh.iohcpp.AbstractRealConstraint, arg0: float) float #
- penalty(self: ioh.iohcpp.AbstractRealConstraint) float #
- violation(self: ioh.iohcpp.AbstractRealConstraint) float #