Use mixed integer programming to generate optimized metro-map layouts.
Requires Gurobi
- Specify input file path and model settings in optimizer.py
- Run
python optimizer.py
Requires Node.js and npm Requires powershell on windows
- Run
npm install
in the project directory - Run
cat [input_path].json | npx svg-transit-map -y > [output_path]svg
.- Optional Windows script
- Specify the desired
.json
file and output file path ingenerate
script withinpackage.json
. - Run
npm run generate
- Specify the desired
- Optional Windows script