早教吧作业答案频道 -->其他-->
lingo程序错了...model:sets:renshu/1..4/:x,v;xianliang/1..4/:b;link(xianliang,renshu):a;endsetsdata:v=1,1,1,1;b=21,18,16,29;a=1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,1;enddatamin=@sum(renshu:x*v);@for(xianliang(i):@sum(renshu(j):a(i,j)*x(j))
题目详情
lingo程序错了...
model:
sets:
renshu/1..4/:x,v;
xianliang/1..4/:b;
link(xianliang,renshu):a;
endsets
data:
v=1,1,1,1;
b=21,18,16,29;
a=1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,1;
enddata
min=@sum(renshu:x*v);
@for(xianliang(i):
@sum(renshu(j):a(i,j)*x(j))
model:
sets:
renshu/1..4/:x,v;
xianliang/1..4/:b;
link(xianliang,renshu):a;
endsets
data:
v=1,1,1,1;
b=21,18,16,29;
a=1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,1;
enddata
min=@sum(renshu:x*v);
@for(xianliang(i):
@sum(renshu(j):a(i,j)*x(j))
▼优质解答
答案和解析
语法上倒是没什么错误 数据也不必非要按行写
model:
sets:
renshu/1..4/:x,v;
xianliang/1..4/:b;
link(xianliang,renshu):a;
endsets
data:
v=1,1,1,1;
b=21,18,16,29;
a=1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,1;
enddata
min=@sum(renshu:x*v);
@for(xianliang(i):
@sum(renshu(j):a(i,j)*x(j))
model:
sets:
renshu/1..4/:x,v;
xianliang/1..4/:b;
link(xianliang,renshu):a;
endsets
data:
v=1,1,1,1;
b=21,18,16,29;
a=1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,1;
enddata
min=@sum(renshu:x*v);
@for(xianliang(i):
@sum(renshu(j):a(i,j)*x(j))
看了 lingo程序错了...mo...的网友还看了以下:
A=[-1,1]B=[﹙-√2﹚/2,﹙√2﹚/2]函数f(x)=2x²+mx-1一设不等式f(x 2020-04-27 …
已知函数f(x)=(alnx)/(x+1)+b/x,曲线y=f(x)在点(1,f(1))处的切线方 2020-05-15 …
已知函数f(x)=alnx/(x+1) + b/x ,曲线y=f(x)在点(1,f(1))处切线方 2020-05-15 …
已知f(X)=Lg1-X/1+X,a,b属于(-1,1)求证:f(a)+f(B)=F(A+B)/1 2020-05-22 …
已知集合A={1,-1},B={x|mx=1},且A∪B=A,则m的值为().A.1或-1或0B. 2020-05-22 …
30分1.设集合A={X|X²+3K²≥2K(2X-1)},B={X|X²-(2X-1)K+K²≥ 2020-07-30 …
1.集合M={x|x^2>4},P={x|2/{x-1}≥0,则集合P除集合M的集合N{}A:{x 2020-07-30 …
若f(x),g(x)的定义域都是R,且x-f(g(x)=0有实数解,则g(f(x))不可能是()A 2020-07-31 …
高一四道函数题!急!在线等~悬赏15!1.设集合A={x|-1≤x≤1},B={x|x-a≤0}若满 2020-10-31 …
求一道数学题解(急)1/a+1/b+1/c=1/a+b+c,求证啊a+b=0或b+c=0或a+c=0 2020-11-05 …