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

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

Go to the source code of this file.

Variables

list transport13.plants = ["Seattle", "San-Diego"]
 
list transport13.markets = ["New-York", "Chicago", "Topeka"]
 
dict transport13.capacity = {"Seattle": 350.0, "San-Diego": 600.0}
 
dict transport13.demand = {"New-York": 325.0, "Chicago": 300.0, "Topeka": 275.0}
 
dict transport13.distance
 
sys transport13.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None
 
Transport transport13.t = Transport(sys_dir)
 
 transport13.value
 
 transport13.all_model_types
 
 transport13.output
 

Detailed Description

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

Here we show:

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

Definition in file transport13.py.