Next Article in Journal
Characterization of Positive Invariance of Quadratic Convex Sets for Discrete-Time Systems Using Optimization Approaches
Previous Article in Journal
Some Properties of Certain Multivalent Harmonic Functions
Previous Article in Special Issue
Recent Advances in Stochastic Gradient Descent in Deep Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Kit of Uniformly Deployed Sets for p-Location Problems

Faculty of Management Science and Informatics, University of Žilina, Univerzitná 8215/1, 010 26 Žilina, Slovakia
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(11), 2418; https://doi.org/10.3390/math11112418
Submission received: 22 March 2023 / Revised: 12 May 2023 / Accepted: 22 May 2023 / Published: 23 May 2023
(This article belongs to the Special Issue Advances in Network Modeling, Analysis and Optimization)

Abstract

:
This paper deals with p-location problem solving processes based on a decomposition, which separates the creation of a uniformly deployed set of p-location problems from the solution of the p-location problem for that specific instance. The research presented in this paper is focused on methods of construction of uniformly deployed sets of solutions and the examination of their impact on the efficiency of subsequent optimization algorithms. The approaches to the construction are used for the constitution of predetermined families of uniformly deployed sets of p-location problem solutions, which have standard sizes. We introduce two methods of uniformly deployed set construction: the first one is based on composition, followed by an enlargement process; and the second one makes use of voltage graphs. The construction approaches are completed by an algorithm, which adjusts the set of solutions to the sizes of a solved instance. The influence of a set construction approach on solving process efficiency is studied on real-world benchmarks, which include both the p-median objective function and the generalized disutility function. The solving process is performed alternatively using the swap or path-relinking based methods. Results of the computational study obtained by all combinations of the mentioned approaches are presented and evaluated in the concluding part of the paper to make the studied characteristics visible.
MSC:
90C05; 90C06; 90C10; 90C27

1. Introduction

The term “p-location problem” is used within this paper to denote a large family of location problems, which correspond to tasks of deploying a determined number of facilities in a given finite set of feasible places so that the objective function of the facility deployment takes the minimal or maximal value. The class of p-location problems includes well-known p-median problems as well as non-standard problems arising from their generalization. As far as the classical formulation is concerned, work [1] introduces discrete network location models with definitions of p-median and p-center, etc. Definitions of weighted versions of these problems can be found in [2]. Related problems concerning dispersion of p facilities are referred to in [3,4,5]. Work [6] is a survey on location models in the public sector, which comprises the deployment of fire brigades or police stations and the design of the medical emergency service system.
A survey of ambulance location models with definitions of the most important problems can be found in [7]. Papers [8,9] study ambulance location problems represented as a generalization of the covering problem. The references [10,11] contain the studies of modified versions of ambulance location and relocation problems. In papers [12,13,14], various versions of the p-median problem are studied.
All the listed variants of the problem have one common property: their solution can be described by a binary m-dimensional vector containing exactly p unit components.
The original p-median and weighted p-median problems are easy to model by means of linear integer programming with classical allocation constraints, and solve via a standard integer programming method [4,15]. Nevertheless, this approach proved to be ineffective when bigger instances of the problems have to be solved. This inefficiency was mitigated to some extent by developing so called radius formulation of the problems [16,17,18,19]. Despite much progress in developing exact methods, the unpredictable computational time of the branch-and-bound method focuses researchers’ attention on various kinds of evolutionary metaheuristics.
Genetic algorithms were studied in [20,21]. A scatter search algorithm was reported in [22].
This research is motivated by recent findings [23] that even a simple heuristic can reach a near-to-optimal solution. Due to the special feature of the set of all feasible solutions of the p-location problem, a special heuristic can be used to exclude inadmissible solutions from the starting uniformly deployed set. These are replaced by a smaller set of better solutions, continuing to the point when the most recent set contains only the best pair of found solutions. The starting set of solutions was obtained by a manually created subset of solutions and their step-by step augmentation using integer programming tools. Another approach to the starting set creation was proposed in [24], where a new approach based on graph theory was used.
It was found that the efficiency of the heuristics depends on preliminary information about the objective function course on the set of feasible solutions. Such a finding may help in the determination of promising initial solutions for a searching process based on the neighborhood search, or it can provide metaheuristics imitating evolutionary processes or social behavior of species with a set of initial problem solutions. For example, genetic algorithms [20,21] start with a population of problem solutions, which should differ as much as possible. A scatter search algorithm [22] maintains two parts of a reference set of solutions, where the first part contains a collection of good solutions and the other one represents a maximally diversified set of solutions. In addition, a swarm particle optimization algorithm [23,25] needs a set of good initial positions for the swarm particles. This paper focuses on a way to create a diverse set of solutions. Diversification of the set of problem solutions is a substantial part of all of the above-mentioned metaheuristics. The phase of diversification prevents the searching processes from reaching a so called homogeneous population, which is equivalent to being trapped at a local minimum.
Information about objective function values of the p-location problem can be obtained by sampling the objective function at solutions of a small subset of all feasible solutions.
To obtain relevant information, we try to cover the set of all feasible solutions with a limited number of samples, so that a distance between any pair of solutions is greater than a given constant. Such a set of solutions is called uniformly deployed over the set of all solutions. One way to achieve an admissible uniformly deployed set is to use the iterative process. Thus, a step-by step process maximizes the subset cardinality, subject to the condition that the mutual distance between any pair of solutions exceeds a given limit.
A standard approach to creating a uniformly deployed set (UDS) for a given number of possible facility locations and a given number of facilities entails creating a basic set and the subsequent step-by-step augmentation of this set by ongoing solutions.
This way of creating a UDS is very expensive when it comes to computational time demanded, especially in the concluding augmentation steps. Usage of set construction methods in combination with a fast heuristic may erase the effect of the UDS creation on solving process efficiency [26,27,28].
Nevertheless, a standard kit of UDS for public use allows for the removal of the computational burden of UDS generation from the solving process applied to an instance of the solved problem [29]. This paper is devoted to the kit construction and its exploitation for neighborhood and path-relinking-based searches. Special attention is paid to the basic set creation in the process of individual UDS construction and to the adjustment of a kit set to the size of a given p-location problem.

