Next Article in Journal
Nanoparticle-Mediated Drug Delivery: Enhancing Therapeutic Efficacy and Minimizing Toxicity
Previous Article in Journal
Study of the Kapton-H Fundamental Absorption Edge and Tailing Behaviour
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Transport Optimization in the Supply Chain Using the Ant Colony Algorithm †

1
Textile Engineering Laboratory (LGTex), LR11ES42, University of Monastir, Ksar Hellal 5070, Tunisia
2
Textile Engineering Department, Higher Institute of Technological Studies of Ksar-Hellal, Ksar Hellal 5070, Tunisia
3
Center of Excellence in Logistics (CELOG), School of Textile and Clothing (ESITH), Casablanca 20000, Morocco
*
Author to whom correspondence should be addressed.
Presented at the 1st International Conference on Smart Management in Industrial and Logistics Engineering (SMILE 2025), 16–19 April 2025, Casablanca, Morocco.
Eng. Proc. 2025, 97(1), 56; https://doi.org/10.3390/engproc2025097056
Published: 30 September 2025

Abstract

The shortest path problem is algorithmic and involves finding the least costly path (in terms of distance, time, cost, or other criteria) between two nodes in a graph. This problem is fundamental in graph theory and has applications in logistics, networks, mapping, and more. Several methods have been used to solve this problem. In this paper, we applied the ant colony algorithm to optimize the travel path of product quality technicians in a textile company specializing in washing and dyeing denim items. The company aims to minimize distances and costs between its subcontractors. The method has demonstrated a significant impact on distance and cost reduction while contributing to the reduction of the environmental effects.

1. Introduction

The path-finding problem is determining the optimal path from a starting point to a destination, considering specific conditions. These problems arise in networks such as highway systems, railroads, logistics, and communication networks, and they cover a wide range of applications [1]. In the literature, various studies are concerned with this topic in several fields, but few studies have been published in the textile and apparel field. Shin and Young used a heuristic algorithm in the fashion apparel industry to solve the problem of restocking and distribution. They used this approach to reduce the distribution lead time between manufacturers and retailers [2]. Guo et al. used a hybrid intelligent algorithm to optimize production and delivery operations in the apparel supply chain. This approach was used to minimize the total transport and penalty costs [3]. A genetic algorithm was used by Yu and Lu to optimize the cutting path of an automatic garment cutter [4]. In addition, other scientific works dealing with this problem in the manufacturing field are numerous. In this section, we present some of them to highlight the wide variety of applications. Koopahi applied a linear programming model for a material replenishing, manufacturing, and distribution network to obtain the optimal transportation pattern for a food processing company to minimize transportation costs [5].
Clement explores the use of AI-based predictive analytics to optimize the textile industry’s supply chain, addressing challenges such as fluctuating demand and logistical inefficiencies. He proposes a hybrid framework combining deep learning, reinforcement learning, and time series forecasting, validated by real-world data. The results show that this approach can reduce lead times, improve resource allocation, and minimize waste, thereby contributing to profitability and sustainability [6]. Wang et al. developed a flexible scheduling strategy to optimize task allocation on automated production lines by introducing an improved genetic algorithm. This algorithm dynamically adjusts crossover and mutation rates and sorts individuals based on their fitness, thereby improving solution quality. Simulations show that this approach reduces production time by 26% compared to traditional methods, while providing faster convergence and increased optimization capabilities [7]. Sun et al. examined freight route optimization for multimodal transportation, a key solution for reducing international logistics costs, which represent 30–50% of companies’ total production costs. Their study provides a systematic review of optimization models and solution algorithms, distinguishing model formulation characteristics and identifying recent approaches. Emphasis is placed on heuristic algorithms to solve these models and improve the efficiency of multimodal transportation [8]. Farahmand and Afrasyabi developed a multi-objective quantum particle swarm optimization (MOQPSO) approach to address routing problems in urban transportation networks. Their method aims to reduce route length while improving system efficiency, through the integration of quantum techniques and specific modifications. The results obtained demonstrate that the MOQPSO algorithm outperforms classical approaches by providing optimal solutions faster [9]. After a thorough literature search, several studies were found to solve the shortest path problem; however, research studies in the clothing industry are still limited. In this paper, an ant colony algorithm was used to optimize the transportation of technicians between laundry subcontractors with minimum distance and cost. This approach aims to minimize the distances traveled, reduce fuel costs, and limit the company’s carbon footprint. By streamlining travel and promoting more efficient logistics, this project is part of a sustainable development dynamic. It also reflects a strong commitment to supporting the textile sector in its ecological transition, by adopting responsible practices that combine optimization of resources and reduction of environmental impacts.

