Page 1 of 1

Help is needed with GDXXRW

Posted: Wed Mar 15, 2023 5:55 pm
by parag_patil
Hello,

I have multiple parameters to be imported from excel sheet. Currently, I am using multiple $call gdxxrw as follows:

$call GDXXRW o=scold.gdx i=input_data.xlsx trace=3 set=scold rng= set_vert_streams!g2 rdim=1
$call GDXXRW o=shot.gdx i=input_data.xlsx trace=3 set=shot rng= set_vert_streams!h2 rdim=1


can I combine above and make the script shorter?

Re: Help is needed with GDXXRW

Posted: Thu Mar 16, 2023 7:30 am
by bussieck
You find this in the GDXXRW documentation (https://www.gams.com/latest/docs/T_GDXXRW.html). It is a little hidden. Search the page for "An option file is indicated by preceding the file name with a @ (At sign.).".

-Michael