哪位大神可以帮我看下下面的lingo程序哪里出错了,说是第5行有有语法错误.MODEL:SETS:QUARTERS/1,2,3,4/,RP,OP,INV; ENDSETS MIN=@SUM(QUARTERS:400*RP+450*OP+20*INV); @FOR(QUARTERS @FOR(QUARTERS(I)|I#GT#1:INV(I)=INV(I-1)+RP(I)+OP(I)-DEM(I);); INV(1)=10+RP(1)+OP(1)-DEM(1); DATA:DEM=40,60,75,25; enddataEND
问题描述:
哪位大神可以帮我看下下面的lingo程序哪里出错了,说是第5行有有语法错误.MODEL:SETS:QUARTERS/1,2,3,4/,RP,OP,INV; ENDSETS MIN=@SUM(QUARTERS:400*RP+450*OP+20*INV); @FOR(QUARTERS @FOR(QUARTERS(I)|I#GT#1:INV(I)=INV(I-1)+RP(I)+OP(I)-DEM(I);); INV(1)=10+RP(1)+OP(1)-DEM(1); DATA:DEM=40,60,75,25; enddataEND
答
没看出来有错误 查看原帖>>