lingo目标函数那一行说有improper number of arguments 求指教~感激不尽sets:lunwen/1..150/;lunshu/1..4/;t/1..8/;links/lunwen,lunshu,t/:x;endsetsmin=@sum(lunwen(v):@sum(lunwen(j)|j#gt#v:@sum(lunshu(m):@sum(t(k):x(v,m,k)*x(j,m,k)))));@for(l
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 09:20:51
lingo目标函数那一行说有improper number of arguments 求指教~感激不尽sets:lunwen/1..150/;lunshu/1..4/;t/1..8/;links/lunwen,lunshu,t/:x;endsetsmin=@sum(lunwen(v):@sum(lunwen(j)|j#gt#v:@sum(lunshu(m):@sum(t(k):x(v,m,k)*x(j,m,k)))));@for(l
lingo目标函数那一行说有improper number of arguments 求指教~感激不尽
sets:
lunwen/1..150/;
lunshu/1..4/;
t/1..8/;
links/lunwen,lunshu,t/:x;
endsets
min=@sum(lunwen(v):@sum(lunwen(j)|j#gt#v:@sum(lunshu(m):@sum(t(k):x(v,m,k)*x(j,m,k)))));
@for(lunshu(m):@for(t(k):@sum(lunwen(i):x(i,m,k))=18));
@for(lunwen(i):@for(t(k):@sum(lunshu(m):x(i,m,k))
lingo目标函数那一行说有improper number of arguments 求指教~感激不尽sets:lunwen/1..150/;lunshu/1..4/;t/1..8/;links/lunwen,lunshu,t/:x;endsetsmin=@sum(lunwen(v):@sum(lunwen(j)|j#gt#v:@sum(lunshu(m):@sum(t(k):x(v,m,k)*x(j,m,k)))));@for(l
你这里面很多错误 希望你能自己好好按错误提示改
派生集定义是 links(lunwen,lunshu,t) 这样写 你写的不对