谁能帮我看下lingo编的程序哪里错了?model:sets:n/1..8/:;m/1..30/:x,y,t,q; ajz(n,m):a,b;endsetsdata:x=3,1,5,4,3,0,7,9,10,14,17,14,12,10,19,2,6,11,15,7,22,21,27,15,15,20,21,24,25,28;y=2,5,4,7,11,8,9,6,2,0,3,6,9,12,9,16,18,17,12,14,5,0,9,19,

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/14 14:52:13
谁能帮我看下lingo编的程序哪里错了?model:sets:n/1..8/:;m/1..30/:x,y,t,q;ajz(n,m):a,b;endsetsdata:x=3,1,5,4,3,0,7,9,

谁能帮我看下lingo编的程序哪里错了?model:sets:n/1..8/:;m/1..30/:x,y,t,q; ajz(n,m):a,b;endsetsdata:x=3,1,5,4,3,0,7,9,10,14,17,14,12,10,19,2,6,11,15,7,22,21,27,15,15,20,21,24,25,28;y=2,5,4,7,11,8,9,6,2,0,3,6,9,12,9,16,18,17,12,14,5,0,9,19,
谁能帮我看下lingo编的程序哪里错了?
model:
sets:
n/1..8/:;
m/1..30/:x,y,t,q;
ajz(n,m):a,b;
endsets
data:
x=3,1,5,4,3,0,7,9,10,14,17,14,12,10,19,2,6,11,15,7,22,21,27,15,15,20,21,24,25,28;y=2,5,4,7,11,8,9,6,2,0,3,6,9,12,9,16,18,17,12,14,5,0,9,19,14,17,13,20,16,18;t=8,8.2,6,5.5,4.5,3,7.2,2.3,1.4,6.5,4.1,12.7,5.8,3.8,3.4,3.5,5.8,7.5,7.8,4.6,6.2,6.8,2.4,7.6,9.6,10,12,6,8.1,4.2;
enddata
min=@sum(ajz:2*b(i,j)*x(q(j))+y(q(j)));
@for(m(j):@sum(n(i):a(i,j))=1);
@for(n(i):@sum(m(j):t(j)*a(i,j))=0));
@for(n(i):@sum(m(j):b(i,j))=1);
@for(n(i):1/6*@sum(m(j):a(i,j))+2*b(i,j)*(x(q(j))+y(q(j)))/25

谁能帮我看下lingo编的程序哪里错了?model:sets:n/1..8/:;m/1..30/:x,y,t,q; ajz(n,m):a,b;endsetsdata:x=3,1,5,4,3,0,7,9,10,14,17,14,12,10,19,2,6,11,15,7,22,21,27,15,15,20,21,24,25,28;y=2,5,4,7,11,8,9,6,2,0,3,6,9,12,9,16,18,17,12,14,5,0,9,19,
最好贴出模型,
代码没有语法错误

谁能帮我看下lingo编的程序哪里错了?model:sets:n/1..8/:;m/1..30/:x,y,t,q; ajz(n,m):a,b;endsetsdata:x=3,1,5,4,3,0,7,9,10,14,17,14,12,10,19,2,6,11,15,7,22,21,27,15,15,20,21,24,25,28;y=2,5,4,7,11,8,9,6,2,0,3,6,9,12,9,16,18,17,12,14,5,0,9,19, 谁能帮我看一下这个程序哪里错了? 如果我们程序编错了,LINGO会有什么提示呢?怎么样才知道我们这样编写程序的准确性呢? 这个lingo程序错在哪?我编了个lingo程序,测试的时候出错,感激不尽~以下是程序“MODEL:title 码流提取问题;SETS:job/1..5/;worker/1..16/;assign(job,worker):x,a,b;ENDSETSDATA:a=30.8667,32.7657,35.4304,37.781,40.3113,28.6755, 帮忙编一下下图的数学建模lingo程序. 小弟编了个最简单的动态数码管程序,但用Protues仿真,没结果,大家看我程序哪里错了,还是protues画错了?#include#include#includesbit gao=P0^6;sbit di=P0^7; //根据tx-1c板子写的显示部分unsigned code table[]={0x3f, 小弟编了一个超简单的lingo程序,不知错在哪里~望指教~大谢!MODEL:SETS:warehouse/w1,w2,w3/:w;costomer/v1..v4/:d;links/warehouse,costomer/:c,x;ENDSETSDATA:c=6,22,6,20;2,18,4,16;14,8,20,10;d=9,18,15,18;w=21,22,27;ENDDATAMIN=@SUM(links 哪位好心人能帮我用LINGO编一下这个程序.谢谢! 欧姆龙 今天同事给我拿了欧姆龙编的PLC程序今天同事给我拿了欧姆龙编的PLC程序,里面的指令看的不是很懂!常开常闭,线圈之类的这些都知道.但达到什么样的功能,监控下! 帮忙看下这个lingo程序哪里出错了MODEL:SETS:CUTFA/1..6/:x;CUTFAA/1..11/:y;切割的方法有17种,x表示对应1-6种切割方法的原料钢管的需求量,y表示对应7-17种切割方法的原料钢管的需求量;BUJ/1..3/:n,b;3种钢 大神帮我看下我哪里错了. VHDL程序那位帮忙看下我这个程序哪里错了呀,编译的时候,说Error (10517): VHDL type mismatch error at /315jizhi.vhd(9): std_logic_vector type does not match integer literal功能是实现316进制计数程序如下:LIBRARY IEEE;U 算法与程序作业,请帮我看看哪里出了问题补充一下我编的程序和题目,可能看不清楚dim a as doubledim b as doubledim x as doublex=a*b/(a+b)input ainput bprint a+bprint '(int)(x*100+0.5)/100'输入两个电阻,求两 我编了一个比较两数字大小的程序,可看不出来哪里错了,#includeint main(){int a,b,c;printf(input two numbers );scanf(%d,%d,&a,&b);if(a 菜鸟求lingo下题程序 请高手帮我看看lingo软件以下提示是什么意思?可能是哪里出错?由于程序语句太长,太多,就不就不在这里写下了, 谁能帮我看下这个公式到底哪里错了,=if(e4 请高手帮忙看下这个lingo程序哪里出错了?modelsets:myset/1..8/:T,S;myset1/1..3/:L;link(myset1,myset):x;endsetsdata:T=25 36 32 15 31 28 22 12S=5 7 5 4 6 5 5 3enddatamin=0.66*Q^0.51*20+@sum(myset(j):myset1(i):(@sum(x(i,j))));@sum(myset1(i)