-
-
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
Cliquer to compute maximum cliques #6355
Comments
comment:1
This ticket, plus #5793 and #5669, are all a total mess, IMHO. There are two separate spkg's linked, here and on #5669, and there are two different sets of patches (
My recommendation is to close the other two tickets as duplicates, indicate which spkg to review here, properly format the correct patches to be applied, and post everything here. There's just too much confusion right now. Nathann -- I would really like to see cliquer included in Sage, so if you need any help getting this in, please don't hesitate to contact me directly. |
comment:2
As far as I could tell at Sage Days 16, the next step required for cliquer is: Someone needs to implement a build system for Cliquer, either using autotools or SCons. Given how simple cliquer is, SCons is probably the way to go, since this would be something like the one liner |
comment:3
I updated the SPKG file for cliquer.. This new one builds a shared library and I do not call any .c file in the cython code anymore !! The address is still the same, though ;-) Nathann |
comment:4
Replying to @nathanncohen:
True, this builds a shared library, but it doesn't seem very portable. The problem is that the code you've written probably works only on systems very similar to yours. For example, when I try building on OS X (32- or 64-bit), I get:
You need to use SCons or some form of autotools as I suggested above, for this to ever be a viable SPKG. |
comment:5
I just updated the SPKG, which now uses Scons ! Nathann |
comment:6
Nathann, This is great work! However, you are still hard-coding some Linux-isms in spkg-install:
Unfortunately, on OS X, it is Keep up the good work! |
Changed author from ncohen to Nathann Cohen |
Reviewer: Robert Miller |
comment:7
All has been done according to your wishes ;-) The spkg has been updated ! |
comment:8
|
comment:9
done again ! ;-) |
comment:10
Change After that, I think that this is ready to go! It builds successfully on 32-bit and 64-bit OS X and on sage.math. |
comment:11
Done. I have to change the patch though, as the directory changed. |
comment:14
Ah, you beat me to posting the same fix! :-) |
comment:15
However, there is now a |
comment:16
It comes from a tar command run in the wrong directory.... fixed ;-) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Merged: Sage 4.1.1.alpha1 |
comment:21
The SPKG at http://www-sop.inria.fr/members/Nathann.Cohen/cliquer-1.2.spkg doesn't conform to the naming convention for SPKG's. I've renamed it as http://sage.math.washington.edu/home/mvngu/patch/cliquer-1.2.p0.spkg As far as I understand, this new SPKG doesn't depend on #5793. So I'm merging the SPKG into the standard SPKG repository. |
comment:22
See #6626 for a follow-up to this ticket. |
Changed merged from Sage 4.1.1.alpha1 to none |
comment:23
I'm reopening this ticket until #6626 is fixed. |
comment:24
Are there any code or doctests to test the functionalities provided by this package? Any package that is merged in the standard package repository must be doctested by code in the Sage library. |
comment:25
The code/doctest related to cliquer is to be found in #5793 : almost all the functions of the Graph class related to cliques use it, and if I make no mistake I documented all of them ;-) |
Merged: Sage 4.1.1.rc1 |
comment:26
Merged in standard package repository. |
Hello everybody ! I hope this is the last step for this patch to compute the maximum cliques in a graph.
Here is the SPKG file with the source code of Cliquer.
As for planarity or other modules, the original source code of cliquer is copied, but in this case it is copied in local/lib/cliquer-1.2, I was told planarity was to be an exception to the rule.
You can download the SPKG file at this address :
http://www-sop.inria.fr/members/Nathann.Cohen/cliquer-1.2.spkg
The vote to include this SPKG can be found here:
http://groups.google.com/group/sage-devel/browse_thread/thread/b24e7c1603b5f988
There is also an accompanying patch, at #5793.
Component: graph theory
Keywords: Clique max, Cliquer
Author: Nathann Cohen
Reviewer: Robert Miller
Merged: Sage 4.1.1.rc1
Issue created by migration from https://trac.sagemath.org/ticket/6355
The text was updated successfully, but these errors were encountered: