Maximal independent vertex set memory usage grows without bound
Bug #714988 reported by
Tony Bigbee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
New
|
Undecided
|
Unassigned |
Bug Description
Using igraph 0.5.4 on 32-bit Linux Ubuntu and 32-bit Windows XP running Python 2.7.1.
With relatively small graph (Undirected |V|=100, |E| = 254, undirected, no self referencings and G = G.simplify() invoked first), memory consumption grows without bound when G.maximal_
I'm unable to test against 0.6 main because of build problems and missing files (have reported to mailing list).
To post a comment you must log in.
Same with 0.6.
I'm not sure but I guess that the sparsity of your graph is the problem. Consider a graph with 100 vertices that are paired by 50 edges s.t. vertex 2i is connected to vertex 2i+1. This graph would have 2^50 maximal independent vertex sets as you can choose either end of each edge. This will easily exhaust the main memory. Can you please confirm that your actual graph is not likely to have too many independent vertex sets compared to the size of the graph itself?