Description Usage Arguments Value Author(s) Examples
This function computes the Owen Set of a linear production game
1 |
c |
vector containing the benefits of the products. |
A |
production matrix. |
B |
matrix containing the amount of resources of the several players where each row is one player. |
show.data |
logical value indicating if the function displays the
console output ( |
owenSet
returns and prints the owen Set of associated
linear production problem.
D. Prieto
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Vector of benefits
c <- c(68, 52)
# Production matrix
A <- matrix(c(4, 5, 6, 2), ncol=2, byrow = TRUE)
# Matrix of resources. Each row is the vector of resources of each player
B <- matrix(c(4, 6, 60, 33, 39, 0),ncol = 3, byrow = TRUE)
# Solution of the associated linear production game
owenSet(c, A, B, show.data = TRUE)
# ------------------------------------------------------------------------
# The linear production problem has a unique Owen's allocation:
# ------------------------------------------------------------------------
# [1] "(230, 282, 480)"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.