看看这个lingo程序哪里出错了?
题目
看看这个lingo程序哪里出错了?
model:
sets:
de/1..8/:x,y;
fe/1..5/:f;
link(fe,de):W;
endsets
data:
x=5 7 5 4 6 5 5 3;
y=25 36 32 15 31 28 22 12;
L=20;
enddata
min=@sum(de:x*w(1,j))+@sum(de:x*w(2,j))+@sum(de:x*w(3,j))+@sum(de:x*w(4,j))+@sum(de:x*w(5,j))+0.66*Q^0.51*20;
@for(de:@bin(w(i,j)));
w(1,1)+w(2,1)+w(3,1)+w(4,1)+w(5,1)
答案
model:
sets:
de/1..8/:x,y;
fe/1..5/:f;
link(fe,de):W;
endsets
data:
x=5 7 5 4 6 5 5 3;
y=25 36 32 15 31 28 22 12;
L=20;
enddata
min=@sum(link(i,j):x(1)*w(1,j))+@sum(link(i,j):x(2)*w(2,j))+@sum(link(i,j):x(3)*w(3,j))+@sum(link(i,j):x(4)*w(4,j))+@sum(link(i,j):x(5)*w(5,j))+
0.66*Q^0.51*20;
@for(link(i,j):@bin(w(i,j)));
w(1,1)+w(2,1)+w(3,1)+w(4,1)+w(5,1)
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点