GAMS - Python: Use of checkpoint or ModelInstance

Hi all,

Has any of you worked with a checkpoint (see transport5 example) in combination with a GAMS database? Or with a modelinstance (transport7) in combination with a database.

I’m using a database as it provides an organized way to send the data to GAMS. Now I would like to perform a sensitivity analysis and change the value for 1 specific parameter. To speed-up the calculation process, I think working with a checkpoint could be useful. When implementing adding this checkpoint to the run statement, the database is merged, which provides an error in GAMS.

Clearing the database before the second run command, seems to have no effect. Does somebody has experience with this?

Or do you have an other method to do a fast sensitivity analysis while using databases?

Kind regards,
Andreas


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Andreas,
the use case you describe sounds indeed like one might try the GamsModelinstance.
Since you have already found the trnsport7 example, you might want to double check
if your code is correct.
It would be helpful if you could provide some (running) code. That would make it
much more easy to find out whats going wrong.

Best
Clemens



On 4/13/2015 6:03 PM, Andreas Belderbos wrote:

Hi all,

Has any of you worked with a checkpoint (see transport5 example) in combination with a GAMS database? Or with a modelinstance (transport7) in combination with a database.

I’m using a database as it provides an organized way to send the data to GAMS. Now I would like to perform a sensitivity analysis and change the value for 1 specific parameter. To speed-up the calculation process, I think working with a checkpoint could be useful. When implementing adding this checkpoint to the run statement, the database is merged, which provides an error in GAMS.

Clearing the database before the second run command, seems to have no effect. Does somebody has experience with this?

Or do you have an other method to do a fast sensitivity analysis while using databases?

Kind regards,
Andreas

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.