这个lingo程序错在哪了?model: sets: row/1..3/:b; col/1..2/:c,x,l,u; matrix(row,col):A; endsetsmin=@sum(col:c*x);@for(col:@bnd(l,x,u));@for(row(i): @sum(col(j):A(i,j)*x(j)
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 04:31:06
xՒ]kPǿJ(Qr4MgE䜴ͦe+AN`sbb3e\+x[Vxc <_7õя%~=M㭝t4pįx®D}Z:y^Lr;p'-NVvtYzHp
}4Z:K놽*5'heY
u7,fvmQ,)6.M0_hnHE5˷-fc?I:cVU3&jB
,AF"Zux;AV +cMVG *cDE%(4GTE hP5Q-[.*ᒬC@Y**|3R(D6Ӣ
vɒtYQdGhXW{j_ߛ}wF^0/1? g̒8j||=zO7NFi/G7UHw8` rsn{>8쥽EEM>`nOJ
这个lingo程序错在哪了?model: sets: row/1..3/:b; col/1..2/:c,x,l,u; matrix(row,col):A; endsetsmin=@sum(col:c*x);@for(col:@bnd(l,x,u));@for(row(i): @sum(col(j):A(i,j)*x(j)
这个lingo程序错在哪了?
model:
sets:
row/1..3/:b;
col/1..2/:c,x,l,u;
matrix(row,col):A;
endsets
min=@sum(col:c*x);
@for(col:@bnd(l,x,u));
@for(row(i):
@sum(col(j):A(i,j)*x(j)
这个lingo程序错在哪了?model: sets: row/1..3/:b; col/1..2/:c,x,l,u; matrix(row,col):A; endsetsmin=@sum(col:c*x);@for(col:@bnd(l,x,u));@for(row(i): @sum(col(j):A(i,j)*x(j)
model:
sets:
row/1..3/:b;
col/1..2/:c,x,l,u;
matrix(row,col):A;
endsets
min=@sum(col:c*x);
@for(col:@bnd(l,x,u));
@for(row(i):
@sum(col(j):A(i,j)*x(j))
你的问题能否贴出来呢?A(i,j)*x(j)<=b(i)应该为约束吧,目标函数是什么呢?