Compute Best Responses
quantlib-economics
Compute Best Responses
Find the best response strategy for each player given the opponent’s (possibly mixed) strategy. A best response maximizes a player’s expected payoff given the opponent’s strategy. Returns optimal strategies for both players. Essential for Nash equilibrium analysis, as mutual best responses characterize Nash equilibria. [Tier: STANDARD, Credits: 2]
POST
Compute Best Responses
Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
application/json
Payoff matrix for Player 1
Example:
[[3, 0], [5, 1]]Payoff matrix for Player 2
Example:
[[3, 5], [0, 1]]Player 1's current mixed strategy
Required range:
0 <= x <= 1Example:
[0.5, 0.5]Player 2's current mixed strategy
Required range:
0 <= x <= 1Example:
[0.5, 0.5]