RealConstraintSet#

class ioh.iohcpp.RealConstraintSet(self: ioh.iohcpp.RealConstraintSet, constraints: List[ioh.iohcpp.AbstractRealConstraint] = [])#

Bases: pybind11_object

A set of constraints

Parameters:

constraints (list[Constraint]) – The list of constraints

Methods Summary

add(self, arg0)

n(self)

penalize(self, arg0)

penalty(self)

remove(self, arg0)

violation(self)

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#