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

This is the 2nd model in a series of examples. More...

Go to the source code of this file.

Variables

str transport2.GAMS_DATA
 
str transport2.GAMS_MODEL
 
sys transport2.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None
 
GamsWorkspace transport2.ws = GamsWorkspace(system_directory=sys_dir)
 
GamsWorkspace transport2.job = ws.add_job_from_string(GAMS_MODEL)
 
GamsWorkspace transport2.opt = ws.add_options()
 

Detailed Description

This is the 2nd model in a series of examples.

Here we show:

  • How to use include files to separate model and data

Definition in file transport2.py.