In solving a fairly simple linear model with cplex, with high time and space resolution, the running of simulations appears to become a very time-consuming operation.
Is it possible to reduce calculation time by using the solution of your previous simulation as a starting point for the new simulation? Usually, I only change one parameter so that the new solution should not be too far off from the previous one.

Hi Michael
If you add a solve statement after the first solve, it will use the previous solve as starting point.
THere is another option: take a look at savepoint in the manual.
Cheers
Renger

Thanks for your reply!
However, I’m having some trouble understanding where the additional value of the savepoint is, as this just stores the resulting variables in an output .gdx file? At the end of every solve, the results are currently already stored into the file ‘output.gdx’. Would it then be sufficient to include the following lines of code (the first part is the original loding in of parameters):

You can use execute_loadpoint and savepoint without having to write all the variables, etc. It stores all the information including the marginals (they can be non-zero).
If no arguments besides the name of the GDX file are given, all variables and equations that match variables and equations of the calling GAMS programs will be merged with the GDX level and marginal values. Bounds, scales and priorities will remain unchanged
Cheers
Renger