lingo小程序:在END处显示missing right parenthesis 求大神帮忙指导一下!!!!!
MODEL:SETS:HY/1..1000/:H;DVD/1..100/:D;FP(HY,DVD):C,A;ENDSETSDATA:D=@OLE('D:\B2005Tab...
MODEL:
SETS:
HY/1..1000/:H;
DVD/1..100/:D;
FP(HY,DVD):C,A;
ENDSETS
DATA:
D=@OLE('D:\B2005Table2.xls','DVDSHULIANG');
C=@OLE('D:\B2005Table2.xls','MANYIDU');
@OLE('D:\B2005Table2.xls','JIEGUO')=A;
ENDDATA
MAX=@SUM(FP:C*A);
@FOR(HY(I):H(I)=@SUM(DVD(J):A(I,J));
@BND(2,H(I),3);
@FOR(DVD(J):@SUM(HY(I):A(I,J))<=D(J));
@FOR(FP:@BIN(A));
END 展开
SETS:
HY/1..1000/:H;
DVD/1..100/:D;
FP(HY,DVD):C,A;
ENDSETS
DATA:
D=@OLE('D:\B2005Table2.xls','DVDSHULIANG');
C=@OLE('D:\B2005Table2.xls','MANYIDU');
@OLE('D:\B2005Table2.xls','JIEGUO')=A;
ENDDATA
MAX=@SUM(FP:C*A);
@FOR(HY(I):H(I)=@SUM(DVD(J):A(I,J));
@BND(2,H(I),3);
@FOR(DVD(J):@SUM(HY(I):A(I,J))<=D(J));
@FOR(FP:@BIN(A));
END 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询