Costs object is used to define additional costs to add to the model's objective function.
Arguments
- name
get_slot_doc("costs", "name")- variable
get_slot_doc("costs", "variable")- desc
get_slot_doc("costs", "desc")- mult
data.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.
- subset
data.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.
- misc
list. Additional information.
See also
Other class constraint policy:
class-constraint,
class-costs,
newConstraint(),
newSubsidy(),
newTax(),
subsidy-class,
tax-class
