Costs object is used to define additional costs to add to the model's objective function.
Slots
namecharacter. Name of the cost object, used in sets.
desccharacter. Description of the cost object for own references.
variablecharacter. Name of the variable included in the costs-constraint.
subsetdata.frame. Named list or data frame with set-values for each dimension of the variable. This slot subsets the variable to the specified set values.
multdata.frame. Named list or data frame with numeric values for the variable included in the costs-constraint. A constant or a data frame with the same dimensions as the subseted variable.
misclist. Additional information.
See also
Other class constraint policy:
class-constraint,
newConstraint(),
newCosts(),
newSubsidy(),
newTax(),
subsidy-class,
tax-class
