Hello,
It seems like Gurobi installs its own signal handlers when Gurobi is being used through Python.
Therefore, when I'm running an optimization setup with Python, and I press control + C, Gurobi terminates the optimization.
However, it also seems like Python terminates if I press control+c multiple times.
I would like to handle interruptions (either control+c or sigkill or others) gracefully in my program, but it seems like installing signal handlers doesn't work. It looks like the reason is that Gurobi is "stealing" those handlers, as my python code for handling signal interruptions is not being called at all after Gurobi starts running.
Is there anyway to overcome this issue?
Thanks!