看看哪里错了

问题描述:

看看哪里错了
model:
sets:
rate/1..92/;
type/1..92/; 表示节点i;
department/1..92/; 表示平台j;
distance(type,department):x,d;
yn/1..92/:y;
ra/1..92/:r;
endsets
min=@max(distance(i,j):r(i)*x(i,j)); 工作量的最小化;
@for(department:@bin(x));
@for(type(i):
@sum(department(j):d(i,j)*x(i,j))2);
@for(yn(j)|j#GT#21:@sum(yn(j):y(j))

你错的那句里面i从哪出来的 是多少