Zero-Sum Games

Game solver for the row player

OperationsResearchModels.Game.gameFunction
game(decisionMatrix::Matrix{<:Real}; verbose::Bool = false)::Array{GameResult,1}

Solves a zero-sum game using the simplex method.

Arguments

  • decisionMatrix: The payoff matrix of the game.
  • verbose: If true, prints the model information.

Returns

  • An array of GameResult objects containing the probabilities and value of the game.
source

Game solver for both the row and the column players

OperationsResearchModels.Game.game_solverFunction
game_solver(gamematrix::Matrix{<:Real}; verbose::Bool = false)::GameResult

Solves a zero-sum game using the simplex method.

Arguments

  • gamematrix: The payoff matrix of the game.
  • verbose: If true, prints the model information.

Returns

  • A GameResult object containing the probabilities and value of the game.
source

GameResult