transport9.py File Reference

This is the 9th model in a series of tutorial examples. More...

Go to the source code of this file.

Functions

def transport9.get_model_text ()
 
def transport9.read_set (connection, db, query_string, set_name, set_dim, set_exp="")
 
def transport9.read_parameter (connection, db, query_string, par_name, par_dim, par_exp="")
 
def transport9.write_variable (connection, db, var_name, column_names)
 
def transport9.write_results (db)
 
def transport9.read_from_access (ws)
 

Variables

 transport9.ws = GamsWorkspace(system_directory = sys.argv[1])
 
def transport9.db = read_from_access(ws)
 
 transport9.t9 = ws.add_job_from_string(get_model_text())
 
 transport9.opt = ws.add_options()
 
 transport9.all_model_types
 
 transport9.databases
 

Detailed Description

This is the 9th model in a series of tutorial examples.

Here we show:

  • How to fill a GamsDatabase by reading from MS Access

Definition in file transport9.py.