GAMS Python API documentation version 24.1
GAMS Python API documentation version 24.1
GAMS Python API documentation version 24.1
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.14 gams.execution.GamsCheckpoint Class Reference 29<br />
• marginal property(get_marginal, set_marginal)<br />
Get or set the marginal of this record.<br />
• upper property(get_upper, set_upper)<br />
Get or set the upper bound of this record.<br />
• lower property(get_lower, set_lower)<br />
Get or set the lower bound of this record.<br />
• scale property(get_scale, set_scale)<br />
Get or set the scale of this record.<br />
4.13.1 Detailed Description<br />
This is the representation of a single record of a GamsVariable.<br />
4.14 gams.execution.GamsCheckpoint Class Reference<br />
A GamsCheckpoint class captures the state of a GamsJob after the GamsJob.run method has been carried out.<br />
Inheritance diagram for gams.execution.GamsCheckpoint:<br />
Public Member Functions<br />
• def __init__<br />
Constructor.<br />
• def add_modelinstance<br />
Properties<br />
Create model instance.<br />
• workspace property(get_workspace)<br />
Get the GamsWorkspace.<br />
• name property(get_name)<br />
Get the checkpoint name.<br />
4.14.1 Detailed Description<br />
object<br />
gams.execution.GamsCheckpoint<br />
A GamsCheckpoint class captures the state of a GamsJob after the GamsJob.run method has been carried out.<br />
Another GamsJob can continue (or restart) from a GamsCheckpoint. A GamsCheckpoint constructed with a file<br />
name will create a file (extension .g00) for permanent storage when supplied as parameter on the GamsJob.run<br />
method. Moreover, a GamsModelInstance is also initialized from a checkpoint that contains the model definition of<br />
the model instance.<br />
<strong>GAMS</strong><strong>Python</strong><strong>API</strong> <strong>documentation</strong> <strong>version</strong> <strong>24.1</strong> May 2013