Hi all!:

I am trying to put together a nice automatic model structure for a problem, but I’m facing a challenge that seems minor:

1- I have a GDX file containing a 2-dim parameter (e in the example), which I use to populate two different sets (ii and jj in the example).

$gdxin H_GDX

$load ii<e.dim1 jj<e.dim2

$gdxin

2- I need to have a set (in order to project some equations and variables and don’t re-write code) that is the union of a prior set (d) with one of this two “populated” sets (jj), but I need the new set (z) to have TWO elements per each in the original (jj).

Using:

set z /set.d, set.jj/

Brings me close, but I would need a way to beforehand “duplicate” jj modifying each label in a subtle way, so that I can then join all three sets, i.e.:

set z/set.d, set.jj1, set.jj2/

Which is what I’m trying to accomplish.

Any ideas ? Forgive me if I’m not being quite clear, it’s a really simple matter but it’s a bit hard to explain.

## Best regards and thanks in advance

Claudio

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.

To post to this group, send email to gamsworld@googlegroups.com.

Visit this group at http://groups.google.com/group/gamsworld.

For more options, visit https://groups.google.com/d/optout.