2. Materials and Methods

2.1. Materials and Software Used

In this research, we used a high-performance laptop (Micro-Star International, New Taipei City, Taiwan) equipped with a 2.60 GHz Intel Core i7-9750H processor, 16 GB of RAM, and an NVIDIA GTX 1650 graphics card. A 512 GB SSD ensures fast data access, thus optimizing loading times. All calculations were performed using MATLAB software version 2017.

2.2. Method

Ant Colony Algorithm

Dorigo proposed the ant colony in 1996 [10]. Ant colony algorithms are inspired by the cooperative behavior of ants. They have developed very complex mechanisms to find the shortest path between their anthill and a food source. Ants release a trail of pheromones on their path that attracts their fellow ants passing nearby. The pheromone trails weaken over time, and we see that if there are several paths between the anthill and the food source, the shortest path will tend to strengthen and become more and more attractive to the detriment of the other paths where the pheromones will gradually become weaker and weaker and finally disappear. Dorigo applied ant colony to solve the traveling salesman problem [11]. The flowchart of the ant colony algorithm is presented in Figure 1.

3. Results and Discussion

3.1. Evaluation Test

In this study, we applied the Ant Colony Optimization (ACO) algorithm to optimize technician routes, a complex task that requires the consideration of several logistical factors. The algorithm was used to determine the shortest path connecting all laundry subcontractors while aiming to minimize not only the distance traveled but also the costs associated with technician travel. This optimization process is essential to improve operational efficiency and reduce operating costs. Table 1 details the locations of laundry subcontractors and the distances between them, providing the basic data needed for route modeling.
In our case study, we used the following parameters:
  • The number of ants is equal to the number of subcontractors equal to 5;
  • The parameters α and β are equal to 1;
  • The initial pheromone is τi,j(0) = 2; Q = 100.
We chose the parameter values (α = β = 1, initial pheromone τ = 2, Q = 100) based on classical recommendations from the ant colony algorithm (ACA) literature, which suggest that these values are often effective in simple scenarios and achieve good convergence in vehicle routing problems.
  • Step 1: Calculate the paths taken for each ant.
In this step, we started the first iteration, in which each ant traveled through all the subcontractors. The results obtained, including the total distance traveled and the amount of pheromones deposited by each ant, are summarized in Table 2.
  • Step 2: Update the pheromones by applying the following formula:
τ i j ( t + 1 ) = ( 1 ρ ) τ i j ( t ) + k = 1 m Δ τ i j k ( t ) ;   with   ρ = 0.5
The pheromone update is presented in Table 3.
Once the pheromones were updated, we performed a second iteration for each ant. At the end of this iteration, the paths traveled by each ant, as well as the distances associated with each of these paths, were determined and are presented in Table 4.
In another part, we determined the pheromone heat map, as presented in Figure 2.
Figure 2 represents the pheromone matrix obtained at the 100th iteration of the ant colony algorithm (ACO). Each cell of the matrix indicates the quantity of pheromone deposited on the path connecting two subcontractors. Brighter colors (yellow) indicate a high concentration of pheromones, corresponding to the paths most frequently taken by virtual ants, while darker shades (blue) indicate less frequently used paths.
Analysis of this matrix highlights a high intensity of pheromones on paths A→B, B→C, C→D, D→E, and E→A, which forms an optimal closed circuit passing successively through all the subcontractors before returning to the starting point. This indicates that the algorithm has converged to an optimum. The low intensity of the other cells suggests that alternative paths were explored but ultimately abandoned in favor of this preferred route. Thus, Figure 2 clearly illustrates the ACO algorithm’s ability to learn and reinforce the best paths through the selective accumulation of pheromones, leading to a stable and efficient solution.
According to Table 4, the ant colony algorithm has concluded that all ants have followed the same path and completed the same number of iterations.
To evaluate our work, we take five paths taken by the technician as a test sample to compare the results found by the ant colony and others registered by the technician, as presented in Table 5.

