早教吧作业答案频道 -->其他-->
lingo报错indexvariablesmaynotsharenameswithothervariables该怎么调试啊model:sets:Experts/E1,E2,E3/:D,N,AdjustedD;Alternatives/X1,X2,X3,X4,X5/:B;Attributions/A1,A2,A3,A4,A5,A6,A7,A8/:W,M,AdjustedW;links1(Experts,Alternatives):T,F;link
题目详情
lingo报错index variables may not share names with other variables该怎么调试啊
model:
sets:
Experts/E1,E2,E3/:D,N,Adjusted_D;
Alternatives/X1,X2,X3,X4,X5/:B;
Attributions/A1,A2,A3,A4,A5,A6,A7,A8/:W,M,Adjusted_W;
links1(Experts,Alternatives):T,F;
links2(Experts,Alternatives,Attributions):Opinion;
Links3(Alternatives,Attributions):Group_opinion;
endsets
min=@sum(Experts:N)+@sum(Attributions:M);
@for(Experts(K):D(K)-Adjusted_D(K)
model:
sets:
Experts/E1,E2,E3/:D,N,Adjusted_D;
Alternatives/X1,X2,X3,X4,X5/:B;
Attributions/A1,A2,A3,A4,A5,A6,A7,A8/:W,M,Adjusted_W;
links1(Experts,Alternatives):T,F;
links2(Experts,Alternatives,Attributions):Opinion;
Links3(Alternatives,Attributions):Group_opinion;
endsets
min=@sum(Experts:N)+@sum(Attributions:M);
@for(Experts(K):D(K)-Adjusted_D(K)
▼优质解答
答案和解析
@for(Attributions(J):W(J)-Adjusted_W(J)
看了 lingo报错indexva...的网友还看了以下: