class-costs | R Documentation |
Costs object is used to define additional costs to add to the model's objective function.
name
character. Name of the cost object, used in sets.
desc
character. Description of the cost object for own references.
variable
character. Name of the variable included in the costs-constraint.
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.
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.
misc
list. Additional information.
Other class constraint policy:
class-constraint
,
newConstraint()
,
newCosts()
,
newSubsidy()
,
newTax()
,
subsidy-class
,
tax-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.