Dear friends,
I would like to write two consecutive model A and model B, meaning
that solving model B has to use the results coming out from model A.
And now model A is sure to be correct and I am focusing on modifying
model B.
Is there any command in gams that I don’t have to run model A
everytime when I modify model B ? Because the results from model A is
always the same. It is quite annoying that everytime when I run model
B, the model A has to be run first and it taks long time.
Thank you very much in advance.
Jens
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
\
Jens,
I would use the save and restart feature of GAMS. Essentially, you
can split a .gms file in two pieces, A.gms and B.gms, and run it like
this:
gams A.gms save=A
gams B.gms restart=A
-Steve
On Mon, Aug 31, 2009 at 10:46 AM, Jens wrote:
Dear friends,
I would like to write two consecutive model A and model B, meaning
that solving model B has to use the results coming out from model A.
And now model A is sure to be correct and I am focusing on modifying
model B.
Is there any command in gams that I don’t have to run model A
everytime when I modify model B ? Because the results from model A is
always the same. It is quite annoying that everytime when I run model
B, the model A has to be run first and it taks long time.
Thank you very much in advance.
Jens
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
– Steven Dirkse, Ph.D. GAMS Development Corp., Washington DC Voice: (202)342-0180 Fax: (202)342-0181 sdirkse@gams.com http://www.gams.com
Somehow this email from my colleague Steve got lost:
Jens,
I would use the save and restart feature of GAMS. Essentially, you
can split a .gms file in two pieces, A.gms and B.gms, and run it like
this:
gams A.gms save=A
gams B.gms restart=A
-Steve
On Aug 31, 10:46 am, Jens wrote:
Dear friends,
I would like to write two consecutive model A and model B, meaning
that solving model B has to use the results coming out from model A.
And now model A is sure to be correct and I am focusing on modifying
model B.
Is there any command in gams that I don’t have to run model A
everytime when I modify model B ? Because the results from model A is
always the same. It is quite annoying that everytime when I run model
B, the model A has to be run first and it taks long time.
Thank you very much in advance.
Jens
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—
\
Dear Steve,
Thank you very much! It works now.
Jens
On Wed, Sep 2, 2009 at 9:40 PM, Michael Bussieck wrote:
Somehow this email from my colleague Steve got lost:
Jens,
I would use the save and restart feature of GAMS. Essentially, you
can split a .gms file in two pieces, A.gms and B.gms, and run it like
this:
gams A.gms save=A
gams B.gms restart=A
-Steve
On Aug 31, 10:46 am, Jens wrote:
Dear friends,
I would like to write two consecutive model A and model B, meaning
that solving model B has to use the results coming out from model A.
And now model A is sure to be correct and I am focusing on modifying
model B.
Is there any command in gams that I don’t have to run model A
everytime when I modify model B ? Because the results from model A is
always the same. It is quite annoying that everytime when I run model
B, the model A has to be run first and it taks long time.
Thank you very much in advance.
Jens
–~–~---------~–~----~------------~-------~–~----~
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
-~----------~----~----~----~------~----~------~–~—