This may sound like a very simple question, maybe it has been asked before.
I want to know how you can remove superfluous sets in a parameter without changing any of the data in the parameter.
Firstly the sets and the parameter are defined as:
Code: Select all
sets
AreaCode,centralamerica,ItemCode,crops,ElementCode,dollars,YearCode,Year,Unit
parameter
Prices_data(AreaCode,centralamerica,ItemCode,crops,ElementCode,dollars,YearCode,Year,Unit)
Code: Select all
166.Panama .56 .Maize .5532.Producer Price (USD/tonne).1999.1999.USD 281
48 .Costa Rica.56 .Maize .5532.Producer Price (USD/tonne).1999.1999.USD 217
Code: Select all
parameter
Prices_data(centralamerica,crops,Year)
Code: Select all
Panama.Maize.1999 281
Costa Rica.Maize.1999 217
Code: Select all
parameter
Prices_data(region,crops,time)
Code: Select all
Prices_data(time,region,crops)
Thanks!