Currently, 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.
Please sign in to leave a comment.