Skip to content

ndchikin/NE_project

Repository files navigation

NE_project

This project reduces the problem of Nash-solvability in pure stationary strategies of the deterministic n-person games with perfect information and terminal payoffs to CNFSAT problem. The goal is to find an example where the cycle will be the worst outcome for all players and the game will not be Nash-solvable.

A "bad" example was found with 4 players, the sum of the number of outcomes worse than cycle is 6 and the place of the cycle from the end is 3.

Player preferences:

  • O1: a8 < a2 < c < a5 < a7 < a6 < a4 < a3
  • O2: c < a6 < a3 < a2 < a8 < a7 < a5 < a4
  • O3: a7 < a5 < c < a8 < a6 < a4 < a3 < a2
  • O4: a6 < a8 < c < a7 < a5 < a4 < a3 < a2

Game graph:

Image of game graph

Install

Install required packages and reboot:

$ sudo apt update -y && sudo apt install graphviz python3-dev python3-pip -y
$ python3 -m pip install cmake graphviz python-sat[pblib,aiger]
$ sudo reboot

Clone repository:

$ git clone https://github.com/ndchikin/NE_project.git

Build project:

$ mkdir build
$ cd build
$ cmake ../NE_project/
$ cmake --build .

Then edit graphs.txt (optionaly), then run project:

$ ./start.sh

About

Tools for generating CNF and solving them

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published