Hi AMPL Support Team,
I'm wirting to you to ask for support with writing set ot indexed sets as below:
set WARE ;
set WARE_CL {WARE};
set PLANT ;
set PLANT_CL{PLANT};
set CUSTO ;
set NODE = WARE union WARE_CL {WARE} union PLANT union PLANT_CL{PLANT} union CUSTO ;
set A1 within ((WARE cross PLANT) union (PLANT cross (PLANT union PLANT_CL{PLANT}))) ;
set A2 within ((PLANT cross CUSTO) union (CUSTO cross (CUSTO union PLANT_CL{PLANT}))) ;
I wrote as above and I got the following message:
WARE_CL {WARE} needs to be subscripted
PLANT_CL{PLANT} needs to be subscripted
Please can you help me with this. Thanks in adcance for your help.
Please receive my best regards.