-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abort trap in gurobi backend with non PSD matrix #27
Comments
That doesn't look like a segfault, I think this is just an unhandled exception of type |
That part is quite interesting: Can it be gurobi allows non-PSD matrices now? If so, then we should just set this magic parameter to 2 ;) |
I agree, sorry, wrong term! I think I had seen a segfault when running a test that had included this ... but maybe I'm wrong there too 😂 anyway, do you think it's as simple as always setting it? Or do we have to set it conditionally? |
note to self, can avoid the crash by adding this to model.solve(): GRBenv* modelenv = GRBgetenv(_model);
GRB_CHECK(GRBsetintparam(modelenv, GRB_INT_PAR_NONCONVEX, 2)); (this requires a new header file, will PR when finished exploring) |
the following script results in a
segfaultcrash in the gurobi backend:I have no doubt I've set something up that is impossible, non-convex, or something bad :) ... but it shouldn't segfault either way:
The text was updated successfully, but these errors were encountered: