A Closer Look At Route4Me’s Advanced Route Optimization API

Route optimization software is a great tool to streamline your route planning process. But, this is only true if you use the right software.

So, the software must meet the following criteria:

  • Satisfies your custom needs.
  • Has already planned a large number of routes successfully before.
  • Has a large satisfied customer base.
  • Has advanced technology in place.
  • Comes with advanced route optimization API

We at Route4Me know this very well and fulfill all the critical requirements.

This is why our software is the most downloaded mobile-enabled multi-stop vehicle route planning software on the planet (over a million downloads).

Route4Me’s fleet route planning software tracks millions of device location updates per day. And, it is already being used to make over 100,000,000 visits per year.

We have matured our Operational Optimization platform over the last seven years and eliminated intersystem inefficiencies. This helps your business operate with ease and zero hassles.

Moreover, we have combined the following capabilities into a single environment:

  • Planning,
  • Dispatching,
  • Execution, and
  • Post-execution capabilities.

This helps Retail-End-Users and Route4Me API users leverage our platform without learning about the complexities of route optimization. They also don’t need to learn about building a massively scalable telematics platform.

Our unique routing engine is 100% RESTful and has portable algorithm backends. The latter solves a variety of complex problems in a single HTTP request.

Furthermore, Route4Me is an integrated telematics platform. This enables dispatchers and field-service personnel to plan, manage, and execute delivery routes.

By collaborating and using real-time data from the field, our software will enhance your organization. It will also reduce your operating expenses. It does this by providing more accurate in-field data about deliveries, service stops, and pickups.

The core functionality of the system is its unique route optimizer engine. This does several things, including:

  • Substantially diminishing the miles and gas usage for a driving route,
  • Reducing the manpower needed to fulfill the route, and
  • Curtailing the amount of time needed to plan an optimized route.

We pride ourselves on our advanced technology. It has helped millions of customers trust us as their go-to source for their route planning needs.

So, we’ll give you an in-depth look at our technology in this article. This will help you understand how we can help you as well. We’ll divide the article into two parts:

  • An overview of our technology
  • The Route4Me API

So, let’s first consider our technology.

Route4Me’s Technology

#1 Runs in the Cloud

Legacy systems that have been ported with web-access often have several restrictions.

But, that is not a problem with Route4Me’s routing optimization software. It is 100% cloud based and there are virtually no restrictions. It is also entirely plug-and-play and you don’t need to download any software.

It comes with several features and benefits, such as:

  • Native high-availability,
  • Elastic scalability, and
  • Multiple low-latency edge points-of-presence for ultra-low latency route optimization.

#2  Proprietary Software

The system is written and hosted by using entirely open source components. But, our code base and optimization engine are proprietary and there are no licensing conflicts.

#3 iOS, Android, and Web Compliant

Our vehicle route planning software is available on both iOS and Android. The best mobile route planner apps interface with our RESTful API by using a combination of synchronous and asynchronous requests. They also use push messaging, instead of wasteful polling.

All system activities trigger pushes to the connected devices and all the users can see the updates in real time. The unified telematics platform can also consume data from third party GPS units, smartwatches, gauges, and OBD devices.

#4 Designed for Ultra-low Latency Performance

We designed our optimization engine from the ground up with high-performance and compiled language, with static compilation. This helps it function at speeds exceeding those typically found in Real-Time Bidding (RTB) advertising environments.

The optimization engine, which runs on any flavor of Linux, can optimize thousands of routes per second. It can even do so on a single low-end commodity server.

Consider the following examples:

  • A 10-stop route is optimized in under one millisecond.
  • A 50-stop route is done in 30 milliseconds.
  • A 200-stop, multi-depot route is optimized in less than 300 milliseconds.
  • A 500-stop, multi-depot, multi-vehicle, multi-period route is optimized in three seconds.

All these are done on low-end commodity virtualized cloud hardware and in constant-time.

