项目 / VROOM-Project/vroom

VROOM-Project/vroom

行业推荐
语言 C++标签 optimizationsolverlogisticstspvrpcvrptravelling-salesmanvehicle-routing-problemvroomvrptwpickupdeliverypdptw数据更新 2026-11-24 06:50:13 · 仓库 2026-11-23

一段话介绍

VROOM 是用 C++20 编写的开源路径优化引擎,用于求解各类车辆路径问题(VRP)。它把问题建模为资源(`vehicles`)、单点取送任务(`jobs`)以及需走同一路线的取送任务(`shipments`),并同时覆盖 TSP、CVRP、VRPTW、多车场异构车辆带时间窗的 VRP,以及带时间窗的取送问题等类型。路径计算可直接使用 [OSRM](http://project-osrm.org/)、[Openrouteservice](https://openrouteservice.org/) 或 [Valhalla](https://github.com/valhalla/valhalla),也可接入其他来源的自定义成本矩阵。项目由 [Verso](https://verso-optim.com) 维护。快速试用可打开[演示前端](http://map.vroom-project.org/);要自行部署,可按 wiki 从源码构建,或使用 [vroom-docker](https://github.com/VROOM-Project/vroom-docker)。命令行用法、HTTP 封装 [vroom-express](https://github.com/VROOM-Project/vroom-express) 以及作为 C++ 库调用的说明都在项目 wiki 中。许可为 BSD-2-Clause。说明见[项目站点](http://vroom-project.org/)和[仓库 README](https://github.com/VROOM-Project/vroom)。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Vehicle Routing Open-source Optimization Machine
1,925累计星
454Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

路径规划与运输调度

适配系统:路径规划引擎、运输调度 · 得分 3.0

车辆路径优化求解器。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
VROOM 用车辆、单点取送货任务与同线路取送件 shipment 建模 VRP,支持多指标载量、时间窗、技能、工时、司机休息和起终点分设等约束,可通过源码编译、Docker 或 C++ 库方式使用。
特点或设计要点
Vroom 适合需要快速路线优化的场景,用于响应变化和新请求,并迭代路线以找到最佳方案。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-17 · 语言 C++ · 贡献者 —
c++

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 5,473 字节。

# Complex Route Optimization in Milliseconds

_Good solutions, fast._

---

## About

Vroom is an open-source route optimization engine written in C++20
that solves complex [vehicle routing
problems](https://en.wikipedia.org/wiki/Vehicle_routing_problem) (VRP)
in milliseconds.

The project is maintained by [Verso](https://verso-optim.com). If you
want to get started as quickly as possible with route optimization,
you want white-glove support to increase the ROI from your
optimization project and/or you need access to the best possible data
for even more accurate route timing, you should use the [Vroom Premium
API](https://verso-optim.com/api/).

## Why use Vroom?

Vroom is ideally suited to situations in which route optimization has
to be done quickly, both to react to changes and new requests and to
iterate on your routes to find the solution that works best for all
stakeholders.

Vroom doesn't replace domain expertise. It allows fleet managers and
business owners to apply their domain knowledge and understanding of
the company culture to larger, more complex optimization problems than
they could manage manually.

The open source project is ideal for companies who want to control
their own infrastructure, have the technical expertise to do so and
can manage their own data integration. If you would rather not manage
your own infrastructure, if you want access to expertise around route
optimization or if you want more accurate ETA relying on enhanced
speed estimates, consider using the [Vroom Premium
API](https://verso-optim.com/api/).

## Supported problem types

Vroom solves several well-known types of vehicle routing problems
(VRP).

- TSP (travelling salesman problem)
- CVRP (capacitated VRP)
- VRPTW (VRP with time windows)
- MDHVRPTW (multi-depot heterogeneous vehicle VRPTW)
- PDPTW (pickup-and-delivery problem with TW)

Vroom solves all of the above routing problems at the same time — and
delivers the optimized route in milliseconds, even when complex
variables are involved.

## How it works

Vroom models a VRP with a description of resources (`vehicles`),
single-location pickup and/or delivery tasks (`jobs`) and
pickup-and-delivery tasks that should happen within the same route
(`shipments`).

### Job and shipment

- Delivery/pickup amounts on arbitrary number of metrics
- Service time windows
- Service duration
- Skills
- Priority

### Vehicle

- Capacity on arbitrary number of metrics
- Skills
- Working hours
- Driver breaks
- Start and end defined on a per-vehicle basis
- Start and end can be different
- Open trip optimization (only start or only end defined)

## Supported routing engines

Vroom works out-of-the-box on top of several open-source routing
engines.

- [OSRM](http://project-osrm.org/)
- [Openrouteservice](https://openrouteservice.org/)
- [Valhalla](https://github.com/valhalla/valhalla)

Vroom can also use a custom cost matrix computed from any other
source.

## Getting started

### Demo

- The [demo frontend](http://map.vroom-project.org/) provides a simple
user interface for quick tests.
- The [demo
server](https://github.com/Vroom-Project/vroom/wiki/Demo-server) makes
it easy to send sample optimization requests for testing purposes.

### Setup your own Vroom stack

#### Solving engine

Several options are available to get `vroom` running on command-line.

1. Build from source following [the wiki
instructions](https://github.com/Vroom-Project/vroom/wiki/Building).
2. Use
[`vroom-docker`](https://github.com/Vroom-Project/vroom-docker).

### Command-line usage

Refer to [this wiki
page](https://github.com/Vroom-Project/vroom/wiki/Usage)

#### Http wrapper

[`vroom-express`](https://github.com/Vroom-Project/vroom-express) is a
simple wrapper to use `vroom` with http requests. It's already bundled
in the `vroom-docker` setup.

#### Using libvroom from C++

The project can also used as a library from any C++ project, refer to
[this wiki
page](https://github.com/Vroom-Project/vroom/wiki/Using-libvroom).

## Tests

### CI builds

[![vroom](https://github.com/Vroom-Project/vroom/actions/workflows/vroom.yml/badge.svg)](https://github.com/Vroom-Project/vroom/actions/workflows/vroom.yml)

[![vroom + libosrm](https://github.com/Vroom-Project/vroom/actions/workflows/vroom_libosrm.yml/badge.svg?branch=master)](https://github.com/Vroom-Project/vroom/actions/workflows/vroom_libosrm.yml)

[Github Actions](https://github.com/Vroom-Project/vroom/actions) are
used to check the build across various compilers and settings.

### Functional tests

Several sets of instances are used.

1. Benchmark instances from papers (see [wiki page with
results](https://github.com/Vroom-Project/vroom/wiki/Benchmarks)).
2. Custom random instances generated to target typical use-cases and
constraints settings.
3. Real-life instances.

Academic and custom benchmarks are heavily used during development for
each new core feature. Every new release is checked against all
benchmarks classes to spot potential regressions with regard to both
solution quality and computing times.

## Reference in publications

To cite Vroom in publications, please use:

```bibtex
@manual{vroom_v1.14,
   title = {{Vroom v1.14, Vehicle Routing Open-source Optimization Machine}},
   author = {Coupey, Julien and Nicod, Jean-Marc and Varnier, Christophe},
   year = 2024,
   organization = {Verso (\url{https://verso-optim.com/})},
   address = {Besançon, France},
   note = {\url{http://vroom-project.org/}}
 }
 ```
↑