Ant Colony Optimization on Crowdsourced Delivery Trip Consolidation

Similar documents
Solution to a Multi Depot Vehicle Routing Problem Using K-means Algorithm, Clarke and Wright Algorithm and Ant Colony Optimization

APPLICATION SOFTWARE DESIGN FOR OPTIMIZATION CABLE INSTALLATION WITH ANT COONY METHOD

Ant Colony Optimisation

Use of Genetic Algorithms in Discrete Optimalization Problems

Ant Colony Optimization

Heuristic Techniques for Solving the Vehicle Routing Problem with Time Windows Manar Hosny

Solving VRP in an Indian Transportation Firm through Clark and Wright Algorithm: A Case Study

ANT COLONY OPTIMIZATION FOR TOURIST ROUTE

Short term strategies for a dynamic multi-period routing problem

Artificial Intelligence Computational Techniques to Optimize a Multi Objective Oriented Distribution Operations

Advanced Metaheuristics. Daniele Vigo D.E.I. - Università di Bologna

A Particle Swarm Optimization Algorithm for Multi-depot Vehicle Routing problem with Pickup and Delivery Requests

Online Vehicle Routing: The Edge of Optimization in Large-Scale Applications

Dynamic Vehicle Routing and Dispatching

Design and Development of Enhanced Optimization Techniques based on Ant Colony Systems

Pro-active Dynamic Vehicle Routing

OPTIMIZATION OF A MULTI-OBJECTIVE-MULTI-PERIOD TRAVELING SALESMAN PROBLEM WITH PICKUP AND DELIVERY USING GENETIC ALGORITHM SEYED POURYA POURHEJAZY

Multi-depot Vehicle Routing Problem with Pickup and Delivery Requests

Procedia - Social and Behavioral Sciences 109 ( 2014 ) Selection and peer review under responsibility of Organizing Committee of BEM 2013.

A Viral Systems Algorithm for the Traveling Salesman Problem

Simulation based layout design of large sized multi-row Flexible Manufacturing Systems

Ant Systems of Optimization: Introduction and Review of Applications

Optimum Design of Water Conveyance System by Ant Colony Optimization Algorithms

IMPLEMENTATION OF EFFECTIVE BED ALLOCATION AND JOB SCHEDULING IN HOSPITALS USING ANT COLONY OPTIMIZATION

Presenting a New Ant Colony Optimization Algorithm (ACO) for Efficient Job Scheduling in Grid Environment

DATA SCIENCE Journal of Computing and Applied Informatics

A new idea for train scheduling using ant colony optimization

Waiting Strategies for Regular and Emergency Patient Transportation

A DETERMINISTIC ANNEALING ALGORITHM FOR THE PRE- AND END-HAULAGE OF INTERMODAL CONTAINER TERMINALS

Ant Colony Optimization

Insertion based Ants for Vehicle Routing Problems with Backhauls and Time Windows. Marc Reimann Karl Doerner Richard F. Hartl

A HEURISTIC FOR THE SOLUTION OF VEHICLE ROUTING PROBLEMS WITH TIME WINDOWS AND MULTIPLE DUMPING SITES IN WASTE COLLECTION

Solving Multi-Objective Multi-Constraint Optimization Problems using Hybrid Ants System and Tabu Search

Evaluating Library Services Quality Using GDSS-AHP, LibQual, and IPA

Université Libre de Bruxelles

Solving the Vehicle Routing Problem with Multiple Multi-Capacity Vehicles

Incorporating Psychology Model of Emotion into Ant Colony Optimization Algorithm

Optimization Using Simulation of the Vehicle Routing Problem

A Study of Crossover Operators for Genetic Algorithms to Solve VRP and its Variants and New Sinusoidal Motion Crossover Operator

Cover Page. Author: Zhiwei Yang Title: Meta-heuristics for vehicle routing and inventory routing problems Issue Date:

Metaheuristics. Approximate. Metaheuristics used for. Math programming LP, IP, NLP, DP. Heuristics

Optimizing the Construction Job Site Vehicle Scheduling Problem

An Approach for Solving Multiple Travelling Salesman Problem using Ant Colony Optimization