2. The p-Location Problem and Uniformly Deployed Set

The p-location problem may be tackled as a challenge of deploying p facilities in a set of m suitable places so that a given objective function reaches the minimal value. These kinds of networks are usually associated with network nodes. The decision at a facility located at a place i is modelled by a binary variable yi, which takes the value of one if a facility is located at place i, with the zero value corresponding to the opposite decision. This way, the solving process of the p-location problem can be formulated as a search in a finite domain consisting of some vertices of a unit hypercube in the m-dimensional Euclidean space, where each feasible solution corresponds to a vertex described by zero-one vector y, which has exactly p non-zero components. Thus, (1) may describe the set Y of all feasible solutions of the problem.
Y = { y : y i { 0 , 1 } , i = 1 m y i = p }
Here, we present the two most frequent examples of the p-location problem, which can be applied to the design of a public service system. We assume that the public service system provides services to a set of users. Their locations also correspond to network nodes, and they are denoted by integers from 1 to n. A user j = 1 … n is assigned by a weight bj, which can stay for the frequency of the visits at the user j and dij denotes the network time-distance between locations i and j.
The standard weighted p-median problem formulation considers that each user demand is satisfied by the nearest located service center, and the minimized user’s disutility is expressed by the average time-distance from a user to the nearest located service center. This problem is described by (2).
min { F s ( y ) = j = 1 n b j min { d i j : i = 1 , , m ; y i = 1 } : y Y }
However, if the service system satisfies randomly emerging demands for service, then the rule of the nearest service center cannot be followed due to possible center occupancy by an earlier request. In such a case, the system operates as a queuing system with p service lines.
The generalized problem formulation considers a set of {i1(j), , ir(j)} of r nearest center locations to a user j and it is assumed that the demand of user j is satisfied from center location ik(j) with probability qk.
In this case, the minimized user’s disutility is expressed by the expected average time-distance from a user to the nearest available service center [30]. The associated generalized p-location problem can be briefly formulated as follows.
min { F g ( y ) = j = 1 n b j k = 1 r q k min k { d i j : i = 1 , , m ; y i = 1 } : y Y }
In the above objective function expression, the operation mink{range} returns the k-th minimal value of the range.
Further, we devote our attention to specifics of the set Y of feasible hypercube vertices corresponding with feasible solutions of the problems (2) and (3) [27]. To study the structure of the set of the unit hypercube vertices, we use the well-known notion of Hamming distance. Hamming distance H(x, y) between two hypercube vertices described by vectors y and x is given by (4).
H ( y , x ) = i = 1 m | y i x i |
It is obvious that the value H(x, y) is an integer, and it varies from the value of two up to the value of 2p for any pair distinct vectors. The case H(y, x) = 2 corresponds with the instance when all but two components of y and x are identical. This means that the associated solutions differ only in one service center location. The Hamming distance can be used to define various topologies on the set Y. The smallest neighborhood of a point y can be defined as a set of xY, which satisfies the constraint H(y, x) = 2. This neighborhood consists of p(mp) neighboring solutions.
It can be seen that integer value t = pH(y, x)/2 is equal to the number of located centers contained in both solutions y and x. To obtain relevant information about the objective function on Y with minimal computational effort, we try to constitute a subset of Y, the cardinality of which is adequate for a given purpose and in which the elements of Y are uniformly deployed over the set of all solutions. In the ideal case, the subset elements must satisfy the conditions that the mutual distance between two solutions is greater than or equal to a given limit and that it is impossible to enlarge the subset by another solution under the distance condition.
The UDS of p-location problem solutions can be presented as a maximal subset S of feasible solutions of Y so that the condition H(y, x) ≥ h is fulfilled for each x, yS and for given h. For practical use, we also accept breaking the condition of maximality and replacing it with a request that the subset cardinality reaches a sufficient value. This weaker definition is applied in situations when we search for a subset, the cardinality of which exceeds a demanded size, and the condition H(y, x) ≥ h is fulfilled for the maximal possible value of h.

3. Fast Minimization Heuristics for the p-Location Problem

