04 - Vehicle Routing problem - MM
04 - Vehicle Routing problem - MM
The Capacitated Vehicle Routing Problem - CVRP
In a system, we identify 1 depot and many clients. Given
for example, given the situation above (imaiginig that all points are nods of a complete graph), we wnat to get a solution like:
In the graph above, each color represent a transportation unit.
What we want to achieve in the Capacitated Vehicle Routing Problem, is to:
- Assign each client to one transportation unit
- Create the best route for each transportation unit
Overview of CVRP
As we will see, the problem is formulated as a binary linear programming problem.
Since the CVRP is a quite difficult problem to both formulate and solve, the common approach is to first work on an simpler problem, known as the Traveling Salesman Problem
Before continuining reading this note, it is higly suggested to read the Traveling Salesman Problem, if you're not yet familiar with it and with the methods to solve it.
Characteristics of CVRP
- Each costumer is visited exactly once by one vehicle
- The route of each vehicle starts and ends at the depot
- The sum of demands of costumers on a route must not exceed vehicle's capacity
CVRP formulations
We will give several formulations of the Capacitated Vehicle Routing Problem.
Conceptually we could define the problem in 2 parts:
- Assigning clients to trucks - #CVRP formulation in terms of linear generalised assignment problem
- Optimizing routes
CVRP formulation in terms of linear generalised assignment problem
We first give a formulation of a problem that would allow to assign clients to a route efficiently.
Let's first define the variables and parameters needed in this formulation.
Paramters:
- Suppose we have
clients. Each client will be named . - There is one depot, at
- There are
delivery vehicles (trucks) available. Each one is called is the capacity of vehicle is the amount of goods that client requires
Decision Variable:
Objective function:
where
The formulation of the problem would therefore become:
subject to:
Fisher & Jaikumar's Heuristic
To solve the problem in #CVRP formulation in terms of linear generalised assignment problem that we don't know how to write the objective function explicitly, we can try to brute force it to be a linear function, making the problem the following:
subject to:
where the
❗❗❗❗❗❗❗❗❗❗❗❗
❗❗❗ COMPLETARE ❗❗❗ I don't get how they are estimated
❗❗❗❗❗❗❗❗❗❗❗❗
CVRP Basic formulation
A basic formulation of the CVRP is the following:
Subject to:
❗❗❗❗❗❗❗❗❗❗❗❗
❗❗❗ COMPLETARE ❗❗❗
❗❗❗❗❗❗❗❗❗❗❗❗ The problem formulation is missing some conditions
CVRP Motzin Tucker Ziplin (MTZ) formulation
An other useful formulation of the Vehicle Routing Problem is the Motzin Tucker Ziplin formulation, also known as the MTZ formulation.
Subject to:
where:
demand of client vehicle capacity
Clarke & Wright savings heuristic
Formula for savings:
❗❗❗❗❗❗❗❗❗❗❗❗
❗❗❗ COMPLETARE ❗❗❗
❗❗❗❗❗❗❗❗❗❗❗❗