Comments (7)
The same incompatibility shows in gcg/src/dec_isomorph.cpp
and gcg/src/bliss_automorph.cpp
from scip.
Dear @ndrwnaguib
Using the latest version 0.77 from https://users.aalto.fi/~tjunttil/bliss/download.html the error does not appear in my compilation.
The downloadable packages are built with the github version of bliss https://github.com/ds4dm/Bliss mentioned in the installation section https://www.scipopt.org/doc-8.0.0/html/md_INSTALL.php. This does also not fail in compilation for me. What are you doing differently than me?
Best,
Franzi
from scip.
Hi Franzi; I am also using bliss 0.77
, the second rc though.
Name : bliss
Version : 0.77-2
Description : A library for computing automorphism groups and canonical forms of graphs
Architecture : x86_64
URL : https://users.aalto.fi/~tjunttil/bliss/
Licenses : GPL3
Groups : None
Provides : None
Depends On : gmp
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 362.86 KiB
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
I'm not sure why we have different results; especially that the change took effect starting from version 0.75 (according to the release notes)
from scip.
Hey @ndrwnaguib
How did you install bliss, and are the include files that cmake finds the correct ones or do you possibly have old include files lying around somewhere on your system?
To me, the signature of the find_automorphisms
call looks correct in the scip code, as is takes the three arguments mentioned in the documentation. But @pfetsch is the expert here.
Best,
Franzi
from scip.
Franzi, thanks for the follow up; I installed it from the Arch Linux official repositories.
To me, the signature of the find_automorphisms call looks correct in the scip code, as is takes the three arguments mentioned in the documentation.
I think the documentation lists the third parameter as std::function<bool()>
type though, with the following description:
If the terminate function argument is given, it is called in each search tree node: if the function returns true, then the search is terminated and thus not all the automorphisms may have been generated. The terminate function may be used to limit the time spent in bliss in case the graph is too difficult under the available time constraints. If used, keep the function simple to evaluate so that it does not consume too much time.
In the referenced SCIP line, it's being used as (void*)
(and statically casted to BLISS_data
later on); the compilation fails to convert SCIP call to the function to conform with the signature of my bliss implementation however.
from scip.
As far as I can see, the code takes the new interface into account, see the part starting with
#if BLISS_VERSION_MAJOR >= 1 || BLISS_VERSION_MINOR >= 76
in scip/compute_symmetry_bliss.cpp
. The corresponding call in this case is
G.find_automorphisms(stats, reportglue, term);
where term
is the callback function.
Can you please check whether the define is true in your case (it should be with Bliss version 0.77).
from scip.
@pfetsch, thanks for noting that, it is not there. I was building 7.0.3 instead of 8.0.0. The latest SCIP version should be working however considering the lines you referenced; thank you.
from scip.
Related Issues (20)
- Assertion failed at the end of a solve HOT 3
- Data race in interrupt.c HOT 4
- ImportError: libscip.so.8.0: cannot open shared object file: No such file or directory HOT 1
- Suboptimal MIP solution reported as optimal HOT 2
- Can you build binary package for a more recent liunx distribution? HOT 3
- SegFault after compiling HOT 5
- Coloring application Branching Rule contradictory code HOT 7
- 2 tests fail HOT 1
- lot of tests from viprchk and «ctest -R MIPEX» failed on «exact-rational» branch HOT 9
- RFE: dynamic line length HOT 6
- question: how not to use nlpi_ipopt which depend on proprietray libhsl.so? HOT 3
- Interesting paper HOT 1
- `RelWithDebInfo` build is still asserting. HOT 4
- question: compiled with GMP=on, how to ensure GMP is used with CVXPY? HOT 3
- Difference in the objective value of a MIP in version 8.1.0 HOT 3
- What are the uses of nauty in SCIP? HOT 4
- System.AccessViolationException when trying to delete a restriction after LPError HOT 1
- Highs interface, option values function call deprecated
- Adding constraint improves objective. HOT 4
- Request: Publish debs for aarch64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scip.