An S4 class to represent a single constraint.
constraintCharacter. The index of the constraint.
matA matrix representing the left-hand side weights. Has nc rows.
dirA vector of length nc. Each entry represents a logical operator relating the left-hand side to the right-hand side.
rhsA vector of length nc. Each entry represents the right-hand side of the constraint.
ncNumeric. The number of constraints represented in the constraint set.
suspendTRUE if the constraint is to be turned off.