早教吧作业答案频道 -->其他-->
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...的网友还看了以下:
已知字母组合成英语单词1、e e t t i n h r 2、e e r a t w h 3、o 2020-05-14 …
又是一道数学题.利用2cosθ=e^(iθ)+e^(-iθ)这个公式证明e^(ia)+e^(ib) 2020-06-14 …
求下面函数的解释,看不懂function A = fun(W)[m,n] = size(W); e 2020-06-27 …
设E表示由n阶单位矩阵第i行与第j行互换得到的初等矩阵,则,E(I,J)^2=.设E表示由n阶单位 2020-07-16 …
英语翻译1、OldMacdonaldhadafarm.E-I-E-I-O.Andonthatfarm 2020-11-01 …
设集合M={1,2,3,4,5,6},对于ai,bi∈M,记ei=aibi且ai<bi,由所有ei组 2020-11-01 …
2-1设文法G[E]的产生式集为:EàE+T|E-T|TTàT*F|T/F|FFà(E)|i(1)给 2020-11-26 …
求教一道复数题已知e^(i*α)*e^(i*β)=e^(i*(α+β)),求用α和β表示sin(α+ 2020-12-13 …
英语向高人求教!写几句话.每句开头的第一个字母分别是“L,i,U,F,E,i,F,E,i,w,o,a 2020-12-15 …
积分:e^(x^2)dx在百度上,我找了一下这个答案,某个大虾很猛地给出了f=-(pi^(1/2)* 2021-01-20 …