OPTIMIZATION OF MULTI-TRIP VEHICLE ROUTING PROBLEM WITH TIME WINDOWS USING GENETIC ALGORITHM

Chapter 15 A Mathematical Model to Optimize Transport Cost and Inventory Level in a Single Level Logistic Network

Hybrid MIP method for a Pickup and Delivery Problem with Time Windows and Dock Service Constraints

weather monitoring, forest fire detection, traffic control, emergency search and rescue A.y. 2018/19

Hybrid approaches to the Repositioning Problem in Bicycle-Sharing Systems

Solving CCVRPTW using biased random key genetic algorithm (BRKGA) with multiple parent

AN ANT COLONY APPROACH TO SOLVE A VEHICLE ROUTING PROBLEM IN A FMCG COMPANY SRINIVAS RAO T & PRAKASH MARIMUTHU K

ANT COLONY ALGORITHM APPLIED TO FUNDAMENTAL FREQUENCY MAXIMIZATION OF LAMINATED COMPOSITE CYLINDRICAL SHELLS

Trip attraction model of central market in Poso City based on multiple linier regression model

Tabu Search for the Vehicle Routing Problem with Multiple Trips, Time Windows and Simultaneous Delivery-Pickup

Relative Study of CGS with ACO and BCO Swarm Intelligence Techniques

Using the Ant Colony Algorithm for Real-Time Automatic Route of School Buses

An Early Exploratory Method to Avoid Local Minima in Ant Colony System

Strategies for Coordinated Drayage Movements

UNMANNED AERIAL VEHICLES (UAVS)

Natural Computing. Lecture 10: Ant Colony Optimisation INFR /10/2010

UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF A HEURISTIC PROCEDURE FOR BALANCING MIXED MODEL PARALLEL ASSEMBLY LINE TYPE II GHOLAMREZA ESMAEILIAN

Department of Computer Science, BITS Pilani - K. K. Birla Goa Campus, Zuarinagar, Goa, India

Title: A Column Generation Algorithm for the Log Truck Scheduling Problem.

A MICROSCOPIC TRAFFIC SIMULATION BASED DECISION SUPPORT SYSTEM FOR REAL-TIME FLEET MANAGEMENT

Hours of service regulations in road freight transport: an optimization-based international assessment. Thibaut Vidal

Dynamic Vehicle Routing: State-of-the-art and some Research Perspectives

Determination of a Fair Price for Blood Transportation by Applying the Vehicle Routing Problem: A Case for National Blood Center, Thailand

OPTIMIZATION OF LOGISTIC PROCESSES USING ANT COLONIES

Combination of nearest neighbor and heuristics algorithms for sequential two dimensional loading capacitated vehicle routing problem

SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION

A New Fuzzy Logic Approach to Dynamic Dial-a-Ride Problem

Implementations of TSP-VRP Variants for Distribution Problem

A Process Oriented Modeling Concept for Rich Vehicle Routing Problems

An Evolutionary Approach to Pickup and Delivery Problem with Time Windows

Capacitated Vehicle Routing Problem with Time Windows: A Case Study on Pickup of Dietary Products in Nonprofit Organization.

Multi-vehicle Dispatching And Routing With Time Window Constraints And Limited Dock Capacity

An Improved Ant Colony Algorithm for Optimal Path of Travel Research and Simulation

Vehicle Routing with Departure Smoothing

ABSTRACT. Keywords: Quality cost reports, Managerial decision making. vii. Universitas Kristen Maranatha

BY: DAVIN VALENTIN SETIAWAN

THE SOUTH AFRICAN POST OFFICE SUPPLY CHAIN DESIGN AND ROUTE OPTIMISATION BPJ 420 Final Report

Faculty of Cognitive Sciences and Human Development

ABSTRACT. Timetable, Urban bus network, Stochastic demand, Variable demand, Simulation ISSN:

Modeling and optimization of ATM cash replenishment

A Tabu Search Metaheuristic Algorithm for the Multiple Depot Vehicle Routing Problem with Time Windows

THE INFLUENCE OF CELEBRITY ENDORSEMENT AND CONSUMER TRUST TOWARD PURCHASE INTENTION IN DOTIC DONUT INSTAGRAM IN MALANG.

ABSTRAhr. Model Berbilang gilir Berbilang Pelayan da1an.t Teori Baris gilir digunakan untuk

AIR FORCE INSTITUTE OF TECHNOLOGY

SCHEDULING AND CONTROLLING PRODUCTION ACTIVITIES

Cloud Load Balancing Based on ACO Algorithm

Vendor Managed Inventory vs. Order Based Fulfillment in a. Specialty Chemical Company

The Development of Hybrid Cross Entropy-Genetic Algorithm for Multi-Product Inventory Ship Routing Problem with Heterogeneous Fleet

INTEGRATED PROCESS PLANNING AND SCHEDULING WITH SETUP TIME CONSIDERATION BY ANT COLONY OPTIMIZATION

The Two-Echelon Capacitated Vehicle Routing. Problem

PI-Controller Tuning For Heat Exchanger with Bypass and Sensor

Post-doc researcher, IRIDIA-CoDE, Université Libre de Bruxelles, Bruxelles, Belgium.

Vehicle Routing with Cross Docks, Split Deliveries, and Multiple Use of Vehicles. Arun Kumar Ranganathan Jagannathan

CVEN 5393 April 1, 2013

IT PROJECT DISTRIBUTION AUTOMATION

A VEHICLE ROUTING PROBLEM WITH STOCHASTIC TRAVEL TIMES. T. Van Woensel, L. Kerbache, H. Peremans and N. Vandaele

AN ADAPTIVE LARGE NEIGHBORHOOD SEARCH ALGORITHM FOR A SELECTIVE & PERIODIC INVENTORY ROUTING PROBLEM

Transcription:

IJCCS, Vol.11, No.2, July 2017, pp. 109~118 ISSN: 1978-1520 Ant Colony Optimization on Crowdsourced Delivery Trip Consolidation Victor Paskalathis* 1, Azhari SN. 2 1 Program Studi S2 Ilmu Komputer, FMIPA UGM, Yogyakarta, Indonesia 2 Jurusan Ilmu Komputer dan Elektronika, FMIPA UGM, Yogyakarta, Indonesia e-mail: * 1 vic.easter@gmail.com, 2 arisn.softcomp@gmail.com 109 Abstrak Pengiriman barang berbasis urun daya umumnya dilakukan melalui pengiriman langsung, yakni dengan mengutus kurir terdekat dari lokasi asal. Jarak tempuh keseluruhan dapat dikurangi melalui pengambilan dan pengiriman jamak, yakni dengan memperbanyak jumlah permintaan yang dapat dipenuhi dalam satu perjalanan. Penelitian ini mengimplementasikan algoritma eksak untuk menyelesaikan masalah konsolidasi hingga tiga permintaan dalam satu perjalanan. Algoritma serakah digunakan untuk menyusun rute awal berdasarkan penghematan jarak tertinggi. Hasilnya kemudian dioptimasi menggunakan algoritma semut. Dalam penelitian ini empat skenario dibandingkan, yakni skenario pengiriman langsung dan tiga skenario pengambilan dan pengiriman jamak. Skenario ini mencakup konsolidasi dua pengiriman, tiga pengiriman dan tiga pengiriman yang dioptimasi menggunakan algoritma semut. Empat parameter digunakan untuk mengevaluasi tiap skenario menggunakan analisis hirarki proses (AHP). Parameter tersebut adalah jumlah perjalanan, jarak tempuh total, waktu tempuh total dan pertimbangan keamanan. Studi kasus yang digunakan adalah wilayah operasional Yogyakarta selama sehari penuh. Rute pengiriman yang dioptimasi menggunakan algoritma semut menunjukkan bahwa 178 permintaan dapat dipenuhi dalam 94 perjalanan. Rute ini juga memberikan penghematan jarak tempuh sebesar 20% dan waktu tempuh sebesar 15%. Hasil evaluasi menggunakan AHP menunjukkan skenario algoritma semut sebagai skenario terbaik.. Kata kunci algoritma semut, masalah pengambilan dan pengiriman, penghematan tertinggi, urun daya, konsolidasi perjalanan Abstract Common practice in crowdsourced delivery services is through direct delivery. That is by dispatching direct trip to a driver nearby the origin location. The total distance can be reduced through multiple pickup and delivery by increasing the number of requests in a trip. The research implements exact algorithm to solve the consolidation problem with up to 3 requests in a trip. Greedy heuristic is performed to construct initial route based on highest savings. The result is then optimized using Ant Colony Optimization (ACO). Four scenarios are compared. A direct delivery scenarios and three multiple pickup and delivery scenarios. These include 2-consolidated delivery, 3-consolidated delivery, and 3-consolidated delivery optimized with ACO. Four parameters are used to evaluate using Analytical Hierarchical Process (AHP). These include the number of trips, total distance, total duration, and security concerns. The case study is based on Yogyakarta area for a whole day. The final route optimized with ACO shows 178 requests can be completed in 94 trips. Compared to direct delivery, consolidation can provides savings up to 20% in distance and 14% in duration. The evaluation result using AHP shows that ACO scenario is the best scenario. Keywords Ant Colony Optimization, Pickup and Delivery Problem, highest savings, crowdsourced, trip consolidation Received November 23 th,2016; Revised March 21 th, 2017; Accepted March 22 th, 2017

