I want to check if an set element is part of another set. I wrote it here into the code as a bold highlighted text, to show where the code should be.
I tried some different things, but none worked. Does one of you have an idea how it could work?
Notice that the set “bearbeitet” is a dynamic set and only the here relevant part of the code is shown.
set i /some elements/;
set bearbeitet /some elements/;
binary variable hilf;
hilf=1;
loop (i,
if ([b]i is not element of bearbeitet[/b],
hilf.l=0;
break;
);
* ... some further stuff, if hilf.l<>0 ...
);