This function gives the nucleolus described in Schmeidler (1969).
Usage
nucleolus(characteristic_function, game = c("profit", "cost"))
Arguments
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 coalitions function.
game
Characters to indicate if the game is a cost or profit game. The possibles values are "cost" or "profit".
Value
A vector with the allocation that nucleolus proposes.
References
Schmeidler, D. (1969). The nucleolus of a characteristic function game, SIAM Journal of Applied Mathematics, vol. 17, pp. 1163-1170.