110 ISSN: 1978-1520 D 1. INTRODUCTION elivery performance can be evaluated by its effectiveness and efficiency. Effectiveness can be illustrated through direct delivery. This is the current practice of crowdsourced delivery services [1]. Delivery is done point to point, from an origin to a destination and this is done directly. In this scenario, the goods can reach the destination fastest in a single case. There is an issue in this method. Sometimes there is another request nearby or along the route which cannot be accepted since the driver already took the request. Another problem may also occur in collection or distribution case, where the request is to collect goods from multiple different origins and deliver to a single origin or vice versa. The above condition can be anticipated with multiple pickup and delivery or also known as consolidated delivery [2]. In this scenario, the efficiency can be maximized. Delivery is done by consolidating requests in the same direction so the vehicle capacity can be better utilized. This will also reduce the overall mileage, time on the road, and numbers of trip generated. The outcomes are lower carbon emission, traffic generation, and reduced travel cost. A simple static instance is shown in Fig. 1 The multiple pickup and delivery can provide 25% distance savings and 30% duration savings while still maintaining 1-hour guaranteed delivery. This is done with only 2 drivers compared to 5 drivers using direct delivery. By increasing the number of requests in a trip, the distance savings can be maximized. This is quite an opportunity. Current conventional courier services are using next-day delivery and same-day courier costs more expensive than crowdsourced delivery services. Figure 1 Problem illustration (left) and solution using multiple pickup and delivery (top right) and direct delivery (bottom right) Problems in transporting goods on delivery services can be described as Pickup and Delivery Problem (PDP), a constrained version of Traveling Salesman Problem (TSP). The problems are NP-Hard in nature [3] and two classes of algorithms are available for the solution: exact and approximate algorithms [4]. Exact algorithm guaranteed to find the optimal solution, however, in the worst case it requires exponential time to find the optimum. As the problem size increase, it quickly becomes unfeasible. Approximate algorithms seek to obtain high-quality solutions at relatively low computational cost without being able to guarantee the optimality of solutions. One of the modern approaches is by using metaheuristics, such as Ant Colony Optimization. Ant Colony Optimization is a population-based metaheuristic for the approximate solution of difficult optimization problems which inspired by ant foraging behavior [5]. Their way of foraging enables ants to find shortest paths between food sources and their nest. Initially, ants explore the area surrounding their nest randomly. As soon as an ant finds a source of food, IJCCS Vol. 11, No. 2, July 2017 : 109 118

