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

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

Go to the source code of this file.

Classes

class  transport14.Optimizer
 

Functions

def transport14.run_scenario (optimizer, bmult, lock)
 

Variables

sys transport14.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None
 
Optimizer transport14.optimizer = Optimizer(sys_dir)
 
list transport14.bmult_list = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
 
Lock transport14.lock = Lock()
 
Thread transport14.t = Thread(target=run_scenario, args=(optimizer, bmult, lock))
 

Detailed Description

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

Here we show:

  • How to run multiple GamsJobs in parallel each using different scenario data

Definition in file transport14.py.