Within the paper, the contribution of the uniformly deployed sets to the efficiency of simple minimization heuristics is studied. Attention is paid to the neighborhood and path-relinking-based searches introduced in [31]. The swap algorithm equipped with the best admissible strategy represents the mode of neighborhood search, which consists of the solutions meeting the constraint H(y, x) = 2. In the swap algorithm described below, an individual solution given by an m-dimensional zero-one vector y is represented by a set L of center locations occupied by a center, i.e., L = {I ∈ {1, …, m}: yi = 1}. The same representation will be used in the path-relinking search. The denotation f(L) stands for the values of Fs(y) or Fg(y) computed for vector y, which corresponds to L. The algorithm Swap comes from an initial solution L and performs according to the following steps:
Swap(L)
0.
Initialize f** = f* = f(L), P = {1, …, m} − L and go to 1.
1.
For each location IL do step 2 and then go to 4.
2.
For each unoccupied location gP do step 3.
3.
Put L = (L − {i}) ∪ {g}and compute f(L), if f(L) < f*, then put f* = f(L) and L* = L.
4.
If f** ≤ f* then terminate, return solution L* and its objective function value f* as the output, else put f** = f*, L = L*, P = {1 … m} − L and go to 1.
The original version of the path-relinking method presented by [17] proceeds along one of the shortest paths, which links a pair of input solutions. The procedure examines the solutions on the inspected paths and returns the best feasible solution on the path. Having demonstrated the performance of the original path-relinking method in an m-dimensional unit hypercube, the inspected path is presented by an alternating sequence of the hypercube vertices and edges connecting the neighboring vertices. A hypercube edge connects two vertices, which differ only in one component. Hence, the Hamming distance of these vertices is equal to one. It follows from this fact that the number of unit components of the succeeding vertices of the inspected path cannot equal p and hence at least every second vertex of the path does not belong to the set Y.
To skip the examination of the idle vertices, we proposed a special version of the path-relinking method for the p-location problems, which inspects only feasible solutions on the shortest paths [31].
To achieve this effect, we replaced the original inversion operation with a swap operation, where the neighbor of the current solution lying on the shortest path on the surface of the hypercube is searched for. Since the swap operation preserves the number of occupied locations, each inspected solution has exactly p occupied locations.
In the suggested form of the path-relinking approach, two lists L1 and L2 are used. The lists of the p service center locations correspond with the two input solutions. In the next method description, the lists will be handled as ordinary sets. To describe the method in a concise way, we introduce auxiliary sets P1L1 and P2L2 defined by P1 = L1L2 and P2 = L2L1. The algorithm Path-RelinkingMethod(L1, L2) is described below, and the algorithm returns the resulting solution L*, which is the best-found solution met on the inspected path.
Path-RelinkingMethod(L1, L2)
0.
Initialize the best-found solution L* and the auxiliary sets P1 and P2 by L* = argmin{f(L1), f(L2)}, P1 = L1L2 and P2 = L2L1.
1.
Find locations i*P1 and j*P2 to minimize the function f((P − {i}) ∪ {j}) and update L1, P1, P2 and L* according to L1 = (L1 − {i*}) ∪ {j*}, P1 = P1 − {i*}, P2 = P2 − {j*} and L* = argmin{f(L*), f(L1)},
2.
If | P1 | = | P2 | = 1, then stop the process and return L*, else exchange L1 with L2, P1 with P2, and go to 1.
Both methods inspect a neighborhood of a current solution denoted by either L or L1. The neighborhood is determined by all p-location problem solutions, which can be obtained by one exchange of a location included in the solution with a location, which belongs to P or P2, respectively. The time necessary for one neighborhood inspection depends mostly on the time needed for the computation of objective function (2) or (3) of a solution of the neighborhood. The fact that the solution from the neighborhood differs only in one location can be used for a considerable complexity reduction. While computing the functions Fs and Fg in accordance with (2) or (3) has the complexity O(np) or O(npr), the used implementation reduces the computational complexity to O(n) or O(nr), respectively.

4. Kit of Uniformly Deployed Sets

The computation of satisfactorily large UDS for an individual problem characterized by the number m of possible center locations and by the number p of located centers turned out to be quite time-demanding [27]. To avoid the load of solving process, we proposed the concept of a UDS kit, which allows the separation of the activities associated with generating a uniformly distributed set from the solving of the p-location problem.
The principle of a UDS kit is based on a separation of the computational effort connected with the p-location problem solution into two parts. The first one accounts for the creation of a general structure—a UDS. The second part represents the solving process. Even if a UDS of the p-location problem solutions depends only on two parameters p and m of the problem instance, the number of possible combinations of the parameter values is too large to create a corresponding UDS for each of these combinations in advance. That is why a finite range M of numbers m is determined. Furthermore, a finite range Pm for each mM is designed (in this paper we state M = {75, 100, 200, …, 1000} and Pm = {10, 20, …, m/3}) and then a kit of uniformly deployed sets is established so that a uniformly deployed set Smp is created for each mM and pPm. For practical reasons, the Smp creation is subject to a demand for a minimal number of elements. Such a kit may be created independently of its further exploitation.
If there is a need to solve a p-location problem instance with parameters m and p, which do not belong to the ranges M and Pm, then a tight approximation mM and pPm of the parameters must be found so that mm and pp. The corresponding member Smp of the kit must be adjusted to fit the number p of locations, which determines a feasible solution for the problem instance. The adjustment can be simply performed by removing the pp last elements of each p-tuple contained in Smp. After the adjustment, the minimal Hamming distance of a pair of p-location problem solutions is 2(pt), where t denotes the minimal number of common locations contained in each solution of the pair.
It was proved that this reduction does not affect the efficiency of the algorithms based on the neighborhood search, but it may considerably spoil the resulting quality of the used path-relinking-based algorithm.
This defect can be explained by the fact that no solution of the reduced set Smp after the reduction contains any of the mm locations, which were missing in solutions of the original kit member Smp. As the path-relinking method examines the shortest path between the input vertices of a unit m-dimensional hypercube, it is unable to leave the m-dimensional sub-space and explore any solution outside the sub-space.
To remove this defect of kit usage, we propose an extension method, which incorporates the surplus possible service center locations into solutions of the chosen kit set. The following extension algorithm assumes that the solutions of the set S are represented by zero-one m-dimensional vectors yk for k= 1, …, |S|, where the last m-m components are equal to zero. In the algorithm below, the symbols Yi and Q are defined by (5) and (6), respectively.
Extension(S, m, m)
0.
Compute Yi for i = 1 … m according to (5); compute Q according to (6) and define Q‘ = min{m-m, Q}; initialize t = m.
1.
For each k = 1 … |S| perform the following cycle
for each I = 1 … m perform the following command
if (yik = 1) and (Yi > 1) and (t < m + Q’) then do
yik = 0; ytk = 1; Yi = Yi − 1; t = t + 1.
Y i = k = 1 | S | y i k
Q = i = 1 m _ max { 0 , Y i }
The above extension algorithm inserts Q’ unused locations into elements of the input uniformly deployed set, unless diminishing the Hamming distance among the solutions.
After having adjusted the kit set to the size of the solved p-location problem, the Swap and the Path-relinking algorithms can exploit the UDS in the following ways. Let an adjusted uniformly deployed set S be given, and then the following steps are performed.
(a)
Compute f(L) for each LS and initialize L* by the solution with the lowest value of the objective function.
(b)
Run the algorithm Swap(L*).
An adjusted uniformly deployed set S can be used as an initial swarm in searching strategies using the path-relinking-based inspection as a tool for the best-found-solution improvement. Let the expression Path-RelinkingMethod(L1, L2) denote the resulting solution returned by the path-relinking method applied to input solutions L1 and L2. Let the set S consists of solutions L1, L2, , L|S| ordered by a permutation U in a sequence, which satisfies f(LU(1)) ≤ f(LU(2)) ≤ …≤ f(LU(|S|)). Then, a search based on the path-relinking method can be suggested as follows.
0.
Initialize L* by solution LU(1).
1.
Perform command L* = Path-RelinkingMethod(L*, LU(k)) repeatedly for k = 2 … |S|.
2.
Return the resulting solution L*.

