IntegerConstraintSet#

class ioh.iohcpp.IntegerConstraintSet(self: ioh.iohcpp.IntegerConstraintSet, constraints: List[ioh.iohcpp.AbstractIntegerConstraint] = [])#

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.IntegerConstraintSet, arg0: ioh.iohcpp.AbstractIntegerConstraint) None#
n(self: ioh.iohcpp.IntegerConstraintSet) int#
penalize(self: ioh.iohcpp.IntegerConstraintSet, arg0: float) float#
penalty(self: ioh.iohcpp.IntegerConstraintSet) float#
remove(self: ioh.iohcpp.IntegerConstraintSet, arg0: ioh.iohcpp.AbstractIntegerConstraint) None#
violation(self: ioh.iohcpp.IntegerConstraintSet) float#