Call GAMS with SPECIFIC solver

27 views
Skip to first unread message

Crystal

unread,
May 29, 2012, 3:42:37 AM5/29/12
to gamsworld
I'm implementing GAMS code in MATLAB loops. Everything seems to be
work except for some occasional discrepancies in results. I'm
wondering if there is a way to mention specific solver I want GAMS to
use when I'm calling GAMS from MATLAB.

For example,
gams('filename.gams minlp=couenne') or system('gams filename.gms
minlp=couenne')

Can anyone please clarify which one is correct?


Also, while implementing the MATLAB loop, I notice that results from
GAMS are returned QUICKLY even for hundred of loops but when I do a
single run directly in GAMS, it may take several minutes before
returning result (depending on my solver).

so I curious, why does MATLAB return GAMS call results so quickly?
Are those results reliable?
To be sure, how can I pass solver name with gams call from Matlab?

thanks a lot.
Reply all
Reply to author
Forward
0 new messages