Class 'constraint'
Slots
name
character. Name of the constrain object (will be used in GAMS, GLPK, etc. as an element in sets).
desc
character. Description of the constraint.
eq
factor. Type of the relation ('==' default, '<=', '>=').
for.each
list. List with sets for which constraint will be created.
rhs
data.frame. List or data frame with numeric values for each constraint.
defVal
numeric. The default value for the rhs.
interpolation
character, interpolation rule for the constraint. Recognized values, any combination of "back", "inter", "forth", indicating the direction of interpolation. The default value is "inter".
lhs
list. List of summands for the left-hand side of the equation. This slot is created automatically from all unnamed arguments passed to the `newConstraint` function.
misc
list. List of any additional information or parameters to store in the constraint object.