ZeroConstraint
- class glotaran.model.clp_constraint.ZeroConstraint(*, interval: tuple[float, float] | list[tuple[float, float]] | None = None, target: str, type: str = 'zero')[source]
Bases:
ClpConstraint
Constraints the target to 0 in the given interval.
Method generated by attrs for class ZeroConstraint.
Attributes Summary
Methods Summary
Check if the index is in the intervals.
Get the type string.
Get the type for a type string.
Get all type strings.
Check if intervals are defined.
Methods Documentation