Skip to content

Calculation of discrete-type multi-goods monopolist solutions.

License

Notifications You must be signed in to change notification settings

Indraos/Multi-Goods-Helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Goods-Helpers

Utilities to solve and visualize multi-goods monopolist problems and their dual variables.

Getting started

Run

pip3 install -r requirements.txt
chmod a+x md_helpers.py
./md_helpers.py

in your console to get 20 sample files.

Example usage for Custom Data

types = np.array([[0,0],[1,1]])
probabilities = np.array([1/2,1/2])
monopolist = MGMProblem(types, probabilities)
monopolist.solve()
monopolist.save("monopolist_viz.html")

About

Calculation of discrete-type multi-goods monopolist solutions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages