Logistica: optimizing delivery routes on real roads
Logistica is the logistics platform published by DigiFinance for carriers and distributors in Morocco and North Africa. This case study describes how we built its routing engine, its road-distance computation and its shipment tracking.
The challenge
Every day, an operator has to split dozens or even hundreds of parcels between vehicles while respecting their weight and volume capacity, customers' time slots and route duration. Done by hand, this dispatch takes time and leaves needless kilometres on the road.
Distances also have to be realistic: in a city, a straight-line distance has little to do with the actual drive. And once the vehicles have left, the operator needs to know where each delivery stands, and why a parcel was not delivered.
Our approach
A constraint-based routing engine
Logistica sends the selected vehicles and shipments to a constraint optimizer. It builds the routes around each vehicle's capacity, time windows and the balance between vehicles, and can leave a stop out when not everything can be served.
Distances on the real road network
Addresses are geocoded, then distances and routes are computed on real roads, in batches and with a cache to speed up each optimization. A fallback takes over if the mapping service does not respond.
Tracking every shipment
Delivery, pickup, transfer or return: each shipment follows a 13-status lifecycle with validated transitions, a history, hold reasons and delivery failure codes. An optimized route becomes a trip whose tasks are started, completed, failed or reordered, with proof-of-delivery fields.
A secure multi-tenant platform
Each organization sees only its own data: authentication goes through the API, data is isolated per organization and sensitive calls stay on the server. The whole platform is hosted in the cloud and deployed automatically.
In short
- Routes computed under capacity and time-slot constraints, instead of a manual dispatch.
- Distances and paths from the real road network, shown on a map with a summary of each route.
- A trip created directly from an optimized route.
- Shipment tracking that explains each failed delivery with a reason.
What this means for your project
Logistica shows what we do for our clients: take a heavy operational process, turn it into an optimization model and deliver a multi-tenant cloud platform to run it. Distribution, field service, pick-ups or resource planning: if your teams spend hours organizing routes or schedules, let's talk.
See our servicesAll of Logistica's features
This page tells how Logistica was built. To discover the product and all of its features, visit its own site.
Visit logistica.digifinance.maLet's Discuss Your Project
Planning a cloud migration? Looking to integrate AI into your processes? Need an expert review of your architecture? Let's talk.