nlcode1.gms : test for NL code generation error GT00470

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : nlcode1.gms

$title test for NL code generation error GT00470 (NLCODE1,SEQ=64)

scalar zero / 0 /;
positive variables u,v,x,y; variable z; equation e; model m / e /;

e.. z =e= zero*(-u*v) + x*y;

solve m us nlp min z;

abort$(m.solvestat <> %solveStat.normalCompletion%) 'something went wrong';