I need to set the environment variable for SCIP package
I am wokring on windows 10…so I opened:
Advanced system Settings…Advanced…Environment Variables
I created a new variable and added the path as:
C:\Program Files\SCIPOptSuite 7.0.1\bin\libscip.dll
but building the package after that in Julia says that the environment variable SCIPOPTDIR needs to be set
Error: Error building `SCIP`:
│ ERROR: LoadError: AssertionError: Environment variable `SCIPOPTDIR` not set!
Error: Error building `SCIP`:
│ ERROR: LoadError: None of the selected providers can install dependency libcsip.
│ Use BinDeps.debug(package_name) to see available providers
Hello @odow , can you tell me what does that mean pls ?
LoadError: InitError: SCIP is installed at version 7.0.1, supported are 6.0.0 up to (including) 7.0.0.
during initialization of module SCIP
in expression starting at D:\M A S T E R S S S S S S\chapter_4\work\codes\a-SCIP\ML-scip.jl:1
error(::String) at error.jl:33
__init__() at init.jl:16
_include_from_serialized(::String, ::Array{Any,1}) at loading.jl:697
_require_search_from_serialized(::Base.PkgId, ::String) at loading.jl:781
_require(::Base.PkgId) at loading.jl:1006
require(::Base.PkgId) at loading.jl:927
require(::Module, ::Symbol) at loading.jl:922
The next time, I ran the program, The error changes to…
LoadError: Unexpected quadratic expression 0 in nonlinear expression. Quadratic expressions (e.g., created using @expression) and nonlinear expressions cannot be mixed. in expression starting at D:\
It looks like 7.0.1 was only recently released, and SCIP.jl hasn’t been released with support. But you can get something working with ] add SCIP#master.
The second error is a JuMP message. Use @NLexpression instead of @expression when making nonlinear constraints. Here are the NLP docs for JuMP: Nonlinear Modeling · JuMP.