inducer / pymetis

A Python wrapper around Metis, a graph partitioning package
http://mathema.tician.de/software/pymetis
Other
164 stars 32 forks source link

How to set up imbalance of node & edge weights #10

Closed zhiyuan8 closed 5 years ago

zhiyuan8 commented 5 years ago

In your function pymetis.part_graph(), I cannot find where I can set -ufactor, -ubvec which describes the imbalance constraints. Shall I know how to set up them by your python wrapper?

inducer commented 5 years ago

Please read the source code to figure this out. I'd be happy to take a pull request with better documentation.