Savepoint

Top  Previous  Next

This option tells GAMS to save a point format GDX file that contains the information on the current solution point.  One can save the solution information from the last solve or from every solve.  The points that are saved can be used to provide an advanced basis, integer program starting point or NLP starting point Numeric input is expected with the allowable numeric values being

 

0no point gdx file is to be saved
1a point gdx file is to be saved from the last solve in the GAMS model
2a point gdx file is to be saved from every solve in the GAMS model

 

The command is implemented with the syntax

 

Option Savepoint=number

 

When Sp=1 the point gdx file saved has the name modelname_p.gdx so for a model identified in the solve statement as transport the file would be transport_p.gdx.  On the other hand if Sp=2 then the file name is modelname_pnn.gdx where nn is the solve number as determined internally by GAMS.  Thus for a model solved 2 times that is identified with the name firm in the solve statement, then the file names would be firm_p1.gdx and firm_p2.gdx.  The file is reloaded with the Execute_loadpoint syntax.

This can also be done through a command line parameter or a model attribute.