Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment is courtesy of Roberto Roberti. The Vehicle Routing Problem with Time Windows ( VRPTW ) is a generalization of the Capacitated Vehicle Routing
This assignment is courtesy of Roberto Roberti. The Vehicle Routing Problem with Time Windows VRPTW is a generalization of the Capacitated Vehicle Routing Problem CVRP where each customer must be visited within a given time window.
The VRPTW can be stated as follows. A directed graph GVA
is given, where V
is the set of vertices and A
is the set of arcs. The set of vertices V
is defined as VNcup od
where Nn
is a set of n
customers and o
and d
represent the start and the end point of each route in practice, o
and d
represent the same depot but are kept separate for notational purposes The set of arcs A
is defined as Aij:ij in Vij
; a travel cost cij
and a travel time tij
are associated with each arc ij in A
Each customer i in N
requests qi
units of a given commodity and can be visited only within a given time window eili
where ei
and li
are the earliest and the latest time to serve customer i
; nonetheless, a vehicle is allowed to arrive at i
before ei
but, in this case, the service starts at ei
A set Km
of m
vehicles can be used to serve the customers; each vehicle has capacity Q
The goal of the VRPTW is to find a set of routes of minimum total cost to assign to the vehicles, such that
No more than m
routes are selected;
Each route starts from o
within the depot time window, visits a set of customers, each within its time window, whose total requests do not exceed Q
and ends at d
within the depot time window;
Each customer is visited by exactly one of the routes.
You are given a VRPTW instance in Python code at the end of this document. The layout of the customers is as follows:
instance
find the heuristic solution of the given instance and describe it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started