Lingo运行出现“Improper use of set name”,怎么修改?model:sets: num1/nl1/:i; num2/nz0..nz33/:j;endsets目标函数; min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;约束条件; 3+(m-1)*

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 07:35:01
Lingo运行出现“Improper use of set name”,怎么修改?model:sets:  num1/nl1/:i;  num2/nz0..nz33/:j;endsets目标函数;  min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;约束条件;  3+(m-1)*
xTNP(߇IL+>6Uc'cQ%V(ԗD)$J$T!شBd;/zDC7{#܉Sw/7{+aY;j|yjuט9π უUcAX ΖˣC^6j Μ9ULNsQ.SSh6/njg[țSqyi?ԳtLOL錟'r$K$33ټ*vh{/H);PfCɲ+TSFW3KvoVWF8NU-Z^NS\N|*uuu>%Vγ*b*2yQ 2!T"e1%nr*f^2"6e4A( M1zneR{iX"#DH3de$Uޤ*ujj~O-l\zId${$`N+9*%m!|2#娘B)]ԃ\գRYՁ-X  L+0"A01` Ey`j "H@d(ZҁBc5CPs'J*|~snBx5Z, ߭ohc'8; Kcm6ߣ|^Q PVr38=6ß'l#A~NWÕvpiz:ki_/\0^w⺹ʐ繪3oo

Lingo运行出现“Improper use of set name”,怎么修改?model:sets: num1/nl1/:i; num2/nz0..nz33/:j;endsets目标函数; min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;约束条件; 3+(m-1)*
Lingo运行出现“Improper use of set name”,怎么修改?

model:
sets:
  num1/nl1/:i;
  num2/nz0..nz33/:j;
endsets
目标函数;
  min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;
约束条件;
  3+(m-1)*t<=36;
  3+m*t>36;
  Q>=X0*t;
  K0+m*Q>=36*X0;
  X0=94;
  K0=188;
数据输入;
  data:
  i=1;
  j=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33;
  enddata
  end

Lingo运行出现“Improper use of set name”,怎么修改?model:sets: num1/nl1/:i; num2/nz0..nz33/:j;endsets目标函数; min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;约束条件; 3+(m-1)*
你的集名 属性名和下标搞乱了
@sum的一般格式 @sum(集名(下标) :属性名(下标))
你照这个自己改一下 另外lingo不区分大小写 你的这些名称都不能重名

lingo运行时出现improper use of set name!MODEL:建立集合;SETS:Three products; PRODUCT/A,B,C/;Two distctrs; DISTCTR/DCl,DC2/;F;Five customers; CUSTOMER/C1,C2,C3,C4,C5/; D=Demand for a product by a customer.; DEMLINK(PRODUCT,CUSTOMER):D; Each Lingo运行出现“Improper use of set name”,怎么修改?model:sets: num1/nl1/:i; num2/nz0..nz33/:j;endsets目标函数; min=@sum(num1(I):@sum(num2(J):num1(I)*Q-X0*((num1(I)-1)*t+num2(J))))*0.2+282*0.2+18*m*q+75*m+48000;约束条件; 3+(m-1)* Improper use of @FOR() function 运行lingo出现了这句话sets:r/1..4/:f,g,d,a,y;c/1..12/:b;m(r,c):x,p;endsetsdata:p=24 35 47 43 83 80 97 100 96 85 57 6551 39 70 66 74 73 90 101 101 90 365841 49 83 56 64 63 80 68 91 80 382862 41 64 49 57 50 52 60 lingo程序如何运行 lingo运行错误improper use of attribute name,model:sets:chan/c1..c10/:p,q,w,f;xie/1..5/:d;links(chan,xie):x,c,l,a,b,t;endsets@for(chan(i):@sum(xie(j):x(i,j)) Lingo 错误代码 12-(data missing right parenthesis)运行时出现,数据缺少右括号的错误,这是怎么回事? 为啥运行LINGO时会出现错误代码11,MODEL:SETS:CHSH/1..6/;LINKS(CHSH,CHSH)/1,2 1,3 2,3 2,4 3,5 4,3 4,6 5,4 5,6 6,1/:C,U,F;ENDSETSDATA:U=8,7,5,9,9,2,5,6,10,15;C=2,8,5,2,3,1,6,4,7,8;ENDDATDN= @SIZE(CHSH);F(6,1)=14;MIN= @MIN( LINKS(I,J)|I#LT#N:C lingo运行时总是出现index variables may not share name with other variables是怎么回事用的下标n跟其他变量什么的没有重复的啊, 用LINGO做题时出现未知数怎么做? 运行程序出现了错误 帮我运行个lingo的程序,我这边运行不了程序如下:model:sets:cities/1..6/:u; link(cities,cities):dist,x;endsetsn=@size(cities);data:dist=0 5600 3500 2100 5100 60005600 0 2100 5700 7800 70003500 2100 0 3600 6800 68002100 5700 3600 0 51 improper integral是什么意思 improper integral是什么意思 improper的意思 在lingo中,结果出现以下英语是什么意思 lingo中出现问题:subscript out of range on attribute, lingo运行结果中变量的值为0.8000000E-01 ~~请问这个是什么意思 为什么lingo程序运行出来没有灵敏度分析的数据呀?