Labsco
spacialglaciercom-lab logo

v2rmp

from spacialglaciercom-lab

route-optimization/VRP

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

rmpca - Route Optimization Engine

High-performance route optimization for road networks. Solve Chinese Postman Problem (CPP) and Vehicle Routing Problem (VRP).

Features

  • CPP Solvers: Internal Rust solver + external rust-optimizer (5-8x faster, 20-60% better efficiency)
  • VRP Solvers: Greedy, Clarke-Wright, Sweep, Two-Opt, OR-Tools, Neural
  • Data Sources: Overture Maps, OSM PBF, PMTiles, PostGIS
  • Binary Format: .rmp - compact binary road network storage (~90% compression)
  • MCP Server: 25+ tools for AI agent integration
  • ML Features: Solver selection, quality prediction, graph embeddings

CLI Commands

CommandDescription
extractDownload road data from Overture/OSM/PMTiles
compileConvert GeoJSON to .rmp binary
optimizeSolve CPP on .rmp map
vrpSolve Vehicle Routing Problem
serveStart MCP JSON-RPC server
cleanRepair GeoJSON road networks
partitionSplit graph into zones
elevationQuery DEM elevation data

MCP Server

Connect AI agents to v2rmp with 25+ tools:

{
  "mcpServers": {
    "rmpca": {
      "command": "rmpca",
      "args": ["serve"]
    }
  }
}

Tools: extract_overture, compile, optimize, v2rmp_rust_optimizer, vrp_solve, partition, list_r2_bucket, etc.

πŸ€– Offline AI Agent

v2rmp features a specialized, 100% offline LLM agent designed to orchestrate the route optimization pipeline. Built on a fine-tuned 1.5B parameter model, it translates natural language routing requests directly into tool commandsβ€”without needing internet access or cloud APIs.

# Pull and run the local agent via Ollama
ollama run spacialglaciercom/v2rmp-agent

For more info, visit the Ollama Hub page.

Performance

MetricInternal EngineExternal rust-optimizer
Efficiency~23-53%~72-87%
Speed~900-1400ms~160-180ms
Route LengthLonger20-60% shorter