model:
sets:
place/1..7/:x;
endsets
data:
enddata
@for(place(i):@bin(x(i)));
18*x(1)+13*x(2)+40*x(3)+35*x(4)+38*x(5)+26*x(6)+21*x(7)
model:
sets:
place/1..7/:x;
endsets
data:
enddata
@for(place(i):@bin(x(i)));
18*x(1)+13*x(2)+40*x(3)+35*x(4)+38*x(5)+26*x(6)+21*x(7)