问题
I have a graph G=(V,E) that both edges and nodes have weights. I want to partition this graph to create equal sized partitions. The definition of the size of partition is sum(vi)-sum(ej) where vi is a node inside that partition and ej is an edge between two nodes in that partition. In my problem the graph is very dense (almost complete). Is there any approximation algorithm for that?
This is somehow similar to the problem in bin packing with overlapping objects where bins have the same size. Weight of nodes are their size and weight of Edges show how much two object can overlap.
回答1:
I think if you use METIS program solved problem. you can download this program of this link http://glaros.dtc.umn.edu/gkhome/views/metis it has a good documentation and very fast program.
来源:https://stackoverflow.com/questions/11656784/graph-partitioning-based-on-nodes-and-edges-weights