knitro02.gms : KNITRO test suite - model setup issue

Description

With GAMS 44 and some previous versions, this model causes the GAMS/Knitro link
to crash.  The problem is some bogus counts returned by GMO and caused by the
disappearing quadratic form resulting from the EPS.

Contributor: Steve


Small Model of Type : GAMS


Category : GAMS Test library


Main file : knitro02.gms

$title 'KNITRO test suite - model setup issue' (KNITRO02,SEQ=944)

$onText
With GAMS 44 and some previous versions, this model causes the GAMS/Knitro link
to crash.  The problem is some bogus counts returned by GMO and caused by the
disappearing quadratic form resulting from the EPS.

Contributor: Steve
$offText

scalars
  x2 / 1.0 /
  y2 / 4.0 /
  r2 / 4.0 /
  c / EPS /
  cx / 1.0 /
  cy / 1.0 /
  ;
variables
  x
  y
  s2 / LO -0.5, UP 0 /
  z
  ;
equations
  f1
  f2
  g
  odef
  ;
f1..  x * [1 + c*y] =L= 6;
f2.. sqr(x-x2) + sqr(y-y2) + s2 =L= sqr(r2);
g..  sqrt(1 + x*x + 2*y*y) =L= 19;
odef.. cx*x + cy*y =E= z;

model m / f1, f2, g, odef /;
solve m using nlp max z;