Message Boards Message Boards

0
|
4945 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

What quadratic problems can Method -> "Gurobi" solve?

QuadraticOptimization[x^2+y^2,{x+y==2,0<=y<=2},{x,y}, Method->"GUROBI"]

{x->1.,y->1.}

QuadraticOptimization[2x^2+20y^2+6x y+5x,{-x+y>=2,y>=1},{x,y},Method -> "Gurobi"]

During evaluation QuadraticOptimization::badmtd: Method Gurobi is not one 

of Automatic, "COIN", "CSDP", "DSDP", "SCS", "SuperSCS" or "PolyhedralApproximation".

QuadraticOptimization[5 x+2 x^2+6 x y+20 y^2,{-x+y>=2,y>=1},{x,y},Method->Gurobi]
POSTED BY: Frank Kampas
2 Replies

THANKS

POSTED BY: Frank Kampas

The difference in upper case of GUROBI vs Gurobi matters (although perhaps both of them should be accepted)

In[1]:= QuadraticOptimization[2 x^2 + 20 y^2 + 6 x y + 5 x, { -x + y >= 2, y >= 1}, 
           {x, y}, Method -> "GUROBI"]

Out[1]= {x -> -2.75, y -> 1.}
POSTED BY: Ilian Gachevski
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract