inventorygames(n=3,a=600,d=c(500,300,400),h=c(9.6,11,10),model="EOQ")
#EOQ model
#Cooperative case
#Optimal order
# Coalition 1 2 3 Coalitional costs
#1 0 0.0000 0.0000 0.0000 0.000
#2 '{ 1 }' 250.0000 0.0000 0.0000 2400.000
#3 '{ 2 }' 0.0000 180.9068 0.0000 1989.975
#4 '{ 3 }' 0.0000 0.0000 219.0890 2190.890
#5 '{ 1,2 }' 192.4501 115.4701 0.0000 3117.691
#6 '{ 1,3 }' 184.6372 0.0000 147.7098 3249.615
#7 '{ 2,3 }' 0.0000 121.6327 162.1770 2959.730
#8 '{ 1,2,3 }' 157.4592 94.4755 125.9673 3810.512
Run the code above in your browser using DataLab