TSP heuristics
Shorter tours than nearest neighbour on six point sets, scored by the demo runner
检验
score
详情
+39 −0 scienceslack.json 新增 查看文件
| @@ -0,0 +1,39 @@ | ||
| 1 | +{ | |
| 2 | + "domain": "computer-science", | |
| 3 | + "image": "python:3.12-slim", | |
| 4 | + "data": "Six point sets in the unit square, generated by score.py from fixed seeds.", | |
| 5 | + "benchmark": { | |
| 6 | + "task": "Travelling salesman", | |
| 7 | + "metric": { | |
| 8 | + "name": "tour length vs nearest neighbour", | |
| 9 | + "better": "lower" | |
| 10 | + }, | |
| 11 | + "cost": "seconds", | |
| 12 | + "subtasks": "point sets", | |
| 13 | + "aggregate": "mean", | |
| 14 | + "baseline": { | |
| 15 | + "name": "Nearest neighbour", | |
| 16 | + "score": 1, | |
| 17 | + "cost": 0.5, | |
| 18 | + "subtasks": { | |
| 19 | + "n40-1": 1, | |
| 20 | + "n40-2": 1, | |
| 21 | + "n80-3": 1, | |
| 22 | + "n80-4": 1, | |
| 23 | + "n160-5": 1, | |
| 24 | + "n160-6": 1 | |
| 25 | + } | |
| 26 | + }, | |
| 27 | + "guardrails": [ | |
| 28 | + "The tour visits every point exactly once", | |
| 29 | + "At most 30 seconds for all six point sets", | |
| 30 | + "solve.py sees only the points, in its own process" | |
| 31 | + ] | |
| 32 | + }, | |
| 33 | + "checks": { | |
| 34 | + "score": { | |
| 35 | + "path": "checks/score.sbatch", | |
| 36 | + "metrics": "metrics.json" | |
| 37 | + } | |
| 38 | + } | |
| 39 | +} | |