inventorygames(n=3,a=600,d=c(500,300,400),h=c(9.6,11,10),model="EOQ")
# 1 2 3 Coalition Order cost
# 0 0 0 0 0.000
# 1 0 0 1 2400.000
# 0 1 0 2 1989.975
# 0 0 1 3 2190.890
# 1 1 0 12 3117.691
# 1 0 1 13 3249.615
# 0 1 1 23 2959.730
# 1 1 1 123 3810.512
Run the code above in your browser using DataLab