COUNT THE ELEMENTS INSIDE A SET
Posted: Wed Feb 15, 2023 11:54 pm
Dear friends,
I have a multidimensional parameter with 4 sets and 1 value into a gdx file.
I would like to know how many rows do I have per each set r1,p1,r2 or p2.
The problem is that the file is too large and I cannot open the gdxviewer, and I don't know the different elements that I have in each set.
So, I'm looking for this kind of information (in the image is the sample):
for r1: a1 2, a2 1
for p1: xa0 2, xa2 1
for r2: a2 2, a1 1
for p2: yt5 1, yt3 1, yt1 1.
Maybe you can help me.
Thank you and all the best,
I have a multidimensional parameter with 4 sets and 1 value into a gdx file.
I would like to know how many rows do I have per each set r1,p1,r2 or p2.
The problem is that the file is too large and I cannot open the gdxviewer, and I don't know the different elements that I have in each set.
So, I'm looking for this kind of information (in the image is the sample):
for r1: a1 2, a2 1
for p1: xa0 2, xa2 1
for r2: a2 2, a1 1
for p2: yt5 1, yt3 1, yt1 1.
Maybe you can help me.
Thank you and all the best,