set i /1*5/;
alias (i,j);
variables
z(i,j) ’objective variable for every pair'
And some Variables;
equations
obj(i,j) ’objective for every pair'
constrains(i,j) 'Constraints for each and every pair';
model P(i,j) /obj(i,j) , constrains(i,j) /;
solve P(i,j) using lp minimizing z(i,j);
无法通过这种方式在模型中使用域检查