This function obtains the associated costs in a basic EOQ system without holding costs and with transportation cost.
Usage
mct(n = NA, a = NA, av = NA, d = NA, K = NA, cooperation = c(0, 1))
Value
If cooperation=0, a vector with the individual cost to each agent in a MCT. If cooperation=1 and n is lesser than 0, a matrix which contains the associated costs for each possible group. Otherwise, this matrix only contains the individual costs and the associated values for N.
Arguments
n
Agents in the inventory situation.
a
The fixed cost per order.
av
Vector. The transportations cost per order to each agent.
d
Vector. Deterministic demands per time unit to each agent.
K
Vector. Warehouse's capacity to each agent.
cooperation
Option to indicate cooperation. If it exists cooperation=1 else cooperation=0.