Coder Social home page Coder Social logo

Comments (12)

matbesancon avatar matbesancon commented on June 19, 2024

Hello, did you install SCIP separately from the Julia package?
See the instructions here: https://github.com/scipopt/SCIP.jl#custom-installations

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

Dear Mathieu Besançon @matbesancon

Yes I have installed the latest version of SCIP separately.

from scip.jl.

matbesancon avatar matbesancon commented on June 19, 2024

Can you do "using SCIP" in a Julia session and see if it also kills the session?
I would invite you to check the other issues opened for Windows:
https://github.com/scipopt/SCIP.jl/issues?q=is%3Aissue+Windows+

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

Yes I easily do this command "using SCIP" and there are no errors. Only by defining the variables and solving the problem you will get the mentioned error.
Please see the figure below: The command "optimize!(model)" that I type faces the problem of solving.
image

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

image

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

Does anyone know where the problem is?

from scip.jl.

matbesancon avatar matbesancon commented on June 19, 2024

Can you try:

o = SCIP.Optimizer()

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

Dear @matbesancon

Which line should I replace this command with? My model is below:

using JuMP, SCIP
model = Model(SCIP.Optimizer)
set_attribute(model, "display/verblevel", 0)
set_attribute(model, "limits/gap", 0.05)
@variable((model), x);
@variable((model), y);
@objective((model), Min, (x) + (y));
@constraint((model), x >= 0)
@constraint((model), y >= 5)
optimize!(model)
println(value.(x))
println(value.(y))

from scip.jl.

matbesancon avatar matbesancon commented on June 19, 2024

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

image

It did not run again without settings.

from scip.jl.

matbesancon avatar matbesancon commented on June 19, 2024

The path of libscip is in .julia/artifacts, which means SCIP was not installed or recognized.
Please follow the similar steps as in this issue: #248

from scip.jl.

karimianfard avatar karimianfard commented on June 19, 2024

The problem was solved. Thanks.

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.