lingo报错index variables may not share names with other variab

mutou_562022-10-04 11:39:541条回答

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)

已提交,审核后显示!提交回复

共1条回复
whb1122 共回答了27个问题 | 采纳率96.3%
@for(Attributions(J):W(J)-Adjusted_W(J)
1年前

相关推荐