Go to the source code of this file.
Functions | |
def | transport2.get_data_text () |
def | transport2.get_model_text () |
Variables | |
transport2.ws = GamsWorkspace(system_directory = sys.argv[1]) | |
transport2.file = open(os.path.join(ws.working_directory, "tdata.gms"), "w") | |
transport2.t2 = ws.add_job_from_string(get_model_text()) | |
transport2.opt = ws.add_options() | |
Detailed Description
This is the 2nd model in a series of tutorial examples. Here we show:
- How to use include files to separate model and data
Definition in file transport2.py.