-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support partition weights and constraints #45
Comments
Indeed, there's no current support for that: pymetis/src/wrapper/wrapper.cpp Lines 162 to 165 in bfa7457
PRs welcome. |
I checked the newest code, maybe you have added the function & params into it ? |
Yep, I think I merged a PR that did that. |
yes,Here's another question: so if I want to give every node two or more weights, what should I do with the input list in python? |
That feature isn't currently exposed, but I would welcome a PR that does. |
The PyMetis provides a 'part_graph' like this:
And I notice the original METIS in C provides the k-way partition function like this:
According to the manual, the parameter 'tpwgts' specifies the weights for each partition, but seems missing in current API.
The text was updated successfully, but these errors were encountered: