Vehicle routing problem

Deadline - April 20, 2025

Your task will be to solve the so-called Vehicle Routing Problem (VRP) using the Ant Colony Optimization algorithm. VRP is essentially a generalization of the traveling salesman problem, where the goal is to optimize the delivery of shipments for a postal company. We are given depots, each with their own respective vehicles with a given capacity, which start and necessarily end their journey at the depot, and a set of shipments that must be delivered to their recipients. The task is to find a set of delivery routes such that all shipments are delivered to their recipients, and the total cost of these routes is minimized - that is, as few distribution vehicles are used as possible, and the routes are as short as possible.

In the context of this task, we will consider a simplified version of this problem, where we have only one central depot and an unlimited number of identical vehicles. You will optimize three instances of this problem, which you will receive as files in XML format - two small instances and one larger instance. Each input file contains the following:

Send your solution to me by email. You should provide the following: