Loading...
Searching...
No Matches
transport6.py File Reference

This is the 6th model in a series of examples. More...

Go to the source code of this file.

Functions

def transport6.run_scenario (workspace, checkpoint, io_lock, b)
 

Variables

str transport6.GAMS_MODEL
 
sys transport6.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None
 
GamsWorkspace transport6.ws = GamsWorkspace(system_directory=sys_dir)
 
GamsWorkspace transport6.cp = ws.add_checkpoint()
 
GamsWorkspace transport6.job = ws.add_job_from_string(GAMS_MODEL)
 
 transport6.checkpoint
 
list transport6.bmult = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
 
Lock transport6.io_lock = Lock()
 
dict transport6.threads = {}
 
 transport6.target
 
 transport6.run_scenario
 
 transport6.args
 

Detailed Description

This is the 6th model in a series of examples.

Here we show:

  • How to run multiple GamsJobs in parallel using a GamsCheckpoint

Definition in file transport6.py.