error handling bilinear terms in Gurobi 9

Comments

3 comments

  • Silke Horn

    Hi,

    How are you using Gurobi? This does not look as though the error message is coming directly from Gurobi.

    Are you setting NonConvex=2?

    Silke

    0
    Comment actions Permalink
  • Hossein Haghighat

    I am a user of AMPL and solve models with Gurobi. here is a very simple mode, through I get this error for a sophisticated model as well. 

    constraint C1 must be "<= " otherwise it cannot handle!

    var x ; var y;
    var u >= 0; var v >= 0;
    var r; var s; var t;

    minimize obj: u+v ;

    s.t. C1: r^2+s^2 = u^2;
    s.t. C2_1: t <= v;
    s.t. C2_2: t >= -v;
    s.t. C3: x+2 = r;
    s.t. C4: y+1 = s;

    s.t. C5: x+y = t; 

     

    0
    Comment actions Permalink
  • Robert Fourer

    This was cross-posted to the AMPL forum, where the issues were resolved.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk