mfoc(n = NA, a = NA, d = NA, K = NA, cooperation = c(0, 1))
cooperation=1
else cooperation=0
.MFOC
.
mfoc(n=3,a=200,d=c(1.2,1.4,1.2),K=c(6,10,8),cooperation=0)
#[1] "Individual cost"
#[1] 40 28 30
Run the code above in your browser using DataLab