EOQcoo(n=3,a=600,d=c(500,300,400),h=c(9.6,11,10))
#[1] "Optimal order"
# Coalition 1 2 3 Coalitional costs
# 0 0.0000 0.0000 0.0000 0.000
# 1 250.0000 0.0000 0.0000 2400.000
# 2 0.0000 180.9068 0.0000 1989.975
# 3 0.0000 0.0000 219.0890 2190.890
# 12 192.4501 115.4701 0.0000 3117.691
# 13 184.6372 0.0000 147.7098 3249.615
# 23 0.0000 121.6327 162.1770 2959.730
# 123 157.4592 94.4755 125.9673 3810.512
Run the code above in your browser using DataLab