Dear members,
I’m new in programming on GAMS, so I’m not familiar with it.
I was reading some data from an xls spreadsheet, executing my model, and then writing back the results to another xls spreadsheet, but I had some problems on displaying the results on excel. I would like to use the “printing†options of GAMS using gdxxrw instead of using excel macros.
The problem is that I have some optimized variables defined over a set, say “non_hydro_facilitiesâ€, and another optimized variables defined over a set, say “hydro_facilitiesâ€. The variables are “NonHydroGeneration(i, j, non_hydro_facilities)†and “HydroGeneration(i, j, hydro_facilities)â€, and I would love to use the gdxxrw utility to “print†the variables on a table that contains both variables sorted by the sets i and j. That means, I would love to create the variable
“Generation(i, j, facilities)â€. I have already created the set “facilitiesâ€, merging the sets “non_hydro_facilities†and “hydro_facilitiesâ€. Is there any possibility to do what I describe above?
I would be very glad if someone could help me. Thanks in advance!!
–
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
\