Dear all, I would like to know if you can explain me the difference between the following two statements:
In the first one I would like to do something like: For {i in set1, j in set2} {.....statement.....};
subject to constraint1 {i in set1, j in set2}:
In the second I want something like a nested for function, something like: For{i in set1} { For {j in set2} {.......statement........}};
I am trying to do the following:
subject to constraint2 {i in set1} : {j in set2} :
but I get a sintax error.
Also, both constraint are the same?