README.md

TUvalues: Tools for Calculating Allocations in Game Theory using Exact and Approximated Methods

The main objective of cooperative Transferable-Utility games (TU-games) is to allocate a good among the agents involved. The package implements major solution concepts including the Shapley value, Banzhaf value, and egalitarian rules, alongside their extensions for structured games: the Owen value and Banzhaf-Owen value for games with a priori unions, and the Myerson value for communication games on networks. To address the inherent exponential computational complexity of exact evaluation, the package offers both exact algorithms and sampling-based approximation methods, enabling the analysis of large-scale games. Additionally, it supports core set-based solutions, allowing computation of the vertices and the centroid of the core.

Installation

You can install the released version of the package from CRAN with:

install.packages("TUvalues")

And the development version from GitHub with:

devtools::install_github("mariaguilleng/TUvalues")

Reproducing the results of the paper

The repository also contains the code of the experiments in the paper:

Camacho, J., Gonçalves-Dosantos, J. C., & Guillen, M. D. TUvalues: Exact and Approximate Allocation Rules for Transferable-Utility Games in R. SoftwareX (under review).

These folders are not part of the CRAN package:

Run the scripts from the repository root, for example:

Rscript benchmarks/run_benchmarks.R

Besides TUvalues, the experiments use ggplot2, readxl, writexl, callr, geometry, microbenchmark, TUGLab, CoopGame and GameTheory.



Try the TUvalues package in your browser

Any scripts or data that you put into this service are public.

TUvalues documentation built on Nov. 8, 2026, 1:19 a.m.