feat: add CVRP benchmark (VehicleRouting/CVRP) - #102
Conversation
Add a capacitated VRP benchmark task to the VehicleRouting suite: - 12 deterministic TSPLIB-style instances (seed 42), stdlib-only runtime - Near-optimal deterministic reference (GRASP multi-start + 2-opt + relocate/swap + 2-opt* + LNS) - Weak canonical baseline (random-order cheapest insertion, 55.59 vs reference 100) - Unified-task metadata and Dockerfile for containerized evaluation - Measured agent scores (deepseek-v4-flash): openevolve 96.38, ShinkaEvolve 99.31, AB-MCTS 98.70
Suite-level README describing the Vehicle Routing domain and linking to the CVRP task (consistent with sibling suites such as GameAI, Astrodynamics, MarketMaking).
🤖 AI Code Review (gemini-3-flash-preview)🇬🇧 English Analysis1. Executive Summary
2. AI Content Analysis
3. Engineering & Economic Assessment
4. Quality Assurance
5. Security & Privacy Check
🇨🇳 中文分析1. 摘要
2. AI 成分分析
3. 工程与经济评估
4. 质量保证
5. 安全与隐私检查
|
PR #102 Review CommentThank you for submitting this CVRP benchmark PR. The task documentation, baseline, reference solver, unified metadata, and Dockerfile are all well organized, and I verified locally that the baseline reproduces at However, the current implementation has several issues that affect the credibility of the evaluation, so I do not recommend merging it yet. Main issues:
Please complete the following changes before continuing the review:
Thank you again for your contribution. After completing the above modifications, the review can continue. |
Summary
基准(benchmarks/VehicleRouting/CVRP)
标准库
LNS);刻意弱化的规范 baseline(随机顺序最近插入),给
agent 留出明确提升空间(55.59 → 100)
Dockerfile
Background
CVRP 是经典 NP-hard 物流优化问题:最小化容量约束车队的总配
送距离。实例坐标聚类模拟城市客户分布(Reality
Gap);成本最小化工程价值明确(Economic Value)。
Verification
python verification/evaluator.py baseline/solver.py→ combined_score 55.59, valid 1.0(12实例)
python -m frontier_eval task=unified task.benchmark=VehicleRouting/CVRP algorithm.iterations=0docker build -t cvrp-benchmark -f verification/docker/Dockerfile . && docker run --rm cvrp-benchmarkShinkaEvolve 99.31 / AB-MCTS 98.70,对 reference 100