Loading...
Searching...
No Matches
transport7 Namespace Reference

Variables

str GAMS_MODEL
 
sys sys_dir = sys.argv[1] if len(sys.argv) > 1 else None
 
GamsWorkspace ws = GamsWorkspace(system_directory=sys_dir)
 
GamsWorkspace cp = ws.add_checkpoint()
 
GamsWorkspace job = ws.add_job_from_string(GAMS_MODEL)
 
 checkpoint
 
GamsWorkspace mi = cp.add_modelinstance()
 
GamsWorkspace bmult = mi.sync_db.add_parameter("bmult", 0, "demand multiplier")
 
GamsWorkspace opt = ws.add_options()
 
 all_model_types
 
 value
 
list bmult_list = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
 
GamsWorkspace x = mi.sync_db.add_variable("x", 2, VarType.Positive)
 
GamsWorkspace xup = mi.sync_db.add_parameter("xup", 2, "upper bound on x")
 

Variable Documentation

◆ all_model_types

transport7.all_model_types

Definition at line 73 of file transport7.py.

◆ bmult

GamsWorkspace transport7.bmult = mi.sync_db.add_parameter("bmult", 0, "demand multiplier")

Definition at line 71 of file transport7.py.

◆ bmult_list

list transport7.bmult_list = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]

Definition at line 79 of file transport7.py.

◆ checkpoint

transport7.checkpoint

Definition at line 67 of file transport7.py.

◆ cp

GamsWorkspace transport7.cp = ws.add_checkpoint()

Definition at line 63 of file transport7.py.

◆ GAMS_MODEL

str transport7.GAMS_MODEL

Definition at line 12 of file transport7.py.

◆ job

GamsWorkspace transport7.job = ws.add_job_from_string(GAMS_MODEL)

Definition at line 66 of file transport7.py.

◆ mi

GamsWorkspace transport7.mi = cp.add_modelinstance()

Definition at line 70 of file transport7.py.

◆ opt

GamsWorkspace transport7.opt = ws.add_options()

Definition at line 72 of file transport7.py.

◆ sys_dir

sys transport7.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None

Definition at line 60 of file transport7.py.

◆ value

transport7.value

Definition at line 78 of file transport7.py.

◆ ws

GamsWorkspace transport7.ws = GamsWorkspace(system_directory=sys_dir)

Definition at line 61 of file transport7.py.

◆ x

GamsWorkspace transport7.x = mi.sync_db.add_variable("x", 2, VarType.Positive)

Definition at line 91 of file transport7.py.

◆ xup

GamsWorkspace transport7.xup = mi.sync_db.add_parameter("xup", 2, "upper bound on x")

Definition at line 92 of file transport7.py.