-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.py
53 lines (50 loc) · 793 Bytes
/
sample.py
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
import numpy as np
sample_mat2 = np.array(
[[0, 20, 16, 17, 24], [23, 0, 30, 30, 35], [14, 30, 0, 16, 29], [14, 30, 17, 0, 13], [24, 34, 31, 14, 0]]
)
sample_mat = np.array(
[
[
0,
6,
9,
8,
7,
],
[
31,
0,
33,
28,
27,
],
[
29,
28,
0,
31,
30,
],
[
18,
13,
21,
0,
11,
],
[
37,
32,
40,
31,
0,
],
]
)
sample_tw = [
(0, 60 * 8), # depot
(0, 120),
(120, 150),
(180, 210),
(0, 180),
]