I have two sets in Pyomo, the first one is G=/GD1,GD2,GD3/, And the second one is N=/N1,N2,N3,...,N32,N33/. Naturally they have symbolic representation here for the sake of simplicity. I would like to map G into N, in order to define the relation between G and N as follows: /GD1.N2,GD2.N4,GD3.N20/
For example, in GAMS we use the command map(G,N) and define manually the new set. Is it possible to do the same in Pyomo? If the answer is yes, then how?
Thank you in advance...