Zero-Sum Games
Game Problem
OperationsResearchModels.Game.GameProblem
— TypeGameProblem
Description
Defines the problem of a zero-sum game.
Fields
decisionMatrix::Matrix{<:Real}
: The payoff matrix of the game designed for the row player.
Game solver of the game matrix designed for the row player
OperationsResearchModels.solve
— Methodsolve(p::GameProblem; verbose::Bool = false)::Vector{GameResult}
Solves a zero-sum game using the simplex method.
Arguments
p::GameProblem
: The problem instance containing the decision matrix.verbose
: If true, prints the model information.
Returns
- An array of
GameResult
objects containing the probabilities and value of the game.
GameResult
OperationsResearchModels.Game.GameResult
— TypeGameResult
Description
A structure to hold the result of a game.
Fields
probabilities
: Probabilities of the strategiesvalue
: Value of the game