Dear all,
I am trying to solve an optimization problem from jupyter notebook using JuMP
with solver Ipopt
(Pardiso
linear solver). I can solve the problem without any problem when the code is in a filename.jl
file and I run it using include("filename.jl")
method. However, when I am trying to run the same code line by line from the jupyter notebook, I get the following errors:
- While running the codeblock:
Libdl.dlopen("/usr/lib/x86_64-linux-gnu/libomp.so.5", RTLD_GLOBAL)
(the path name is correct, it does contain the file and so on)
I get the error:
LoadError: could not load library "/usr/lib/x86_64-linux-gnu/libomp.so.5"
/usr/lib/x86_64-linux-gnu/libomp.so.5/libomp.so.5: cannot open shared object file: No such file or directory
- While running the codeblock
set_optimizer_attribute(model, "linear_solver", "pardiso")
I get the error:
Exception of type: DYNAMIC_LIBRARY_FAILURE in file "Common/IpLibraryLoader.cpp" at line 67:
Exception message: libpardiso.so: cannot open shared object file: No such file or directory
I am not sure what is going on. Any tips/suggestion will be much appreciated.