Skip to main content
POST
/
quantlib
/
economics
/
games
/
eliminate-dominated
Eliminate Dominated Strategies
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/economics/games/eliminate-dominated \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "payoff_matrix_1": [
    [
      3,
      0,
      1
    ],
    [
      5,
      1,
      2
    ],
    [
      2,
      0,
      0
    ]
  ],
  "payoff_matrix_2": [
    [
      3,
      5,
      1
    ],
    [
      0,
      1,
      0
    ],
    [
      2,
      3,
      1
    ]
  ]
}
'
{
  "success": true,
  "data": {
    "reduced_game_size": [
      2,
      2
    ],
    "pure_nash_after_elimination": [
      [
        1,
        1
      ]
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
payoff_matrix_1
number[][]
required

Payoff matrix for Player 1

Example:
[[3, 0, 1], [5, 1, 2], [2, 0, 0]]
payoff_matrix_2
number[][]
required

Payoff matrix for Player 2

Example:
[[3, 5, 1], [0, 1, 0], [2, 3, 1]]

Response

Successful Response

success
boolean
Example:

true

data
object