linerulecoalitional(n=3,a=200,av=c(300,300,900),d=c(90,80,20),
h=c(0.06,0.06,0.1),m=NA)
# 1 2 3 Coalitional cost
# 0.00000 0.00000 0.0000 0.00000
# 73.48469 0.00000 0.0000 73.48469
# 0.00000 69.28203 0.0000 69.28203
# 0.00000 0.00000 66.3325 66.33250
# 52.59885 48.39619 0.0000 100.99505
# 61.26061 0.00000 66.3325 127.59310
# 0.00000 55.97858 66.3325 122.31108
# 51.38935 46.10733 66.3325 163.82918
Run the code above in your browser using DataLab