Functions | |
def | get_model_text () |
Variables | |
ws = GamsWorkspace(system_directory = sys.argv[1]) | |
cp = ws.add_checkpoint() | |
t7 = ws.add_job_from_string(get_model_text()) | |
checkpoint | |
mi = cp.add_modelinstance() | |
bmult = mi.sync_db.add_parameter("bmult", 0, "demand multiplier") | |
opt = ws.add_options() | |
all_model_types | |
value | |
list | bmultlist = [ 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3 ] |
x = mi.sync_db.add_variable("x", 2, VarType.Positive) | |
xup = mi.sync_db.add_parameter("xup", 2, "upper bound on x") | |
Function Documentation
◆ get_model_text()
def transport7.get_model_text | ( | ) |
Definition at line 12 of file transport7.py.
Variable Documentation
◆ all_model_types
transport7.all_model_types |
Definition at line 77 of file transport7.py.
◆ bmult
transport7.bmult = mi.sync_db.add_parameter("bmult", 0, "demand multiplier") |
Definition at line 75 of file transport7.py.
◆ bmultlist
list transport7.bmultlist = [ 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3 ] |
Definition at line 83 of file transport7.py.
◆ checkpoint
transport7.checkpoint |
Definition at line 71 of file transport7.py.
◆ cp
transport7.cp = ws.add_checkpoint() |
Definition at line 67 of file transport7.py.
◆ mi
transport7.mi = cp.add_modelinstance() |
Definition at line 74 of file transport7.py.
◆ opt
transport7.opt = ws.add_options() |
Definition at line 76 of file transport7.py.
◆ t7
transport7.t7 = ws.add_job_from_string(get_model_text()) |
Definition at line 70 of file transport7.py.
◆ value
transport7.value |
Definition at line 82 of file transport7.py.
◆ ws
transport7.ws = GamsWorkspace(system_directory = sys.argv[1]) |
Definition at line 63 of file transport7.py.
◆ x
transport7.x = mi.sync_db.add_variable("x", 2, VarType.Positive) |
Definition at line 96 of file transport7.py.
◆ xup
transport7.xup = mi.sync_db.add_parameter("xup", 2, "upper bound on x") |
Definition at line 97 of file transport7.py.