transport5.py File Reference
This is the 5th model in a series of examples. More...
Go to the source code of this file.
Variables | |
str | transport5.GAMS_MODEL |
sys | transport5.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None |
GamsWorkspace | transport5.ws = GamsWorkspace(system_directory=sys_dir) |
GamsWorkspace | transport5.cp = ws.add_checkpoint() |
GamsWorkspace | transport5.job = ws.add_job_from_string(GAMS_MODEL) |
transport5.checkpoint | |
list | transport5.bmult = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3] |
Detailed Description
This is the 5th model in a series of examples.
Here we show:
- How to initialize a GamsCheckpoint by running a GamsJob
- How to initialize a GamsJob from a GamsCheckpoint
Definition in file transport5.py.