Use Ipopt with custom version


#1

Hi,

I wanted to point Ipopt to a custom version that I installed with other linear solvers, can someone help me achieve that?

Thanks in advance.


#2

In my experience the easiest way to do this is to add the ipopt dynamic library location to your OS’s dynamic linked library path variable.

If Ipopt.jl does not pick it up automatically, modify the path in Ipopt/deps/deps.jl to find the library file that you have built.

Note this procedure may change once Ipopt.jl is moved to BinaryBuilder.jl, see https://github.com/staticfloat/IpoptBuilder


#3

These instructions are correct for now. After https://github.com/JuliaOpt/Ipopt.jl/pull/98 this procedure will change (and will be documented in the readme).


#4

Actually I did that, specially changing the path in deps.jl, but even my libipopt.so was unable to be loaded by dlopen… I built Ipopt in ubuntu