Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
large.csv
mcf.py
small.csv

README.md

Min-cost flow

This is the code that this blog post talks about.

Usage

python3 ./mcf.py 2 3 small.csv matching-output.csv info-output.txt
python3 ./mcf.py 2 3 large.csv matching-output.csv info-output.txt

2 and 3 are parameters related to the input. You won't need to change them if you intend to use the supplied data.

matching-output.csv and info-ouptut.txt are two files that the program writes upon exit. If you change something in ./mcf.py, you would probably like the output files to stay consistent.

License

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.