Coder Social home page Coder Social logo

Comments (5)

matbesancon avatar matbesancon commented on May 24, 2024

getting back to this, has it been implemented on the SCIP side, what was needed?

from scip.jl.

rschwarz avatar rschwarz commented on May 24, 2024

I don't know whether anything was changed on the SCIP side (and don't even remember the linked discussion).
Back then, I was able to trigger an assert in SCIP using this gist written in C.

from scip.jl.

matbesancon avatar matbesancon commented on May 24, 2024

this is still triggered on SCIP master it seems. This has never been an intended / documented behaviour I assume

from scip.jl.

matbesancon avatar matbesancon commented on May 24, 2024

I opened an issue on SCIP itself to track this. If this is "intended" / documented behavior, one solution would be to loop through constraints to delete them before deleting the variable. Not sure what are other solvers' conventions for this

from scip.jl.

matbesancon avatar matbesancon commented on May 24, 2024

OK getting back to this, the issue on the SCIP side is that variables cannot be removed from constraints in the SCIP_STAGE_PROBLEM stage which is the one we are in when building the problem.

This is a path that shouldn't have been allowed, a check will be introduced. Another way to view it is, deleting constraints is the user's responsibility (cleaning up the constraints from that variable or removing the associated constraints altogether)

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.