hi. I have a linear MIP model. solving it through Cplex from mip
solver it takes a few seconds. but when I use Solver Baron from Mip
solver, it takes several minutes.I wonder why this happens, because
Baron use Cplex for linear models!
On 11/30/11, gamsworld@googlegroups.com wrote:
=============================================================================
Today’s Topic SummaryGroup: gamsworld@googlegroups.com
Url: http://groups.google.com/group/gamsworld/topics
- energy subsidies reform model [1 Update]
http://groups.google.com/group/gamsworld/t/400ce1642125b92c- hi any one [1 Update]
http://groups.google.com/group/gamsworld/t/60da2302a80f3994=============================================================================
Topic: energy subsidies reform model
Url: http://groups.google.com/group/gamsworld/t/400ce1642125b92c---------- 1 of 1 ----------
From: sundeep chowdary
Date: Dec 01 12:05AM +0530
Url: http://groups.google.com/group/gamsworld/msg/795060dc9219a592hi,
can you share the literature for the same, so that I can try to help
regarding the same.On Tue, Nov 22, 2011 at 3:52 PM, hatef hazeri niri
=============================================================================
Topic: hi any one
Url: http://groups.google.com/group/gamsworld/t/60da2302a80f3994---------- 1 of 1 ----------
From: Mehdi Amini
Date: Nov 29 11:44AM -0800
Url: http://groups.google.com/group/gamsworld/msg/1dcfe11d460fcda6hi
i Appreciate your attemption for the time that has been elapsed.
i want to employ GAMS from matlam during a “For” loop( for i=1:100 …).
the file that you had sent just call the exquted results from GAMS to
matlab.
i will be ashamed if you send a simple example of that.
thanks very much
From: Muhajir
To: gamsworld@googlegroups.com
Sent: Tuesday, November 29, 2011 1:24 AM
Subject: Re: hi any oneHi there,
I am new in this topic, but this works for me on the new GAM’s
version(23.7.3) and matlab 2010First add matlab path to the GAMS folder
addpath ‘C:\gams’; savepath;
After the solve statement in gams, crate result.gdx with values of v1 v2 …
you want to export:execute_unload ‘reuslt’ v1 v2 OF;
Then you can read this result in matlab from the gdx file using:
res.field = ’ l ';
r=rgdx(‘result’, res);
v2=r.val;
…I’ve referred to the document:
http://www.gams.com/dd/docs/tools/gdxmrw.pdf
and an example can be found
http://www.gams.com/~steve/gdxmrw.htmlYou can also find a similar thread in this group:
http://groups.google.com/group/gamsworld/browse_thread/thread/721274c4dbf76464/5bca6ba9337171dd?hl=en&lnk=gst&q=gams+matlab#5bca6ba9337171ddHope this helps!
On Mon, Nov 28, 2011 at 4:05 PM, Mehdi Amini
wrote:Hi
–
“gamsworld” group.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to
gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gamsworld?hl=en.–
“gamsworld” group.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to
gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gamsworld?hl=en.
\