亲人们:帮我用lingo编编程吧设X1,X2,X3……X46为46档长度肠衣分别的数,N成品捆数.则 Max Z=N (成品捆数越多越好)89.5>=3X1+3.5X2+……+6.5X8>=88.589.5>=7X9+7.5X10+……+13.5X22>=88.589.5>=14X23+14.5X24+……+2
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/24 14:42:43
亲人们:帮我用lingo编编程吧设X1,X2,X3……X46为46档长度肠衣分别的数,N成品捆数.则 Max Z=N (成品捆数越多越好)89.5>=3X1+3.5X2+……+6.5X8>=88.589.5>=7X9+7.5X10+……+13.5X22>=88.589.5>=14X23+14.5X24+……+2
亲人们:帮我用lingo编编程吧
设X1,X2,X3……X46为46档长度肠衣分别的数,N成品捆数.
则 Max Z=N (成品捆数越多越好)
89.5>=3X1+3.5X2+……+6.5X8>=88.5
89.5>=7X9+7.5X10+……+13.5X22>=88.5
89.5>=14X23+14.5X24+……+25.5X46=>88.5
X1+X2+……+X8=19N
X9+X10+……+X22=7N
X23+X24+……+X46=4N
亲人们:帮我用lingo编编程吧设X1,X2,X3……X46为46档长度肠衣分别的数,N成品捆数.则 Max Z=N (成品捆数越多越好)89.5>=3X1+3.5X2+……+6.5X8>=88.589.5>=7X9+7.5X10+……+13.5X22>=88.589.5>=14X23+14.5X24+……+2
model:
sets:
RT/1..46/:X;
endsets
max=n;
@sum(rt(i)|i#ge#1 #and# i#le#8:x(i)*(i/2+2.5))>=88.5;
@sum(rt(i)|i#ge#1 #and# i#le#8:x(i)*(i/2+2.5))=88.5;
@sum(rt(i)|i#ge#9 #and# i#le#22:x(i)*(i/2+2.5))=88.5;
@sum(rt(i)|i#ge#23 #and# i#le#46:x(i)*(i/2+2.5))