最后自己看下教程,集的概念和sum,for函数,以下仅是部分情况示例
sets:
r/1..5/:x;
c/1..5/:;
link(r,c):y;
endsets
s1=@sum(r:x);
s2=@sum(link:y);
@for(r:@sum(c:y)
最后自己看下教程,集的概念和sum,for函数,以下仅是部分情况示例
sets:
r/1..5/:x;
c/1..5/:;
link(r,c):y;
endsets
s1=@sum(r:x);
s2=@sum(link:y);
@for(r:@sum(c:y)