transport1.py File Reference
This is the 1st model in a series of examples. More...
Go to the source code of this file.
Variables | |
sys | transport1.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None |
GamsWorkspace | transport1.ws = GamsWorkspace(system_directory=sys_dir) |
GamsWorkspace | transport1.job = ws.add_job_from_file("trnsport.gms") |
GamsWorkspace | transport1.opt = ws.add_options() |
transport1.all_model_types | |
transport1.optfile | |
transport1.output | |
Detailed Description
This is the 1st model in a series of examples.
Here we show:
- How to run a GamsJob from file
- How to specify the solver
- How to run a job with a solver option file
- How to capture the log output of a GamsJob
Definition in file transport1.py.