5. Composition Approach to Uniformly Deployed Set Construction

For given integers mM and pPm, the corresponding uniformly deployed set Smp is constructed according to the following process.
First, an attempt at maximal uniformly deployed set S1q construction was performed for the q-location problem defined for q2 possible center locations for any integer q from the range {2, 3, …, 31} so that arbitrary two q-tuples contain at most one conjoint element, i.e., t = 1. Second, a basic UDS for given mM and pPm was composed of k q-tuples of S1q and of k(pq) other locations, where k and q were determined so that k(pq) + q2m holds. Each pair of p-tuples of the basic set have at most one common location.
The resulting basic set can be submitted to the time-restricted process augmentation, which solves the linear programming problem described by the models (7)–(11) in each step of the augmentation. The initial value of parameter t equals one. If the cardinality of the augmented set did not reach a given threshold, the parameter t is incremented, and the augmentation process continues. This augmentation process can be applied to an arbitrary basic uniformly deployed set regardless of its value of t.
Let the basic set of p-location problem solutions satisfy the property that no pair of solutions may contain more than t common locations; thus, the minimal Hamming distance of the solutions equals 2(pt). The basic set is iteratively augmented by the problems (7)–(11). The optimal solution y of the problems (7)–(11) is added to the current set S under the condition that the value (7) of the optimal solution equals zero. This augmenting process stops either if the optimal value of (7) is positive or the given cardinality of the set S is achieved or the computational time limit is exceeded. The model was originally published in [27].
Let s be an element of the set S. The solution s is represented by a set of p center locations. The solution can be described by m-dimensional zero-one vector es, where the i-th component esi equals one if the location i is an element of the set s. Otherwise, the component esi takes the value of zero. Let us use a series of binary variables yi ∈ {0, 1} for i = 1 … m to describe an additional solution y, that could extend the current set S. Furthermore, we use an additional series of variables z, where variable zs is associated with the solution s and gives the number of common locations of the solution s and y reduced by the value of t.
M i n i m i z e s S z s
S u b j e c t t o i = 1 m y i = p
i = 1 m e s i y i t + z s f o r s S
y i { 0 , 1 } f o r i = 1 , , m
z s 0 f o r s S
The expression (7) stands for the total of surpluses above the value t of conjoint locations of the solution modelled by y and the input solution sS. In the case when the expression (7) takes the value of zero, then an arbitrary solution from S and the solution modelled by y have at most t common locations. Constraint (8) assures the feasibility of the solution described by the vector y. Constraint (9) ensures connections between the solution y and the additional variables zs for sS. The left part of (9) for a solution s expresses the number of locations common for solutions s and y. If the value exceeds t, the associated variable zs must get a value greater than or equal to the surplus.

6. Graph-Based Approach to Uniformly Deployed Set Construction

In this section, we present the construction of uniformly deployed sets from a special class of digraphs called monopoles. The advantage of this approach is that UDS with given parameters can be computed directly. The origins of this method trace back to the topological graph theory [32] and it serves for the construction of large graphs and digraphs with given properties.
For our purposes, we use the smallest possible digraph - monopole, which contains only one vertex v and p edges e1, e2, , ep. Each edge has an assigned value a(ei) = ai, which is called the voltage of the edge. In origin, the voltages are elements of an appropriate (usually abelian) group. However, we consider the elements of the set Zm = {0, 1, …, m − 1}. Such a digraph is called a voltage digraph G = (V, E, a), where V = {v} is the vertex set, E = {e1, e2, , ep} is the set of edges and a:E→Zm is an assignment of voltages. From G and Zm, we can create a derived digraph Gm = (Vm, Em), where Vm = {v0, v1, , vm−1} and the edge (vi, vj) belongs to the set Em if and only if, there is an edge e in E, and voltage a from Zm such that mod(i + a,m) = j (where mod(x,m) represents the remainder after dividing x by m). An example of the construction for G4 and Z4 is depicted in Figure 1.
In the paper [33], we introduced a construction of the Hoffmann–Singleton graph from the voltage graph. It follows from the properties of the Hoffmann–Singleton graph (each pair of neighboring vertices has no conjoint neighbor, and each pair of non-adjacent vertices has exactly one conjoint neighbor) that the rows of its adjacency matrix form the uniformly deployed set with parameters m = 50, p = 7, and t = 1. It is known that these graphs (strongly regular graphs with some special parameters) occur rarely. However, if we use weaker conditions for such objects, then we can construct derived digraphs with appropriate properties. These conditions can be stated as follows:
0.
The derived digraph has m vertices.
1.
Each vertex has out-degree p.
2.
Each pair of vertices has at most t common successors.
Condition 1 ensures that the adjacency matrix of the derived digraph has m rows (elements of UDS) and m columns (candidates for service centers location). Condition 2 ensures that each row of the adjacency matrix contains exactly p ones. Condition 3 ensures that each pair of rows has at most t ones on the same position. If the voltage graph is monopole with p loops and we use the set Zm, then conditions 1 and 2 are fulfilled. The choice of appropriate voltages can ensure that each pair of vertices in Gm has at most t common successors. We introduce a simple and fast procedure that computes such p element subset of Zm. It is possible to show that for all vi, vjVm a pair (vi, vx) is the edge in Gm if and only if a pair (vj, vy) is the edge in Gm (where x = mod(i + k, m) and y = mod(j + k, m)). Hence, it is enough to consider common successors of the vertices v0, vj. Let us suppose that v0 and vj have t common successors - say vk1, vk2, , vkt. Then, there are voltages k1, k2, …, kt and s1, s2, …, st on loops of G such that all equations in (12) hold.
k 1 = m o d ( j + s 1 , m ) ,   k 2 = m o d ( j + s 2 , m ) , ,   k t = m o d ( j + s t , m )
From Equations (12) we have the expression (13).
j = m o d ( k 1 s 1 , m ) = m o d ( k 2 s 2 , m ) = = m o d ( k t s t , m )
The number of common successors of vertices v0 and vj is given by the number of computations mod(ks, m) with voltages that have result j. If k, s < m/2, then mod(ks, m) < m/2 for k > s, and mod(ks, m) > m/2 for s > k. If we choose all voltages less than m/2, then it is enough to check the repetition of values k-s for k > s. This can be done in t-sequences: a t-sequence is an increasing sequence a i i = 0 q such that
  • a0 = 0, a1 = 1.
  • For k > 2, ak is the minimum value such that for i ∈ {1, …, k − 1}, the value akai occurs between values ajai (where1 ≤ i < j < k) at most t − 1 times.
