linopy.constraints.CSRConstraint.ncons# property CSRConstraint.ncons# Get the number of active constraints (non-masked, with at least one valid variable).