Good evening

I have a model with the following details (I’ll skip most sets, parameters and variables, of relevance are the sets, variable and objective function below):

set i /AF,A,B,C/

set j /A,B,C,EF/

Variable

F(i,j)

OF … FT =e= sum((i,j),F(i,j));

I want to solve the model individually for each set element. E.G.: first I solve for F(‘AF’,‘A’), second for F(‘AF’,‘B’). Is it possible to automate this with a loop, or must I descriminate an individual OF for each pair i,j? If so, can you provide me with some details?

Thanks