IJCCS ISSN: 1978-1520 111 it evaluates quantity and quality of the food and carries some of this food to the nest. During the return trip, the ant lays chemical pheromone trail on the ground. The quantity of pheromone deposited will guide other ants to the food source. The problem to be solved in this research is to optimize current crowdsourced delivery practice by providing additional scenarios in delivery scheme. Several multiple pickup and delivery scenarios are developed to be compared with current direct delivery. The system is required to consolidate multiple requests into a trip, construct a route consists of trips to fulfill all requests, and provide the best scenario to consider. Three objectives are presented. The first objective is to develop several scenarios in crowdsourced delivery services based on multiple pickup and delivery. The second objective is to implement Ant Colony Optimization in route optimization. The last objective is to evaluate the scenario using Analytical Hierarchical Process and provide the best scenario to consider. Study on pickup and delivery problem (PDP) has been done since decades ago, as it represents the general transportation problem with precedence constraint in term of origin and destination. One of the earliest studies of PDP was conducted by [6] in solving single and multiple vehicle PDP using various exact and heuristic algorithms. The most general PDP is constrained by capacity, time windows, quality of service, operational considerations and the precedence requirement. Presented metaheuristic solution of PDP with time windows for city courier [7]. The research addresses both online and offline requests in the form of PDP and dynamic PDP with time windows. Dynamic PDP can be seen as a static problem which occurs sequentially. Using 2-stage algorithms, the research implements Insertion Heuristic for tour construction and improved by Tabu Search. The route update is carried on the dynamic problem when a new request arrives. Early research in PDP using Ant Colony Optimization (ACO) presented by [8] to optimize the total costs associated with the pickup and delivery of full truckloads under time window constraints in a hub network. A thorough technical analysis of the ACO was done by comparing different pheromone decoding schemes, different visibility information, and various population sizes. The study also proposes a post-optimization technique to improve the solutions. The results show that appropriate data structures significantly improve the solution quality. Compares Improved Ant Colony System (I-ACS) algorithm towards Nearest Neighbor, Nearest Neighbor + Insertion on both dynamic and static VRP and PDP problem on city and inter-city courier [9][10]. Node insertion was used to determine route and number of appropriate vehicle on dynamic PDP. Shortest path calculated using Dijkstra since the distance uses actual city road data. Analytical Hierarchical Process (AHP) [11] implemented in this research to evaluate the scenarios since it is easy to perform and based on pairwise comparisons to maintain consistency of each pairwise values. [12] have successfully implement AHP to compare results from various VRP algorithm. 2. RESEARCH METHOD 2.1 Model Formulation The objective function in this research is to maximize the distance savings. The distance savings are the difference between sum of direct trip of each request and total distance of consolidated trip. Subject to: 1. Flow constraint, ensures a request only assigned to one vehicle. 2. Flow conservation, ensures a vehicle only enters or leaves a location l if it is an origin or a destination of a transport request assigned to that vehicle. 3. Consolidation limit constraint, ensures that a vehicle only assigned to a maximum n number of requests in a trip. Ant Colony Optimization on Crowdsourced Delivery Trip.. (Victor Paskalathis)

112 ISSN: 1978-1520 4. Schedule compatibility, serves as preliminary check for maximum time range between requests before driver is dispatched. 5. Pairing constraint, ensures that both origin and destination of a request must be served by the same vehicle. 6. Precedence constraint, ensures each pickup location visited before the delivery location. 7. Chaining constraint, disallows direct trip at the start or the end of the trip. request in consolidated trip shall not be independent, since direct trip has no increase in distance savings. Such trip should be split. 8. Savings constraint, ensures the consolidated trip will provide positive distance savings. Distance of consolidated trip must be equal or lesser than sum of direct trip of each request. 9. Time windows and service time constraint, serve as quality of service constraint. The maximum service time for pickup and time windows for delivery is 1 hour and 3 hours since request created. 10. Best alternate constraint, if there are several trips serving same requests, the selected trip is the one which provide highest savings. Trip distance savings is the sum of all direct trip of each request minus the consolidated trip. 2.2 System Process Fig. 2 shows the system process. Raw datasets are preprocessed to produce distance and duration matrix off the system. Both data then used as inputs. The first step in the system tries to generate all possible route based on the constraint using the exact algorithm. The second step is to find a route with highest savings using greedy the algorithm. The results are used as Scenario 1, 2, 3 for direct, c=2 and c=3 respectively. Raw Dataset (Requests) Preprocessing Input Test Data (Locations) Distance & Duration Matrix Exact Trip Generator Scenario 1, 2, 3 Highest Savings Heuristic Scenario 4 ACO Evaluation AHP Recommendation Figure 2 System flowchart IJCCS Vol. 11, No. 2, July 2017 : 109 118

