Login   Register  
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 del.icio.us Bookmark in del.icio.us
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-06 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 490 All time: 5,358 This week: 1,529Up
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.

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: 19 packages by
Country: France France
Age: 29
All time rank: 73830 in France France
Week rank: 14 Up1 in France France Up
Innovation award
Innovation award
Nominee: 17x

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:490All time:5,358
 This week:0This week:1,529Up