Coder Social home page Coder Social logo

SCIP.jl with exact-rational branch about scip.jl HOT 5 OPEN

melkael avatar melkael commented on August 18, 2024
SCIP.jl with exact-rational branch

from scip.jl.

Comments (5)

matbesancon avatar matbesancon commented on August 18, 2024

Hi, are you sure SCIP.jl is correctly linked to your SCIP installation? You can test that with:

@eval SCIP.libscip

which points to the path where the SCIP shared library is

from scip.jl.

leoneifler avatar leoneifler commented on August 18, 2024

Hi, sorry that is a typo in the documentation. The parameter ist 'exact/enabled'. Will fix this.

from scip.jl.

melkael avatar melkael commented on August 18, 2024

Thank you for your help, it now works with "exact/enabled". However, it seems like Julia initializes the problem creation when SCIP.Optimizer() is called, which prevents me from setting the exact mode. I get the following error:

[set.c:767] ERROR: Exact solving mode can only be enabled/disabled before reading/creating a problem.

from scip.jl.

leoneifler avatar leoneifler commented on August 18, 2024

Hmm, that is a bit of an issue. I don´t know what can be done on the Julia side of things. The reason this error is necessary is that reading a problem in inexact mode already might not give you exactly the problem you want to solve (inaccuracies when converting to binary, setting small values to 0, etc.)

As a hacky fix, you could just set the parameters default value to true in set.c (SCIP_DEFAULT_EXACT_ENABLED)

from scip.jl.

melkael avatar melkael commented on August 18, 2024

Sounds like a good solution, I will try that, thank you!

from scip.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.