为什么lingo中这个程序语法错误?
max=sum7+sum9;
sum7=n1*x11+n2*x12+n3*x13+n4*x14+n5*x15+n6*x16+n7*x17+n8*x18+n9*x19+n10*x110+n11*x111+n12*x112+n13*x113+n14*x114;
sum9=n1*x21+n2*x22+n3*x23+n4*x24+n5*x25+n6*x26+n7*x27+n8*x28+n9*x29+n10*x210+n11*x211+n22*x212+n13*x213+n14*x214;
n1*(x11+x21)=3.6;
n2*(x12+x22)=5.2;
n3*(x13+x23)=3.5;
n4*(x14+x24)=12.0;
n5*(x15+x25)=4.7;
n6*(x16+x26)=14.0;
n7*(x17+x27)=2.6;
n8*(x18+x28)=5.5;
n9*(x19+x29)=3.7;
n10*(x110+x210)=5.6;
n11*(x111+x211)=7.2;
n12*(x112+x212)=4.5;
n13*(x113+x213)=5.4;
n14*(x114+x214)=2.8;
@BIN(n1);
@BIN(n2);
@BIN(n3);
@BIN(n4);
@BIN(n5);
@BIN(n6);
@BIN(n7);
@BIN(n8);
@BIN(n9);
@BIN(n10);
@BIN(n11);
@BIN(n12);
@BIN(n13);
@BIN(n14);
sum7<=36;
sum9<=36;
m7=n1*x11*33.0956+n2*x12*26.3498+n3*x13*22.8270+n4*x14*11.4438+n5*x15*28.0207+n6*x16*13.8177+n7*x17*0+n8*x18*35.2108+n9*x19*25.8297+n10*x110*16.2875+n11*x111*8.6222+n12*x112*9.7825+n13*x113*26.4480+n14*x114*23.5365;
m9=n1*x21*31.2899+n2*x22*38.8857+n3*x23*21.0213+n4*x24*23.9797+n5*x25*26.2150+n6*x26*12.0120+n7*x27*25.8297+n8*x28*9.3811+n9*x29*0+n10*x210*14.4479+n11*x211*7.6653+n22*x212*13.6656+n13*x213*10.1605+n14*x214*16.1718;
m7+m9<430;
end 展开
model:
max=sum7+sum9;
sum7=n1*x11+n2*x12+n3*x13+n4*x14+n5*x15+n6*x16+n7*x17+n8*x18+n9*x19+n10*x110+n11*x111+n12*x112+n13*x113+n14*x114;
sum9=n1*x21+n2*x22+n3*x23+n4*x24+n5*x25+n6*x26+n7*x27+n8*x28+n9*x29+n10*x210+n11*x211+n22*x212+n13*x213+n14*x214;
n1*(x11+x21)=3.6;
n2*(x12+x22)=5.2;
n3*(x13+x23)=3.5;
n4*(x14+x24)=12.0;
n5*(x15+x25)=4.7;
n6*(x16+x26)=14.0;
n7*(x17+x27)=2.6;
n8*(x18+x28)=5.5;
n9*(x19+x29)=3.7;
n10*(x110+x210)=5.6;
n11*(x111+x211)=7.2;
n12*(x112+x212)=4.5;
n13*(x113+x213)=5.4;
n14*(x114+x214)=2.8;
@BIN(n1);
@BIN(n2);
@BIN(n3);
@BIN(n4);
@BIN(n5);
@BIN(n6);
@BIN(n7);
@BIN(n8);
@BIN(n9);
@BIN(n10);
@BIN(n11);
@BIN(n12);
@BIN(n13);
@BIN(n14);
sum7<=36;
sum9<=36;
m7=n1*x11*33.0956+n2*x12*26.3498+n3*x13*22.8270+n4*x14*11.4438+n5*x15*28.0207+n6*x16*13.8177+n7*x17*0+n8*x18*35.2108+n9*x19*25.8297+n10*x110*16.2875+n11*x111*8.6222+n12*x112*9.7825+n13*x113*26.4480+n14*x114*23.5365;
m9=n1*x21*31.2899+n2*x22*38.8857+n3*x23*21.0213+n4*x24*23.9797+n5*x25*26.2150+n6*x26*12.0120+n7*x27*25.8297+n8*x28*9.3811+n9*x29*0+n10*x210*14.4479+n11*x211*7.6653+n12*x212*13.6656+n13*x213*10.1605+n14*x214*16.1718;
m7+m9<430;
end