From the definition of a t-sequence, we also obtain a simple algorithm for the computation of its values. Examples of the first q = 15 members of t-sequences for t = 1, 2, 3, 4 can be seen below:
t = 1 0, 1, 3, 7, 12, 20, 30, 44, 65, 80, 96, 122, 147, 181, 203
t = 2 0, 1, 2, 4, 7, 11, 16, 22, 30, 38, 48, 61, 73, 86, 103
t = 3 0, 1, 2, 3, 5, 8, 12, 16, 21, 27, 33, 40, 48, 57, 71
t = 4 0, 1, 2, 3, 4, 6, 9, 13,17, 22, 27, 33, 39, 46, 53
If we want to construct a derived digraph Gm, then we need to find such a t-sequence in which ap−1 < m/2. The values a0, a1, , ap−1 are voltages on loops and the rows of the adjacency matrix of Gm form a uniformly deployed set for parameters m, p. More information about the construction of uniformly deployed sets can be found in [24].

7. Computational Study

Further experiments were aimed at exploration of the impact of the way in which the kit sets are suggested on the efficiency of the above-described fast minimization heuristics.
The instances used in experiments represent eight self-governing regions of the Slovak Republic. Since these regions are characterized by high geographical variability, these benchmarks are convenient for this type of testing. In the Bratislava and Trnava regions, plains and industry dominate. The Nitra region is typical agricultural flatland. The Košice region represents a mix of industry and agriculture. The Trenčín region is characterized by hills and industry. Žilina and Banská Bystrica are regions covered by mountains with several industrial centers. The Prešov region is a typical rural region covered by mountains. Each region is characterized by a set of dwelling places and the population of the associated community. The dwelling places correspond to nodes of the regional road network, which was used to compute network distances for each pair of nodes. A current medical emergency system was used to derive the number of service centers, which can be located at the set of road network nodes. Each node was considered as a possible service center location and each node-dwelling place j with population bj was taken as a possible system user, in which volume of demands is proportional to the size of the population. In the remainder of the paper, the regions are denoted by abbreviations of the names of regional capitals. We use BA for Bratislava, BB for Banska Bystrica, KE for Košice, NR for Nitra, PO for Prešov, TN for Trenčín, TT for Trnava, and ZA for Žilina. The number m of possible center locations and the number p of centers that need to be located are plotted in Table 1 for the individual regions. The coefficients bj used in the objective functions of the mathematical models (2) and (3) were determined as the sizes of the dwelling place population given in hundreds of inhabitants. If the generalized problem Formulation (3) is considered, then the number r of the nearest service centers taken into account was set at the value of three. The coefficients qk were given in percentage: q1 = 77.063, q2 = 16.476, and q3 = 100 − q1q2. These parameter settings come from simulation experiments with the emergency service system of the Slovak Republic [34]. The benchmark sizes are reported in Table 1 together with objective function values Fs and Fg of optimal solutions for both formulations (2) and (3) according to [26,28]. The used kit was established for domains M = {75, 100, 200, …, 1000} and Pm = {10, 20, …, m/3}; the corresponding sizes m and p of the uniformly deployed sets withdrawn from the kit are also reported in Table 1.
To verify the hypothesis concerning the fast heuristics described in Section 3, we implemented them in the programming language JAVA, each in two versions. Versions denoted by “Swap” and “Path-relinking” solve problems described by (2) and “SwapG” and “Path-relinkingG” were designed for solving problems described by (3).
We used two series of uniformly deployed sets for the experiments. The first series was derived by reduction of the kit sets obtained by the process described in Section 5 and it is reported as “kit standard” in the remainder of the paper. The standard kit sets for the above-mentioned ranges were created for the threshold of 90 p-tuples, where the computational time was restricted to ten minutes. The final values of parameter t, for which the limit was reached, correspond also to the maximal number of common locations in two p-tuples. The values of t and uniformly deployed set cardinalities |S| are reported in Table 2. The second series denoted by the title “kit graph” was obtained from the graph-based approach described in Section 6.
To make the following comparison of the kit construction more robust, we generated ten different starting sets of solutions by random permutation of m original locations of the input uniformly deployed set, making use of the proposition that arbitrary permutation does not change parameters of the obtained set. This way, we obtained two series of ten starting sets, one for the original set denoted “kit standard” and the other for the original set called “kit graph”.
The tested approaches were applied to both problems (2) and (3) with each starting set from both series “kit standard” and “kit graph”.
Each uniformly deployed set coming from a kit was submitted to the extension described in Section 4. The results of the experiments are reported in Table 3, Table 4, Table 5 and Table 6.
Table 3 contains results obtained by Swap and Path-relinking heuristics using uniformly deployed sets of “kit standard”. Table 4 contains results obtained by Swap and Path-relinking heuristics using uniformly deployed sets of “kit graph”.
Table 5 contains results obtained by SwapG and Path-relinkingG heuristics using uniformly deployed sets of “kit standard”. Table 6 contains results obtained by SwapG and Path-relinkingG heuristics using uniformly deployed sets of “kit graph”.
Each of the tables has the same structure, in which each row corresponds to a group of benchmarks derived from the associated self-governing region of the Slovak Republic. The figures reported in a row were obtained by averaging or other processing of the ten associated instants. The columns of each table form three groups, where the first of them contains only two columns denoted by titles “Benchmark” and “OptObj”. The column “Benchmark” comprises denotations of the individual groups of benchmarks and the column “OptObj” reports on the objective function values of the optimal solutions for the corresponding problem formulation and the assigned self-governing region. It must be noted that the randomly generated starting sets of the p-location problem solution impact only the results of tested heuristics; the optimal solution is not influenced by them. The remaining two sections of the columns summarize the results obtained by the swap or path-relinking-based heuristics adapted for the problem formulation. Each of these two parts consists of a quadruple of columns denoted subsequently by titles “F*min”, “F*avg”, “gap” and “T [s]”. The entries in the columns “F*min” and “F*avg” refer subsequently to the best and average objective function values obtained by the application of the associated heuristic to the series of ten uniformly deployed sets. The entries in the column named “gap” describe the average deviation of the objective function value of the solution resulting from the tested heuristics expressed in percentage of the optimal objective function value. The averaged associated computational time in seconds is plotted in the column denoted by “T [s]”.
Computation of the heuristic processes was performed on a standard personal computer with parameters Intel® Core™ i7-4790 [email protected] GHz and 8 GB RAM. The tested heuristics were coded in the Java language and run in the environment NetBeans IDE 8.2.
The experiments with tested heuristics confirmed the previously formulated hypothesis concerning heuristics’ ability to achieve a near-to-optimal result. Furthermore, the process of extension proved to be successful when used to adapt a kit set to the size of the solved instance. The path-relinking-based approaches with the extension are able to reach near-to-optimal solutions. It can be noticed that the gap exceeded the value of two per cent only in one case and the value of one per cent in three cases of 32 ones.
Comparing the ways in which the kit sets were constructed, it can be stated that there is almost no difference in solution accuracy and computational time for the swap method. It can consist in the way of kit set usage, where the kit set provides the method only with a starting solution and then does not influence the further process of the swap algorithm.
More important variances can be observed in the table sections reporting the results of the path-relinking-based method. Despite the fact that very good results were obtained by the path-relinking-based method for both kit set constructions, the kit sets obtained by the graph approach allow a slightly more accurate solution to be obtained. This contribution of kit graph construction is paid for with a greater computational time demanded by the heuristics. The computational time differences may originate in different cardinalities of the kit standard and kit graph sets in the individual instances.

