Skip to contents

Class summand stores information about linear terms (a multiplier and a variable) in the lhs of the constraint class. It is auto-created by newConstraint function and is not intended to be used directly by the user.

Slots

desc

character. Description of the linear term.

variable

character. Name of the variable.

for.sum

list. List of sets for which the summand will be created.

mult

data.frame. Multiplying coefficients to the variable for each set in the for.sum slot.

defVal

numeric. Default value for the summand.

misc

list. Additional information.

See also

Other class, constraint: newConstraint()