Gurobi for quadratic constraint problems

Hi, I want to know if I can use the Gurobi solver to solve the next problem:

min: ( (x1-1)^2 + (x2-2)^2 + (x3-1)^2 ) / 2
 
s.t.:
x1, x2, x3 >= 0
x1 * x3 <= 2
x2 * x3 <= 2

Because when I try to do that I get this error:
Gurobi.GurobiError(10020, "Q matrix is not positive semi-definite (PSD)")

So, I want to know exactly what kind of quadratic constraint problems I can solve using Gurobi

Thanks

Please provide a link if you post in multiple places: https://github.com/JuliaOpt/Gurobi.jl/issues/255

I’ve answered in the Github issue :slight_smile:

2 Likes

ohh, sorry, I hasn’t notice that. thanks… I will answer you there :wink: