powered by
Two-lines rule for a basic EOQ system without holding costs and with transportation cost.
twolines(n = NA, a = NA, av = NA, d = NA, K = NA)
The output is a vector who contains the allocation to each player.
Agents in the inventory situation.
The fixed cost per order.
Vector. The transportations cost per order to each agent.
Vector. Deterministic demands per time unit to each agent.
Vector. Capacities of agents' warehouse to each agent.
twolines(n=3,a=400,av=c(300,500,200),d=c(2,2,5),K=c(9,8,7)) #MCT model #Cooperative case #Two-lines rule #[1] 0.0000 219.6429 423.2143
Run the code above in your browser using DataLab