This code in Sage 4.8 (with CPlex installed if that matters) uses a lot of memory. After around 36 million graphs, it is using around 21 Gigs:
for g in graphs.nauty_geng("11"):
ind_set = g.independent_set()
1 | initial version |
This code in Sage 4.8 (with CPlex installed if that matters) uses a lot of memory. After around 36 million graphs, it is using around 21 Gigs:
for g in graphs.nauty_geng("11"):
ind_set = g.independent_set()