Suggest users set `NonConvex = 2` for non-PSD quadratics
AnsweredCurrently, non-convex quadratics throw "Q not PSD" if "NonConvex != 2".
Until the default value is set to 2, the error message should be modified to suggest users try setting "NonConvex=2".
For example: "Objective Q not PSD (negative diagonal entry). If you meant to solve a non-convex quadratic, set the NonConvex parameter to 2."
In the Julia interface (Gurobi.jl), we have a steady stream of users (e.g., https://github.com/JuliaOpt/Gurobi.jl/issues/285) who aren't aware that they need to set this parameter.
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
This feature has been introduced with Gurobi v9.0.2.
0
Post is closed for comments.
Comments
2 comments