AllOrNoneConstraint#

class tagarnina.optimization.AllOrNoneConstraint(*, features: list[str])[source]#

Select either all of the features or none of them.

Parameters:
featureslist of str

Names of the features that are selected together. Must not be empty.

Methods

__init__(*, features)

Attributes

features