Closed HilaireFoillard closed 2 years ago
Hello,
Can you give us a bit more details on:
I was using Julia on a jupyter notebook, Julia 1.8.0-rc4 , and I work on a windows 11 os
once you have the windows SCIP installed, you can set the environment variable SCIPOPTDIR and build SCIP, it should be sufficient
The issue you encountered is documented in the readme, the automatic version does not work yet on windows: https://github.com/scipopt/SCIP.jl#custom-scip-installations
I tried it but I didn't succeed . The sequence of command i have to do is Pkg.rm("SCIP") to remove the scip package download using Pkg, add the path of the bin of SCIP on the environnement variable then build SCIP (do i need to make Pkg.add("SCIP") before? ) Note that I installed the SCIPOptSuite 8.0.2 using the win64.exe way, but I didn't find $SCIPOPTDIR/lib/libscip.so, $SCIPOPTDIR/lib/libscip.dylib nor $SCIPOPTDIR/bin/scip.dll ( but I have bin/libscip.dll, bin/scip.exe, lib/libscip.lib ).
Is there not a $SCIPOPTDIR/lib/scip.dll?
On Thu, Oct 13, 2022 at 1:42 PM HilaireFoillard @.***> wrote:
I tried it but I didn't succeed . The sequence of command i have to do is Pkg.rm("SCIP") to remove the scip package download using Pkg, add the path of the bin of SCIP on the environnement variable then build SCIP (do i need to make Pkg.add("SCIP") before? ) Note that I installed the SCIPOptSuite 8.0.2 using the win64.exe way, but I didn't find $SCIPOPTDIR/lib/libscip.so, $SCIPOPTDIR/lib/libscip.dylib nor $SCIPOPTDIR/bin/scip.dll ( but I have bin/libscip.dll, bin/scip.exe, lib/libscip.lib ).
— Reply to this email directly, view it on GitHub https://github.com/scipopt/SCIP.jl/issues/248#issuecomment-1277477337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2FDMSDG4DCT5OI5EFO6BDWC7YRPANCNFSM6AAAAAAREC7IQA . You are receiving this because you commented.Message ID: <scipopt/SCIP. @.***>
-- Mathieu Besançon
Don't see it. Note that my way is SCIPOptSuite 8.0.2/lib/....
But I have a SCIPOptSuite 8.0.2/bin/libscip.dll
Then the env variable SCIPOPTDIR as your path to the Scipootsuite 8.0.2 repo should work
On Thu, Oct 13, 2022, 14:44 HilaireFoillard @.***> wrote:
But I have a SCIPOptSuite 8.0.2/bin/libscip.dll
— Reply to this email directly, view it on GitHub https://github.com/scipopt/SCIP.jl/issues/248#issuecomment-1277552078, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2FDMTZMFQJPNPCROZVG4DWC773BANCNFSM6AAAAAAREC7IQA . You are receiving this because you commented.Message ID: <scipopt/SCIP. @.***>
I put this value for SCIPOPTDIR : C:\Program Files\SCIPOptSuite 8.0.2\bin
Then i remove SCIP Then I build SCIP and I have this issue
The following package names could not be resolved:
yes you need to add the environment variable SCIPOPTDIR, then add and build SCIP
Nice that time it works
perfect!
Closing this, if you feel the docs in the README could be improved for windows, a PR is welcome :)
Hello, I use to test the SCIP solver on my model on Julia. This is a very simple LP problem. I have an issue because my model crash when I try to optimize it (m = Model(SCIP.Optimizer) ... optimize!(m) ) So I'm disappointed. I see that a good way to avoid that is to build SCIP by downloading the solver on the website but I don't understand how to build it after.
Thank you