Loading...
Searching...
No Matches
transport13 Namespace Reference

Variables

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

Variable Documentation

◆ all_model_types

transport13.all_model_types

Definition at line 40 of file transport13.py.

◆ capacity

dict transport13.capacity = {"Seattle": 350.0, "San-Diego": 600.0}

Definition at line 13 of file transport13.py.

◆ demand

dict transport13.demand = {"New-York": 325.0, "Chicago": 300.0, "Topeka": 275.0}

Definition at line 14 of file transport13.py.

◆ distance

dict transport13.distance
Initial value:
1= {
2 ("Seattle", "New-York"): 2.5,
3 ("Seattle", "Chicago"): 1.7,
4 ("Seattle", "Topeka"): 1.8,
5 ("San-Diego", "New-York"): 2.5,
6 ("San-Diego", "Chicago"): 1.8,
7 ("San-Diego", "Topeka"): 1.4,
8}

Definition at line 15 of file transport13.py.

◆ markets

list transport13.markets = ["New-York", "Chicago", "Topeka"]

Definition at line 12 of file transport13.py.

◆ output

transport13.output

Definition at line 41 of file transport13.py.

◆ plants

list transport13.plants = ["Seattle", "San-Diego"]

Definition at line 11 of file transport13.py.

◆ sys_dir

sys transport13.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None

Definition at line 25 of file transport13.py.

◆ t

Transport transport13.t = Transport(sys_dir)

Definition at line 26 of file transport13.py.

◆ value

transport13.value

Definition at line 33 of file transport13.py.