hsllib attribute of Ipopt_jll does not load correctly when there is blank space in path. For example, if folder is named "test 2" if fails with an error, but if folder is named "test2" then it works as expected. Sample of a call is illustrated below.
set_optimizer(pol, () -> AmplNLWriter.Optimizer(Ipopt_jll.amplexe))
set_attribute(pol, "linear_solver", "ma27")
set_attribute(pol, "hsllib", joinpath(@__DIR__,"../HSL/libhsl.so"))
optimize!(pol)
Log:
Ipopt 3.14.17: hsllib=/home/karlo/Desktop/test
Unknown keyword "2/sa/../HSL/libhsl.so"
linear_solver=ma27
Run using Julia 1.11.3 and Linux.