chanwoo-park-official
commited on
Commit
•
071476d
1
Parent(s):
e12ca21
0308circle
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- circle_shell_and_generation/generate_data.py +172 -0
- circle_shell_and_generation/submit_dir/results.sh +11 -0
- circle_shell_and_generation/submit_dir/results2.sh +11 -0
- circle_shell_and_generation/submit_dir/results_0228_exp1.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20_circle.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20eq2.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20eq2_circle.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20eq4.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20eq4_circle.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input2.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input2_circle.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input2eq2.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input2eq2_circle.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input5.sh +11 -0
- circle_shell_and_generation/submit_dir/vrp20input5_circle.sh +11 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-51.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-52.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-53.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-54.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-55.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-56.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-57.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-58.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-59.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-6.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-60.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-61.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-62.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-63.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-64.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-65.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-66.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-67.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-68.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-69.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-7.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-70.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-71.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-72.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-73.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-74.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-75.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-76.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-77.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-78.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-79.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-8.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-80.pt +3 -0
- outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-81.pt +3 -0
circle_shell_and_generation/generate_data.py
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import argparse
|
2 |
+
import os
|
3 |
+
import numpy as np
|
4 |
+
from utils.data_utils import check_extension, save_dataset
|
5 |
+
|
6 |
+
|
7 |
+
def generate_tsp_data(dataset_size, tsp_size):
|
8 |
+
return np.random.uniform(size=(dataset_size, tsp_size, 2)).tolist()
|
9 |
+
|
10 |
+
|
11 |
+
def generate_vrp_data(dataset_size, vrp_size):
|
12 |
+
CAPACITIES = {
|
13 |
+
10: 20.,
|
14 |
+
20: 30.,
|
15 |
+
50: 40.,
|
16 |
+
75: 45.,
|
17 |
+
100: 50.
|
18 |
+
}
|
19 |
+
theta = 2*np.pi * np.random.uniform(size = (dataset_size, vrp_size))
|
20 |
+
data_point = 0.5*np.ones((dataset_size, vrp_size, 2)) + np.stack([ 0.5* np.cos(theta), 0.5* np.sin(theta)], axis = 2)
|
21 |
+
demand_point = CAPACITIES[vrp_size]/vrp_size* np.ones((dataset_size, vrp_size))
|
22 |
+
|
23 |
+
return list(zip(
|
24 |
+
(0.5*np.ones((dataset_size, 2))).tolist(), # Depot location
|
25 |
+
data_point.tolist(), # Node locations
|
26 |
+
demand_point.tolist(), # Demand, uniform integer 1 ... 9
|
27 |
+
np.full(dataset_size, CAPACITIES[vrp_size]).tolist() # Capacity, same for whole dataset
|
28 |
+
))
|
29 |
+
|
30 |
+
|
31 |
+
def generate_op_data(dataset_size, op_size, prize_type='const'):
|
32 |
+
depot = np.random.uniform(size=(dataset_size, 2))
|
33 |
+
loc = np.random.uniform(size=(dataset_size, op_size, 2))
|
34 |
+
|
35 |
+
# Methods taken from Fischetti et al. 1998
|
36 |
+
if prize_type == 'const':
|
37 |
+
prize = np.ones((dataset_size, op_size))
|
38 |
+
elif prize_type == 'unif':
|
39 |
+
prize = (1 + np.random.randint(0, 100, size=(dataset_size, op_size))) / 100.
|
40 |
+
else: # Based on distance to depot
|
41 |
+
assert prize_type == 'dist'
|
42 |
+
prize_ = np.linalg.norm(depot[:, None, :] - loc, axis=-1)
|
43 |
+
prize = (1 + (prize_ / prize_.max(axis=-1, keepdims=True) * 99).astype(int)) / 100.
|
44 |
+
|
45 |
+
# Max length is approximately half of optimal TSP tour, such that half (a bit more) of the nodes can be visited
|
46 |
+
# which is maximally difficult as this has the largest number of possibilities
|
47 |
+
MAX_LENGTHS = {
|
48 |
+
20: 2.,
|
49 |
+
50: 3.,
|
50 |
+
100: 4.
|
51 |
+
}
|
52 |
+
|
53 |
+
return list(zip(
|
54 |
+
depot.tolist(),
|
55 |
+
loc.tolist(),
|
56 |
+
prize.tolist(),
|
57 |
+
np.full(dataset_size, MAX_LENGTHS[op_size]).tolist() # Capacity, same for whole dataset
|
58 |
+
))
|
59 |
+
|
60 |
+
|
61 |
+
def generate_pctsp_data(dataset_size, pctsp_size, penalty_factor=3):
|
62 |
+
depot = np.random.uniform(size=(dataset_size, 2))
|
63 |
+
loc = np.random.uniform(size=(dataset_size, pctsp_size, 2))
|
64 |
+
|
65 |
+
# For the penalty to make sense it should be not too large (in which case all nodes will be visited) nor too small
|
66 |
+
# so we want the objective term to be approximately equal to the length of the tour, which we estimate with half
|
67 |
+
# of the nodes by half of the tour length (which is very rough but similar to op)
|
68 |
+
# This means that the sum of penalties for all nodes will be approximately equal to the tour length (on average)
|
69 |
+
# The expected total (uniform) penalty of half of the nodes (since approx half will be visited by the constraint)
|
70 |
+
# is (n / 2) / 2 = n / 4 so divide by this means multiply by 4 / n,
|
71 |
+
# However instead of 4 we use penalty_factor (3 works well) so we can make them larger or smaller
|
72 |
+
MAX_LENGTHS = {
|
73 |
+
20: 2.,
|
74 |
+
50: 3.,
|
75 |
+
100: 4.
|
76 |
+
}
|
77 |
+
penalty_max = MAX_LENGTHS[pctsp_size] * (penalty_factor) / float(pctsp_size)
|
78 |
+
penalty = np.random.uniform(size=(dataset_size, pctsp_size)) * penalty_max
|
79 |
+
|
80 |
+
# Take uniform prizes
|
81 |
+
# Now expectation is 0.5 so expected total prize is n / 2, we want to force to visit approximately half of the nodes
|
82 |
+
# so the constraint will be that total prize >= (n / 2) / 2 = n / 4
|
83 |
+
# equivalently, we divide all prizes by n / 4 and the total prize should be >= 1
|
84 |
+
deterministic_prize = np.random.uniform(size=(dataset_size, pctsp_size)) * 4 / float(pctsp_size)
|
85 |
+
|
86 |
+
# In the deterministic setting, the stochastic_prize is not used and the deterministic prize is known
|
87 |
+
# In the stochastic setting, the deterministic prize is the expected prize and is known up front but the
|
88 |
+
# stochastic prize is only revealed once the node is visited
|
89 |
+
# Stochastic prize is between (0, 2 * expected_prize) such that E(stochastic prize) = E(deterministic_prize)
|
90 |
+
stochastic_prize = np.random.uniform(size=(dataset_size, pctsp_size)) * deterministic_prize * 2
|
91 |
+
|
92 |
+
return list(zip(
|
93 |
+
depot.tolist(),
|
94 |
+
loc.tolist(),
|
95 |
+
penalty.tolist(),
|
96 |
+
deterministic_prize.tolist(),
|
97 |
+
stochastic_prize.tolist()
|
98 |
+
))
|
99 |
+
|
100 |
+
|
101 |
+
if __name__ == "__main__":
|
102 |
+
parser = argparse.ArgumentParser()
|
103 |
+
parser.add_argument("--filename", help="Filename of the dataset to create (ignores datadir)")
|
104 |
+
parser.add_argument("--data_dir", default='data', help="Create datasets in data_dir/problem (default 'data')")
|
105 |
+
parser.add_argument("--name", type=str, required=True, help="Name to identify dataset")
|
106 |
+
parser.add_argument("--problem", type=str, default='all',
|
107 |
+
help="Problem, 'tsp', 'vrp', 'pctsp' or 'op_const', 'op_unif' or 'op_dist'"
|
108 |
+
" or 'all' to generate all")
|
109 |
+
parser.add_argument('--data_distribution', type=str, default='all',
|
110 |
+
help="Distributions to generate for problem, default 'all'.")
|
111 |
+
|
112 |
+
parser.add_argument("--dataset_size", type=int, default=10000, help="Size of the dataset")
|
113 |
+
parser.add_argument('--graph_sizes', type=int, nargs='+', default=[10, 20, 50,75, 100],
|
114 |
+
help="Sizes of problem instances (default 20, 50, 100)")
|
115 |
+
parser.add_argument("-f", action='store_true', help="Set true to overwrite")
|
116 |
+
parser.add_argument('--seed', type=int, default=1234, help="Random seed")
|
117 |
+
|
118 |
+
opts = parser.parse_args()
|
119 |
+
|
120 |
+
assert opts.filename is None or (len(opts.problems) == 1 and len(opts.graph_sizes) == 1), \
|
121 |
+
"Can only specify filename when generating a single dataset"
|
122 |
+
|
123 |
+
distributions_per_problem = {
|
124 |
+
'tsp': [None],
|
125 |
+
'vrp': [None],
|
126 |
+
'pctsp': [None],
|
127 |
+
'op': ['const', 'unif', 'dist']
|
128 |
+
}
|
129 |
+
if opts.problem == 'all':
|
130 |
+
problems = distributions_per_problem
|
131 |
+
else:
|
132 |
+
problems = {
|
133 |
+
opts.problem:
|
134 |
+
distributions_per_problem[opts.problem]
|
135 |
+
if opts.data_distribution == 'all'
|
136 |
+
else [opts.data_distribution]
|
137 |
+
}
|
138 |
+
|
139 |
+
for problem, distributions in problems.items():
|
140 |
+
for distribution in distributions or [None]:
|
141 |
+
for graph_size in opts.graph_sizes:
|
142 |
+
|
143 |
+
datadir = os.path.join(opts.data_dir, problem)
|
144 |
+
os.makedirs(datadir, exist_ok=True)
|
145 |
+
|
146 |
+
if opts.filename is None:
|
147 |
+
filename = os.path.join(datadir, "{}{}{}_{}_seed{}.pkl".format(
|
148 |
+
problem,
|
149 |
+
"_{}".format(distribution) if distribution is not None else "",
|
150 |
+
graph_size, opts.name, opts.seed))
|
151 |
+
else:
|
152 |
+
filename = check_extension(opts.filename)
|
153 |
+
|
154 |
+
assert opts.f or not os.path.isfile(check_extension(filename)), \
|
155 |
+
"File already exists! Try running with -f option to overwrite."
|
156 |
+
|
157 |
+
np.random.seed(opts.seed)
|
158 |
+
if problem == 'tsp':
|
159 |
+
dataset = generate_tsp_data(opts.dataset_size, graph_size)
|
160 |
+
elif problem == 'vrp':
|
161 |
+
dataset = generate_vrp_data(
|
162 |
+
opts.dataset_size, graph_size)
|
163 |
+
elif problem == 'pctsp':
|
164 |
+
dataset = generate_pctsp_data(opts.dataset_size, graph_size)
|
165 |
+
elif problem == "op":
|
166 |
+
dataset = generate_op_data(opts.dataset_size, graph_size, prize_type=distribution)
|
167 |
+
else:
|
168 |
+
assert False, "Unknown problem: {}".format(problem)
|
169 |
+
|
170 |
+
print(dataset[0])
|
171 |
+
|
172 |
+
save_dataset(dataset, filename)
|
circle_shell_and_generation/submit_dir/results.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=results
|
4 |
+
#SBATCH -o log_line/results.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u eval_sirui.py
|
circle_shell_and_generation/submit_dir/results2.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=results
|
4 |
+
#SBATCH -o log_line/results.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u alex_new.py
|
circle_shell_and_generation/submit_dir/results_0228_exp1.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=results
|
4 |
+
#SBATCH -o logs_test/results.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u /home/gridsan/cpark/routing/alex_new_exp1.py
|
circle_shell_and_generation/submit_dir/vrp20.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20
|
4 |
+
#SBATCH -o log_line/vrp20.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 0 --num_equivariant_samples 0
|
circle_shell_and_generation/submit_dir/vrp20_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20
|
4 |
+
#SBATCH -o log_circle/vrp20.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 0 --num_equivariant_samples 0
|
circle_shell_and_generation/submit_dir/vrp20eq2.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20eq2
|
4 |
+
#SBATCH -o log_line/vrp20eq2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20eq2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 0 --num_equivariant_samples 2
|
circle_shell_and_generation/submit_dir/vrp20eq2_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20eq2
|
4 |
+
#SBATCH -o log_circle/vrp20eq2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20eq2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 0 --num_equivariant_samples 2
|
circle_shell_and_generation/submit_dir/vrp20eq4.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20eq4
|
4 |
+
#SBATCH -o log_line/vrp20eq4.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20eq4' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 0 --num_equivariant_samples 4
|
circle_shell_and_generation/submit_dir/vrp20eq4_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20eq4
|
4 |
+
#SBATCH -o log_circle/vrp20eq4.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20eq4' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 0 --num_equivariant_samples 4
|
circle_shell_and_generation/submit_dir/vrp20input2.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20inputaug2
|
4 |
+
#SBATCH -o log_line/vrp20inputaug2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20inputaug2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 2 --num_equivariant_samples 0
|
circle_shell_and_generation/submit_dir/vrp20input2_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20inputaug2
|
4 |
+
#SBATCH -o log_circle/vrp20inputaug2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20inputaug2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 2 --num_equivariant_samples 0
|
circle_shell_and_generation/submit_dir/vrp20input2eq2.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20input2eq2
|
4 |
+
#SBATCH -o log_line/vrp20input2eq2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20input2eq2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 2 --num_equivariant_samples 2
|
circle_shell_and_generation/submit_dir/vrp20input2eq2_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20input2eq2
|
4 |
+
#SBATCH -o log_circle/vrp20input2eq2.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20input2eq2' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 2 --num_equivariant_samples 2
|
circle_shell_and_generation/submit_dir/vrp20input5.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20inputaug5
|
4 |
+
#SBATCH -o log_line/vrp20inputaug5.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20inputaug5' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validationline4_seed4321.pkl --log_dir log_line_test --run_dir run_line --output_dir outputs_line --num_input_augmentations 5 --num_equivariant_samples 0
|
circle_shell_and_generation/submit_dir/vrp20input5_circle.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
#SBATCH --job-name=vrp20inputaug5
|
4 |
+
#SBATCH -o log_circle/vrp20inputaug5.out-%j
|
5 |
+
#SBATCH -c 10
|
6 |
+
#SBATCH --gres=gpu:volta:1
|
7 |
+
#SBATCH --time=200:00:00 # total run time limit (HH:MM:SS)
|
8 |
+
|
9 |
+
module load anaconda/2022b
|
10 |
+
|
11 |
+
python -u run.py --graph_size 20 --problem cvrp --baseline rollout --run_name 'vrp20inputaug5' --val_dataset /home/gridsan/cpark/routing/data/vrp/vrp20_validcircle_seed1234.pkl --log_dir log_circle_test --run_dir run_circle --output_dir outputs_circle --num_input_augmentations 5 --num_equivariant_samples 0
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-51.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e9822b195bb44e60328515610adfe1b230b84fd9cca5eedd9575fb8a71653bd
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-52.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:168818f9e7e6f897daee06538bb33c22ab336aeee185cd564f9025a5e8f334b1
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-53.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a093455356c201225d046bc46382052e2889c2c832cb6bd020a88935d1dbdec
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-54.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:838e58a1235f2ea6bc44afec13c41bccba444a3e56b6a01701290d94a4df2550
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-55.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53b462a39b606a1154633c96bb17bb27a5916dc76873a034c07bf430b645a240
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-56.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c3a7e3dd2353447a8f0d385286276f0c328021f6e4d68e6f085af4da22fee5a
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-57.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9606b698642d026417f744f1d17518cd723d21a469dfd7e5dfb2b26f18c19f4
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-58.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:103dce6fb9eb38c0b6d0a74982a47ee3d5e42fa9f32f1e62b2ba22894666f504
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-59.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18a5673d1c0388bf70e4eb8f3dda8889d3b9de2f44c6b03a0defe06a56c744b3
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-6.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd6f2ddbfe9021b398dd50eee518fdcf6518f3d54a107ffff270dac3511bf5aa
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-60.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b4fe0f212bc4f0d1a559d1768f0793d09e255439d91fc15fc445594b4625a59
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-61.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbdeae5d4ebf1d7b92a711d0bb3999cdff1f92a12a3c7ab79a7538be5604ee35
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-62.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:569673aef4fe223930d62a3c27e038177153e8e39ef19f245df4b79e2671d0dc
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-63.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d4297c568ef3032b1bf90a5648d5f4de00cc44df6ffa914042c8a1d4fa595b7
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-64.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85134f4753c0dd8fde18dbc363cfbf20ca8ce39763ad23bb6d77ce994735cbbc
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-65.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:047b4aa2b124ea89ece4099dc479d301321a3c9bcc17e9cc1965bad0187b8f5c
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-66.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:897f8bba17b00127a3ece5ca95c961e1305da53bf62f4eff98bfe9eac830216c
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-67.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3945af8a0503002eef8a9042771c510fc161c3dae0bc12f0e01bb08403d9fe6
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-68.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30872e2921e3daaa3932cb912f3c212d1c7239c3cbdf1a3423199a36cfd9afb2
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-69.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18a87207cd70551d83d76cd2214479d8d3f5f5679df8f158ba6c541134d0fdd5
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-7.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d80385ecacca066c3912f35daa387130cbe5696ea48e06a02c2a832130e207c7
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-70.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51824c2019e446eca9056e9f2b41504566c3397f97221de5f38f9f1bfbf51f23
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-71.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:850e7f2d8c1fcfed06638a7601aeb1c135479699e7caf4b02eea2fc9f8ea25b6
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-72.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4930f2903ac53daeaad772519b6ea2eac4f6373993fc7f409b016f1f7006a7e0
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-73.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b5372662deb08c6529ca218a2d4181620aa0905c5b4ff10f1b14bdc3edb53a0
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-74.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86885578848a1a6104dec143186ba8ee723298168480fe3513113e57c4907b26
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-75.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbb4d8b83afe541cde2906358ab8e990ec842ef9fb0e8a4e29c5a2e076eeb965
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-76.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fdc422144b7063e72276d4ea50abf01771a9c80e3ab4cc932176564f74bcf933
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-77.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04808002d396771e8ba19b695ce563b2b31c79dfa55bc1b9e0e5080197413df0
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-78.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b412622a790dd1452946bf64716d24ed1ee27b55b56bfa18ce981f906112acf
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-79.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a95d9c533fab3fb692a80a62f299d5131134abbc99fd230edc94a9aa06ec9d8
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-8.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:981087d36e209d28a2850f5625bcb4f41016335113eb20b0601bc64ae53f7733
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-80.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:589e3552ae8da86c3e037cf36c9140fc2b1eedafe238136f72e4eaae1f60484b
|
3 |
+
size 21428553
|
outputs_circle/cvrp_20/org/vrp20input2eq2_20230221T094547/epoch-81.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1c717aea70dfb7bc2e3fb7b573cdcf978c7008abd22f7944f0710ebec368a66
|
3 |
+
size 21428553
|