newjam / lp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple example of using linear programming to model an economy.

requires GLPK to be installed

Output

House    10.0 food                =>  10.0 labor
Mine      2.5 labor               =>   2.5 ore
Factory   2.5 labor +   2.5 ore   =>   5.0 tools
Farm      5.0 labor +   5.0 tools =>  10.0 food

About


Languages

Language:Python 100.0%