An S4 class to represent a single constraint.
constraint
Character. The index of the constraint.
mat
A matrix representing the left-hand side weights. Has nc rows.
dir
A vector of length nc. Each entry represents a logical operator relating the left-hand side to the right-hand side.
rhs
A vector of length nc. Each entry represents the right-hand side of the constraint.
nc
Numeric. The number of constraints represented in the constraint set.
suspend
TRUE
if the constraint is to be turned off.