PATHSolver.jl icon indicating copy to clipboard operation
PATHSolver.jl copied to clipboard

Solver error crashes Julia session

Open lassepe opened this issue 1 year ago • 14 comments

Within my research code I hit a very confusing behavior of PATH that cased my entire Julia session to just silently close. Debugging with GDB gave no sbacktrace and I did not get any error on the Julia side -- the session just closed.

Upon further inspection of the solver log, it looks like this is happening due to a PATH internal error that is not gracefully handled on the Julia side; the log ends with,

  ** SOLVER ERROR **
Lemke: invertible basis could not be computed.
       You may avoid this error by increasing the
       lemke_rank_deficiency_iterations option.

then the Julia session crashes.

Can this bet caught within PATHSolver.jl and converted to a recoverable error? Or is this considered a Julia bug and should be filed upstream?

lassepe avatar Nov 10 '22 15:11 lassepe