PHP Classes

PHP Vehicle Routing Problem: Compute routes of trucks delivering client orders

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-06 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 505 This week: 5All time: 5,292 This week: 299Up
Version License PHP version Categories  
ocvrp 0.1BSD License3.0Algorithms, Geography
Description Author  

This class can compute routes of trucks delivering client orders.

It takes the geographic coordinates of a depot and the locations clients with orders to be delivered by a fleet of trucks.

The class uses a 2-phase algorithm for solving the open capacitated vehicle routing problem.

It tries to minimize the total route cost by trying all possible combinations. The trucks are not required to return to the depot.


Vehicle routing problem
Vehicle routing problem using the branch and bound algorithm

Innovation Award  
PHP Programming Innovation award winner
July 2014

Prize: PhpStorm IDE personal permanent license
Some businesses need to deliver products to their customers using cargo transportation vehicles.

To reduce the costs it is necessary to optimize the routes that the vehicles take to deliver the products.

This class implements an alternative vehicle routing solution that is very accurate, as it computes the euclidean distance between client sites.

Manuel Lemos
Picture of Chi  Hoang
Name: Chi Hoang <contact>
Classes: 20 packages by
Country: France France
Age: 30
All time rank: 70930 in France France
Week rank: 92 Up4 in France France Up
Innovation award
Innovation award
Nominee: 18x

Winner: 2x

  • screenshot.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file hilbert.php Class helper class
Plain text file mercator.php Class helper class
Plain text file ocvr.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:505All time:5,292
 This week:5This week:299Up