Table 2: Distances between patient locations.
HU 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
HU 0,0 15,2 18,0 22,4 25,0 20,6 11,2 21,2 26,2 32,0 25,5 33,5 15,0 11,2 32,0 30,4
1 15,2 0,0 32,6 14,6 32,2 32,2 24,8 21,0 31,6 17,8 15,6 26,4 16,6 26,4 46,9 45,4
2 18,0 32,6 0,0 34,4 20,2 23,9 16,4 36,2 36,1 47,4 43,3 50,3 23,4 9,4 21,2 13,0
3 22,4 14,6 34,4 0,0 25,0 42,7 33,5 35,4 45,0 15,0 29,2 40,3 11,2 32,0 53,2 47,2
4 25,0 32,2 20,2 25,0 0,0 41,2 31,6 46,1 50,5 40,0 47,2 57,0 15,8 25,5 41,2 29,2
5 20,6 32,2 23,9 42,7 41,2 0,0 10,0 20,6 13,9 50,0 33,5 35,4 35,4 15,8 20,0 29,2
6 11,2 24,8 16,4 33,5 31,6 10,0 0,0 20,6 19,8 42,4 30,4 35,4 25,5 7,1 22,4 25,5
7 21,2 21,0 36,2 35,4 46,1 20,6 20,6 0,0 12,2 36,4 14,1 15,0 33,5 26,9 40,3 46,1
8 26,2 31,6 36,1 45,0 50,5 13,9 19,8 12,2 0,0 48,1 26,2 24,2 40,8 26,9 33,4 42,9
9 32,0 17,8 47,4 15,0 40,0 50,0 42,4 36,4 48,1 0,0 25,0 35,4 25,5 43,0 64,0 60,4
10 25,5 15,6 43,3 29,2 47,2 33,5 30,4 14,1 26,2 25,0 0,0 11,2 32,0 35,0 52,2 55,0
11 33,5 26,4 50,3 40,3 57,0 35,4 35,4 15,0 24,2 35,4 11,2 0,0 42,4 41,2 55,2 60,8
12 15,0 16,6 23,4 11,2 15,8 35,4 25,5 33,5 40,8 25,5 32,0 42,4 0,0 22,4 43,0 36,1
13 11,2 26,4 9,4 32,0 25,5 15,8 7,1 26,9 26,9 43,0 35,0 41,2 22,4 0,0 21,2 20,0
14 32,0 46,9 21,2 53,2 41,2 20,0 22,4 40,3 33,4 64,0 52,2 55,2 43,0 21,2 0,0 15,8
15 30,4 45,4 13,0 47,2 29,2 29,2 25,5 46,1 42,9 60,4 55,0 60,8 36,1 20,0 15,8 0,0
is 15 that require and need treatments in their respec-
tive locations. Regarding the locations, it is necessary
to know the different locations/cities of each patient
belonging to the Health Unit and the respective tem-
poral distance (minutes) between each one of them.
In this way, Table 2 presents the distances (in kilo-
meters) between locations. The patients seek and
need home visits with a certain regularity in the pe-
riod of the visits (T = 5 days). Thus, Table 3 shows
the number of times each patient should be visited.
Table 3: Regularity of visits required by each patient in the
time horizon.
Period of visits they require for T = 5
Patient 1 1
Patient 2 1
Patient 3 2
Patient 4 3
Patient 5 1
Patient 6 2
Patient 7 1
Patient 8 1
Patient 9 2
Patient 10 3
Patient 11 1
Patient 12 1
Patient 13 1
Patient 14 2
Patient 15 1
According to these data, it is also possible to iden-
tify some patterns about the number of visits required
by each patient for the T period, knowing in advance
that between two or more visits a day of interval is
required. Thus, in this way it is possible to illustrate
the different patterns according to Table 4:
Based on all the data, the main objective is to ob-
tain vehicle routing/scheduling, finding the T sets of
routes that satisfy the constraints and minimizing the
Table 4: Patterns of visits according to the period T .
Possible Pattern for visits to T = 5 days
1 Visit 1, 2, 3, 4 or 5
2 Visit 1-3, 1-4, 1-5, 2-4, 2-5, 3-5
3 Visit 1-3-5
total time required to carry out the trips, treatments
and return to the starting point (Depot - Health Unit).
5 ANALYSIS AND DISCUSSION
OF RESULTS
In this section the computational results of the model
developed and proposed for the resolution of PVRP
will be presented and analyzed.
The model was coded and implemented in
the IBM
R
ILOG
R
CPLEX
R
Optimization Studio
that supports Optimization Programming Language
(OPL). The data of the real case under study was im-
plemented according to the periodic home care visits
approach and the results were obtained on an Intel (R)
Core i7 CPU 2.2GHz PC with 6.0 GB of RAM.
The CPLEX
R
took about 11 hours to reach the so-
lution. The obtained solution had the objective value
of 473 and besides the regularity and periodicity of
visits imposed by the patients in the time horizon, the
model established the route patterns according to the
objective reached. This solution indicates the mini-
mum distance to be traveled (cost) for the vehicles to
make the home visits routes, according to the defined
time horizon and the regularity needed by the patients
and nurses of the Health Unit of Braganc¸a.
From Table 5, it is possible to get some statisti-
cal details, such as the number of variables used, the
average value of the target solution, among other pa-
Periodic Vehicle Routing Problem in a Health Unit
387