Hi,
I have an Excel data file that I want to load a set from. The length of the set can change depending on the data, so I want it to load the entire column, and then use se=0 to force it to stop whenever it encounters an empty cell.
I’ve already successfully loaded one set. The first set was in a row, and I loaded it with the following code:
set t time period;
$call GDXXRW.EXE SmallData1.xlx se=0 o=tGDX.gdx set=t Rng=LoadMitX!1:1 cdim=1
$GDXIN tGDX.gdx
$LOAD t
$GDXIN
The next set I want to load in the same way is in a column (instead of a row). But I’ve tried the following and no luck:
set i nodes;
$call GDXXRW.EXE SmallData1.xlx se=0 o=iGDX.gdx set=i Rng=NodeData!A:A rdim=1 cdim=0
$GDXIN iGDX.gdx
$LOAD i
$GDXIN
I’ve tried all different combos of 0 and 1 for rdim and cdim, but no luck.
Any insight?
Thanks!
Emily
–
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.
For more options, visit https://groups.google.com/groups/opt_out.
\