Hi,
sorry about the confusion with the topic, my question was how the parameter could be defined in dependence from a, not aa.
But your answer actually helped already!!
I now wrote:
sets aa / blah blahblah /, a(aa) / blah /;
parameter pa(a), paa(aa);
pa(a(aa)) = paa(aa);
Thank you so much!!
Search found 2 matches
- 2 years ago
- Forum: Modeling
- Topic: Map set elements to another set
- Replies: 2
- Views: 2068
- 2 years ago
- Forum: Modeling
- Topic: Map set elements to another set
- Replies: 2
- Views: 2068
Map set elements to another set
The following parameters are given, with a being a subset of aa. However, all the non-overlapping elements of aa with a are already kicked out of emis2. Hence, the remaining aa and a are basically the same. emis1(r,a,t) emis2(r,aa,t) Now I want to define the dimensions of emis2 dependent from a, not...