-
Notifications
You must be signed in to change notification settings - Fork 1
/
CS1
61 lines (49 loc) · 1.02 KB
/
CS1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ticket price per type
cheap_ticket = 55,70,40
affordable_ticket = 70,90,65
expensive_ticket = 100,120,80
# travel periods references
tPr = 1,2,3
tMax = 3,4,5
depMax = 4,3,2
# airports and capacities
airports = 1,4,9,11,14
dep_area = 16,18,20,22,24
ar_area = 17,19,21,23,25
ar_cap_airports=4,2,4,1,3
dep_cap_airports=3,2,4,2,3
#Levels and capacities
levels = 0,1,2,3
n_levels=4
cap_per_level = 10,1,2,3
groundLevel = 0
# Permitted Arcs
n_nodes = 26
internal_nodes=0,2,3,5,6,7,8,10,12,13,15
arcs=0,1,0,4,\
1,0,1,2,1,5,1,6,\
2,1,2,3,2,6,\
3,2,3,7,\
4,0,4,5,4,8,\
5,1,5,4,5,6,5,9,5,10,\
6,1,6,2,6,5,6,7,6,9,6,10,\
7,3,7,6,7,11,\
8,4,8,9,8,12,8,13,\
9,5,9,6,9,8,9,10,\
10,5,10,6,10,9,10,11,10,14,\
11,7,11,10,11,15,\
12,8,12,13,\
13,8,13,9,13,12,13,14,\
14,10,14,13,14,15,\
15,11,15,14
airport_arcs=16,1,1,17,\
18,4,4,19,\
20,9,9,21,\
22,11,11,23,\
24,14,14,25
# Flight data per airplane
airplanes = 0,1,2,3
dep_time = 4,2,3,5
dep_airport = 1,11,4,14
ar_airport = 14,1,9,11
arcs_per_flight = 5,4,4,4