I have some code calling Ipopt through JuMP. I’m in the testing phase and have a small and large-ish problem. Small problem runs without issue.
The large problem hits a Restoration Failure (ok, I can work to fix that). On Windows running Julia 1.4.2, Ipopt v0.6.2, and JuMP v0.21.2
Restoration phase is called at point that is almost feasible,
with constraint violation 5.674943e-06. Abort.Number of Iterations…: 411
The program finishes OK.
In Ubuntu julia 1.4.1, Ipopt v0.6.2, and JuMP v0.21.2, I get the same, plus a stack trace and Julia crashes.
Restoration phase is called at point that is almost feasible,
with constraint violation 5.674943e-06. Abort.signal (6): Aborted
in expression starting at /home/dompazz/files/Pacing/hierarchy/pcf_pacing_hier.jl:492
gsignal at /usr/bin/…/lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /usr/bin/…/lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7f32c2400675)
_ZN5Ipopt22BacktrackingLineSearch24FindAcceptableTrialPointEv.cold.221 at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
_ZN5Ipopt14IpoptAlgorithm8OptimizeEb at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
_ZN5Ipopt16IpoptApplication13call_optimizeEv at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEERNS1_INS_16AlgorithmBuilderEEE at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEE at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
_ZN5Ipopt16IpoptApplication12OptimizeTNLPERKNS_8SmartPtrINS_4TNLPEEE at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
IpoptSolve at /home/dompazz/.julia/artifacts/6ab67e4ac077183345b1d6dec8ee7fd34b4e9fd7/lib/libipopt.so (unknown line)
solveProblem at /home/dompazz/.julia/packages/Ipopt/YJcu4/src/Ipopt.jl:361
…
unknown function (ip: (nil))
Allocations: 19822480084 (Pool: 19822426594; Big: 53490); GC: 8184Julia has exited.
Julia was installed with apt-install
on Ubuntu and 1.4.1 is the most recent version available. I can manually upgrade if that is the issue. I would prefer to develop on the Ubuntu machine as it has newer and more processors.
Is this a known issue with Julia 1.4.1 or something else?