Defining set

Problems with syntax of GAMS
Post Reply
tavocopy
User
User
Posts: 4
Joined: 1 year ago

Defining set

Post by tavocopy » 1 year ago

Hello again,

I'm trying to define a set that incluides a grups of Multi-Dimensional Sets
For example
set p /1A, 11a, 12A/
L /1l/
A11(p,l);
A11('1A','1l')=yes;
A12('1A','1l')=yes;
And define a new set with A11 and A12 as elements
And I Tried this

Code: Select all

set p "producto" /1A, 11a, 12A/
    L "actividad" /1l/
A11(p,l)
A12(p,l);
A11('1A','1l')=yes;
A12('1A','1l')=yes;
PD /#A11,#A12/;
But that's give me error
There´s a way to that in gams?

Post Reply