3.2. Statistical Study and Analysis Results

Based on Table 5, we conducted a comparative statistical analysis of technicians vs. ACO, as presented in Table 6.
The comparative statistical study between the routes planned by the technicians and those proposed by the ant colony algorithm (ACO) presented in Table 6 and Figure 3 shows a clear improvement in terms of performance. On average, the distance traveled was reduced by 67.6%, from 27.8 km to only 9 km, while the cost was reduced by 11.55%, offering a solution that is both more economical and more efficient. In addition, the results produced by the ACO present perfect regularity (zero standard deviation), reflecting a convergence towards a reproducible optimal solution.

4. Conclusions

This paper shows that the ant colony algorithm is particularly effective in finding the shortest path while optimizing both the distance traveled and the associated cost. On average, the distance is reduced by 67.6% and the cost by 11.55%. This optimization has significant impacts on the environment, particularly by reducing the carbon footprint. By reducing distances and costs, this algorithm contributes to a decrease in greenhouse gas emissions, thus promoting a positive impact on environmental sustainability.

Author Contributions

M.L., A.B. and M.J. contributed to the model development and conducted the experiments. M.H. assisted with revising the manuscript, focusing on its scientific and analytical aspects. M.L. prepared the manuscript, incorporating input and contributions from all co-authors. All authors have read and agreed to the published version of the manuscript.

Funding

This research study is funded by the Ministry of Higher Education and Scientific Research in the frame of the TUNISO-MOROCCAN cooperation program; the R&D project reference is 20/PRD-25.

Institutional Review Board Statement

This study does not require ethical approval.

Informed Consent Statement

Not applicable.

Data Availability Statement

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

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Noto, M.; Sato, H. A method for the shortest path search by extended Dijkstra algorithm. In Proceedings of the SMC 2000 Conference Proceedings, 2000 IEEE International Conference on Systems, Man and Cybernetics, ’Cybernetics Evolving to Systems, Humans, Organizations, and Their Complex Interactions, Nashville, TN, USA, 8–11 October 2000; pp. 2316–2320. [Google Scholar]
  2. Sung, S.W.; Jang, Y.J. Heuristic for the assort-packing and distribution problem in the fashion apparel industry. Int. J. Prod. Res. 2018, 56, 3116–3133. [Google Scholar] [CrossRef]
  3. Guo, Z.; Chen, J.; Ou, G.; Liu, H. Coordinated Optimization of Production and Delivery Operations in Apparel Supply Chains Using a Hybrid Intelligent Algorithm. In Proceedings of the International Conference on Artificial Intelligence on Textile and Apparel, Hongkong, China, 3–6 July 2018; pp. 9–15. [Google Scholar]
  4. Yu, W.; Lu, L. A route planning strategy for the automatic garment cutter based on genetic algorithm. In Proceedings of the 2014 IEEE Congress on Evolutionary Computation (CEC), Beijing, China, 6–11 July 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 379–386. [Google Scholar]
  5. Koopahi, M.; Kiani, G. Optimal transportation schedule of wheat using mathematical models. Iran. J. Agric. Sci. 2006, 37, 127–135. [Google Scholar]
  6. Clement, M. AI-Driven Predictive Analytics for Supply Chain Optimization in Textile Manufacturing. 2025. Available online: https://www.researchgate.net/publication/390489029_AI-Driven_Predictive_Analytics_for_Supply_Chain_Optimization_in_Textile_Manufacturing (accessed on 29 May 2025).
  7. Wang, D.; Peng, X.; Qin, H. Improved genetic algorithm for optimizing flexible workshop scheduling. In Proceedings of the International Conference on Mechatronics and Intelligent Control (ICMIC 2024), Changsha, China, 18–20 September 2025; SPIE: Bellingham, WA, USA, 2025; Volume 13447, pp. 475–485. [Google Scholar]
  8. Sun, Y.; Lang, M.; Wang, D. Optimization models and solution algorithms for freight routing planning problem in the multi-modal transportation networks: A review of the state-of-the-art. Open Civ. Eng. J. 2015, 9, 714–723. [Google Scholar] [CrossRef]
  9. Farahmand-Tabar, S.; Afrasyabi, P. Multi-modal Routing in Urban Transportation Network Using Multi-objective Quantum Particle Swarm Optimization. In Applied Multi-Objective Optimization; Springer Nature Singapore: Singapore, 2024; pp. 133–154. [Google Scholar]
  10. Dorigo, M.; Maniezzo, V.; Colorni, A. Ant system: Optimization by a colony of cooperating agents. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 1996, 26, 29–41. [Google Scholar] [CrossRef] [PubMed]
  11. Dorigo, M.; Gambardella, L.M. Ant colonies for the travelling salesman problem. Biosystems 1997, 43, 73–81. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Flowchart of ant colony algorithm.
