请各位高手帮我看看这个lingo程序的错误代码是29,是怎么回事,谢谢帮忙 !!!!
sets:DMU/1..5/:S,T,P;!DecisionMakingUnit;II/1..9/:w;!InputIndex;OI/1..9/:u;!OutputInd...
sets:
DMU /1..5/: S,T,P; !Decision Making Unit;
II /1..9/: w; !Input Index;
OI /1..9/: u; !Output Index;
IV(II, DMU) :X; !Input Variable;
OV(OI, DMU) : Y; !Output Variable;
endsets
data:
P = ?;
X =396 323 327.58 289 318.28
7.43 8.77 7.59 6.8 6.6
2.44 2.3 2.65 3.29 3.3
1.5 0.014 0.0731 0.2 1.88
13 1.25 3.957 4.6 12.1
8 1.75 1.32 5.7 1.576
0.4 0.185 0.459 0.7 0.656;
Y = 96.35 98.34 97.6 91 97.6
0.10198 0.12953 0.09699 0.22701 0.10276;
enddata
max=@sum(DMU: P*T);
@for(DMU(j):
S(j)=@sum(II(i): w(i)*X(i,j));
T(j)=@sum(OI(i): u(i)*Y(i,j));
S(j)>=T(j));
@sum(DMU: P*S)=1; 展开
DMU /1..5/: S,T,P; !Decision Making Unit;
II /1..9/: w; !Input Index;
OI /1..9/: u; !Output Index;
IV(II, DMU) :X; !Input Variable;
OV(OI, DMU) : Y; !Output Variable;
endsets
data:
P = ?;
X =396 323 327.58 289 318.28
7.43 8.77 7.59 6.8 6.6
2.44 2.3 2.65 3.29 3.3
1.5 0.014 0.0731 0.2 1.88
13 1.25 3.957 4.6 12.1
8 1.75 1.32 5.7 1.576
0.4 0.185 0.459 0.7 0.656;
Y = 96.35 98.34 97.6 91 97.6
0.10198 0.12953 0.09699 0.22701 0.10276;
enddata
max=@sum(DMU: P*T);
@for(DMU(j):
S(j)=@sum(II(i): w(i)*X(i,j));
T(j)=@sum(OI(i): u(i)*Y(i,j));
S(j)>=T(j));
@sum(DMU: P*S)=1; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询