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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Hi, I want use nxmetis.partition(G, nparts, node_weight='weight', node_size='size', edge_weight='weight', tpwgts=None, ubvec=None, options=None, recursive=False) to do graph patition, but I don't know how to add constraints, the constrains are like '1. the number of persons in every partition must smaller than B2, and bigger than B1', '2. the diameter of every partition must smaller than D2, and bigger than D1', can I set tpwgts to fulfill my needs?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I want use
nxmetis.partition(G, nparts, node_weight='weight', node_size='size', edge_weight='weight', tpwgts=None, ubvec=None, options=None, recursive=False)
to do graph patition, but I don't know how to add constraints, the constrains are like '1. the number of persons in every partition must smaller than B2, and bigger than B1', '2. the diameter of every partition must smaller than D2, and bigger than D1', can I set tpwgts to fulfill my needs?The text was updated successfully, but these errors were encountered: