RealConstraintSet

class ioh.iohcpp.RealConstraintSet(self, constraints: collections.abc.Sequence[ioh.iohcpp.AbstractRealConstraint] = [])

Bases: object

A set of constraints

Parameters:

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

Methods Summary

add(self, arg, /)

n(self)

penalize(self, arg, /)

penalty(self)

remove(self, arg, /)

violation(self)

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