Crystal
unread,May 29, 2012, 3:42:37 AM5/29/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.