8. Conclusions

The research effort described in this paper is devoted to the idea of exploitation of preliminarily prepared uniformly deployed sets for the p-location problem. The concept of a kit of uniformly deployed sets enables the partition of the workload connected with a p-location problem solution into two parts, where the first part can be processed independently on the kind and size of the p-location problem, which is actually solved. In this paper, our effort was concentrated on the methods of kit construction and their adjustment to specific p-location problems. We introduced a new method of kit construction based on a graph approach and compared it to the standard method of kit construction. The usability of the kit constructions was proved by experiments conducted with real-world benchmarks. Based on the study, we can conclude that both presented kit constructions and extension methods perform excellently in connection with the swap and path-relinking-based methods. It was confirmed that the connection represents a useful solving tool for a large family of p-location problems. Future research in this field will be aimed at more sophisticated exploitation of the found kit characteristics for accelerating the subsequent optimization processes.

Author Contributions

J.J.—main research idea of uniformly deployed set kit construction, writing the paper; M.K.—mathematical models’ formulations, implementation of the associated solving tool, computational study, results analysis, revising the paper; P.C.—graph approach to the uniformly deployed sets, computational study, revising the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Slovak Research and Development Agency, grant number APVV-19-0441, and by the Scientific Grant Agency of the Ministry of Education, Science, Research and Sport of the Slovak Republic and the Slovak Academy of Sciences, grant numbers VEGA 1/0216/21, “Designing of emergency systems with conflicting criteria using tools of artificial intelligence”; VEGA 1/0077/22, “Innovative prediction methods for optimization of public service systems”; and VEGA 1/0654/22, “Cost-effective design of combined charging infrastructure and efficient operation of electric vehicles in public transport in sustainable cities and regions”.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki and approved by the Ethics Committee of the University of Žilina (protocol code 2/3/2023) on 2 March 2023.

Informed Consent Statement

The presented results do not contain studies with human or animal subjects. Informed Consent Statements are not relevant for this study.

Data Availability Statement

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors of the manuscript declare that they have no conflicts to report. In addition, we declare that the presented results do not contain studies with human or animal subjects.

