2. Service Module Assignment Problem
The voter-to-module assignment is formulated as a binary optimization model. Each municipality j has inhabitants, and each INE module i can serve individuals per day over a fixed planning horizon of p days. The locations of modules and municipalities are denoted by and , respectively, and represents the travel distance between them. The binary decision variable indicates whether municipality j is assigned to module i.
The objective is to minimize the total travel distance weighted by the population:
Constraint (2) ensures each municipality is assigned to exactly one module, while constraint (3) enforces that no module exceeds its service capacity over the planning period. The model assumes that the total capacity () covers the overall demand ().
Given the NP-hard nature of this combinatorial problem [
13], heuristic methods are used to generate high-quality solutions in reasonable time. We define fitness as
, aligning optimization with cost minimization. Infeasible solutions are penalized or discarded, and post-processing ensures no module is overloaded.
In the broader context of participatory planning, societal involvement is increasingly valued in Mexico’s development, with governmental institutions seeking to incorporate diverse perspectives [
18]. However, the delivery of public services grows more complex with population expansion.
The 2020 INEGI census reported 88,107 individuals aged 17–18 residing in 16 municipalities across the Toluca Valley (
Figure 1), representing a considerable demand for voter registration services.
Upon reaching age 18, individuals are entitled to obtain a voter identification card, an essential document for civic participation and official identification [
19]. Initially, registration was limited to the individual’s electoral district. However, recent reforms allow registration at any module in the country [
19].
While this policy offers flexibility, it also introduces logistical challenges: uneven module demand results in long queues, forcing individuals to travel farther, thus increasing cost and time burdens. This study examines the allocation problem using data from 10 modules in the Toluca Valley.
As illustrated in
Figure 2, the allocation challenge is combinatorially complex, highlighting the need for heuristic approaches rather than exact algorithms.
Following [
2], one of the major challenges in public service design is the development of adaptable models that respond to population growth and changing demand. Efficient assignment models can facilitate INE registration by minimizing travel burden and aligning service demand with module capacity.
In our model, represents the road distance (in kilometers) based on the Google Maps API, offering greater practical accuracy than Euclidean measures. The fixed time horizon p (e.g., 9 days) applies uniformly to all modules.
The assignment variables include the following: n = number of municipalities, m = number of modules, = youth population in municipality j, = coordinates of module i, = coordinates of municipality j, = assignment indicator, = module capacity per day, and p = number of service days.
This formalization supports the design of equitable, efficient service distribution strategies that respond to real-world demands.
6. Conclusions and Future Work
Based on the results obtained, several conclusions and future research directions can be drawn.
This study presents a heuristic-based solution for assigning municipal populations to INE modules, addressing a national challenge using a case study in the Toluca Valley. Although the current model focuses on a specific region, it is adaptable and scalable to other areas of Mexico, provided population and module capacity data are available.
The allocation results successfully minimize the number of service days required while ensuring total population coverage. This contributes to improving citizen attention and alleviating service overload at specific modules in the study area.
While some heuristics complete in shorter execution times, their performance improves significantly when initialized with high-quality inputs. Notably, genetic algorithms and ant colony optimization produced the most robust outcomes. Their results can serve as effective initializations for other heuristics, accelerating convergence and avoiding local optima.
Nonetheless, the heuristics show limitations in finding feasible solutions consistently and quickly. As [
23] explains, infeasibility can arise due to three primary reasons: (1) unassigned clients, (2) over-assigned clients, and (3) excess service capacity. These issues introduce various sub-problems. The first two are typically addressed through constraints ensuring solution feasibility. However, the third issue—underutilization of capacity—remains a complex challenge requiring further investigation.
For future work, a dynamic partitioning approach is recommended, whereby the municipal population is adaptively divided during heuristic execution. Although this could increase computational time and the risk of infeasibility, it may uncover solutions that static partitions do not reveal.
The proposed hybrid heuristic framework is scalable and suitable for larger datasets, including national-level electoral planning. Future implementations should explore parallel processing and memory optimization to maintain efficiency. Moreover, heuristic parameter tuning should be refined to handle larger solution spaces. An important research direction is the development of distributed models to enable real-time assignment in national administrative systems.
Although this study evaluated multiple heuristics, future research may focus on fine-tuning a single algorithm—such as the genetic algorithm—for deeper optimization. This includes advanced calibration techniques and machine learning methods to improve solution quality and scalability across varying scenarios.
Author Contributions
Conceptualization, E.J., M.R. and J.-R.M.-R.; methodology, E.J., M.R. and J.-R.M.-R.; software, E.J.; validation, E.J., M.R. and J.-R.M.-R.; formal analysis, E.J., M.R. and J.-R.M.-R.; investigation, E.J., M.R. and J.-R.M.-R.; resources, E.J.; data curation, E.J., M.R. and J.-R.M.-R.; writing—original draft preparation, E.J.; writing—review and editing, E.J., M.R. and J.-R.M.-R. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in the study are posted in
https://edgarjardon.blog/codigos-fuente (accessed on 20 February 2025), further inquiries can be directed to the corresponding author.
Acknowledgments
We would like to extend our sincere gratitude to SECIHTI (Secretaría de Ciencia, Humanidades, Tecnología e Innovación) for their support in the development of this research. Their assistance has been instrumental in enabling us to explore new methodologies in urban modeling and spatial analysis. We appreciate their dedication to advancing scientific research and contributing to studies that address key challenges in urban planning and sustainable development.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Pezzica, C.; Cutini, V.; de Souza, C.B. Mind the gap: State of the art on decision-making related to post-disaster housing assistance. Int. J. Disaster Risk Reduct. 2021, 53, 101975. [Google Scholar] [CrossRef]
- Chouksey, A.; Agrawal, A.K.; Tanksale, A.N. A hierarchical capacitated facility location-allocation model for planning maternal healthcare facilities in India. Comput. Ind. Eng. 2022, 167, 107991. [Google Scholar] [CrossRef]
- Densham, P.J.; Rushton, G. Strategies for solving large location-allocation problems by heuristic methods. Environ. Plan. A 1992, 24, 289–304. [Google Scholar] [CrossRef]
- Ferone, D.; Gruler, A.; Festa, P.; Juan, A.A. Enhancing and extending the classical GRASP framework with biased randomisation and simulation. J. Oper. Res. Soc. 2019, 70, 1362–1375. [Google Scholar] [CrossRef]
- Borisovsky, P.; Dolgui, A.; Eremeev, A. Genetic algorithms for a supply management problem: MIP-recombination vs greedy decoder. Eur. J. Oper. Res. 2009, 195, 770–779. [Google Scholar] [CrossRef]
- Mohammad, A.; Fard, F.; Hajiaghaei-Keshteli, M.; Paydar, M. A location-allocation-routing model for a home health care supply chain problem. Int. J. Ind. Eng. 2018, 12, 274–278. [Google Scholar]
- Ríos-Mercado, R.Z. Optimal Districting and Territory Design; Springer: Cham, Switzerland, 2020. [Google Scholar]
- Reid Calderón, S.; Nicolis, O.; Peralta, B.; Menares, F. Predicción de casos de COVID-19 y modelo de localización-asignación de bases y ambulancias considerando factores de vulnerabilidad. Ingeniare Revista Chilena de Ingeniería 2021, 29, 564–582. [Google Scholar] [CrossRef]
- Li, G.; Li, J. An improved tabu search algorithm for the stochastic vehicle routing problem with soft time windows. IEEE Access 2020, 8, 158115–158124. [Google Scholar] [CrossRef]
- Mendoza, J.E.; Rousseau, L.M.; Villegas, J.G. A hybrid metaheuristic for the vehicle routing problem with stochastic demand and duration constraints. J. Heuristics 2016, 22, 539–566. [Google Scholar] [CrossRef]
- Zhang, Y.; Duan, W.; Zhao, H. A hybrid heuristic framework for combinatorial optimization problems. Appl. Soft Comput. 2020, 95, 106516. [Google Scholar]
- Saghaeeian, A.; Ramezanian, R. An efficient hybrid genetic algorithm for multi-product competitive supply chain network design with price-dependent demand. Appl. Soft Comput. 2018, 71, 872–893. [Google Scholar] [CrossRef]
- Rezaei, S.; Kheirkhah, A. A comprehensive approach in designing a sustainable closed-loop supply chain network using cross-docking operations. Comput. Math. Organ. Theory 2018, 24, 51–98. [Google Scholar] [CrossRef]
- Liu, Y.; As’arry, A.; Hassan, M.K.; Hairuddin, A.A.; Mohamad, H. Review of the grey wolf optimization algorithm: Variants and applications. Neural Comput. Appl. 2024, 36, 2713–2735. [Google Scholar] [CrossRef]
- Amiriebrahimabadi, M.; Mansouri, N. A comprehensive survey of feature selection techniques based on whale optimization algorithm. Multimed. Tools Appl. 2024, 83, 47775–47846. [Google Scholar] [CrossRef]
- Zamani, H.; Nadimi-Shahraki, M.H. An evolutionary crow search algorithm equipped with interactive memory mechanism to optimize artificial neural network for disease diagnosis. Biomed. Signal Process. Control 2024, 90, 105879. [Google Scholar] [CrossRef]
- Ayati, A.; Naji, H.R.; Hashemi, M.M.; Saffar, M. Optimizing location allocation in urban management: A brief review. In Proceedings of the 29th International Computer Conference, Computer Society of Iran (CSICC), Tehran, Iran, 5–6 February 2025; pp. 1–7. [Google Scholar]
- Sedeño, J.O. La efectividad del Tribunal Electoral y el INE: Los derechos humanos y los conflictos laborales en México. Rev. Mex. Estud. Electorales 2020, 4, 177–203. [Google Scholar]
- National Electoral Institute (INE). Trámite de Credencial para Votar. 2022. Available online: https://www.ine.mx/credencial/tramite-credencial-tipo/ (accessed on 11 June 2025).
- Jardón, E.; Romero, M.; Marcial-Romero, J.R. A model to optimize the allocation of public administrative services. Comput. Sist. 2025, 29, 229–239. [Google Scholar] [CrossRef]
- Cerqueira, G.R.L.; Aguiar, S.S.; Marques, M. Modified greedy heuristic for the one-dimensional cutting stock problem. J. Comb. Optim. 2021, 42, 657–674. [Google Scholar] [CrossRef]
- Chouman, M.; Crainic, T. A MIP-Tabu Search Hybrid Framework for Multicommodity Capacitated Fixed-Charge Network Design; CIRRELT Report; CIRRELT: Québec, QC, Canada, 2010; pp. 1–25. [Google Scholar]
- Maniezzo, V.; Stützle, T.; Voß, S. Matheuristics; Springer: New York, NY, USA, 2021. [Google Scholar]
- Franzin, A.; Stützle, T. Revisiting simulated annealing: A component-based analysis. Comput. Oper. Res. 2019, 104, 191–206. [Google Scholar] [CrossRef]
- Burke, E.K.; Hyde, M.R.; Kendall, G. Grammatical evolution of local search heuristics. IEEE Trans. Evol. Comput. 2012, 16, 406–417. [Google Scholar] [CrossRef]
- Aydın, D.; Yavuz, G.; Stützle, T. ABC-X: A generalized, automatically configurable artificial bee colony framework. Swarm Intell. 2017, 11, 1–38. [Google Scholar] [CrossRef]
- Pérez Cáceres, L.; López-Ibáñez, M.; Stützle, T. Ant colony optimization on a limited budget of evaluations. Swarm Intell. 2015, 9, 103–124. [Google Scholar] [CrossRef]
| 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/).