Skip to content

Commit fd3d623

Browse files
Refactor experiment scripts
1 parent ff0ac24 commit fd3d623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experiments/etc/shared.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def solve_scientific(self, scientific_format, problem_path, config_path, solutio
6262
raise ValueError('cannot get solution statistic')
6363

6464
# expected:
65-
# rank: 0, fitness: (0.000, 92.000, 53389.603),
65+
# fitness: (0.000, 92.000, 53389.603),
6666
for best in re.finditer(
67-
r"rank: 0, fitness: \((?P<unassigned>[\d.]+),?\s*(?P<tours>[\d.]+)?\s*, (?P<cost>[\d.]+)\)",
67+
r"fitness: \((?P<unassigned>[\d.]+),?\s*(?P<tours>[\d.]+)?\s*, (?P<cost>[\d.]+)\)",
6868
p.stdout):
6969
pass
7070

0 commit comments

Comments
 (0)