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;link
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 19:12:23
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;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)
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;link
@for(Attributions(J):W(J)-Adjusted_W(J)