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

This is the 3rd model in a series of examples. More...

Go to the source code of this file.

Variables

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

Detailed Description

This is the 3rd model in a series of examples.

Here we show:

  • How to read data from string and export to GDX
  • How to run a job using data from GDX
  • How to run a job using implicit database communication

Definition in file transport3.py.