nlcode4.gms : more NL testing when code is deleted

Description

Contributor: Alex


Small Model of Type : GAMS


Category : GAMS Test library


Main file : nlcode4.gms

$title more NL testing when code is deleted (NLCODE4,SEQ=438)

$onText
Contributor: Alex
$offText

variables u,v,x,y; equations e1,e2;

e1..  u*v =g= 0*(1-x)*y;
e2..  u*v =e= 2*(1-x)*y;

model m / e1,e2 /;

x.fx = .1;

u.l=.1;v.l=.2;

y.lo=1;

$echo tester tester.log > convert.opt
option nlp=convert; m.optfile=1;

solve m us nlp min y;
abort$(m.solvestat <> %solveStat.normalCompletion%) 'bad derivatives';