Hello All,
I am trying to get JuMP and Cbc to use multithreading. Turns out that in order to do this you have to build Cbc from source with the --enable-cbc-parallel option.
I have followed the cbc build instructions instructions here: GitHub - coin-or/Cbc: COIN-OR Branch-and-Cut solver to build Cbc using coinbrew.
Now I need to point Julia to my newly built version of Cbc. This is the part I am having trouble with.
According to GitHub - jump-dev/Cbc.jl: Julia wrapper for the Cbc solver all that is needed is:
ENV[“JULIA_CBC_LIBRARY_PATH”]=“path/to/custom/built/binaries”
then
import Pkg; Pkg.build(“Cbc”)
I point my julia cbc library path to the dist/lib folder containing the libCbc.la and libCbcSolver.la files, but keep getting the following error:
┌ Error: Error building Cbc
:
│ ERROR: LoadError: Could not install custom libraries from C:/Users/me/path/to/dist/lib.
│ To fall back to BinaryProvider call delete!(ENV,“JULIA_CBC_LIBRARY_PATH”) and run build again.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] top-level scope at C:\Users\me.julia\packages\Cbc\zMLXd\deps\build.jl:66
│ [3] include at .\boot.jl:328 [inlined]
│ [4] include_relative(::Module, ::String) at .\loading.jl:1105
│ [5] include(::Module, ::String) at .\Base.jl:31
│ [6] include(::String) at .\client.jl:424
│ [7] top-level scope at none:5
│ in expression starting at C:\Users\me.julia\packages\Cbc\zMLXd\deps\build.jl:60
Any help would be very much appreciated. Thanks