cns08.gms : CNS model - singular, nonsquare

Description

This CNS model is singular and it should be caught by GAMS since
it is not square.


Small Model of Type : CNS


Category : GAMS Test library


Main file : cns08.gms

$title CNS model - singular, nonsquare (cns08,SEQ=98)

$onText
  This CNS model is singular and it should be caught by GAMS since
  it is not square.

$offText

maxexecerror = 1;
variable x;
equation e1, e2;

e1 .. x =e= 1;
e2 .. x =e= 1;

model cns08 / all /;
option limrow = 0, limcol = 0;
solve cns08 using cns;
abort$(execerror=0) 'previous solve should have given exec errors';
abort$(cns08.solvestat <> %solveStat.solveProcessingSkipped% or cns08.modelstat <> %modelStat.noSolutionReturned%)  'bad return codes';
execerror = 0;