Coder Social home page Coder Social logo

Comments (5)

rschwarz avatar rschwarz commented on May 24, 2024

Your observation about LAPACK and IPOPT is correct. However, whether you compile SCIP with IPOPT support is independent to SCIP.jl. Our instructions do not use IPOPT, but you can, by setting IPOPT=TRUE in the make call. SCIP.jl should work just the same.

Whether or not this has anything to do with your solution candidate, I can not tell. I know that we (in SCIP.jl) do not yet support incomplete initial solutions, where only values for some of the variables are given. But in your example, some solution is apparently set, and tested.

from scip.jl.

adowling2 avatar adowling2 commented on May 24, 2024

@leethargo Thank you for the quick reply.

I compiled with IPOPT=true.

Looking closer at the output

  [nonlinear] <nonlin_obj>: (1 * <_var0_>)-1<_var4_>[C]  <= 0;
violation: right hand side is violated by 5 (scaled: 5)
all 1 solutions given by solution candidate storage are infeasible

from my example, I noticed the variables go from var0 to var4. However, there are only 4 variables in the example. You mentioned that SCIP.jl does not support incomplete solution candidates. Is it possible that SCIP.jl is adding an extra dummy variable which happens to be uninitialized?

from scip.jl.

rschwarz avatar rschwarz commented on May 24, 2024

I think the (lack of support for) incomplete solution candidates is not the issue.

If I look at the violated constraint, it looks like this constraint is created automatically (together with the variable _var4_ during the process of transforming the nonlinear constraints for SCIP. Unfortunately, the auxiliary variable _var4_ will apparently take the value 0 for the solution candidate, which is infeasible.

So, this is a bug in either SCIP.jl or CSIP.

from scip.jl.

rschwarz avatar rschwarz commented on May 24, 2024

Sorry, this does not look like an easy fix.

from scip.jl.

fserra avatar fserra commented on May 24, 2024

yes, somehow, we need to evaluate the objective function at the point given and then assign the extra variable to that value

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.