Skip to content

rVSaxena/multi_leader_follower_game_agri_market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download the files.

Open a terminal in that directory and run the following command:

pip install -r requirements.txt.

This will load the required packages.

The 'mode' can be supplied via command line arguments. mode=0 means no chance constraint

mode=1 means gaussian

mode=2 means distributionally robust.

For example, to run the code with mode 1, type 'python MLFsim.py 1' in a terminal/command line (without quotes)

To run with mode 0, no argument needs to be supplied, so simply type 'python MLFsim.py', but 'python MLFsim.py 0' would also work.

The model is initialized with random values in a range, and the output will be shown.

About

Implements an Multi Leader Follower (L/F) model and solves for L/F Nash Equilibrium

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages