Dear All,
I have model written in GAMS in which I write the result of the model to a GDX file and then use the gdxxrw.exe
to write the results into excel (see code below).
My question is the following, in excel I have currently the content in the following structure
1 2 3
122 1223 344
How can I make that (transpose) the content folows the following structure:
1 122
2 1223
3 344
loop (t,
inc.fx = s(t);
solve pfizer using nlp minimizing anncost;
execute_unload “results.gdx” x.L x.M
execute ‘gdxxrw.exe results.gdx var=x.L var=x.M rng=Sheet1!B1’
);
Thank you, best regards
Hugo
–
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/V8S1ZFOCK5oJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.