Lingo中进行编程总是会出现错误,下面的公式总是显示A syntax error has occurred
MAXZ=0.89X1+1.1X2+1.8X3-0.45(Y1.1+Y2.1+Y3.1)-0.55(Y1.2+Y2.2+Y3.2)-0.7(Y1.3+Y2.3+Y3.3)...
MAX Z=0.89X1+1.1X2+1.8X3-0.45(Y1.1+Y2.1+Y3.1)-0.55(Y1.2+Y2.2+Y3.2)
-0.7(Y1.3+Y2.3+Y3.3)-0.5(Y1.4+Y2.4+Y3.
sum(Y1.1+Y2.1+Y3.1)<=2000,sum(Y1.2+Y2.2+Y3.2)<=4000,
sum(Y1.3+Y2.3+Y3.3)<=5000,sum(Y1.4+Y2.4+Y3.4)<=3000;
Y1.3<=0.2X1,Y1.4>=0.4X1,Y1.2<=0.25X1;
Y2.3《=0.35X2,Y2.1>=0.4X2;
Y3.3>=0.3X3,Y3.3<=0.5X3,Y3.1>=0.3X3 展开
-0.7(Y1.3+Y2.3+Y3.3)-0.5(Y1.4+Y2.4+Y3.
sum(Y1.1+Y2.1+Y3.1)<=2000,sum(Y1.2+Y2.2+Y3.2)<=4000,
sum(Y1.3+Y2.3+Y3.3)<=5000,sum(Y1.4+Y2.4+Y3.4)<=3000;
Y1.3<=0.2X1,Y1.4>=0.4X1,Y1.2<=0.25X1;
Y2.3《=0.35X2,Y2.1>=0.4X2;
Y3.3>=0.3X3,Y3.3<=0.5X3,Y3.1>=0.3X3 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询