Skip to contents

Costs object is used to define additional costs to add to the model's objective function.

Usage

newCosts(name, variable, desc = "", mult = NULL, subset = NULL, misc = NULL)

Arguments

name

get_slot_info("costs", "name")

variable

get_slot_info("costs", "variable")

desc

get_slot_info("costs", "desc")

mult

get_slot_info("costs", "mult")

subset

get_slot_info("costs", "subset")

Value

costs object with given specifications.

See also