lingo 错误代码1017程序如下:(望大侠指正)Model:Sets:Yh/y1..y28/:D;wd/w1..w11/:I,R,V,wdx,F;sn/S1/;Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;EndsetsData:D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 06:49:15
lingo 错误代码1017程序如下:(望大侠指正)Model:Sets:Yh/y1..y28/:D;wd/w1..w11/:I,R,V,wdx,F;sn/S1/;Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;EndsetsData:D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230
lingo 错误代码1017程序如下:(望大侠指正)
Model:
Sets:Yh/y1..y28/:D;
wd/w1..w11/:I,R,V,wdx,F;
sn/S1/;
Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;
Endsets
Data:
D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230 145 280 240 310 230 130 350;
R=12 10.5 9 12.5 15.5 13.5 13 20 12.5 14.5 16;
V=2 2.6 2.4 2.2 2.2 2 1.8 2.6 1.6 2.2 2;
I=12 13 14.5 15 13.5 13 12 13.5 13.5 14.5 13;a=1; b=1;
Enddata
Min=@sum (linkssw:a*x)+@sum(linkswy:b*y)+@sum(wd:wdx*V*F^0.5)+@sum(wd:wdx*I);
@for(wd(I):@sum(sn(J):x(J,I))=@sum(yh(K):y(I,K)));
@sum(wd:wdx)
lingo 错误代码1017程序如下:(望大侠指正)Model:Sets:Yh/y1..y28/:D;wd/w1..w11/:I,R,V,wdx,F;sn/S1/;Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;EndsetsData:D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230
没有可行解 自己查一下
Model:
Sets:Yh/y1..y28/:D;
wd/w1..w11/:II,R,V,wdx,F;
sn/S1/;
Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;
Endsets
Data:
D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230 145 280 240 310 230 130 350;
R=12 10.5 9 12.5 15.5 13.5 13 20 12.5 14.5 16;
V=2 2.6 2.4 2.2 2.2 2 1.8 2.6 1.6 2.2 2;
II=12 13 14.5 15 13.5 13 12 13.5 13.5 14.5 13;a=1; b=1;
Enddata
Min=@sum(linkssw:a*x)+@sum(linkswy:b*y)+@sum(wd:wdx*V*F^0.5)+@sum(wd:wdx*II);
@for(wd(I):@sum(sn(J):x(J,I))=@sum(yh(K):y(I,K)));
@sum(wd:wdx)