$gdxin matrix.gdx $load A $gdxin *************************************************
But when I run this, error comes saying: "exception not caught: not enough storage available to complete this operation" (I don't think that memory is the problem. I'm using a computer AMD Phenom 9750 Quad-Core 2.40 GHz whit 7,50 of RAM)
Could you please help me with this?
Thank you in advance.
Fabian.
Mat
unread,
Mar 1, 2011, 10:36:45 AM3/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gamsworld
You could try an .xls file instead of an .xlsx file first and then i
would try to give a precise range on the data (like rng=A!A1:D5
instead of rng=A!A1 ), or if you don't have a precise range just add
'SE=0' to your command line. That would make gams stop getting the
data as soon as there is an empty cell.
Fabián Mancilla
unread,
Mar 8, 2011, 10:33:22 AM3/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gams...@googlegroups.com
Thanks for the help ,but the problem persists. Apparently it's a problem with Excel, because I get the same error when I use the XLSWRITE function in MATLAB.
Sets i matrix rows /i1*i6820/ j matrix columns /j1*j2728/;
parameter B(i,j);
$call gdxxrw test.xlsx o=result.gdx par=B rng=A1
HTH, --Paul
On Sun, Mar 3, 2013 at 6:29 PM, Brian Moore <moo...@gmail.com> wrote:
Hi,
Did anyone ever find the root of this problem. I'm running into the same issue using GAMS 23.6 and gdxxrw to convert a 17Mb .xls to gdx. I've tried converting to .xlsx to reduce the size but that hasn't worked.
If I break the conversion into several steps it can do each individually, but it can't do the whole thing in one go.
I'm running the model on a server box, so suspect that there is some user parameter that I'm running up against rather than a real limit.
Cheers,
Brian.
--
You received this message because you are subscribed to the Google Groups "gamsworld" group.