References

  1. Current, J.; Daskin, M.; Schilling, D. Discrete network location models. In Facility Location: Applications and Theory; Drezner, Z., Ed.; Springer: Berlin/Heidelberg, Germany, 2002; pp. 81–118. [Google Scholar]
  2. Czimmermann, P. Location problems in transportation networks. Komunikacie 2016, 18, 50–53. [Google Scholar] [CrossRef]
  3. Sayah, D.; Irnich, S. A new compact formulation for the discrete p-dispersion problem. Eur. J. Oper. Res. 2017, 256, 62–67. [Google Scholar] [CrossRef]
  4. Dupin, N.; Nielsen, F.; Talbi, E.-G. Unified Polynomial Dynamic Programming Algorithms for P-Center Variants in a 2D Pareto Front. Mathematics 2021, 9, 453. [Google Scholar] [CrossRef]
  5. Dupin, N. Polynomial algorithms for p-dispersion problems in a planar Pareto Front. RAIRO-Oper. Res. 2023, 57, 857–880. [Google Scholar] [CrossRef]
  6. Marianov, V.; Serra, D. Location Problems in the Public Sector, Facility Location–Applications and Theory; Drezner, Z., Ed.; Springer: Berlin, Germany, 2002; pp. 119–150. [Google Scholar]
  7. Brotcorne, L.; Laporte, G.; Semet, F. Ambulance location and relocation models. Eur. J. Oper. Res. 2003, 147, 451–463. [Google Scholar] [CrossRef]
  8. Doerner, K.F.; Gutjahr, W.J.; Hartl, R.F.; Karall, M.; Reimann, M. Heuristic Solution of an Extended Double-Coverage Ambulance Location Problem for Austria. Cent. Eur. J. Oper. Res. 2005, 13, 325–340. [Google Scholar]
  9. Chanta, S.; Mayorga, M.E.; McLay, L.A. Improving emergency service in rural areas: A bi-objective covering location model for EMS systems. Ann. Oper. Res. 2011, 221, 133–159. [Google Scholar] [CrossRef]
  10. Ingolfsson, A.; Budge, S.; Erkut, E. Optimal ambulance location with random delays and travel times. Health Care Manag. Sci. 2008, 11, 262–274. [Google Scholar] [CrossRef] [PubMed]
  11. Schneeberger, K.; Doerner, K.; Kurz, A.; Schilde, M. Ambulance location and relocation models in a crisis. Cent. Eur. J. Oper. Res. 2014, 24, 1–27. [Google Scholar] [CrossRef]
  12. Jánošíková, Ľ.; Žarnay, M. Location of emergency stations as the capacitated p-median problem. In Proceedings of the International Conference Quantitative Methods in Economics (Multiple Criteria Decision Making XVII), Virt, Slovakia, 28–30 May 2014; Department of Operations Research and Econometrics, Faculty of Economic Informatics, University of Economics in Bratislava: Bratislava, Slovakia, 2014; pp. 117–123. [Google Scholar]
  13. Karatas, M.; Yakıcıa, E. An analysis of p-median location problem: Effects of backup service level and demand assignment policy. Eur. J. Oper. Res. 2019, 272, 207–218. [Google Scholar] [CrossRef]
  14. Kozel, P.; Orlíková, L.; Pomp, M.; Michalcová, Š. Application of the p-median approach for a basic decomposition of a set of vertices to service vehicles routing design. In Mathematical Methods in Economnics 2018; MatfyzPress: Praha, Czech Republic, 2018; pp. 252–257. [Google Scholar]
  15. Daskin, M.S.; Maass, K.L. The p-Median Problem. In Location Science; Laporte, G., Nickel, S., da Gama, F.S., Eds.; Springer: Berlin/Heidelberg, Germany, 2015; pp. 21–45. [Google Scholar]
  16. Avella, P.; Sassano, A.; Vasil’Ev, I. Computational study of large-scale p-Median problems. Math. Program. 2006, 109, 89–114. [Google Scholar] [CrossRef]
  17. Elloumi, S.; Labbé, M.; Pochet, Y. A New Formulation and Resolution Method for the p-Center Problem. INFORMS J. Comput. 2004, 16, 84–94. [Google Scholar] [CrossRef]
  18. García, S.; Labbé, M.; Marín, A. Solving Large p-Median Problems with a Radius Formulation. INFORMS J. Comput. 2011, 23, 546–556. [Google Scholar] [CrossRef]
  19. Janáček, J. Approximate Covering Models of Location Problems. In Proceedings of the Lecture Notes in Management Science: 1st International Conference ICAOR ’08, Yerevan, Armenia, 15–17 September 2008; Volume 1, pp. 53–61, ISSN 2008-0050. [Google Scholar]
  20. Peško, Š.; Borčinová, Z. A modified micro-genetic algorithm for robust emergency system designing. In Proceedings of the 20th International Carpathian Control Conference, Krakow-Wieliczka, Poland, 26–29 May 2019. [Google Scholar]
  21. Rybičková, A.; Mocková, D.; Teichmann, D. Genetic Algorithm for the Continuous Location-Routing Problem. Neural Netw. World 2019, 29, 173–187. [Google Scholar] [CrossRef]
  22. Resende, M.G.C.; Ribiero, C.C.; Glover, F.; Marti, R. Genetic Algorithms. In Handbook of Metaheuristics, 2nd ed.; Gendreau, M., Potvin, J., Eds.; Springer Science & Business Media: Berlin, Germany, 2010; pp. 87–108. [Google Scholar]
  23. Janáček, J.; Kvet, M. Shrinking fence search strategy for p-location problems. In Proceedings of the CINTI 2020: IEEE 20th International Symposium on Computational Intelligence and Informatics, Budapest, Hungary, 5–7 November 2020; pp. 55–59. [Google Scholar]
  24. Czimmermann, P. The construction of uniformly deployed set of feasible solutions for the p-location problem. In Metaheuristics and Nature Inspired Computing: Proceedings, 1st ed.; Springer Nature: Cham, Switzerland, 2022; pp. 80–89, ISBN 978-3-030-94215-1. [Google Scholar]
  25. Davendra, D.; Zelinka, I.; Pluhacek, M.; Senkerik, R. DSOMA-Discrete Self Organizing Migrating Algorithm. In Self Organizing Migrating Algorithm; Davendra, D., Zelinka, I., Eds.; Springer: Berlin/Heidelberg, Germany, 2016; pp. 51–63. [Google Scholar]
  26. Janáček, J.; Kvet, M. Usage of Uniformly Deployed Set for p-Location Min-Sum Problem with Generalized Disutility. In Proceedings of the 15th International Symposium on Operational Research SOR’19, Bled, Slovenia, 25–27 September 2019; pp. 494–499, ISBN 978-961-6165-55-6. [Google Scholar]
  27. Janáček, J.; Kvet, M. Uniform Deployment of the p-Location Problem Solutions. In Operations Research Proceedings 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 315–321. [Google Scholar]
  28. Kvet, M.; Janáček, J. Usage of Uniform Deployment for Heuristic Design of Emergency System. In Operations Research Proceedings 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 309–314. [Google Scholar]
  29. Janáček, J.; Kvet, M. Uniformly deployed set kit and p-location problem solving. In Quantitative Methods in Economics: Multiple Criteria Decision Making XX; Letra Edu, s. r. o.: Bratislava, Slovakia, 2020; pp. 141–146, ISBN 978-80-89962-61-7. [Google Scholar]
  30. Kvet, M. Computational Study of Radial Approach to Public Service System Design with generalized Disutility. In Proceedings of the 2014 International Conference on Digital Technologies (DT), Žilina, Slovakia, 9–11 July 2014; pp. 198–208. [Google Scholar]
  31. Kvet, M.; Janáček, J. Path-relinking method for weighted p-median problem solutions. In Quantitative Methods in Economics: Multiple Criteria Decision Making XX; Letra Edu, s. r. o.: Bratislava, Slovakia, 2020; pp. 199–204, ISBN 978-80-89962-61-7. [Google Scholar]
  32. Gross, J.; Tucker, T. Topological Graph Theory; Reprint Edition; Dover Publications: Mineola, NY, USA, 2012; ISBN 978-0-486-41741-7. [Google Scholar]
  33. Siagiova, J. A note on the McKay-Miller-Siran graphs. J. Comb. Theory Ser. B 2001, 81, 205–208. [Google Scholar] [CrossRef]
  34. Jankovič, P. Calculating Reduction Coefficients for Optimization of Emergency Service System Using Microscopic Simulation Model. In Proceedings of the 17th International Symposium on Computational Intelligence and Informatics, Budapest, Hungary, 17–19 November 2016; pp. 163–167. [Google Scholar]
