-
-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New algorithm for Max Clique in Graph class #5669
Comments
Attachment: 11803.patch.gz |
comment:1
Hi, a couple remarks:
There is more, but the above should keep you busy for a while :) Cheers, Michael |
This comment has been minimized.
This comment has been minimized.
comment:2
Well, to be fair, the new code is half doctested. The new graph functions are doctested, the interface functions are not doctested. |
comment:5
Duplication of #6355. |
comment:6
ncohen, If the patch on this ticket is no longer needed, can you delete the "[with patch, needs work]" in the title? If it is still needed, can you either reopen this ticket so the patch is not lost or move the patch to another ticket that is open? It is confusing to have a patch that "needs work" on a closed ticket. Thanks. |
comment:7
Actually, I do not know if I can close this ticket and delete the patch : I do not understand how the patches work. Thanks ! Nathann |
comment:8
Replying to @nathanncohen:
There is no need for any of this -- what you need to do is make sure that all the patches needed by #5793 are actually on ticket #5793. Also, while you are at it, you should probably use more descriptive names than the five-digit numbers you have been using (this also leads to the confusion that the 11803.patch here is only 6.0KB and the one there is 229.4KB). The suggested format is
There is also the option of using Mercurial queues to flatten patches (i.e. roll several patches into one). That way, you could eventually post just one patch which does everything, and then you could ask someone with admin privileges (such as myself) to delete the other patches, in order to clean things up. |
I recently had to compute a maximum stable set in a graph with 100 vertices and ended up waiting a whole day ( to no good end ) for Sage to compute it. The current algorithm uses the library NetworkX whose algorithm is not nearly as efficient as Cliquer :
http://www.tkk.fi/~pat/cliquer.html
It is based on an algorithm published in 2002, and it gave me a result in less than a millisecond ;-)
Here are the modification I made :
Note: The spkg can be found in http://sage.math.washington.edu/home/mabshoff/SPKG/cliquer-1.2.spkg
CC: @rlmill
Component: graph theory
Keywords: independant set stable clique
Issue created by migration from https://trac.sagemath.org/ticket/5669
The text was updated successfully, but these errors were encountered: