I should test all the possibilities, with the equations and inequalities, to select just one of the possibility.
thinking now, maybe it could be variables, I don’t know, would anyone have any idea how I can get to this condition?

I found a solution, I tried to insert into my code
but it not worked, a error is indicated as 250
in the manual have the possibility to work with “Many-to-Many Mapping”
I insert the same exemplo of the manual and the error was the same.
but I’m using GAMS 22.5, could It (Many-to-Many Mapping) not work with this version?

exemple - manual:

Set i / i1*i4 /
j / j1*j5 /
k / k1,k2 /
h / h1*h3 /;
Set b(i,j,k), c(i,j,k,h);
Option b(i:j,k), c(b:h);
display b, c;

Error:

250 Unknown option. valid are -
lp = "lpname" (and for nlp, dnlp, mip, rmip etc)
integer1 to integer5 seed
limrow limcol domlim iterlim work (integer values)
decimals (0..8)
optca optcr
real1 to real5 reslim bratio (real values)
measure eject (no values)
sysout solprint (on/off)
solveopt (merge/replace)
sparseopt (safe/fast)
sparserun (on/off)
"symbol":decimals:rows:columns (display control)
(decimals, rows, columns are integers. Number of
displayed decimal places, labels for each row and
for each column)