Wednesday, June 18, 2008

Counting to one is difficult

Running
FILE OPTFILE /conopt.opt/;
PUT OPTFILE;
PUTCLOSE 'lsismp = t' / 'lstria = t';
VARIABLES X;
EQUATIONS E1;
E1 .. X * 1E-12 =E= 1E-10;
MODEL M /ALL/ ;
M.OPTFILE = 1;
X.L = 1E+2; SOLVE M USING CNS;

gives the error message:
 ** Error in Square System: The number of non-fixed variables (1)
is not equal to the number of equations (1)