transport3.py File Reference

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

Go to the source code of this file.

Functions

def transport3.get_data_text ()
 
def transport3.get_model_text ()
 

Variables

 transport3.ws = GamsWorkspace(system_directory = sys.argv[1])
 
 transport3.t3 = ws.add_job_from_string(get_data_text())
 
 transport3.opt = ws.add_options()
 
 transport3.all_model_types
 
 transport3.t3a = ws.add_job_from_string(get_data_text())
 
 transport3.t3b = ws.add_job_from_string(get_model_text())
 
 transport3.databases
 

Detailed Description

This is the 3rd model in a series of tutorial 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.