Process finished with exit code -1073741819 (0xC0000005)/ 0xC0000374

2,671 views
Skip to first unread message

Yingyun Sun

unread,
Jan 8, 2018, 4:42:18 AM1/8/18
to Gurobi Optimization
I'm using Gurobi to solve TAP problem, and when it exits, it shows the error code 0xC0000005 or 0xC0000374

Sometimes it can give the results, and sometimes not. it shows out of memory couples times, but I'm sure that is
not the problem because the problem is small.
My OS is win10, Python 3.6 and Gurobi 7.5.2 

=========================================
I'm sure this is because the PWL function provided by Gurobi 7. for I changed the objective function, everything is good.
I'll try PWL by myself and see what will happen.

Michael Winkler

unread,
Jan 8, 2018, 5:02:44 AM1/8/18
to Gurobi Optimization
Hi,

I'm not sure where these error come from, these aren't any Gurobi error codes nor aren't they some status codes. Could you provide some log file and the model file best in MPS format?

Best,
Michael

Yingyun Sun

unread,
Jan 8, 2018, 6:40:31 AM1/8/18
to Gurobi Optimization
Here we go.
I know that is Windows error code but I guess it was caused by Gurobi PWL . and it crushed randomly. you can check it from the log and find there are no solution at all because it already crushed.

I also import CVXOpt to deal with the sparse matrix.

Good luck!
Yingyun
test.mps
gurobi.log

Michael Winkler

unread,
Jan 8, 2018, 7:03:16 AM1/8/18
to Gurobi Optimization
From looking at the log file it seems you are solving several different models, are you sure that this one produces the error? In the log file for one solve I see an incomplete solve, was this the produced log when encountering the error?
Is the error happening while solving the model or while doing something else, e.g., querying attributes?

Also I tested the attached mps file and it looks ok to me, no problems. Let me say that it should be deterministic, so my current guess is that you might have a corrupt ram module; you might want to check that with something like memcheck.

Best,
Michael

Yingyun Sun

unread,
Jan 9, 2018, 12:25:15 AM1/9/18
to Gurobi Optimization
I wrote the PWL objective function and corresponding constraints by myself and everything is OK now.
Since PWL is a new function just be added to Gurobi just after version 7, so I thin it is possible not that robust.
Also I check my memory and everything is good.

Regards,
Yingyun 
Reply all
Reply to author
Forward
0 new messages