Hi all,
When I try to use ipopt, liblapack.3.dylib cannot be found.
Running opt = pe.SolverFactory('ipopt') doesn't return an errorr.
Running log = opt.solve(m, tee=True) then give this error:
"dyld[88923]: Library not loaded: '@rpath/liblapack.3.dylib'
Referenced from: '/Users/lennartullner/anaconda3/envs/energy/lib/libdmumps_seq-5.2.1.dylib'
Reason: tried: '/Users/lennartullner/anaconda3/envs/energy/lib/liblapack.3.dylib' (no such file), '/Users/lennartullner/anaconda3/envs/energy/lib/liblapack.3.dylib' (no such file), '/Users/lennartullner/anaconda3/envs/energy/lib/liblapack.3.dylib' (no such file), '/Users/lennartullner/anaconda3/envs/energy/bin/../lib/liblapack.3.dylib' (no such file), '/Users/lennartullner/anaconda3/envs/energy/bin/../lib/liblapack.3.dylib' (no such file), '/usr/local/lib/liblapack.3.dylib' (no such file), '/usr/lib/liblapack.3.dylib' (no such file)
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: See the solver log above for diagnostic information."
I am using Mac OS 12.5.1.
I installed pyomo using conda, channel conda-forge. I installed ipopt and liblapack and libdmums the same way.
Using the glpk solver works without issue, but only after I provided the path to the glpksol file.
Despite the error message saying "(no such file)" the liblapack.3.dylib file is exactly in the specified location in my mac's directory.
I've tried re-installing Lapack and it didn't change anything.
I would appreciate any help.
Regards,
Lennart