IJCCS ISSN: 1978-1520 113 The third step uses the ACO [13] to optimize the result based on the previous attempt on c=3. The result is used as Scenario 4. The last step is the evaluation. This is done by implementing AHP method based on four parameters. The final output is the recommendation on which scenario is better to be implemented. 2.3 Exact Trip Generator The exact trip generator solves two of three problems in PDP; routing and scheduling. This is done through the exact algorithm by applying PDP constraint. The trip generated by static routing has total pickup based on consolidation or in c=3 scenario, it has either 2, 4, or maximum 6 stops. Trip with highest savings become the valid trip to serve unique requests. Fig. 3 shows the detailed process in this step. START Generate combination of requests Schedule Compatible? Data Sets Generate alternate trips from requests Positive Savings? Distance Matrix Set Latest Request Time as Starting Time END Has all combinations generated? Add Next Stop Update Time Duration Matrix Service Time/ Time Windows Compatible? Valid Trips Set trip with maximum savings as the valid trip Has all trips generated? Trip Complete? Figure 3 Exact Trip Generator The approach is quite similar with Clarke-Wright Savings Algorithm [14], with two key differences. The trip doesn t start from a depot, the trip also not required to return to the depot. In this case, there might be negative distance savings. Ant Colony Optimization on Crowdsourced Delivery Trip.. (Victor Paskalathis)

114 ISSN: 1978-1520 2.4 Highest Savings Heuristic Highest savings heuristic construct a route which serves all of the requests. This is assignment problem, through finding the combination of previously generated trips which has highest savings to serve all requests. Fig. 4 describe the process in the current step. The system utilizes greedy algorithm based on highest savings. The approach is similar to nearest neighbor, instead of shortest distance, largest distance savings used. The valid trips sorted in descending based on savings. The trip with largest savings is assigned to route until there s no more valid consolidation left. The remaining requests are fulfilled with direct delivery. START Set all request as available END Valid trips Select trip with maximum savings as part of the route Has all request been served? Highest Savings Route Remove all requests within selected trip from available Figure 4 Highest savings Remove all valid trips containing the requests of selected trip 2.5 Ant Colony Optimization The optimization process based on ACO can be seen in Fig. 5. This can be divided into 3 main stages. First is the initialization of parameter, followed by solution construction, and pheromone updates and local optimization. After the maximum iterations, it returns the bestfound route. This research is using ACO variant known as Ant Colony System (ACS) [15]. Highest Savings Route Valid Trips START ACO Set as best route Parameter Initialization (β,q0,τ0,ξ,ρ,φ) Pheromone Initialization STOP ACO Calculate P probability of available trips. Roll random q Start with empty route Set all requests as available Have the maximum iterations been performed? Exploit Trip=argmax(P) q < q0 Have all requests been assigned? Select the trip. Set requests within trip as completed Explore Trip=random(P) Update local pheromone Evaporation and deposition (route trips) New route > best route Set new route as best route Have all ants completed the route? Update global pheromone Evaporation (All trips) Deposition (best trips) Figure 5 Ant Colony Optimization IJCCS Vol. 11, No. 2, July 2017 : 109 118