Our distributed asynchronous messaging library, distance matrices, and OSM-based distance generating engine are completely in-memory and run in a 100% SSD environment. In this way, what-if scenarios, simulations, and re-optimizations are even faster than cold-cache hit optimizations.

Want To See For Yourself How Route4Me Can Boost Your Profits?

Whether you want to slash the time it takes you to plan routes for your drivers, increase the number of stops they can make, or keep your customers satisfied knowing that your drivers show up on time… Route4Me helps you achieve that!

Click Here To Test Drive It! [FREE TRIAL]

#5 Scalable

Our API is used to plan, execute, and manage over 60 million deliveries and pickups per year. We process a lot of data, considering that each stop has associated data containing:

  • Notes,
  • Multimedia attachments, and
  • A perpetual GPS tracking history of each route and device.

The system also regularly monitors over 100,000 distinct mobile devices per month. Our geocoding and matrix generating clusters create road-level driving distance and time matrices.

It does this at the rate of hundreds of thousands of addresses per second. For greater capacity, you can add servers to the Active/Active optimization pool in one or more availability zones. The system will then scale horizontally to meet any demands.

All web and mobile platforms integrate:

  • Multiple monitoring,
  • Crash tracking systems,
  • Application performance management systems, and
  • A 24/7 support team.

In this way, we can maintain a carrier-grade QoS level.

#6 Deploy Anywhere

Our RESTful optimization engine can function independently of our telematics platform. It can do so behind a firewall or inside your secure AWS environment. You can use this for confidential deployments and those that require the lowest amount of latency.

#7 Innovative Research and Development

We have a team of talented and experienced engineers. They work on improving our product continuously to make it future proof.

For example, for larger routes, our engineering lab is developing an accelerated version of our optimizer. This uses the CUDA GPU platform to yield a very high routes/core/second compute density.

Also, as a team building activity, our engineering lab is currently integrating our API with GPRS powered UAVs. This is done to fulfill optimization for aerial routes.

#8 Big Data Ready

Route4Me APIs track every metric of our system and how it is used. The data can be exported with callbacks to S3, Vertica, and Amazon Redshift as destination end-points.

The compressed data can also be exported for:

  • Time-series analysis,
  • Geospatial network analysis, and
  • Historical data analysis.

And, future releases will permit trickle loading and streaming into the data warehouse of your choice. This will be particularly useful when using Vertica’s WOS, VoltDB’s export tables.

This exports data directly into your private Vertica cluster. It will also be helpful when using Amazon Kinesis.

Now, let’s take a look at Route4Me API and how you can start using it with no hassles.

Route4Me’s Route Optimization API

You can use our API to access Route4Me API endpoints, which can use our services to create:

  • Optimally sequenced driving routes,
  • Maintenance routes,
  • Address books,
  • Members,
  • Drivers,
  • Vehicles,
  • Tracking, avoidance zones, and
  • Notes.

The web and mobile applications leverage our internal APIs which support:

  • Real-time full text searching for predictive and historical search,
  • Track and trace,
  • Dynamic-routing,
  • Continuous route re-optimization,
  • Time-sensitive time-windows,
  • Route re-balancing,
  • Just-in-time re-routing,
  • Dial-a-ride optimization,
  • Dynamic estimated times of arrival,
  • Multi-destination navigation,
  • Single-driver time-windows, and
  • Class 1-8 truck routing with height, weight, tunnel, and bridge constraints.

Our APIs also support both JSON and XML formats in synchronous or asynchronous modes. And, we have our own API management, metering, and authentication layer.

Let’s take a closer look at the types of Route4Me APIs that you can integrate with your system.

Optimization Problems

An optimization problem refers to a collection of addresses that need to be visited. It is preferable to create such a problem with as many orders in it as possible. In this way, the optimization engine is able to consider the entire problem set.

Here is a list of commands that you can explore:

  • Create a new optimization.
  • Get a single optimization.
  • Get all optimizations belonging to a user.
  • Remove an existing optimization that belongs to a user.
  • Insert an address into an optimization, resulting in the recalculation of optimal routes.
  • Remove a destination (an address) from an optimization problem.
  • Re-optimize existing optimizations by changing some parameters or addresses.

Routes

A route refers to a collection of addresses which are usually sorted in the most optimal way. Each address can have attributes, constraints, and metadata. These influence how the route is sequenced. For usage details, see curl examples in the Route folder.

Here is a list of commands that you can use:

  • Create a new route with an optimization problem solution.
  • Add addresses to routes.
  • Remove addresses from routes.
  • Get a single route.
  • Get a limited number of routes that belong to that user.
  • Search routes.
  • Get an address from a route.
  • Manually resequence a route.
  • Move a destination to another route.
  • Remove routes.
  • Merge routes.
  • Duplicate a route.
  • Share a route via email.
  • Update a route.

Orders

An order is a document from the consignee, shipper, or owner of freight. It orders a terminal operator, carrier or warehouseman to deliver freight to another party.

Here is a list of commands that you can use:

  • Add an address to the existing order.
  • Insert an existing order into an existing route.
  • Insert an existing order into an existing optimization.
  • Get order details.
  • Get all orders that exist in the Route4Me account.
  • Remove an order from the Route4Me specified account.
  • Update an order.
  • Search orders.

Addresses

Here is a list of commands that you can use:

  • Mark an address as Detected as Visited.
  • Mark an address as Detected as Departed.
  • Mark an address as Visited.
  • Mark a destination of a route as Departed.

Geocoding

Geocoding is the process of converting addresses into geographic coordinates. So, changing “1600 Amphitheatre Parkway, Mountain View, CA” to “latitude 37.423021 and longitude -122.083739. You can use this to place markers on a map or to position the map.

For a detailed list of commands, please visit here.

Tracking

GPS tracking refers to the surveillance of a location with a GPS unit to track the location of an entity or object remotely. This technology can pinpoint the longitude, latitude, ground speed, and course direction of a target.

For a detailed list of commands, please visit here.

Members

A member refers to an authorized user of the Route4Me API.

Please review the document for a detailed list of commands here

Notes

A note refers to an assigned text note to a route or address object.

For s detailed list of commands, please visit here.

Activity Feed

You can view a detailed list of commands here.

Address Book

An address book refers to a user’s location repository.

For a detailed list of commands, please visit here.

Avoidance Zones

An avoidance zone is a geographic region or territory defined by a user for an optimization problem.

Please read the documentation for a list of commands here.

Territories

A territory refers to an area that is made up of smaller areas that are joined together.

For a detailed list of commands, please visit here.

Route4Me SDK

We can help your system interact with Route4Me API’s in C#, Java, PHP, Ruby, Node.js, Python, VB, and more.

We hope that this information proves useful for you. If you have any questions, please feel free to reach out to us. Alternatively, leave your comments below and we’ll get back to you soon.

Want To See For Yourself How Route4Me Can Boost Your Profits?

Whether you want to slash the time it takes you to plan routes for your drivers, increase the number of stops they can make, or keep your customers satisfied knowing that your drivers show up on time… Route4Me helps you achieve that!

Click Here To Test Drive It! [FREE TRIAL]

About author: Rahul Dasgupta

With a master’s in computer science and over two decades in logistics technology, Rahul Dasgupta is an authority in route optimization and last mile logistics. At Route4Me, Rahul uses his expertise to help businesses maximize delivery efficiency through strategic route planning and innovative logistics solutions, ensuring optimal fleet performance and cost-effectiveness.

Route4Me

About Route4Me

Route4Me has over 40,000 customers globally. Route4Me's Android and iPhone mobile apps have been downloaded over 2 million times since 2009. Extremely easy-to-use, Route4Me's apps create optimized routes, synchronize routes to mobile devices, enable communication with drivers and customers, offer turn-by-turn directions, delivery confirmation, and more. Behind the scenes, Route4Me's operational optimization platform combines high-performance algorithms with data science, machine learning, and big data to plan, optimize, and analyze routes of almost any size in real-time.