[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] largest independent vertex sets
From: |
Szabolcs Horvát |
Subject: |
Re: [igraph] largest independent vertex sets |
Date: |
Wed, 17 Jul 2019 19:54:43 +0200 |
I created a new issue with a feature request to solve this:
https://github.com/igraph/igraph/issues/1220
On Wed, 17 Jul 2019 at 15:46, <address@hidden> wrote:
>
> Hi,
>
>
>
> I am trying to find out a largest independent vertex set for a graph that
> represents a randomly generated crystal lattice, then I came across igraph.
> My program is written with Python. I managed to get a list of the largest
> independent vertex sets using the largest_independent_vertex_sets() method of
> the Graph class. However, that’s not quite what I want. All I need is just a
> single largest independent vertex set, instead of a list of all
> possibilities. There are thousands of vertices in my graph, therefore it
> takes a very long time to calculate the complete list. I know it is a
> NP-complete problem, but I think generating just one such set instead of
> generating the complete list and then taking one from it would cut down the
> runtime significantly. I looked at the source code written in C but was kind
> of getting lost there. I am not sure whether this can be easily done by
> modifying the source code. Could anybody help me with this issue?
>
>
>
> Best regards,
>
>
>
> Yu Xiang
>
> PhD Candidate
>
> Dept. of Physics, Applied Physics & Astronomy
>
> Rensselaer Polytechnic Institute
>
> Jonsson-Rowland Science Center 2W19
>
> Email: address@hidden
>
> Phone: (518) 833-4710
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help