Figure 1. Flowchart of ant colony algorithm.
Engproc 97 00056 g001
Figure 2. Pheromone heat map.
Figure 2. Pheromone heat map.
Engproc 97 00056 g002
Figure 3. The effect of applying the ant colony algorithm on the used parameters.
Figure 3. The effect of applying the ant colony algorithm on the used parameters.
Engproc 97 00056 g003
Table 1. Distance between subcontractors.
Table 1. Distance between subcontractors.
ABCDE
A021083
B10257
C91036
D104302
E27510
Table 2. The traveled length and the pheromone for each ant (k).
Table 2. The traveled length and the pheromone for each ant (k).
kLkΔτi,jk
1119.1
2911.1
3911.1
4119.1
5911.1
Table 3. Pheromone update.
Table 3. Pheromone update.
ABCDE
A019.21134.3
B34.3019.211
C134.3031
D1134.3019.2
E19.21134.30
Table 4. The second iteration for the five ants.
Table 4. The second iteration for the five ants.
The Path Traveled by Each AntLength Path (KM)
A, E, D, C, B, A9
B, A, E, D, C, B9
C, B, A, E, D, C9
D, C, B, A, E, D9
E, D, C, B, A, E9
Table 5. Traveled paths.
Table 5. Traveled paths.
Technician’s ResultsAnt Colony Results
PathThe Path Traveled by a TechnicianPath Length (KM)Cost (dt)The Path Traveled by Each AntPath Length (KM)Cost
A→AA, B, E, C, D, A2725.37A, E, D, C, B, A922.44
B→BB, D, C, A, E, B2725.37B, A, E, D, C, B922.44
C→CC, A, D, E, B, C2825.37C, B, A, E, D, C922.44
D→DD, A, C, B, E, D2925.37D, C, B, A, E, D922.44
E→EE, B, D, A, C, E2825.37E, D, C, B, A, E922.44
Table 6. Comparative statistical analysis.
Table 6. Comparative statistical analysis.
IndicatorTechnicianACO (Ant Colony Optimization)
Average Distance (km)27.8 km9 km
Average Cost (dt)25.37 dt22.44 dt
Standard Deviation (Distance)≈0.748 km0 km
Standard Deviation (Cost)0 dt (fixed cost)0 dt (same for all ants)
Min/Max Distance27 km/29 km9 km/9 km
Min/Max Cost25.37 dt/25.37 dt22.44 dt/22.44 dt
Performance Gain+67.6% (distance), +11.55% (cost)
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

Lahdhiri, M.; Jmali, M.; Babay, A.; Hlyal, M. Transport Optimization in the Supply Chain Using the Ant Colony Algorithm. Eng. Proc. 2025, 97, 56. https://doi.org/10.3390/engproc2025097056

AMA Style

Lahdhiri M, Jmali M, Babay A, Hlyal M. Transport Optimization in the Supply Chain Using the Ant Colony Algorithm. Engineering Proceedings. 2025; 97(1):56. https://doi.org/10.3390/engproc2025097056

Chicago/Turabian Style

Lahdhiri, Mourad, Mohamed Jmali, Amel Babay, and Mustapha Hlyal. 2025. "Transport Optimization in the Supply Chain Using the Ant Colony Algorithm" Engineering Proceedings 97, no. 1: 56. https://doi.org/10.3390/engproc2025097056

APA Style

Lahdhiri, M., Jmali, M., Babay, A., & Hlyal, M. (2025). Transport Optimization in the Supply Chain Using the Ant Colony Algorithm. Engineering Proceedings, 97(1), 56. https://doi.org/10.3390/engproc2025097056

Article Metrics

Back to TopTop