Skip to content

JamesJunyuGuo/GMFG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphon MFG

This is the README file of the GMFG project. To run the code, configure the environment with conda virtual env

conda create --name gmfg
conda activate gmfg
pip install -r requirements.txt

See the Finite_Horizon folder for the implementation of the beach bar model with finite horizon.

  1. For the beach experiment and the Financial Network experiment, to change the reward function, refer to the following files.
cd Finite_Horizon/

See games/Finite/beach.py to change the reward_g function, and in games/graphon_mfg.py we will use the reward function quoting reward_g function. In this way we can chang the structure of the reward function, the same applies to other models such as the Cyber network and other models as well. 2. To choose different Graphon functions, refer to /games/graphons.py and you can define the graphon function you want and import the function in the main file main.py to initialize the game.

See the Infinite_Horizon folder for the implementation of the ring game and the epidemic model with infinite horizon.

References

$\cdot$ PPO-Pytorch

$\cdot$ Monotone MFG

About

Graphon Mean FIeld Game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages