Description Usage Arguments Value Author(s) References Examples
This function gives the Equal Profit Method allocation described in Frisk et al. (2010).
1 | EPM_allocation(characteristic_function, r = NA, info = NA, game = c("profit", "cost"))
|
characteristic_function |
A vector with the characteristic function v(S) (or c(S), if we work with a cost game), according to the order of coalitions shown in |
r |
Incremental step for calculating the EPM-allocation. If no solution is found, we increase iteratively in |
info |
For knowing information about the resolution, make |
game |
Characters to indicate if the game is a cost or profit game. The possibles values are |
A vector with the allocation that EPM method proposes.
A. Saavedra-Nieves
Frisk, M., Gothe-Lundgren, M.,Jornsten, K., Ronnqvist, M. (2010). Cost allocation in collaborative forest transportation. European Journal of Operational Research, Vol. 205, pp. 448-458.
1 2 3 4 5 6 | characteristic_function<-c(0,0.538, 0.761, 1.742, 0.554, 0.137, 0.293, 0.343)
EPM_allocation(characteristic_function,r=0.01,info=1,game="cost")
#[1] "EPM_allocation"
#[1] "The cost game has a non-empty core"
# 1 2 3
# 0.05 0.206 0.087
|
Loading required package: e1071
Loading required package: lpSolveAPI
[1] "EPM_allocation"
[1] "The cost game has a non-empty core"
1 2 3
0.05 0.206 0.087
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.