The link between Matlab and Gams

738 views
Skip to first unread message

Lifan Fan

unread,
Feb 11, 2011, 1:52:49 PM2/11/11
to gamsworld
Hi all,

I am a new leaner of Gams and have problem in building the link
between Matlab and Gams. I installed Matlab 2010a and Gams 23.6 on my
computer. And I used the guidance of GDXMRW: Interfacing GAMS and
MATLAB by Michael C. Ferris, Rishabh Jainy,Steven Dirkse,2010 to build
the link.

When I run the test of gdxmrw03, it reminds that "error using rgdx,
file read1.gdx not found".
When I run the test of gdxmrw04, it reminds that "GDXDIFF error: input
file not found writeset.gdx".

I am grateful if someone can help me fix the problem. Thank you.



Lifan
Penn State Univ.

babak saleckpay

unread,
Feb 14, 2011, 4:20:21 AM2/14/11
to gams...@googlegroups.com
Dear all
I have this problem too and I think there are more who can't do it.(just check the mail list)

If anybody know how we can solve our problem, please tell us.

I need it too.

bests





--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To post to this group, send email to gams...@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.




--
Babak Saleck Pay
M.Sc
Socio-Economic System Engineering
Group of Industrial Engineering
University of Tehran
Tehran,Iran

Lifan Fan

unread,
Feb 14, 2011, 10:42:23 AM2/14/11
to gamsworld
Hi Babak,

I tried two days to solve the problem. A guy in my group said the new
version of Gams does not work. So I uninstalled the Gams 23.6, and
installed an older version--- Gams 23.3 and the corresponding Matgams.
And use MATLAB and GAMS: Interfacing Optimization and Visualization
Software by Michael C. Ferris, 2005 to build the interface. Now it
works. Hope this can help you.

Lifan
> Tehran,Iran- Hide quoted text -
>
> - Show quoted text -

babak saleckpay

unread,
Feb 14, 2011, 11:43:01 AM2/14/11
to gams...@googlegroups.com
Hi Lifan

So I should change my gams version?
does it work with matlab r2010??

Thank you and bests.

Lifan Fan

unread,
Feb 14, 2011, 11:58:34 AM2/14/11
to gamsworld
Hi Babak,

Yes, my Matlab version is r2010a, and Gams 23.3 works with it. You
can try this way. Good luck!

Lifan

Steven Dirkse

unread,
Feb 14, 2011, 10:16:13 PM2/14/11
to gams...@googlegroups.com
Lifan,

I would not recommend using the older versions of the tools - they are not supported and they must be installed separately or in addition to the GAMS system.  Also, I would have expected them to be less likely to work than the newer routines, although your experience is contrary to that.

Can you say anything about the OS version you're running this under?  I'd like to verify that things are running as expected.

Regards,

-Steve
Steven Dirkse, Ph.D.
GAMS Development Corp.,  Washington DC
Voice: (202)342-0180     Fax: (202)342-0181
sdi...@gams.com
http://www.gams.com

Lifan Fan

unread,
Feb 15, 2011, 2:40:26 PM2/15/11
to gamsworld
Hello Steve,

I still don't know why the new version Gams does not work out on my
computer. My OS version is Windows XP 32 bit. If you know why and how
to solve it, please tell me. Thank you.

Lifan
> sdir...@gams.comhttp://www.gams.com- Hide quoted text -

Adi Aswantara

unread,
Jun 24, 2013, 1:00:54 AM6/24/13
to gams...@googlegroups.com
Is there any update regarding this?
I am facing the same problem.
Thank you.

strug...@hotmail.com

unread,
Sep 23, 2013, 2:01:32 AM9/23/13
to gams...@googlegroups.com
I am facing the same problem. But sometimes it is ok. I don't know the reason

??? Error using ==> rgdx    File matsol.gdx not found! 



在 2013年6月24日星期一UTC+8下午1时00分54秒,Adi Aswantara写道:

Arezoo

unread,
Oct 17, 2014, 12:22:05 PM10/17/14
to gams...@googlegroups.com
I am facing exactly the same problem. do you solve it?what's the reason?
Reply all
Reply to author
Forward
0 new messages