Table of Contents

Assignment 2: Sequence-Form LP

Implement the Sequence Form Linear Program. Your solution should work not just for the games you created in the first part of this assignment, but for any two-player zero-sum extensive form games.

In case of any problems with this assignment, with BRUTE, the template or the library, please send me an email (votroto1@fel.cvut.cz).

Libraries

We recommend you use Gurobi to solve this task, you can find its documentation here. You can also follow the instruction from the Combinatorial Optimization course on how to setup Gurobi locally. If you dislike Gurobi, you can use cvxopt.

The libraries: numpy, scipy, pygambit, and the cgt_bandits package from the previous part will also be available on BRUTE.

Requirements

You must construct the LPs for each player individually. You are not allowed to simply construct the LP for one player, and then return -payoff for the other player.

Template

You can use this template and examples to get started.

Use the EFGs that you have created in assignment 1 for testing. If you do not have those, at least use the example from the lecture, or the simple poker implementation found in the examples of the cgt_bandits library.

Notes