lingo中输入代码出现invalid input:a syntax error,怎么调试?急!
lingo中输入代码出现invalid input:a syntax error,怎么调试?急!
日期:2012-08-13 08:30:37 人气:2
MODEL:
SUBMODEL OBJ1:
Min=z1;
z1=0.3*x1+x2;
@free(z1);
ENDSUBMODEL
SUBMODEL OBJ2:
MAX=z2;
z2=3.14159*x1+4*3.14159*x2;
@free(z2);
ENDSUBMODEL
SUBMODEL CON1:
x1<=31;
x2<=7;
x1>=0;x2>=0;
ENDSUBMODEL
CALC:
@write('z1的最小解:'