Lingo error 63模型定义不正确 model:sets:\x05xx/v1..v14/;\x05xi/w1..w7/;\x05xn(xx,xi):x;\x05pi/p1..p14/:p;\x05qi/q1..q14/:q;\x05ci/c1..c7/:c;endsetsmin=@sum(xi:x(k,1)*p(k)*q(k));@for(xx(J):@sum(xi(I):x(J,I))=1);@sum(xn:x(I,J)*p(I))=0);@for(xn:@

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 15:10:39
Lingo error 63模型定义不正确 model:sets:\x05xx/v1..v14/;\x05xi/w1..w7/;\x05xn(xx,xi):x;\x05pi/p1..p14/:p;\x05qi/q1..q14/:q;\x05ci/c1..c7/:c;endsetsmin=@sum(xi:x(k,1)*p(k)*q(k));@for(xx(J):@sum(xi(I):x(J,I))=1);@sum(xn:x(I,J)*p(I))=0);@for(xn:@
xn@Oy=ڕw8B<*qNi}JAPTUU64H}c0^(8V3{iqu!CMFh:ٛ^I/NfKwOAw{`?xjr羼 9O!̗l3ی+/reϔm :y8Ӟv,lIT`–"֚hMB : EH-_uRHƂ9ݤH g!Zk:gU|q_[Э~Z,io &1, Ab!b!HS@݂AZUTJ-iD:ܔbYJPUYXt!X7)XLLiU&bB DžûBrRC%ʸ.FJrp=Ng"nz*=(%l:;=Apqçd<P&oOo 3I_Y+~嗉4?VY-]Pҽ1`OOrx

Lingo error 63模型定义不正确 model:sets:\x05xx/v1..v14/;\x05xi/w1..w7/;\x05xn(xx,xi):x;\x05pi/p1..p14/:p;\x05qi/q1..q14/:q;\x05ci/c1..c7/:c;endsetsmin=@sum(xi:x(k,1)*p(k)*q(k));@for(xx(J):@sum(xi(I):x(J,I))=1);@sum(xn:x(I,J)*p(I))=0);@for(xn:@
Lingo error 63模型定义不正确
model:
sets:
\x05xx/v1..v14/;
\x05xi/w1..w7/;
\x05xn(xx,xi):x;
\x05pi/p1..p14/:p;
\x05qi/q1..q14/:q;
\x05ci/c1..c7/:c;
endsets
min=@sum(xi:x(k,1)*p(k)*q(k));
@for(xx(J):@sum(xi(I):x(J,I))=1);
@sum(xn:x(I,J)*p(I))=0);
@for(xn:@BIN(x));
data:
p=688 780 528 388 328 400 420 580 880 1760 620 480 1620 132;
q=5.9186 4.7 5.7 11.148 11.902 4.32 8.3857 10.571 18.427 6.3125 7.1194 11.7 9.006 0;
c=1760 1320 1320 1760 1320 1320 1320;
enddata
end

Lingo error 63模型定义不正确 model:sets:\x05xx/v1..v14/;\x05xi/w1..w7/;\x05xn(xx,xi):x;\x05pi/p1..p14/:p;\x05qi/q1..q14/:q;\x05ci/c1..c7/:c;endsetsmin=@sum(xi:x(k,1)*p(k)*q(k));@for(xx(J):@sum(xi(I):x(J,I))=1);@sum(xn:x(I,J)*p(I))=0);@for(xn:@
只能在语法上改 没有可行解 自己看看你写的约束对不对吧
model:
sets:
xx/v1..v14/:p,q;
xi/w1..w7/:c;
xn(xx,xi):x;
endsets
min=@sum(xx(k):x(k,1)*p(k)*q(k));
@for(xx(J):@sum(xi(I):x(J,I))=1);
@for(xi(I):@sum(xx(J):x(J,I)*p(J))=0);
@for(xn:@BIN(x));
data:
p=688 780 528 388 328 400 420 580 880 1760 620 480 1620 132;
q=5.9186 4.7 5.7 11.148 11.902 4.32 8.3857 10.571 18.427 6.3125 7.1194 11.7 9.006 0;
c=1760 1320 1320 1760 1320 1320 1320;
enddata
end