transport13.py File Reference

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

Go to the source code of this file.

Variables

list transport13.plants = ["Seattle", "San-Diego"]
 
list transport13.markets = ["New-York", "Chicago", "Topeka"]
 
dictionary transport13.capacity = {"Seattle": 350.0, "San-Diego": 600.0}
 
dictionary transport13.demand = {"New-York": 325.0, "Chicago": 300.0, "Topeka": 275.0}
 
dictionary transport13.distance
 
 transport13.ws = GamsWorkspace(system_directory = sys.argv[1])
 
 transport13.t = Transport(ws)
 
 transport13.value
 
 transport13.all_model_types
 
 transport13.output
 

Detailed Description

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

Here we show:

  • How to run a GamsJob using a wrapper class to package a particulat GAMS model

Definition in file transport13.py.