IJCCS ISSN: 1978-1520 115 The research modifies several factors from standard ACS: 1. where s ls is the savings generated from highest savings heuristic and n the number of trips. Required to accommodate savings maximization 2. is also required to accommodate savings maximization. 3. φ phi parameter in pheromone initialization, with φ = (0, 1). This parameter is useful to prevent the optimization stuck on local optima. The downside is that it will take more loops to find better results. 2.6 AHP Evaluation This research doesn t end with the best route, but also a recommendation towards the business development plan. This is completed using AHP with overall performance as the goal. The basic structure of a decision problem is a hierarchy consisting of 3 levels. The goal of the decision at the top level. The second levels are parameters used. The third levels are alternatives to be evaluated. Fig. 6 shows the hierarchy. Overall Performance Parameter Number of Trips Total Distance Total Duration Safety Concerns [2-4] Alternatives Direct Delivery Consolidated Delivery (c=2) Consolidated delivery (c=3) Consolidated delivery with ACO (aco) Figure 6 AHP Hierarchy 2.5.1 Parameter weights Pairwise value for each parameter weight are used, ranging from 0-2.5. Since there are equal parameters and scenarios used, which is 4, then Random Index in use is 0.9. The result of the weight can be seen in Table 1. The CR value is 0.016 which is below 0.1. Based on the EV, the parameter which has the highest weight is the number of trips, followed by total distance and security concerns, with total duration least considered. Table 1 Weight EV Weight Trip distance Duration Security Ev Trip 1.00 1.50 2.50 1.50 0.366 Distance 0.67 1.00 2.00 1.00 0.257 Duration 0.40 0.50 1.00 1.00 0.160 Security 0.67 1.00 1.00 1.00 0.217 Ant Colony Optimization on Crowdsourced Delivery Trip.. (Victor Paskalathis)

116 ISSN: 1978-1520 2.5.2 Scenario rating Rating method for each scenario based on parameters are shown below: 1. Number of Trips: to be reduced, lower value preferred. 2. Total distance: to be reduced, lower value preferred. 3. Total duration: to be reduced, lower value preferred. 4. Security concerns: implemented with scoring from 2-4 with higher value preferred as below: 1) direct score=4 2) c=2 score=3 3) c=3, aco score=2 3. RESULT AND DISCUSSION Table 2 shows an overview of each scenario result. In general, increase in the number of consolidation yields reduction in the number of trips, total distance, and total duration. Savings value is compared with direct data. Aco is used to compare since it provides highest savings. Table 2 Summary of figures direct c=2 c=3 Aco Trips 178 110 97 94 Direct Trips 178 42 47 40 Distance 1,309,800 1,091,971 1,056,102 1,050,761 Distance savings 0 217,829 253,698 259,039 Duration 200,197 180,116 173,590 172,984 Duration savings 0 20,081 26,607 27,213 Overall the routing results show promising savings can be done by implementing multiple pickup and delivery. The number of trips reduced from 178 to 94 which is 47% reduction. The total distance is reduced by 20% and duration is reduced by 14%. The consolidation still leaves several trips to be completed with direct delivery, or 42% in aco scenario. There are also 6 trips that have no valid consolidation and completed with this method. Fig. 7 shows the number of trips each hour between scenarios. In peak hour between 15:00 to 15:59, the consolidation able to reduce the number of trips more than 50% number of trips. This shows that the higher number of requests per hour, the higher chance of requests can be consolidated. Figure 7 Trip per hour IJCCS Vol. 11, No. 2, July 2017 : 109 118

IJCCS ISSN: 1978-1520 117 Fig. 8 shows how the ACO iterations producing distance savings result. The best route occurs in 5 th iteration 10 th ant with 259,039 distance savings. Figure 8 ACO iterations Table 3 shows final AHP results. The best scenario is the ACO scenario, with slight difference to c=2 scenario. Higher consolidation with proper optimization provides a better result with downside on the security issue. In a broader scope, consolidated delivery result in better score compared to instant delivery. Table 3 AHP ranks Delivery Trip distance duration Security Score rank Weight 0.366 0.257 0.160 0.217 direct 0.158 0.213 0.226 0.364 0.228 4 c=2 0.255 0.256 0.251 0.273 0.258 3 c=3 0.289 0.265 0.261 0.182 0.255 2 aco 0.298 0.266 0.262 0.182 0.259 1 4. CONCLUSION Based on the research, there are several things to be concluded: 1. The research has successfully developed 4 scenarios to be compared. The direct delivery, 2-consolidated delivery, 3-consolidated delivery and 3-consolidated delivery optimized with ACO. 2. The research has successfully optimized the route using ACO. It shows improvements in considerable time from heuristic highest savings. It also shows that ACO able to work combined with both exact and heuristic algorithm to produce a satisfactory result. 3. The research has evaluated all scenarios using AHP. Using 4 parameters, the scenario with the highest score is 3-consolidated delivery optimized with ACO and therefore recommended to be implemented. 4. Overall the multiple pickup and delivery result is quite promising. 3-consolidated delivery optimized with ACO results in 20% distance reduction and 14% duration reduction compared to direct delivery. Ant Colony Optimization on Crowdsourced Delivery Trip.. (Victor Paskalathis)

