Skip to content

Error on using SCIP.jl with custom binary #348

@JunchengLiamLi

Description

@JunchengLiamLi

I tried to use SCIP.jl to call a locally installed SCIP which uses CPLEX as its default LP solver and encountered the following error:

julia> using SCIP_jll
ERROR: InitError: could not load library "/home/juncheng_liam_li/optimisation/scip-9.2.4/build/lib/libsoplexshared.so"
/home/juncheng_liam_li/optimisation/scip-9.2.4/build/lib/libsoplexshared.so: cannot open shared object file: No such file or directory
Stacktrace:
[1] #dlopen#3
@ ./libdl.jl:120 [inlined]

I have added the following line in .julia/artifact/Overrides.toml:
b2644ab1add1d76a82a78ec26c2f9ee906c8e162 = "/home/juncheng_liam_li/optimisation/scip-9.2.4/build"

, following the instructions in [https://jump.dev/JuMP.jl/stable/developers/custom_solver_binaries/#jll_structure]

My guess is that SCIP_jll is trying to find the Solplex in my local SCIP, which is non-existent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions