PyVRP: a high-performance VRP solver package

We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed for the VRP with time windows (VRPTW), but can be easily extended to support other VRP variants. PyVRP combines the flexibility of Python wit...

Full description

Saved in:
Bibliographic Details
Published inarXiv.org
Main Authors Wouda, Niels A, Lan, Leon, Kool, Wouter
Format Paper Journal Article
LanguageEnglish
Published Ithaca Cornell University Library, arXiv.org 21.03.2024
Subjects
Online AccessGet full text
ISSN2331-8422
DOI10.48550/arxiv.2403.13795

Cover

Abstract We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed for the VRP with time windows (VRPTW), but can be easily extended to support other VRP variants. PyVRP combines the flexibility of Python with the performance of C++, by implementing (only) performance critical parts of the algorithm in C++, while being fully customisable at the Python level. PyVRP is a polished implementation of the algorithm that ranked 1st in the 2021 DIMACS VRPTW challenge and, after improvements, ranked 1st on the static variant of the EURO meets NeurIPS 2022 vehicle routing competition. The code follows good software engineering practices, and is well-documented and unit tested. PyVRP is freely available under the liberal MIT license. Through numerical experiments we show that PyVRP achieves state-of-the-art results on the VRPTW and capacitated VRP. We hope that PyVRP enables researchers and practitioners to easily and quickly build on a state-of-the-art VRP solver.
AbstractList We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed for the VRP with time windows (VRPTW), but can be easily extended to support other VRP variants. PyVRP combines the flexibility of Python with the performance of C++, by implementing (only) performance critical parts of the algorithm in C++, while being fully customisable at the Python level. PyVRP is a polished implementation of the algorithm that ranked 1st in the 2021 DIMACS VRPTW challenge and, after improvements, ranked 1st on the static variant of the EURO meets NeurIPS 2022 vehicle routing competition. The code follows good software engineering practices, and is well-documented and unit tested. PyVRP is freely available under the liberal MIT license. Through numerical experiments we show that PyVRP achieves state-of-the-art results on the VRPTW and capacitated VRP. We hope that PyVRP enables researchers and practitioners to easily and quickly build on a state-of-the-art VRP solver.
We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed for the VRP with time windows (VRPTW), but can be easily extended to support other VRP variants. PyVRP combines the flexibility of Python with the performance of C++, by implementing (only) performance critical parts of the algorithm in C++, while being fully customisable at the Python level. PyVRP is a polished implementation of the algorithm that ranked 1st in the 2021 DIMACS VRPTW challenge and, after improvements, ranked 1st on the static variant of the EURO meets NeurIPS 2022 vehicle routing competition. The code follows good software engineering practices, and is well-documented and unit tested. PyVRP is freely available under the liberal MIT license. Through numerical experiments we show that PyVRP achieves state-of-the-art results on the VRPTW and capacitated VRP. We hope that PyVRP enables researchers and practitioners to easily and quickly build on a state-of-the-art VRP solver.
Author Lan, Leon
Kool, Wouter
Wouda, Niels A
Author_xml – sequence: 1
  givenname: Niels
  surname: Wouda
  middlename: A
  fullname: Wouda, Niels A
– sequence: 2
  givenname: Leon
  surname: Lan
  fullname: Lan, Leon
– sequence: 3
  givenname: Wouter
  surname: Kool
  fullname: Kool, Wouter
BackLink https://doi.org/10.1287/ijoc.2023.0055$$DView published paper (Access to full text may be restricted)
https://doi.org/10.48550/arXiv.2403.13795$$DView paper in arXiv
BookMark eNotj01Lw0AYhBdRsNb-AE8GvJp0d9_99CbFj0LBIsVr2GzetKltEndtsf_e2DqXgWEY5rki503bICE3jGbCSEnHLvzU-4wLChkDbeUZGXAAlhrB-SUZxbimlHKluZQwIPfzw8f7_CFxyapertIOQ9WGrWs8Jn2exHazx5B0zn-6JV6Ti8ptIo7-fUgWz0-LyWs6e3uZTh5nqZPcpkarovJFpUrttVcSVUmN0KayWsqyYKpg2AtAoeGivwbeKkMdKmsosgKG5PY0e0TJu1BvXTjkf0j5Ealv3J0aXWi_dhi_83W7C03_KedWA9eGCgu_oDVOQQ
ContentType Paper
Journal Article
Copyright 2024. This work is published under http://creativecommons.org/licenses/by-sa/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
http://creativecommons.org/licenses/by-sa/4.0
Copyright_xml – notice: 2024. This work is published under http://creativecommons.org/licenses/by-sa/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
– notice: http://creativecommons.org/licenses/by-sa/4.0
DBID 8FE
8FG
ABJCF
ABUWG
AFKRA
AZQEC
BENPR
BGLVJ
CCPQU
DWQXO
HCIFZ
L6V
M7S
PHGZM
PHGZT
PIMPY
PKEHL
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
PTHSS
AKY
GOX
DOI 10.48550/arxiv.2403.13795
DatabaseName ProQuest SciTech Collection
ProQuest Technology Collection
Materials Science & Engineering Collection
ProQuest Central (Alumni)
ProQuest Central UK/Ireland
ProQuest Central Essentials
ProQuest Central
Technology Collection (via ProQuest SciTech Premium Collection)
ProQuest One Community College
ProQuest Central Korea
ProQuest SciTech Premium Collection
ProQuest Engineering Collection
Engineering Database
ProQuest Central Premium
ProQuest One Academic
Publicly Available Content Database
ProQuest One Academic Middle East (New)
ProQuest One Academic Eastern Edition (DO NOT USE)
ProQuest One Applied & Life Sciences
ProQuest One Academic
ProQuest One Academic UKI Edition
ProQuest Central China
Engineering Collection
arXiv Computer Science
arXiv.org
DatabaseTitle Publicly Available Content Database
Engineering Database
Technology Collection
ProQuest One Academic Middle East (New)
ProQuest Central Essentials
ProQuest One Academic Eastern Edition
ProQuest Central (Alumni Edition)
SciTech Premium Collection
ProQuest One Community College
ProQuest Technology Collection
ProQuest SciTech Collection
ProQuest Central China
ProQuest Central
ProQuest One Applied & Life Sciences
ProQuest Engineering Collection
ProQuest One Academic UKI Edition
ProQuest Central Korea
Materials Science & Engineering Collection
ProQuest Central (New)
ProQuest One Academic
ProQuest One Academic (New)
Engineering Collection
DatabaseTitleList
Publicly Available Content Database
Database_xml – sequence: 1
  dbid: GOX
  name: arXiv.org
  url: http://arxiv.org/find
  sourceTypes: Open Access Repository
– sequence: 2
  dbid: 8FG
  name: ProQuest Technology Collection
  url: https://search.proquest.com/technologycollection1
  sourceTypes: Aggregation Database
DeliveryMethod fulltext_linktorsrc
Discipline Physics
EISSN 2331-8422
ExternalDocumentID 2403_13795
Genre Working Paper/Pre-Print
GroupedDBID 8FE
8FG
ABJCF
ABUWG
AFKRA
ALMA_UNASSIGNED_HOLDINGS
AZQEC
BENPR
BGLVJ
CCPQU
DWQXO
FRJ
HCIFZ
L6V
M7S
M~E
PHGZM
PHGZT
PIMPY
PKEHL
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
PTHSS
AKY
GOX
ID FETCH-LOGICAL-a529-876bfcbf6d7c7c65e6d08478f9755db16b1eeee336e8243313c9680ae6980e1b3
IEDL.DBID BENPR
IngestDate Wed Jul 23 01:54:31 EDT 2025
Mon Jun 30 09:19:03 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a529-876bfcbf6d7c7c65e6d08478f9755db16b1eeee336e8243313c9680ae6980e1b3
Notes SourceType-Working Papers-1
ObjectType-Working Paper/Pre-Print-1
content type line 50
OpenAccessLink https://www.proquest.com/docview/2973278049?pq-origsite=%requestingapplication%&accountid=15518
PQID 2973278049
PQPubID 2050157
ParticipantIDs arxiv_primary_2403_13795
proquest_journals_2973278049
PublicationCentury 2000
PublicationDate 20240321
PublicationDateYYYYMMDD 2024-03-21
PublicationDate_xml – month: 03
  year: 2024
  text: 20240321
  day: 21
PublicationDecade 2020
PublicationPlace Ithaca
PublicationPlace_xml – name: Ithaca
PublicationTitle arXiv.org
PublicationYear 2024
Publisher Cornell University Library, arXiv.org
Publisher_xml – name: Cornell University Library, arXiv.org
SSID ssj0002672553
Score 1.8670869
SecondaryResourceType preprint
Snippet We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed...
We introduce PyVRP, a Python package that implements hybrid genetic search in a state-of-the-art vehicle routing problem (VRP) solver. The package is designed...
SourceID arxiv
proquest
SourceType Open Access Repository
Aggregation Database
SubjectTerms Algorithms
C++ (programming language)
Computer Science - Learning
Computer Science - Neural and Evolutionary Computing
Critical components
Software engineering
Solvers
State of the art
Vehicle routing
SummonAdditionalLinks – databaseName: arXiv.org
  dbid: GOX
  link: http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwdV1NSwMxEB3anryIotJqlRw8urpJNtnEm4ileNAiVfa2JNkERJDS1qL_3kl2Sw9ijkNyyMtkPsjMC8BlfNlyPGBu4nSeoVI0mVFNyJhR3peOW9qkAtknOX0tHitR9YBse2HM8vt90_ID29VNJIu7przUog99DBRiM-9z1T5OJiqubv5uHsaYSfTHtCZ_MTmA_S7QI3ftyRxCz38ewdXs5-1ldksMiTTB2WJXtU9QTlAPULMIprEfeM2PYT55mN9Ps-6_gswIpqNdscHZIJvSlU4KL5scbb8KuhSisVRa6nFwLr1isVGJOy1VbrzUKvfU8hMYYMrvh0A0C7kpEF3hC8wPvEbEiqB1KA1VzvMRDNMu60VLSVFHAOoEwAjG243XnTqu6vhBFYtUQ_r0_5VnsMfQY8cCK0bHMFgvv_w5ety1vUiw_wJHi38y
  priority: 102
  providerName: Cornell University
Title PyVRP: a high-performance VRP solver package
URI https://www.proquest.com/docview/2973278049
https://arxiv.org/abs/2403.13795
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwfV3PS8MwFH7MFcGbP9l0jh482q1N1jQRRFD2A8FZxpTdSpqmIMJWtyl68W_3JWvdQbCHQpNTXh7v9eV9-T6AC9PZUjTH2kQJ30OnyDzJs9wjkmsdKZoGmQXIjtnoqXc_C2c1GFd3YQyssoqJNlBnC2XOyLtGY4kYthxxU7x5RjXKdFcrCQ1ZSitk15ZibAccYpix6uDc9sfx5PfUhbAI_6Hppr1pyby6cvn58tExtHSdgEZGZ8KxQ3-Cs804g31wYlno5QHU9PwQdi1QU62O4DL-ep7EV650DdGwV2xx_y6Ou-hJ6JsuFsKvGCiOYTroT-9GXql44MmQCBOZ0lylOcsiFSkWapb5mD14LqIwzNKApYHGh1KmOTFXnagSjPtSM8F9HaT0BOrzxVw3wBUk92UP9yfUPawwtECb93Ih8kgGXGnahIZdZVJsSC0SY4DEGqAJrWrhSenQq2Rr_tP_p89gj2DeNzAtErSgvl6-63PM2-u0DTt8MGyXW4Jfw8cZvh---z_Qu5mQ
linkProvider ProQuest
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV3dT8IwEL8gxOibnxFF3YO-OdjarVtNiIkKAUFCCBrelq7rEmMCCPjBH-f_5rUMeTDxjT12SZPrXa937d3vB3ChX7YkTTE3kdyx0SgSW4RJahMRKhVIGruJKZDtsMaT9zDwBzn4XvbC6LLKpU80jjoZSX1HXtEcS0Sj5fCb8ZutWaP06-qSQkNk1ApJ1UCMZY0dLTX_xBRuWm3eo74vCanX-ncNO2MZsIVPuPYGcSrjlCWBDCTzFUsc9NhhygPfT2KXxa7Cj1KmQqLbi6jkLHSEYjx0lBtTnHYDCh71OOZ-hdtap9v7veQhLMCQnS5eUw12WEVMvl4-yhoFr-zSQNNaFMzQn7PAHHD1HSh0xVhNdiGnhnuwaepC5XQfrrrz51732hKWxjW2x6s2AwvHLTRc3AoW5t2v6JcOoL8O0Q8hPxwN1RFYnKSO8NAcfOVhQqM4qthLOU8D4YZS0SIcGSmj8QJDI9ILEJkFKEJpKXiU7Z9ptNL28f-_z2Gr0X9sR-1mp3UC2wRDDl0hRtwS5GeTd3WKIcMsPssUY0G0ZlP4Abim0oY
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=PyVRP%3A+a+high-performance+VRP+solver+package&rft.jtitle=arXiv.org&rft.au=Wouda%2C+Niels+A&rft.au=Lan%2C+Leon&rft.au=Kool%2C+Wouter&rft.date=2024-03-21&rft.pub=Cornell+University+Library%2C+arXiv.org&rft.eissn=2331-8422&rft_id=info:doi/10.48550%2Farxiv.2403.13795