118 ISSN: 1978-1520 5. FUTURE WORKS There are several suggestions can be given from this research: 1. Larger problem size, the number of request in Yogyakarta Area is quite small compared to Jakarta. The algorithm should be able to handle at least thousands of requests. 2. Dynamic routing can be developed to compare with current static routing. It may be implemented in the main system to allows dynamic consolidation in real time and handle cancellation. 3. Parallelization through multicore/multiprocessing by running each ant in parallel instead of the current sequential system to decrease running time. REFERENCES [1] USPS OIG, 2014, Using the 'Crowd' to Deliver Packages, USPS OIG, Arlington. [2] Berling, P., & Eng-Larson, F., 2016, Pricing and Timing of Consolidated Deliveries in Presence of an Express Alternative - Financial and Environmental Analysis, European Journal of Operational Research, 250(2), pp. 590-601. [3] Savelsbergh, M.W.P, Sol, M., 1995, The General Pickup and Delivery Problem, Transport Sci, 29, pp. 17-29 [4] Toth, P., & Vigo, D., 2002, The Vehicle Routing Problem, Society for Industrial and Applied Mathematics, Philadelphia. [5] Blum, C. and Roli, A., 2008, Hybrid Metaheuristics: An Introduction, Blum, C., Aguilera, M.J.B., Roli, A., Sampels, M. (eds.): Hybrid Metaheuristics: An Emerging Approach to Optimization, Springer-Verlag, Berlin. [6] Armstrong, G.R., 1981, The Single and Multiple Vehicle Pickup and Delivery Problem: Exact and Heuristic Algorithms, University of Tennessee, Knoxville. [7] Rani, F. K., 2008, Pengembangan Algoritma Heuristik untuk Penyelesaian Dynamic Pick Up and Delivery Problem with Time Windows (DPDTW) Pada Penyedia Jasa City Courier, Skripsi, Fakultas Teknik Industri ITS, Surabaya. [8] Doerner, K., Hartl, R., Reimann, M., 2000, Ant colony optimization applied to the pickup and delivery problem, SFB Adaptive Information Systems and Modelling in Economics and Management Science, WU Vienna University of Economics and Business, Vienna. [9] Firmansyah, A., 2011, Algoritma Improved Ant Colony System untuk Menyelesaikan Dynamic Pick-Up and Delivery Problem with Time Windows Pada Penyedia Layanan Kurir Dalam Kota, Skripsi, Fakultas Teknik Industri ITS, Surabaya. [10] Gamayanti, N., 2009, Pengembangan Algoritma Heuristik Ant Colony System untuk Permasalahan Dynamic Vehicle Routing Problem dengan Time Window (DVRPTW) pada Proses Konsolidasi Penyedia Jasa Inter-City Courier, Thesis, Fakultas Teknik Industri ITS, Surabaya. [11] Saaty, T.L., & Vargas, L.G., 2012, Models, Methods, Concepts & Applications of the Analytic Hierarchy Process, 2 nd ed. Springer, New York. [12] Cavar, I., Gold, H., & Caric, T., 2005, Assessment of Heuristic Algorithms for Solving Real Capacitated Vehicle Routing Problems by Analytic Hierarchy Process, Transportation Research Board, San Francisco. [13] Dorigo, M., & Stützle, T., 2004, Ant Colony Optimization, MIT Press, Cambridge. [14] Clarke, G. & Wright, J., 1964, Scheduling of Vehicles from a Central Depot to a Number of Delivery Points, Operation Research, Vol. 12, pp. 568-581. [15] Dorigo, M., & Gambardella, L., 1997, Ant Colony System: A Cooperative Learning Approach to the Traveling Salesman Problem, IEEE Transactions on Evolutionary Computation, 1(1), pp. 53-66. IJCCS Vol. 11, No. 2, July 2017 : 109 118