Network- and Demand-Driven Initialization Strategy for Enhanced Heuristic in Uncapacitated Facility Location Problem
Abstract
1. Introduction
- Formalization definition of the N-UFLP: This study sets the basis for further research on the Network-Based Uncapacitated Facility Location Problem (N-UFLP), addressing the gap in the existing literature that largely focuses on discrete UFLP models and benchmark datasets. In the case study and experiments, we used the TRB dataset [46], which is often used as a benchmark for transportation networks.
- Development of highly competitive constructive methods: Although significant research effort has been devoted to the development of improvement algorithms/metaheuristics (e.g., NS and VNS), there has been limited exploration into alternative constructive algorithms beyond random or greedy initialization. We propose a new initialization method specific to the N-UFLP, which uses network topology and demand intensity and shows better performance compared to baseline initialization methods.
- Comparative benchmark testing and evaluation: Multi-case comparative tests will use large-scale network data (i.e., Gold Coast network) and six additional networks with UFLP attributes. The study compares mainstream algorithms, such as branch-and-bound, genetic algorithms, Lagrangian relaxation, greedy heuristics, NS, VNS, and alternative initialization techniques. Through evaluation across total cost, computational efficiency, and clustering quality, this work not only provides new insights into the relative strengths of different constructive methods but also forms a reference for future research on large-scale network-based facility location.
2. Problem Definition
2.1. Network-Based Uncapacitated Facility Location Problem (N-UFLP)
- Trip attraction (hj): Let hj represent the N × 1 demand/trip attraction at customer node/demand site j.
- Distance (dij)—the effective (shortest-path) distance between facility i and customer j.
- Transportation cost rate (α)—a scalar parameter α multiplies the effective distance to yield the transportation cost.
- Facility setup cost (β)—a scalar parameter β denotes the unitary fixed cost for opening a facility. This cost is assumed to be identical for all candidate locations.
- Node location integration: Both facilities and customers are co-located in a unified set of nodes in which the first N nodes serve dual roles. This contrasts with the traditional UFLP that separates customers from facilities and may include self-service restrictions (e.g., a facility can serve itself). It better captures realistic applications, including telecommunication, logistics, and waste management systems, in which the real-world nodes (e.g., intersections, hubs, or urban locations) can act both as service origins and destinations, improving model fidelity to network realities [5,48,49].
- Path-dependent distance metric: Transportation costs depend on the shortest paths on the network, which are the sum of edge weights between nodes with the Floyd-Warshall algorithm. Unlike classical UFLP models, which assume Euclidean distances or direct transportation costs, this approach dynamically computes path costs based on the network topology. Additionally, we assume that the adjacency-based distance is undirected, which implies that the path-dependent distance is also undirected. For a number of applications such as transportation and waste collection, previously, the shortest-path network distances (rather the geometric distances) are relevant for operational reality, since actual network paths are defined by the geometry and connectivity of the network [2,50,51].
- Network distance matrix: A pre-computed M × M matrix stores all-pairs shortest-path distances for M nodes, replacing conventional transportation cost matrices. The precomputation of shortest-path distances makes it feasible to solve big problems efficiently and to obtain fast cost estimates within metaheuristic or exact optimization frameworks widely adopted in both academic research and industrial applications [2,52].
- Network connectivity constraints: They accommodates disconnected subnetworks (e.g., isolated traffic zones) by creating virtual edges that attach isolated nodes to the closest connected component for full-service coverage. This aspect of the various communication services is critical, particularly in dense urban logistics, telecommunication, and emergency service applications when we need to guarantee the service in the presence of network disconnections and dynamic topological changes [49,53]. Virtual/auxiliary links are commonly used in practice to ensure full coverage.
- Demand-weighted travelled cost: It combines customer demand volumes with path distances to generate a demand-weighted travelled cost metric. Weighting travel costs by demand mirrors operational objectives in logistics and supply chain management, where both the volume and the distance traveled significantly influence the optimal facility location and overall system efficiency [49].
- Self-service feasibility:
- Path consistency (triangle inequality) constraint:
2.2. Assumptions
- All facilities incur identical fixed setup costs, i.e., no site-dependent cost variations.
- Facilities are either fully open or closed; partial opening is prohibited.
- Each customer is entirely served by a single facility.
- There is no upper limit on the demand a facility can serve.
- All costs, demands, and distances are deterministic and known with certainty.
- The maximum number of facilities p is the square root of N (budget-constrained).
3. Methodology
3.1. Baseline Methods
3.1.1. Roulette Wheel Initialization (RWI)
3.1.2. Greedy Initialization (GI)
- Phase 1 (initial facility selection)
- Initialize S0 = ∅, t = 0, K\St−1 = K.
- Phase 2 (iterative marginal-cost evaluation)
- While |St| < p, set t = t + 1:
- (a)
- Cost evaluation
- Fixed facility cost:
- Transportation cost: Assign each customer j ∈ J to its nearest facility in St−1 ∪ {k}
- Total cost:
- (b)
- Selection criterion
- (c)
- Update
3.1.3. Neighborhood Search Algorithm (NS) and Greedy-Initialized Neighborhood Search
3.1.4. Variable Neighborhood Search (VNS) and Greedy-Initialized Variable Neighborhood Search
3.2. Network- and Demand-Weighted Roulette Wheel Initialization (NDWRWI)
- t—an iteration index for facility selection, t = 1, 2, …, p, where p ≤ N.
- St = {s1, s2, …, st}—a set of currently selected facility locations by the end of iteration t.
- st—a newly selected facility at the t-th iteration, where st ∈ K\St−1.
- Phase 1 (initial facility selection)
- Phase 2 (iterative roulette wheel selection)
- (a)
- Minimum distance calculation:
- (b)
- Weight assignment:
- Demand satisfaction: prioritize nodes with higher demand (hk) to maximize service coverage.
- Spatial dispersion: favor nodes further from existing facilities (dk)minto avoid clustering while considering network topology.
- (c)
- Probability normalization:
- Ensure valid probability distribution (∑Pk = 1);
- Proportionally allocate selection likelihood based on relative weights.
- (d)
- Roulette wheel selection
- Phase 3 (termination criteria)
Algorithm 1: Network- and Demand-Weighted Roulette Wheel Initialization |
Input: K ← {1, 2, …, N} // Set of candidate facility nodes hk for all k ∈ K // Demand at node k D(k, i) for all k, i ∈ K // Shortest-path distance between any pair of nodes p // Number of facilities to select Output: Sp // Selected facility set of cardinality p Phase 1: Randomly select the first facility 1. Randomly select s1 ∈ K uniformly: S1 ← {s1} Phase 2: Iterative weighted roulette wheel selection 2. For t = 2 to p, perform the following steps: 2.1 Set candidates ← K\St−1 2.2 For each k ∈ candidates, compute the minimum distance to current selected facilities: dmin,k ← mini∈S{t−1} D(k, i) compute weighted distance: ωk ← dmin,k × hk 2.3 Normalize weights to get probabilities: for all k ∈ candidates, Pk ← ωk/(∑k’∈candidates ωk’); 2.4 Exclude already selected nodes (i.e., Pj = 0 for j∈St−1) 2.5 Use roulette wheel selection to choose st: - Generate a random number θ ~ U(0, 1); - Find st such that: ∑Pk″ ≥ θ, where k″ indexes over candidates 2.6 Update selected facility set: St ← St−1 ∪ st Phase 3: termination 3. After t = p iterations, return final facility set Sp. |
3.3. Mechanism Comparison and Complexity Derivation
- For each remaining candidate node (k ∈ K\St−1), the minimum distance to current set St−1 is computed (t − 1 comparisons per candidate).
- Demand-weighted scores and normalization are performed, with a total cost of O(|K\St−1|).
- The computational cost per iteration t is O((M − t + 1)·(t − 1)), where M = |K| is the total number of candidate nodes.
- NDWRWI-initialized NS: O(Mp2) + O(Tp2N);
- NDWRWI-initialized VNS: O(Mp2) + O(Lkp2N)
- where N is the number of customer nodes, T is the number of neighborhood search iterations, L is the VNS outer loops, and k is the number of neighborhood structures, typically small constants.
3.4. Benchmark Methods
4. Results
4.1. Setting up the Case Study
4.2. Small-Scale Illustrative Scenario
4.3. Warehouse Location Analysis
4.4. Ultra-Large-Scale Network Analysis
4.5. Comparative Analysis Across Case Cohorts: Multi-Method and Multi-Run Evaluation
5. Discussion
- Total cost: In total cost performance, results from the ultra-large-scale Gold Coast dataset show that sometimes the VNSG algorithm can achieve a lower total cost level compared with the NDWRWI-based VNS2025. Specifically, VNSG obtained the lowest total cost for the problem (approximately 9,497,958, compared with VNS2025’s lower bound of 9,736,593, i.e., approximately 2.5%). This small advantage can be attributed to a myopic property of greedy initialization, which focuses on near sight local cost reduction and may lead to premature convergence with only local exploration. Although VNSG can have slightly better cost results in some situations, VNSG’s applicability is limited to non-uniform or complicated networks and is not a dominant method for other important performance metrics. Conversely, the NDWRWI dominates in other performance measures and proposes a competitive total cost solution.
- Clustering quality: NDWRWI-based methods significantly outperform their GI- and RI-based counterparts. In experiments over multiple datasets and multiple runs, the Silhouette measure that assesses the tightness and separation of customer versus facility clusters strongly favored NDWRWI-based ones. NS2025 achieved a mean Silhouette score of 0.3859, which is significantly greater than NSG (0.3752) and RI (0.3833) with respect to the NDWRWI-based methods, showing that balanced clusters can be efficiently formed aligned with demand distribution and network topology using NDWRWI. Meanwhile, although the NDWRWI-based ones can significantly outperform in the majority of cases, different distributions of data can result in different clustering quality. Thus, additional study is needed to see how non-normal data distribution has effects.
- Constructive solution: The impact of initialization strategies is further corroborated by the small-scale illustrative scenario, where the RI-based NS1964 initially chose suboptimal facilities {A, C, E}, resulting in inflated total costs (2375). due to poor alignment with high-demand nodes D and E. Though iterative improvements moved the solution towards {A, D, E}, the suboptimal placement of the peripheral low-demand node A constrained the overall effectiveness. In contrast, NDWRWI iteratively selected facilities {D, E, B} with high demand-distance weights, converging rapidly to the global optimum at a total cost of 2275. This example highlights the crucial role of demand- and topology-aware initialization in guiding neighborhood search algorithms towards high-quality solutions efficiently.
- On the computational front: NDWRWI demonstrates improved initialization and algorithm complexity over the GI. The asymptotic complexity in the discussion above (Section 3.3) expects the initialization cost as O (Mp2) at best while greedy techniques incur O (MNp) costs. This effectiveness generalizes to realistic large-scale situations. For example, in Gold Coast experiments, NS2025 terminated optimization after about 8 to 19 s, ten times faster than NSG (~130 s), and with competitive solution quality. Even among the class of VNS, VNS2025 reached a faster execution time by 27% (2600 s) than classical VNS1997 (3562 s), demonstrating the ability of NDWRWI to accelerate convergence while maintaining solution quality. Note that while the NDWRWI-based methods are theoretically less complex than the GI-based methods, extension-based second-step algorithms may take longer to compute.
- Solution stability: We must also counteract the endemic trade-offs introduced by NDWRWI’s probabilistic sampling. While facilitating more extensive investigation, the stochastic nature of the process leads to a certain degree of variation in solution quality, as evidenced by nonzero IQR cost distributions across multiple runs. In contrast to optimal methods such as MIP or deterministic greedy algorithms being zero-variability. However, we are still within such a moderate additional cost and everything remains acceptable for practical uses, notably when gains in clustering quality, solution quality, and computational time can be taken in account.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
Abbrev. | Terminology |
pMP | p-median problem |
UFLP | Uncapacitated Facility Location Problem |
N-UFLP | Network-Based Uncapacitated Facility Location Problem |
MIP | Mixed Integer Programming with the Branch-and-Price Algorithm |
Greedy | greedy algorithm with a drop strategy |
GA | genetic algorithm |
Lagrangian | Lagrangian relaxation algorithm |
NS1964 | Neighborhood Search Algorithm with RI |
NS2025 | Neighborhood Search with NDWRWI |
VNS1997 | Variable Neighborhood Search with RI |
VNS2025 | Variable Neighborhood Search with NDWRWI |
NSG/ | Neighborhood Search with GI |
NSGreedy | |
VNSG/ | Variable Neighborhood Search with GI |
VNSGreedy | |
NDWRWI | Network- and Demand-Weighted Roulette Wheel Initialization |
GI | greedy initialization |
RI | random initialization |
CRP | cross-case relative performance |
Symbol | Definition |
Sets | |
I | Set of all nodes (∣I∣ = M), including facilities and customers. |
J | Subset of customer nodes/demand site (∣J∣ = N), also candidate facilities. |
S | Final set of selected facilities. S = {s1, s2, …, sp}. p × 1 vector of indices. Output. |
Asgmt. | 1 × N vector mapping customers to assigned facilities. Output. |
K | Set of all candidate facility locations. K = {1, 2, …, N}. |
Indices | |
i, r ∈I | Indices for general nodes (facilities or customers). |
j∈J | Index specifically for customer nodes. |
t | Iteration index for facility selection, t = 1, 2, …, p, where p ≤ N. |
k∈K | K ∈ K corresponds to a potential facility. |
Parameters | |
δir | Adjacency-based distance between nodes i and r (direct edge length). |
Δ | M × M adjacency distance matrix. |
dir | Shortest-path distance between nodes i and r. |
D | M × M shortest-path distance matrix. |
(hj)j∈J | Demand weight (trip attraction) at customer j (N × 1 vector). Input. |
Wij | Demand-weighted traveled distance from node i to node j. |
α | Uniform facility setup cost. Input components. |
β | Transportation cost rate per unit-distance-demand. Input. |
p | Maximum allowed facilities. |
Z(s) | Total cost. Scalar objective value of solution S. Output. |
Decision variables | |
yi | yi ∈ {0, 1}: 1 if a facility is opened at node i; 0 otherwise. |
xij | xij ∈ {0, 1}: 1 if customer j is assigned to facility i; 0 otherwise. |
Key matrices | |
NodeNames | M × 1 cell array of unique node identifiers. Input components#. |
NodeCoords | M × 2 matrix of geographic coordinates (longitude and latitude). Input. |
DistTable | L × 3 matrix of adjacency distances (origin, destination, and edge length). Input. |
DistanceMatrix | M × M matrix of precomputed shortest-path distances. Input. |
Appendix A
Terminology | Abbrev. | Brief Explanation | Reference |
---|---|---|---|
Mixed Integer Programming with the Branch-and-Price Algorithm | MIP | Applies the Branch-and-Price algorithm | [10,11,12] |
Greedy algorithm with a drop strategy | Greedy | A myopic algorithm that iteratively selects facility sites to minimize the demand-weighted total distance. | [19,20] |
Genetic algorithm | GA | Metaheuristic algorithm involving selection, crossover, and mutation. | [22,24,25] |
Lagrangian relaxation algorithm | Lagrangian | It generates feasible solutions and calculates lower bounds iteratively. | [13,14,15] |
Neighborhood Search Algorithm with RI | NS1964 | It iteratively updates facility locations and assignment relationships to minimize the demand-weighted total distance. | [27] |
Neighborhood Search with NDWRWI | NS2025 | It incorporates Network- and Demand-Weighted Roulette Wheel Initialization (NDWRWI). | |
Variable Neighborhood Search with RI | VNS1997 | Metaheuristic method with key steps: shaking, local search, and swap evaluation. | [28] |
Variable Neighborhood Search with NDWRWI | VNS2025 | It incorporates NDWRWI and adjusts the p-range for enhanced performance. | |
Neighborhood Search with GI | NSG/ NSGreedy | It combines GI and adjusts the Neighborhood Search. | [19,20] |
Variable Neighborhood Search with GI | VNSG/ VNSGreedy | It combines greedy initialization with the Variable Neighborhood Search algorithm. | [19,20] |
Network- and Demand-Weighted Roulette Wheel Initialization | NDWRWI | A constructive method; NS2025 and VNS2025 belong to the NDWRWI-based methods. | |
Greedy initialization | GI | A constructive method; NSG and VNSG are both categorized as GI-based methods. | [19,20] |
Random initialization | RI | A constructive method; NS1964 and VNS1997 belong to the RI-based methods. | [35] |
References
- Verter, V. Uncapacitated and capacitated facility location problems. In Foundations of Location Analysis; Eiselt, H., Marianov, V., Eds.; Springer: New York, NY, USA, 2011; Volume 155. [Google Scholar]
- Daskin, M.S. Network and Discrete Location: Models, Algorithms, and Applications; John Wiley & Sons: Hoboken, NJ, USA, 1995. [Google Scholar]
- Saldanha-da-Gama, F.; Wang, S. Discrete facility location problems. In Facility Location Under Uncertainty; Springer: Cham, Switzerland, 2024; Volume 356, pp. 25–45. [Google Scholar]
- Weber, A. On the Location of Industries; University of Chicago Press: Chicago, IL, USA, 1909. [Google Scholar]
- Hakimi, S.L. Optimum locations of switching centers and the absolute centers and medians of a graph. Oper. Res. 1964, 12, 450–459. [Google Scholar] [CrossRef]
- Tansel, B.C. A review and annotated bibliography of location problems in the public sector. Eur. J. Oper. Res. 1983, 12, 42–56. [Google Scholar]
- Beasley, J.E. Lagrangean heuristics for location problems. Eur. J. Oper. Res. 1993, 65, 383–399. [Google Scholar] [CrossRef]
- Dantrakul, S.; Likasiri, C.; Pongvuthithum, R. Applied p-median and p-center algorithms for facility location problems. Expert Syst. Appl. 2014, 41, 3596–3604. [Google Scholar] [CrossRef]
- Kariv, O.; Hakimi, S.L. An algorithmic approach to network location problems. II: The p-medians. SIAM J. Appl. Math. 1979, 37, 539–560. [Google Scholar] [CrossRef]
- Corberán, Á.; Landete, M.; Peiró, J.; Saldanha-da-Gama, F. Improved polyhedral descriptions and exact procedures for a broad class of uncapacitated p-hub median problems. Transp. Res. Part B Methodol. 2019, 123, 38–63. [Google Scholar] [CrossRef]
- Arslan, O. The location-or-routing problem. Transp. Res. Part B Methodol. 2021, 147, 1–21. [Google Scholar] [CrossRef]
- Barbato, M.; Gouveia, L. The Hamiltonian p-median problem: Polyhedral results and branch-and-cut algorithms. Eur. J. Oper. Res. 2024, 316, 473–487. [Google Scholar] [CrossRef]
- Beltran, C.; Tadonki, C.; Vial, J.P. Solving the p-median problem with a semi-Lagrangian relaxation. Comput. Optim. Appl. 2006, 35, 239–260. [Google Scholar] [CrossRef]
- Beltran-Royo, C.; Vial, J.-P.; Alonso-Ayuso, A. Semi-Lagrangian relaxation applied to the uncapacitated facility location problem. Comput. Optim. Appl. 2012, 51, 387–409. [Google Scholar] [CrossRef]
- Nezhad, A.M.; Manzour, H.; Salhi, S. Lagrangian relaxation heuristics for the uncapacitated single-source multi-product facility location problem. Int. J. Prod. Econ. 2013, 145, 713–723. [Google Scholar] [CrossRef]
- Mokhtar, H.; Krishnamoorthy, M.; Ernst, A.T. The 2-allocation p-hub median problem and a modified Benders decomposition method for solving hub location problems. Comput. Oper. Res. 2019, 104, 375–393. [Google Scholar] [CrossRef]
- Ghaffarinasab, N.; Çavuş, Ö.; Kara, B.Y. A mean-CVaR approach to the risk-averse single allocation hub location problem with flow-dependent economies of scale. Transp. Res. Part B Methodol. 2023, 167, 32–53. [Google Scholar] [CrossRef]
- Ghosh, D. Neighborhood search heuristics for the uncapacitated facility location problem. Eur. J. Oper. Res. 2003, 150, 150–162. [Google Scholar] [CrossRef]
- Kuehn, A.A.; Hamburger, M.J. A heuristic program for locating warehouses. Manag. Sci. 1963, 9, 643–666. [Google Scholar] [CrossRef]
- Gokalp, O. An iterated greedy algorithm for the obnoxious p-median problem. Eng. Appl. Artif. Intell. 2020, 92, 103674. [Google Scholar] [CrossRef]
- Atta, S.; Mahapatra, P.R.; Mukhopadhyay, A. Solving uncapacitated facility location problem using heuristic algorithms. Int. J. Nat. Comput. Res. 2019, 8, 18–50. [Google Scholar] [CrossRef]
- Moreno-Perez, J.A.; Roda Garcia, J.L.; Moreno-Vega, J.M. A parallel genetic algorithm for the discrete p-median problem. Stud. Locat. Anal. 1994, 7, 131–141. [Google Scholar]
- Kratica, J.; Tošic, D.; Filipović, V.; Ljubić, I. Solving the simple plant location problem by genetic algorithm. RAIRO Oper. Res. 2001, 35, 127–142. [Google Scholar] [CrossRef]
- Alp, O.; Erkut, E.; Drezner, Z. An efficient genetic algorithm for the p-median problem. Ann. Oper. Res. 2003, 122, 21–42. [Google Scholar] [CrossRef]
- Fathali, J. A genetic algorithm for the p-median problem with pos/neg weights. Appl. Math. Comput. 2006, 183, 1071–1083. [Google Scholar] [CrossRef]
- Mladenović, N.; Brimberg, J.; Hansen, P.; Moreno-Pérez, J.A. The p-median problem: A survey of metaheuristic approaches. Eur. J. Oper. Res. 2007, 179, 927–939. [Google Scholar] [CrossRef]
- Maranzana, F.E. On the location of supply points to minimize transport costs. J. Oper. Res. Soc. 1964, 15, 261–270. [Google Scholar] [CrossRef]
- Hansen, P.; Mladenović, N. Variable neighborhood search for the p-median. Locat. Sci. 1997, 5, 207–226. [Google Scholar] [CrossRef]
- Sutton, D.; Basiri, A.; Li, Z. Exploring a diagnostic test for missingness at random. Mathematics 2025, 13, 1728. [Google Scholar] [CrossRef]
- Jacobsen, S.K. Heuristics for the capacitated plant location model. Eur. J. Oper. Res. 1983, 12, 253–261. [Google Scholar] [CrossRef]
- Wang, H.; Zhou, J.; Zhou, L. A lattice Boltzmann method-like algorithm for the maximal covering location problem on the complex network: Application to location of railway emergency-rescue spot. Mathematics 2024, 12, 218. [Google Scholar] [CrossRef]
- de Armas, J.; Juan, A.A.; Marquès, J.M.; Pedroso, J.P. Solving the deterministic and stochastic uncapacitated facility location problem: From a heuristic to a simheuristic. J. Oper. Res. Soc. 2017, 68, 1161–1176. [Google Scholar] [CrossRef]
- Morán-Figueroa, G.-H.; Muñoz-Pérez, D.-F.; Rivera-Ibarra, J.-L.; Cobos-Lozada, C.-A. Model for predicting maize crop yield on small farms using clusterwise linear regression and GRASP. Mathematics 2024, 12, 3356. [Google Scholar] [CrossRef]
- Sánchez-Oro, J.; López-Sánchez, A.D.; Martínez-Gavara, A.; Hernández-Díaz, A.G.; Duarte, A. A hybrid strategic oscillation with path relinking algorithm for the multiobjective k-balanced center location problem. Mathematics 2021, 9, 853. [Google Scholar] [CrossRef]
- Celebi, M.E.; Kingravi, H.A.; Vela, P.A. A comparative study of efficient initialization methods for the k-means clustering algorithm. Expert Syst. Appl. 2013, 40, 200–210. [Google Scholar] [CrossRef]
- Bucci, M.J.; Kay, M.G.; Warsing, D.P. A comparison of meta-heuristics for large scale facility location problems with economies of scale. In Proceedings of the Industrial Engineering Research Conference (IERC), Nashville, TN, USA, 19–23 May 2007. [Google Scholar]
- Herrán, A.; Colmenar, J.M.; Duarte, A. A variable neighborhood search approach for the Hamiltonian p-median problem. Appl. Soft Comput. 2019, 80, 603–616. [Google Scholar] [CrossRef]
- Croci, D.; Jabali, O.; Malucelli, F. The balanced p-median problem with unitary demand. Comput. Oper. Res. 2023, 155, 106242. [Google Scholar] [CrossRef]
- Chagas, G.O.; Lorena, L.A.N.; dos Santos, R.D.C.; Renaud, J.; Coelho, L.C. A parallel variable neighborhood search for α-neighbor facility location problems. Comput. Oper. Res. 2024, 165, 106589. [Google Scholar] [CrossRef]
- Amrani, H.; Martel, A.; Zufferey, N.; Makeeva, P. A Variable Neighborhood Search Heuristic for the Design of Multicommodity Production-Distribution Networks with Alternative Facility Configurations (CIRRELT-2008-35); Interuniversity Research Centre on Enterprise Networks, Logistics and Transportation (CIRRELT): Montreal, QC, Canada, 2008. [Google Scholar]
- Hansen, P.; Brimberg, J.; Urošević, D.; Mladenović, N. Solving large p-median clustering problems by primal–dual variable neighborhood search. Data Min. Knowl. Discov. 2009, 19, 351–375. [Google Scholar] [CrossRef]
- Irawan, C.A.; Salhi, S. Solving large p-median problems by a multistage hybrid approach using demand points aggregation and variable neighbourhood search. J. Glob. Optim. 2015, 63, 537–554. [Google Scholar] [CrossRef]
- Beasley, J.E. OR-Library: Distributing test problems by electronic mail. J. Oper. Res. Soc. 1990, 41, 1069–1072. [Google Scholar] [CrossRef]
- Gwalani, H.; Tiwari, C.; Mikler, A.R. Evaluation of heuristics for the p-median problem: Scale and spatial demand distribution. Comput. Environ. Urban Syst. 2021, 88, 101656. [Google Scholar] [CrossRef]
- Daskin, M.S.; Maass, K.L. The p-median problem. In Location Science; Laporte, G., Nickel, S., Saldanha da Gama, F., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 21–45. [Google Scholar]
- Transportation Networks for Research Core Team [TRB Network Modeling Committee]. Transportation Networks for Research. Available online: https://github.com/bstabler/TransportationNetworks (accessed on 1 January 2025).
- Krarup, J.; Pruzan, P.M. The simple plant location problem: Survey and synthesis. Eur. J. Oper. Res. 1983, 12, 36–81. [Google Scholar] [CrossRef]
- Khumawala, B.M. An efficient branch and bound algorithm for the warehouse location problem. Manag. Sci. 1972, 18, B-718–B-731. [Google Scholar] [CrossRef]
- Gendron, B.; Semet, F. Formulations and relaxations for two-level uncapacitated facility location problems. INFORMS J. Comput. 2009, 21, 490–506. [Google Scholar]
- Adeleke, O.J.; Oladele, D.O. Facility location problems: Models, techniques, and applications in waste management. Recycling 2020, 5, 10. [Google Scholar] [CrossRef]
- Tsuya, K.; Takaya, M.; Yamamura, A. Application of the firefly algorithm to the uncapacitated facility location problem. J. Intell. Fuzzy Syst. 2017, 32, 3201–3208. [Google Scholar] [CrossRef]
- Sonuç, E.; Özcan, E. An adaptive parallel evolutionary algorithm for solving the uncapacitated facility location problem. Expert Syst. Appl. 2023, 224, 119956. [Google Scholar] [CrossRef]
- Cui, T.; Ouyang, Y.; Shen, Z.-J.M. Reliable facility location design under the risk of disruptions. Oper. Res. 2010, 58, 998–1011. [Google Scholar] [CrossRef]
- Goldman, A.J. Optimal center location in simple networks. Transp. Sci. 1971, 5, 212–221. [Google Scholar] [CrossRef]
- Bar-Gera, H.; Boyce, D. Origin-based algorithms for combined travel forecasting models. Transp. Res. Part B Methodol. 2003, 37, 405–422. [Google Scholar] [CrossRef]
- Boyce, D.; Bar-Gera, H. Multiclass combined models for urban travel forecasting. Netw. Spat. Econ. 2004, 4, 115–124. [Google Scholar] [CrossRef]
- Bar-Gera, H.; Boyce, D. Solving a non-convex combined travel forecasting model by the method of successive averages with constant step sizes. Transp. Res. Part B Methodol. 2006, 40, 351–367. [Google Scholar] [CrossRef]
- Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef]
- Balk, B.M.; De Koster, M.B.M.; Kaps, C.; Zofío, J.L. An evaluation of cross-efficiency methods: With an application to warehouse performance. Appl. Math. Comput. 2021, 406, 126261. [Google Scholar] [CrossRef]
- Dolan, E.D.; Moré, J.J. Benchmarking optimization software with performance profiles. Math. Program. 2002, 91, 201–213. [Google Scholar] [CrossRef]
- Liu, C.; Wang, Z.; Liu, Z.; Huang, K. Multi-agent reinforcement learning framework for addressing demand-supply imbalance of shared autonomous electric vehicle. Transp. Res. E 2025, 197, 104062. [Google Scholar] [CrossRef]
- Huang, K.; Zhang, Z.; Wang, X.; Tao, Y.; Liu, Z. Life-cycle carbon emissions of autonomous electric vehicles in varying traffic situations. Transp. Res. D 2025, 146, 104871. [Google Scholar] [CrossRef]
Instances | Zones (Demands) | Nodes | Links |
---|---|---|---|
6-points tree | 6 | 6 | 5 |
Sioux Falls | 24 | 24 | 76 |
Berlin-Friedrichshain | 23 | 224 | 523 |
Berlin-Tiergarten | 26 | 361 | 766 |
Berlin-Mitte-Center | 36 | 398 | 871 |
Anaheim | 38 | 416 | 914 |
Berlin-Mitte-Prenzlauerberg-Friedrichshain-Center | 98 | 975 | 2184 |
Gold Coast | 1068 | 4807 | 11,140 |
InitTech | Init.SelectedFac | FinalSelectedFac | Assignments | Total Cost | |
---|---|---|---|---|---|
NS1964 | RI | {A, C, E} | {A, D, E} | {A, D, D, D, E, D} | 2375 |
NS2025 | NDWRWI | {B, D, E} | {B, D, E} | {D, B, D, D, E, D} | 2275 |
NSG | GI | {B, D, E} | {B, D, E} | {D, B, D, D, E, D} | 2275 |
p | Selected Facilities Indices | Total Cost | Iteration Time | Optimal Total Cost | Silhouette | Time for the Best Solution (s) | |
---|---|---|---|---|---|---|---|
NS1964 | 6 | {1204, 1347, 1556, 1940, 3191, 4603} | 9,189,353 | 7.98 | 9,189,353 | 0.3833 | 7.98 |
7 | {561, 1141, 1299, 1425, 1647, 2864, 2918} | 9,355,370 | 9.69 | ||||
8 | {561, 1133, 1299, 1347, 1499, 1630, 1736, 1940} | 9,557,402 | 7.52 | ||||
8 | {1204, 1425, 1711, 2358, 2833, 2918, 2943, 4803} | 9,661,646 | 7.69 | ||||
NS2025 | 5 | {2845, 2916, 3872, 3916, 4074} | 9,373,934 | 18.98 | 9,372,502 | 0.3859 | 14.84 |
6 | {1425, 1879, 2833, 3872, 4074, 4102} | 9,402,195 | 15.12 | ||||
6 | {1425, 2918, 3872, 4074, 4102, 4550} | 9,403,390 | 13.75 | ||||
5 | {1347, 1940, 3872, 3916, 4074} | 9,372,502 | 14.84 | ||||
NSG | 7 | {561, 1133, 1299, 1556, 1940, 2845, 4602} | 9,206,563 | 129.58~139.32 | 9,206,563 | 0.3752 | 132.39 |
VNS1997 | 8 | {1499, 112, 817, 2916, 3700, 3930, 4603, 1275} | 10,552,437 | 3628.89 | 10,066,266 | 0.3626 | 3562.11 |
8 | {4007, 3219, 2155, 1567, 3085, 1724, 1969, 4413} | 10,066,266 | 3562.11 | ||||
VNS2025 | 5 | {622, 81, 1529, 2155, 1940} | 9,736,593 | 2661.41 | 9,736,593 | 0.3776 | 2666.41 |
7 | {1940, 202, 684, 430, 3632, 785, 958} | 10,257,816 | 2642.73 | ||||
7 | {1, 458, 1940, 561, 725, 3231, 975} | 10,342,441 | 2615.61 | ||||
4 | {4484, 3926, 3695, 2155} | 10,113,549 | 2583.04 | ||||
VNSG | 7 | {1647, 3559, 3496, 1299, 561, 2864, 1556} | 9,497,958 | 3285~3457 | 9,497,958 | 0.3197 | 3361.59 |
Stances | Statistics | ||||||||
---|---|---|---|---|---|---|---|---|---|
Sioux Falls | Berlin-Frd. | Berlin-Tgr. | Berlin-M-C | Anaheim | Berlin-M-P-F-C | CRP | Rank | ||
Optimal Total Cost | MIP | 4.848 × 106 | 2.543 × 107 | 3.408 × 107 | 2.957 × 107 | 1.047 × 1010 | 8.278 × 107 | 1.000 | 1.0 |
Greedy | 1.494 × 107 | 2.754 × 107 | 3.466 × 107 | 3.234 × 107 | 1.178 × 1010 | 8.826 × 107 | 1.073 | 6.2 | |
GA | 1.462 × 107 | 2.543 × 107 | 3.429 × 107 | 3.226 × 107 | 1.354 × 1010 | 1.001 × 108 | 1.094 | 5.2 | |
Lagrangian | 1.883 × 107 | 4.628 × 107 | 7.365 × 107 | 4.700 × 107 | 2.398 × 1010 | 1.216 × 108 | 1.743 | 10.0 | |
NS1964 | 1.530 × 107 | 2.543 × 107 | 4.061 × 107 | 3.063 × 107 | 1.109 × 1010 | 8.549 × 107 | 1.059 | 4.7 | |
NS2025 | 1.786 × 107 | 2.769 × 107 | 3.654 × 107 | 2.965 × 107 | 1.119 × 1010 | 9.298 × 107 | 1.058 | 5.2 | |
VNS1997 | 5.753 × 106 | 2.762 × 107 | 3.779 × 107 | 3.596 × 107 | 1.308 × 1010 | 9.847 × 107 | 1.158 | 8.0 | |
VNS2025 | 5.050 × 106 | 2.543 × 107 | 3.815 × 107 | 3.603 × 107 | 1.242 × 1010 | 9.731 × 107 | 1.121 | 7.0 | |
NSG | 5.076 × 106 | 2.647 × 107 | 3.408 × 107 | 3.039 × 107 | 1.077 × 1010 | 8.560 × 107 | 1.028 | 3.3 | |
VNSG | 5.110 × 106 | 2.669 × 107 | 3.486 × 107 | 3.039 × 107 | 1.170 × 1010 | 8.744 × 107 | 1.045 | 4.5 | |
Total Cost LB GAP ((%) | MIP | 74.26% | 45.05% | 53.72% | 37.08% | 56.34% | 31.93% | - | - |
Greedy | 20.66% | 40.50% | 52.94% | 31.18% | 50.86% | 27.43% | - | - | |
GA | 22.35% | 45.05% | 53.44% | 31.37% | 43.53% | 17.68% | - | - | |
Lagrangian | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | - | - | |
NS1964 | 18.74% | 45.05% | 44.86% | 34.82% | 53.76% | 29.71% | - | - | |
NS2025 | 5.16% | 40.16% | 50.38% | 36.91% | 53.32% | 23.55% | - | - | |
VNS1997 | 69.45% | 40.32% | 48.69% | 23.49% | 45.45% | 19.04% | - | - | |
VNS2025 | 73.18% | 45.05% | 48.20% | 23.33% | 48.22% | 19.99% | - | - | |
NSG | 73.05% | 42.81% | 53.72% | 35.34% | 55.10% | 29.62% | - | - | |
VNSG | 72.87% | 42.33% | 52.67% | 35.34% | 51.20% | 28.11% | - | - | |
CostIQR (%) | MIP | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | - | 1.0 |
Greedy | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | - | 2.0 | |
GA | 11.01% | 8.12% | 11.49% | 2.87% | 1.19% | 7.20% | - | 6.8 | |
Lagrangian | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | - | 3.0 | |
NS1964 | 24.77% | 4.09% | 23.87% | 11.84% | 6.68% | 9.20% | - | 8.2 | |
NS2025 | 18.57% | 11.00% | 11.06% | 13.13% | 3.08% | 6.24% | - | 7.3 | |
VNS1997 | 23.53% | 20.82% | 4.49% | 17.33% | 8.38% | 12.36% | - | 8.8 | |
VNS2025 | 29.70% | 12.24% | 11.94% | 14.10% | 10.03% | 4.52% | - | 8.8 | |
NSG | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | - | 4.0 | |
VNSG | 2.82% | 0.00% | 0.00% | 0.00% | 0.00% | 4.48% | - | 5.0 | |
Time for Best Solution (s) | MIP | 0.16 | 0.10 | 0.07 | 0.12 | 0.15 | 1.34 | 50.330 | 5.0 |
Greedy | 0.03 | 0.69 | 2.24 | 3.79 | 4.51 | 112.79 | 606.742 | 8.0 | |
GA | 0.02 | 0.03 | 0.04 | 0.08 | 0.05 | 0.27 | 15.780 | 3.0 | |
Lagrangian | 0.04 | 0.44 | 1.31 | 2.71 | 3.25 | 86.00 | 464.278 | 7.0 | |
NS1964 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.03 | 1.000 | 1.0 | |
NS2025 | 0.00 | 0.00 | 0.01 | 0.01 | 0.01 | 0.05 | 2.151 | 2.0 | |
VNS1997 | 0.35 | 0.87 | 1.66 | 2.30 | 2.43 | 12.26 | 528.073 | 7.7 | |
VNS2025 | 0.44 | 0.84 | 1.40 | 2.04 | 2.42 | 9.85 | 500.429 | 7.0 | |
NSG | 0.07 | 0.06 | 0.23 | 0.15 | 0.10 | 0.50 | 41.096 | 4.7 | |
VNSG | 12.59 | 12.77 | 16.92 | 25.09 | 24.98 | 49.33 | 6107.573 | 9.7 | |
Silhouette | MIP | 0.3131 | 0.4505 | −0.2623 | −0.2657 | −0.3434 | −0.1849 | 1.420 | 4.0 |
Greedy | 0.2739 | 0.4505 | −0.2761 | −0.2379 | −0.2838 | −0.1983 | 1.348 | 5.8 | |
GA | 0.3131 | 0.4505 | −0.3260 | −0.2197 | −0.3412 | −0.2198 | 1.466 | 5.8 | |
Lagrangian | 0.1884 | 0.2518 | −0.1235 | −0.2790 | −0.3714 | −0.1339 | 1.011 | 6.7 | |
NS1964 | 0.2979 | 0.4505 | −0.0807 | −0.1764 | −0.3343 | −0.1951 | 1.085 | 4.2 | |
NS2025 | 0.3073 | 0.4720 | −0.1541 | −0.2837 | −0.3592 | −0.2184 | 1.367 | 6.0 | |
VNS1997 | 0.3013 | 0.4038 | −0.1445 | −0.1711 | −0.3338 | −0.2038 | 1.179 | 5.0 | |
VNS2025 | 0.2979 | 0.4505 | −0.1500 | −0.1853 | −0.2788 | −0.1897 | 1.172 | 4.3 | |
NSG | 0.3067 | 0.4332 | −0.2623 | −0.3257 | −0.3517 | −0.1913 | 1.468 | 6.8 | |
VNSG | 0.3131 | 0.4332 | −0.2623 | −0.3257 | −0.3431 | −0.1891 | 1.465 | 6.3 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Lin, J.; Yang, S.; Huang, K.; Wang, K.; Jang, S. Network- and Demand-Driven Initialization Strategy for Enhanced Heuristic in Uncapacitated Facility Location Problem. Mathematics 2025, 13, 2138. https://doi.org/10.3390/math13132138
Lin J, Yang S, Huang K, Wang K, Jang S. Network- and Demand-Driven Initialization Strategy for Enhanced Heuristic in Uncapacitated Facility Location Problem. Mathematics. 2025; 13(13):2138. https://doi.org/10.3390/math13132138
Chicago/Turabian StyleLin, Jayson, Shuo Yang, Kai Huang, Kun Wang, and Sunghoon Jang. 2025. "Network- and Demand-Driven Initialization Strategy for Enhanced Heuristic in Uncapacitated Facility Location Problem" Mathematics 13, no. 13: 2138. https://doi.org/10.3390/math13132138
APA StyleLin, J., Yang, S., Huang, K., Wang, K., & Jang, S. (2025). Network- and Demand-Driven Initialization Strategy for Enhanced Heuristic in Uncapacitated Facility Location Problem. Mathematics, 13(13), 2138. https://doi.org/10.3390/math13132138