Figure 1. Voltage digraph G and its derived digraph G4.
Figure 1. Voltage digraph G and its derived digraph G4.
Mathematics 11 02418 g001
Table 1. Benchmark descriptions.
Table 1. Benchmark descriptions.
RegionmpmpOptimal Solution
FsFg
BA8714752019,32526,650
BB515365004029,87344,752
KE460324004031,20045,588
NR350273003034,04148,940
PO664326004039,07356,704
TN276212003025,09935,275
TT249182002028,20641,338
ZA315293003028,96742,110
Table 2. Characteristics of the derived kit sets.
Table 2. Characteristics of the derived kit sets.
Regionmp“Kit Standard”“Kit Graph”
|S|mpt|S|mpt
BA87141587520775752013
BB51536206500404500500409
KE460322004004054004004014
NR35027202300304300300308
PO66432147600403600600407
TN276212172003062002003014
TT249182052002032002002011
ZA31529202300304300300308
Table 3. Average results of the weighted p-median problem-solving process for starting series “kit standard”.
Table 3. Average results of the weighted p-median problem-solving process for starting series “kit standard”.
BenchmarkOptObj“Swap““Path-Relinking”
F*minF*avggapT [s]F*minF*avggapT [s]
BA19,32519,32519,325.00.000.0119,32519,589.21.370.04
BB29,87329,87329,894.60.070.8929,87330,066.40.654.49
KE31,20031,20031,240.70.130.5631,20031,319.40.382.58
NR34,04134,04134,132.30.270.2434,04134,143.90.301.25
PO39,07339,07339,106.60.091.2239,08039,304.70.593.15
TN25,09925,09925,112.00.050.0925,09925,648.02.190.45
TT28,20628,20628,222.60.060.0628,20628,226.60.070.29
ZA28,96728,96728,978.80.040.2228,96729,004.60.131.32
Table 4. Average results of the weighted p-median problem-solving process for starting series “kit graph”.
Table 4. Average results of the weighted p-median problem-solving process for starting series “kit graph”.
BenchmarkOptObj“Swap““Path-Relinking”
F*minF*avggapT [s]F*minF*avggapT [s]
BA19,32519,32519,325.00.000.0119,32519,462.30.710.02
BB29,87329,87329,901.20.090.8729,87329,875.40.0110.92
KE31,20031,20031,230.60.100.5931,20031,210.40.035.31
NR34,04134,04134,077.30.110.2134,04134,126.50.251.86
PO39,07339,07339,105.80.081.2939,07339,082.50.0212.71
TN25,09925,09925,106.80.030.0925,09925,110.70.050.44
TT28,20628,20628,255.80.180.0628,20628,206.00.000.27
ZA28,96728,96728,982.20.050.2228,96728,978.70.042.04
Table 5. Average results of the generalized weighted p-median problem-solving process for starting series “kit standard”.
Table 5. Average results of the generalized weighted p-median problem-solving process for starting series “kit standard”.
BenchmarkOptObj“SwapG““Path-RelinkingG”
F*minF*avggapT [s]F*minF*avggapT [s]
BA26,65026,65026,650.00.000.0226,65026,966.91.190.15
BB44,75244,75244,765.30.033.3944,75244,885.80.3018.6
KE45,58845,58845,632.80.102.0545,59045,754.60.3710.63
NR48,94048,94048,979.40.080.9348,96349,037.00.205.11
PO56,70456,70456,782.70.144.2756,72156,954.50.4412.46
TN35,27535,27535,275.10.000.3535,27535,760.71.382.02
TT41,33841,33841,491.60.370.241,33841,456.30.291.22
ZA42,11042,11042,129.60.050.6742,11042,140.30.075.34
Table 6. Average results of the generalized weighted p-median problem-solving process for starting series “kit graph”.
Table 6. Average results of the generalized weighted p-median problem-solving process for starting series “kit graph”.
BenchmarkOptObj“SwapG““Path-RelinkingG”
F*minF*avggapT [s]F*minF*avggapT [s]
BA26,65026,65026,650.00.000.0226,65026,799.60.560.08
BB44,75244,75244,787.60.083.5544,75244,755.30.0144.9
KE45,58845,58845,669.00.182.0845,58845,641.00.1222.06
NR48,94048,94048,996.80.120.8248,94748,973.70.077.76
PO56,70456,70456,784.30.144.1856,70556,811.80.1952.82
TN35,27535,27535,305.90.090.3535,27535,317.40.121.88
TT41,33841,33841,430.90.220.2241,33841,416.90.191.2
ZA42,11042,11042,127.10.040.7242,11042,115.60.018.14
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Janáček, J.; Kvet, M.; Czimmermann, P. Kit of Uniformly Deployed Sets for p-Location Problems. Mathematics 2023, 11, 2418. https://doi.org/10.3390/math11112418

AMA Style

Janáček J, Kvet M, Czimmermann P. Kit of Uniformly Deployed Sets for p-Location Problems. Mathematics. 2023; 11(11):2418. https://doi.org/10.3390/math11112418

Chicago/Turabian Style

Janáček, Jaroslav, Marek Kvet, and Peter Czimmermann. 2023. "Kit of Uniformly Deployed Sets for p-Location Problems" Mathematics 11, no. 11: 2418. https://doi.org/10.3390/math11112418

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop