|
Save files |
Top Previous Next |
|
Often one can retain a base model solution through the use of saved work files and in turn provide a starting basis for restarted GAMS code modules that contain subsequent solves. An example of this is inherent in the following DOS bat file (seq.bat).
GAMS frstpart s=f1 GAMS nextpart r=f1
where both parts (frstpart.gms, nextpart.gms) have solve statements in them. In turn, once a modeler is satisfied with the model inherent in the saved work files one can retain that work file set providing a basis to all restarted GAMS code. Then one can set up alternative runs modifying model data in files that will be subsequently restarted from those work files. The Achilles heel in this case is that sometimes the original data or model structure needs to be modified and one must work within the original file without the possibility of having GAMS automatically retaining the information from a previous solve. |