Can anyone tell me why I am getting syntax error here?
subject to x1bounds12: x1[2]= (((x21 * 0.62567819)-0.554609929)*1.5)+1.5;
subject to x2bounds11{j in 1..nsample: x2[1,j]= ((((x12[j] * 0.461011466)-0.809929078)*1.5)+1.5);
error message :
mymodel.mod, line 1035 (offset 24129):
syntax error
context: subject to x2bounds11{j in 1..nsample: x2[1,j]= ((((x12[j] * >>> 0.461011466)-0.809929078)*1.5)+1.5); <<<
Is it because of using too many digit after decimal ? If so then why 1st constraint is error free while AMPL is saying second one has syntax error ?
Thanks in advance.