Recovering from DISCONNECTED in Gurobi Instant Cloud
回答済みHi,
I'm using Gurobi Instant Cloud to solve MIP problems constructed with Python (gurobipy 12.0). The client is an AWS EC2 instance. Usually this works well, but one of my longer runs was interruped by a disconnection while running Model.optimize(). The error took place while solving the root simplex.
From the client side, the error message was (copypasted from the Jupyter notebook):
File src/gurobipy/_model.pyx:901, in gurobipy._model.Model.optimize()
GurobiError: Job state is 'DISCONNECTED'The log on the server side does not show anything, it just… stops.
My intuition was that this was some sort of transient network error, but as the optimization was running unattended, I could not immediately retry to see if connectivity was restored within seconds or minutes.
Is there a way to prepare for, detect, and recover from such errors, preferably by not losing all work done so far by the compute server? This error took place about 90 minutes in, and I would have preferred not to have that time go to waste…
-
Hi Timo,
We'll create a ticket from your post and handle this directly.
Best regards,
Elisabeth
0
サインインしてコメントを残してください。
コメント
1件のコメント