Next Article in Journal
Application of Cognitive Information Systems in Medical Image Semantic Analysis
Next Article in Special Issue
Gradient-Based Optimization for Intent Conflict Resolution
Previous Article in Journal
A New Link Adaptation Technique for Very High Frequency Data Exchange System in Future Maritime Communication
Previous Article in Special Issue
Exploring Explainable Artificial Intelligence Techniques for Interpretable Neural Networks in Traffic Sign Recognition Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparison of a Hybrid Firefly–Particle Swarm Optimization Algorithm with Six Hybrid Firefly–Differential Evolution Algorithms and an Effective Cost-Saving Allocation Method for Ridesharing Recommendation Systems

Department of Computer Science and Information Engineering, Chaoyang University of Technology, Taichung 413310, Taiwan
Electronics 2024, 13(2), 324; https://doi.org/10.3390/electronics13020324
Submission received: 3 December 2023 / Revised: 5 January 2024 / Accepted: 9 January 2024 / Published: 11 January 2024

Abstract

:
The optimization and allocation of transport cost savings among stakeholders are two important issues that influence the satisfaction of information providers, drivers and passengers in ridesharing recommendation systems. For optimization issues, finding optimal solutions for nonconvex constrained discrete ridesharing optimization problems poses a challenge due to computational complexity. For the allocation of transport cost savings issues, the development of an effective method to allocate cost savings in ridesharing recommendation systems is an urgent need to improve the acceptability of ridesharing. The hybridization of different metaheuristic approaches has demonstrated its advantages in tackling the complexity of optimization problems. The principle of the hybridization of metaheuristic approaches is similar to a marriage of two people with the goal of having a happy ending. However, the effectiveness of hybrid metaheuristic algorithms is unknown a priori and depends on the problem to be solved. This is similar to a situation where no one knows whether a marriage will have a happy ending a priori. Whether the hybridization of the Firefly Algorithm (FA) with Particle Swarm Optimization (PSO) or Differential Evolution (DE) can work effectively in solving ridesharing optimization problems needs further study. Motivated by deficiencies in existing studies, this paper focuses on the effectiveness of hybrid metaheuristic algorithms for solving ridesharing problems based on the hybridization of FA with PSO or the hybridization of FA with DE. Another focus of this paper is to propose and study the effectiveness of a new method to allocate ridesharing cost savings to the stakeholders in ridesharing systems. The developed hybrid metaheuristic algorithms and the allocation method have been compared with examples of several application scenarios to illustrate their effectiveness. The results indicate that hybridizing FA with PSO creates a more efficient algorithm, whereas hybridizing FA with DE does not lead to a more efficient algorithm for the ridesharing recommendation problem. An interesting finding of this study is very similar to what happens in the real world: “Not all marriages have happy endings”.

1. Introduction

Human activities such as daily commutes to work, business travel, leisure trips, manufacturing, logistics, etc., often consume different types of energy and generate enormous amounts of greenhouse gases in the atmosphere, which leads to global warming. Sustainable transport attempts to mitigate global warming through energy-efficient, affordable modes of transport to achieve the benefits of reduced carbon emissions and energy consumption and improved cost savings and accessibility with less reliance on fuels [1,2]. Sustainable transport has become one of the most important topics related to Sustainable Development Goals (SDGs), as transportation is the major driving force behind a growing world demand for energy [3]. As about one-fourth of energy-related emissions come from transport, sustainable transport is mainstreamed across several SDGs in the 2030 Agenda for Sustainable Development [4,5].
The sharing economy concept provides an effective approach to the development of innovative transport models and realizes sustainable transport. In the literature, there were many studies on the effectiveness of applying different sharing-based transport modes, such as ridesharing [6], car-sharing [7,8], bike-sharing [9] and autonomous car-sharing [10], to reduce greenhouse gas emissions. The analysis of [11] compared the greenhouse gas emissions of electrified fleets and gasoline-powered fleets, and it indicated that electrified fleets had 40–45% lower greenhouse gas costs per trip than gasoline-powered fleets. The paper reported in [12] for several car-sharing case studies showed that a 3–18% reduction of greenhouse gas emissions can be achieved. The study also indicated that ridesharing would introduce a much more significant reduction in greenhouse gas emissions. The analysis of [13] indicated that shared mobility services had the potential to eliminate 6.3% of passenger transport emissions on average, and the mitigation potential varied widely across cities. The above discussions indicate the potential for shared mobility services to mitigate greenhouse gas emissions.
Ridesharing is one of the important shared mobility services. It has been applied in different application scenarios to share travel costs, reduce energy consumption and mitigate the negative impact on the environment. These application scenarios include the provision of ridesharing services in universities [14,15] and providing ridesharing services by transport service providers such as Lyft [16], Uber [17], Didi [18], Wingz [19] and Via [20] to the general public. In the literature, different aspects and issues of ridesharing services have been studied. These research issues include studies on detrimental factors influencing the adoption and use of ridesharing by people [21,22] and the optimization of performance [23,24,25], as well as the consideration of social factors and trust factors in ridesharing systems [26,27]. In this study, we will focus on the optimization issue and cost allocation issue in ridesharing recommendation systems.
The optimization issue in ridesharing recommendation systems is used to determine the set of drivers sharing rides and the passengers on each ride according to the requirements of drivers and passengers. Optimization of performance in ridesharing recommendation systems is usually formulated as a nonconvex constrained discrete optimization problem. Finding optimal solutions for nonconvex constrained discrete optimization problems is a challenging issue due to computational complexity. Due to the limitation of classical optimization methods to solve nonconvex constrained discrete optimization problems, many metaheuristic methods such as Firefly Algorithm (FA) [28], Particle Swarm Optimization (PSO) [29], Differentiation Evolution (DE) [30] and their variants [31] have been proposed to find solutions for ridesharing recommendation problems. The hybridization of different metaheuristic approaches has demonstrated its advantages in the literature. For example, there were success stories of hybrid DE/Firefly approaches [32,33] as well as hybridization of Firefly with the PSO approach [34,35,36,37].
The principle of the hybridization of metaheuristic approaches is similar to a marriage of two people with the goal of having a happy ending by helping each other. However, no one knows whether a marriage will have a happy ending a priori. The effectiveness of hybrid metaheuristic algorithms is unknown a priori and depends on the problem to be solved. Whether the hybridization of FA with PSO or DE can work effectively in solving ridesharing recommendation problems needs further study. In the studies reported in [38,39], some preliminary results show the merits of hybridization of FA with PSO or DE. However, only one of the DE mutation strategies was used in the hybrid algorithm to solve ridesharing problems. It is interesting to study whether other well-known DE mutation strategies can work effectively through hybridization with FA to solve ridesharing recommendation problems. In addition, there is a lack of comparative studies on the effectiveness of the hybridization of FA with PSO and the hybridization of FA with different DE mutation strategies to solve ridesharing recommendation problems. Motivated by deficiencies in existing studies, one focus of this paper will be on the development of hybrid metaheuristic algorithms for solving ridesharing optimization problems based on the hybridization of FA with PSO or DE. The hybrid metaheuristic algorithms developed in this paper include a discrete Firefly-PSO (FPSO) algorithm and six discrete Firefly-DEi (FDEi) algorithms, where i { 1 , 2 , , 6 } , for solving the ridesharing optimization problem.
Besides the optimization issue, the study of how to allocate the benefits of travel cost savings in transportation systems has attracted researchers’ attention in recent years. A review of approaches to allocating cost savings in collaborative transportation systems can be found in [40]. Another focus of this paper is on the development of a method to allocate ridesharing cost savings. The problem of allocating travel cost savings in ridesharing systems can be defined based on the cooperative game theory, as the stakeholders in a ridesharing system can be modeled as the players that form coalitions and cooperate with one another to achieve some goals in ridesharing. These well-known solution approaches to allocating cost savings include the Shapley value [41], nucleolus [42] and proportional methods [43]. Although these well-known solution approaches to allocating travel cost savings are available and well founded, some of these approaches are computationally infeasible for real cases due to complexity issues. Therefore, computationally efficient methods such as proportional methods are usually used in practice. To address this issue, several heuristic proportional methods have been proposed to reduce computational complexity [44,45,46]. These heuristic proportional methods were referred to as the Local Proportional (LP) Method, Fifty–Fifty (FF) Method and Global Proportional (GP) Method in [47,48]. These heuristic proportional methods allocate the benefits among members in a cooperative game based on coalitions that are defined intuitively. In this paper, we defined two coalitions called the driver group and the passenger group (DGPG) in a ridesharing system. Based on DGPG, we developed a new method to divide the benefits (cost savings) among the stakeholders in the ridesharing system. The benefits were first divided into three parts and allocated to information providers, the driver group and the passenger group, respectively. The proportional method was then applied to divide the benefits among the set of drivers in the driver group. Similarly, the proportional method was then applied to divide the benefits among the set of passengers in the passenger group. The developed hybrid metaheuristic algorithms and allocation method had been verified by examples of several application scenarios.
The contributions of this study are twofold. First, we have developed several hybrid metaheuristic algorithms for solving ridesharing problems based on combining FA with PSO or DE approaches and studied the effectiveness of these hybrid metaheuristic algorithms. Besides the optimization of cost savings, a new allocation method has been proposed in this study to improve the number of acceptable shared rides and the number of ridesharing participants. The new allocation method can be applied to deal with different minimal expectations of drivers and passengers by setting a parameter.
The rest of this paper is organized as follows. In Section 2, we will first introduce the ridesharing problem formulation and then define a new proportional method to allocate cost savings. In Section 3, we will first review the standard Firefly Algorithm and then propose several hybrid metaheuristic algorithms for solving the ridesharing cost = saving optimization problems, including the hybrid discrete Firefly-PSO (FPSO) algorithm and six hybrid discrete Firefly-DEi (FDEi) algorithms, where i { 1 , 2 , , 6 } denotes a specific mutation strategy selected from the six well-known mutation strategies in the Differential Evolution approach. In Section 4, we will present the results for verification of the developed hybrid metaheuristic algorithms and compare the effectiveness of these algorithms. We will also compare the proposed allocation method with the existing methods, including the Local Proportional Method, Fifty–Fifty Method and Global Proportional Method in the literature. We will briefly discuss the results in Section 5 and conclude this paper in Section 6.

2. Optimization Problem in Ridesharing Recommendation Systems and a New Proportional Method to Allocate Cost Savings

This paper focuses on two research issues: (1) a comparative study of applying hybrid metaheuristic algorithms developed based on hybridizing FA with PSO or DE to solve the ridesharing optimization problem and (2) the development of a new cost-saving allocation method and a study of its effectiveness for ridesharing systems. In this section, we will briefly review the ridesharing optimization problem and propose a new cost-saving allocation method for the ridesharing system. The notation used in this section is defined in Table 1.
A ridesharing recommendation system is defined by a set of drivers, { 1 , 2 , , D } , a set of passengers, { 1 , 2 , 3 , .... , P } , and passengers’ requests, R p = ( L o p , L e p , ω p e , ω p l , n p ) p { 1 , 2 , 3 , .... , P } , where L o p is the origin, L e p is the destination, ω p e is the earliest departure time, ω p l is the latest arrival time, and n p is the number of seats requested by passenger p ; drivers’ requests R d = ( L o d , L e d , ω d e , ω d l , a d ) d { 1 , 2 , , D } , where L o d is the origin, L e d is the destination, ω d e is the earliest departure time, ω d l is the latest arrival time, and a d is the number of seats available for a driver d . The ridesharing recommendation system applies proper bid generation procedures such as the ones proposed in [46] to generate the bids: B I D d j , j { 1 , 2 , , J d } , for the driver, d { 1 , 2 , , D } , and the bids, B I D p , p { 1 , 2 , 3 , .... , P } , for the passenger, p { 1 , 2 , 3 , .... , P } , according to the drivers’ requests, R d   d { 1 , 2 , , D } , and passengers’ requests, R p = { 1 , 2 , 3 , .... , P } , respectively, where B I D d j and B I D p are defined in Table 1. The bids, B I D d j , j { 1 , 2 , , J d } , for the driver, d { 1 , 2 , , D } , and the bids, B I D p , p { 1 , 2 , 3 , .... , P } , for the passenger, p { 1 , 2 , 3 , .... , P } , will be submitted to the ridesharing recommendation system.
The ridesharing optimization problem is defined by decision variables x d j , d { 1 , 2 , , D } , j { 1 , 2 , , J d } and y p , p { 1 , 2 , 3 , .... , P } . The decision variable x d j is equal to 1 if B I D d j is a winning bid. Otherwise, the decision variable x d j is equal to 0. The decision variable y p is equal to 1 if B I D p is a winning bid. Otherwise, the decision variable y p is equal to 0. The objective function F ( x , y ) is the overall cost savings of the ridesharing system. The ridesharing optimization problem is used to determine the values of the decision variables x d j , d { 1 , 2 , , D } , j { 1 , 2 , , J d } and y p , p { 1 , 2 , 3 , .... , P } such that the objective function F ( x , y ) in (1) is maximized subject to the following constraints: the demand and supply constraints specified in (2) and (3), the cost-saving constraint specified in (4), the drivers’ single winning bid constraint specified in (5) and the binary values constraint for the decision variables specified in (6) and (7).
max x , y F ( x , y ) = p = 1 P y p f p + d = 1 D j = 1 J d x d j o d j   d = 1 D j = 1 J d x d j c d j
s.t.
d = 1 D j = 1 J d x d j q d j k 1 = y p s p k 1 p { 1 , 2 , , P }   k { 1 , 2 , , P }  
d = 1 D j = 1 J d x d j q d j k 2 = y p s p k 2 p { 1 , 2 , , P }   k { 1 , 2 , , P }  
p = 1 P y p f p + d = 1 D j = 1 J d x d j o d j d = 1 D j = 1 J d x d j c d j
j = 1 J d x d j 1 d { 1 , , D }
x d j { 0 , 1 } d { 1 , , D } j { 1 , , J d }
y p { 0 , 1 } p { 1 , 2 , , P }
The above ridesharing optimization problem can be solved by applying different solution approaches. In this study, we will develop several hybrid metaheuristic algorithms to solve the above ridesharing optimization problem based on hybridizing FA with PSO or DE in the next section. Suppose a solution ( x , y ) for the above problem is found. A cost-saving allocation method must be applied to divide the cost savings F ( x , y ) of the solution ( x , y ) properly and to allocate the cost savings to the stakeholders of the ridesharing system, including the information provider, drivers and passengers. A cost allocation method can be defined by the portion of F ( x , y ) allocated to each stakeholder of the ridesharing system. The concept of shared values is used to describe the portion of the cost savings, F ( x , y ) , allocated to each stakeholder of the ridesharing system. In this paper, we use α , β p P and β d D to denote the shared values for the information provider, passenger p and driver d , respectively. Please refer to Table 2 for the definition of α , β p P and β d D . The shared values must satisfy the following constraints p = 1 P β p P + d = 1 D β d D + α = 1 , where 0 α 1 , 0 β d D 1 and 0 β p P 1 . Based on the concept of shared values, the portion of F ( x , y ) allocated to the information provider is represented by α F ( x , y ) , where α is defined in (8). The portion of F ( x , y ) allocated to passenger p is represented by β p P F ( x , y ) , where β p P is defined in (9). The portion of F ( x , y ) allocated to driver d is represented by β d D F ( x , y ) , where β d D is defined in (10). In this paper, we define a new method to allocate cost savings based on the shared values α , β p P and β d D defined in Table 2.
The shared value, α , for the information provider is determined by the ridesharing service provider. Note that the cost savings allocated to the information provider are α F ( x , y ) . Typically, the value of α must be set properly such that the cost savings allocated to the information provider are sufficient to maintain the operations of the ridesharing system. However, if the value of α is too big, the cost savings allocated to drivers and passengers will not be sufficient to make more drivers and passengers accept ridesharing. Another parameter that influences the cost savings allocated to the passengers and drivers is δ . The value of δ must be set properly. The cost savings allocated to the passenger group are δ ( 1 α ) F ( x , y ) , where 0 < δ < 1 . The cost savings allocated to passengers p are β p P F ( x , y ) = δ ( 1 α ) y p f p p = 1 P y p f p F ( x , y ) . The cost savings allocated to the driver group are ( 1 δ ) ( 1 α ) F ( x , y ) , where 0 < δ < 1 . The cost savings allocated to drivers d are β d D F ( x , y ) = j = 1 J d ( 1 δ ) ( 1 α ) x d j c d j   d = 1 D j = 1 J d x d j c d j F ( x , y ) .
If the value of δ is too big, the cost savings allocated to drivers will not be sufficient to make more drivers accept ridesharing. If the value of δ is too small, the cost savings allocated to passengers will not be sufficient to make more passengers accept ridesharing. Therefore, in addition to setting the value of α properly, the value of δ must be set properly such that the cost savings allocated to drivers and passengers are sufficient to make more drivers and passengers accept ridesharing.
Cost savings are one of the key determinant factors for potential users of ridesharing services, including drivers and passengers, to decide whether or not to share a ride. A driver or a passenger may accept to share a ride only if their expected cost savings can be satisfied. To characterize whether a ride can satisfy the expected cost savings of a driver or a passenger, the concept of minimal expected reward rates has been introduced in [47,48]. The minimal expected reward rate is the minimal expected cost savings of a ridesharing participant due to ridesharing divided by the original cost. In this paper, it is assumed that minimal expected reward rate for all drivers is the same and is denoted by r D . In this paper, it is assumed that minimal expected reward rate for all passengers is the same and is denoted by r P . A ride is called an acceptable ride if the reward rate for the driver on the ride is greater than or equal to the minimal expected reward rate of drivers, r D , and the reward rate for each passenger on the ride is greater than or equal to the minimal expected reward rate r P . The number of acceptable rides and the number of ridesharing participants on acceptable rides are important performance metrics to assess the effectiveness of cost-saving allocation methods for ridesharing systems. We will use these performance metrics to illustrate the effectiveness of the new proposed allocation method.

3. Development of Hybrid Algorithms Based on Hybridization of Firefly Algorithm with PSO or DE

Before presenting the hybrid metaheuristic algorithms developed based on the hybridization of the Firefly Algorithm with the PSO approach or DE approach for solving the ridesharing optimization problem, we first briefly review the Firefly Algorithm. We then introduce the hybrid metaheuristic algorithms. To describe the discrete Firefly Algorithm and the discrete hybrid metaheuristic algorithms, we define the notation in Table 3.
Procedure 1: CS to map a real value to zero or one
Input:  a
Output:  b
Begin
If a > V max
    a V max
If a < V max
    a V max
s ( a ) = 1 1 + exp a
Generate r s i d , a   random   variable   with   uniform   distribution   U ( 0 , 1 )
b = 1 r s i d < s ( a ) 0 o t h e r w i s e
return b
End

3.1. Fitness Function

In an evolutionary algorithm, a fitness function is used as an indicator to quantize the quality of solutions in the solution-finding processes. For a constrained optimization problem, a proper fitness function needs to be designed to take into account the quality of a solution in terms of the objective function value and violation of constraints. In the literature, a variety of approaches to dealing with violations of constraints have been proposed. One common concept of these approaches is the use of penalty terms in the fitness function. These approaches are called penalty methods in optimization theory [49]. Although penalty methods can be applied to deal with constraints, they suffer from the drawbacks of performance degradation due to the improper setting of penalty coefficients. For this reason, an alternative approach proposed in [50] is adopted in this study to deal with constraints. This approach discriminates between feasible and infeasible solutions to deal with constraints without penalty coefficients. By applying this approach, the objective function value of the worst feasible solution in the current population is calculated by S f min = min ( x , y ) S f F ( x , y ) , where S f = { { ( x , y ) ( x , y ) is a feasible solution in the current population } . The fitness function is defined as F 1 ( x , y ) = F ( x , y ) i f ( x , y ) s a t i s f i e s c o n s t r a   int   s ( 2 ) ~ ( 7 ) U ( x , y ) o t h e r w i s e , where U ( x , y ) = S f min + U 1 ( x , y ) + U 2 ( x , y ) + U 3 ( x , y ) + U 4 ( x , y ) + U 5 ( x , y ) , U 1 ( x , y ) = p = 1 P k = 1 K d = 1 D j = 1 J d x d j q d j k 1 y p s p k 1 , U 2 ( x , y ) = p = 1 P k = 1 K d = 1 D j = 1 J d x d j q d j k 2 y p s p k 2 , U 3 ( x , y ) = min ( p = 1 P y p f p + d = 1 D j = 1 J d x d j o d j d = 1 D j = 1 J d x d j c d j ) , 0.0 ) and U 4 ( x , y ) = d = 1 D ( 1 j = 1 J d x d j ) .

3.2. Firefly Algorithm

The Firefly Algorithm is a nature-inspired metaheuristic method. It was inspired by fireflies’ flashing patterns and behavior. The Firefly Algorithm mimics the behavior of fireflies: the less bright firefly moves towards the brighter one. In case no brighter one can be found, a firefly moves randomly. In the Firefly Algorithm, a brighter firefly refers to a firefly with a better fitness function value. The underlying assumption of the Firefly Algorithm is that fireflies are attracted to other ones regardless of their sex.
The Firefly Algorithm follows the paradigm of evolutionary algorithms to solve problems. Evolutionary algorithms use the mechanism of reproduction, mutation, crossover and selection in biological evolution to solve problems. Typically, an evolutionary algorithm starts with the initialization of a randomly generated population of candidate solutions. Each candidate solution in the population is referred to as an individual of the population. The quality of candidate solutions is characterized by the fitness function. The individuals in the population evolve from one generation to another. In each generation, the individuals in the population undergo the operations of mutation, crossover and selection to attempt to improve the quality of candidate solutions. The evolution processes terminate when a pre-specified number of generations is reached. There are several common parameters used in an evolutionary algorithm, including population size, I , the total number of generations, t max , and the dimension of the problem, N . In addition to these common parameters, there are other parameters specific to each type of metaheuristic approach. For example, the Firefly Algorithm needs the parameters of the light absorption coefficient, γ , and the attractiveness, β 0 . A flowchart of the Firefly Algorithm is shown in Figure 1. The way the i -th firefly in position z i n moves toward the j -th firefly in the n -th dimension and reaches a new position v i n is according to (11), with α t and ε i n t being defined in Table 3.
v i n = z i n + β 0 e γ r i j 2 ( z j n z i n ) + α t ε i n t
The discrete Firefly Algorithm is defined in Algorithm 1:
Algorithm 1: Discrete Firefly Algorithm
Input: I ,   t max , N ,   β 0 ,   γ ,   α t
Output: the global best, G z
Step 1: Generate I fireflies in the initial population of swarm
Step 2:
While ( t < t max )
        Evaluate the fitness function F 1 ( z i ) for each   firefly   i { 1 , 2 , , I }
        For each i { 1 , 2 , , I }
               For each j { 1 , 2 , , I }
           If ( F 1 ( z i ) < F 1 ( z j ) )
                      For n { 1 , 2 , , N }
                          Move the i-th firefly toward the j-th firefly in the n-th dimension:
                           v i n = z i n + β 0 e γ r i j 2 ( z j n z i n ) + α ε i n
                          Transform v i n to binary and update i-th firefly i as follows:
                          Generate   r s i d randomly based on uniform distribution U ( 0 , 1 )
                           z i n = 1 r s i d > T ( v i n ) 0 o t h e r w i s e
                          End For
                        Evaluate F 1 ( z i )
                      End If
                   End For
           End For    
                Update the global best G z
                 t t + 1
End While

3.3. Discrete Firefly-PSO (FPSO) Algorithm and Discrete Firefly-DEi (FDEi) Algorithm

Hybrid Firefly-based metaheuristic algorithms can be developed by extending fireflies’ behavior. For example, in case one firefly fails to find another better firefly to update its position, the firefly will attempt to fly following the behavior of other approaches, such as PSO and DE, to create a trial solution. Table 4 lists PSO and six DE strategies to create a trial solution in case one firefly fails to find a better one. This way of combining the Firefly Algorithm with PSO or DE approaches to create a new candidate solution leads to hybrid metaheuristic algorithms. Figure 2 shows the flowchart of a discrete hybrid Firefly Algorithm obtained by hybridizing the Firefly Algorithm with a selected strategy to create a trial vector.
The strategy that PSO creates a trial solution is based on Formula (12), which uses two parameters, the cognitive acceleration coefficient, c 1 , and the social acceleration coefficient, c 2 , to take into account the difference between the current individual and the personal best as well as the difference between the current individual and the global best. The pseudocode of the discrete Firefly-PSO (FPSO) algorithm is shown in Algorithm 2.
Algorithm 2: Discrete Firefly-PSO (FPSO) Algorithm
Input: I ,   t max , N ,   β 0 ,   γ ,   α t
Output: the global best, G z
Step 1: Generate I fireflies in the initial population of swarm
Step 2:
While ( t < t max )
         Evaluate the fitness function F 1 ( z i ) for each firefly i { 1 , 2 , , I }
         For each i { 1 , 2 , , I }
                 For each j { 1 , 2 , , I }
                      If ( F 1 ( z i ) < F 1 ( z j ) )
Step 2.1: Fly according to fireflies’ pattern
                         For n { 1 , 2 , , N }
                           Move the i-th firefly toward the j-th firefly in the n-th dimension
                                     v i n = z i n + β 0 e γ r i j 2 ( z j n z i n ) + α ε i n
                                    Transform v i n to binary and update i -th firefly i as follows:
                                    Generate r s i d randomly based on uniform distribution U ( 0 , 1 )
                                     z i n = 1 r s i d > T ( v i n ) 0 o t h e r w i s e
                         End For
                          Else
Step 2.2: Fly according to particle swarm’s pattern to attempt to increase diversity
                           For n { 1 , 2 , , N }
                           Generate r 1 , a random variable with uniform distribution U ( 0 , 1 )
                           Generate r 2 , a random variable with uniform distribution U ( 0 , 1 )
                            v i n v i n + c 1 r 1 ( P z i n z i n ) + c 2 r 2 ( G z n z i n )
                           Transform each element of the trial vector to one or zero
                            z i n C S ( v i n )
                           End For
                      End If
         End For
End For
Update the global best G z
t t + 1
End While
The DE approach provides six strategies referred to as DE1, DE2, DE3, DE4, DE5 and DE6 in this paper. These DE strategies can be used to create a trial solution based on either Formula (13) for mutation strategy DE1, Formula (14) for mutation strategy DE2, Formula (15) for mutation strategy DE3, Formula (16) for mutation strategy DE4, Formula (17) for mutation strategy DE5 or Formula (18) for mutation strategy DE6. The differences between these methods are the ways in which to calculate mutant vectors. For example, in DE1, three individuals, z r 1 , z r 2 and z r 3 , are randomly sampled from the current population and then combined according to Formula (13) to calculate the mutant vector. In DE2, the best individual, z b , and two individuals, z r 2 and z r 3 , are randomly sampled from the current population and then combined according to Formula (14) to calculate the mutant vector. In DE3, five individuals, z r 1 , z r 2 , z r 3 , z r 4 and z r 5 , are randomly sampled from the current population and then combined according to Formula (15) to calculate the mutant vector. In DE4, the best individual, z b , and four individuals, z r 1 , z r 2 , z r 3 and z r 4 , are randomly sampled from the current population and then combined according to Formula (16) to calculate the mutant vector. In DE5, the current individual, z i , the best individual, z b , and two individuals, z r 1 and z r 2 , are randomly sampled from the current population and then combined according to Formula (17) to calculate the mutant vector. In DE6, the current individual, z i , the best individual, z b , and four individuals, z r 1 , z r 2 , z r 3 and z r 4 , are randomly sampled from the current population and then combined according to Formula (18) to calculate the mutant vector. After the mutant vector has been calculated, the crossover operation will be applied to the mutant vector to find the trial vector. A Firefly Algorithm hybridized with Dei is referred to as the Discrete Firefly-DEi (FDEi) Algorithm. The pseudocode of the FDEi Algorithm is shown in Algorithm 3.
Algorithm 3: Discrete Firefly-DEi (FDEi) Algorithm
Input: I ,   t max , N ,   β 0 ,   γ ,   α t
Output: the global best, G z
Step 1: Generate I fireflies in the initial population of swarm
Step 2:
While ( t < t max )
         Evaluate the fitness function F 1 ( z i ) for each firefly i { 1 , 2 , , I }
         For each i { 1 , 2 , , I }
               For each j { 1 , 2 , , I }
                     If ( F 1 ( z i ) < F 1 ( z j ) )
Step 2.1: Fly according to fireflies’ pattern
                     For n { 1 , 2 , , N }
                             Move the i-th firefly toward the j-th firefly in the n-th dimension
                                   v i n = z i n + β 0 e γ r i j 2 ( z j n z i n ) + α ε i n
                                  Transform v i n to   binary   and   update i - th   firefly i as follows:
                                  Generate r s i d randomly based on uniform distribution U ( 0 , 1 )
                                   z i n = 1 r s i d > T ( v i n ) 0 o t h e r w i s e
                             End For
                     Else
Step 2.2: Fly according to particle swarm’s pattern to attempt to increase diversity
                        For n { 1 , 2 , , N }
                           Apply Strategy DEi to create the n-th dimension of trial vector v i n
                           Transform each element of the trial vector to one or zero
                                    z i n C S ( v i n )
                        End For
                End If
         End For
End For
Update the global best G z
t t + 1
End While

4. Results

The hybrid algorithms and the method to allocate cost savings developed in the previous section were tested to compare the effectiveness of different hybridization strategies as well as the proposed cost-saving allocation method. The examples for testing the hybrid algorithms are available for download via the following link:

4.1. Comparison of Hybrid Algorithms

The results presented in this section include the discrete version of the Firefly Algorithm, the PSO algorithm, the Differential Evolution algorithms with the six well-known mutation strategies and the hybrid algorithms developed in this paper. The hybrid algorithm developed by applying the Firefly Algorithm and Differential Evolution with Mutation Strategy i is denoted by FDEi. The hybrid algorithm developed by applying Firefly Algorithm and PSO is denoted by FPSO. The discrete version of Differential Evolution with Mutation Strategy i is denoted by DEi.
The parameters used in the tests are shown in Table 5 and Table 6.
Based on the parameters, all the algorithms mentioned above were applied to find the solutions for the test cases. We ran each algorithm ten times, and the results were recorded. The average fitness function values and the average generations of the best solutions found by each algorithm were calculated and summarized in Table 7 and Table 8 for population size N P = 10.
The results in Table 7 and Table 8 show that the average fitness function values achieved by FPSO are the same as the ones found by the PSO for all test cases for N P = 10. But the average generations for which FPSO found the best solutions are much smaller than those of PSO for all test cases. This indicates that FPSO is superior to PSO in terms of convergence rate. In addition, FPSO outperforms FA in average fitness function values and average generations for most test cases. This indicates that FPSO improves the performance and convergence rate of FA.
The results in Table 7 and Table 8 show that the average fitness function values achieved by FDEi are greater than those found by the DEi and FA for most of the test cases for N P = 10. However, the average generations for which FDEi found the best solutions are not always smaller than those of DEi for all test cases. This means that FDEi improves the performance but not the convergence rate of FA for N P = 10.
The results in Table 7 and Table 8 show that the average fitness function values achieved by FPSO are greater than those found by the FDEi for most of the test cases for N P = 10. In addition, the average generations for which FPSO found the best solutions are smaller lower than those of FDEi for most test cases. This indicates that FPSO outperforms FDEi in terms of performance and convergence rate for N P = 10.
Figure 3, Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8 show the average fitness function values and (b) average generations for Case 1 through Case 6 with population size N P = 10.
Figure 4 shows the average fitness function values and (b) average generations for Case 2 with population size N P = 10.
The average fitness function values and the average generations for which each algorithm found the best solutions were calculated and summarized in Table 9 and Table 10, respectively, for population size N P = 30.
The results in Table 9 and Table 10 show that the average fitness function values achieved by FPSO are the same as the ones found by the PSO for all test cases for N P = 30. But the average generations for which FPSO found the best solutions are much smaller than those of PSO for all test cases. This indicates that FPSO is superior to PSO in terms of convergence rate.
The results in Table 9 and Table 10 show that the average fitness function values achieved by FDEi are greater than or equal to those found by the DEi for all the test cases for N P = 30. However, the average generations for which FDEi found the best solutions are not and can be much larger than those of DEi for many test cases for N P = 30. This means that FDEi improves the performance but not the convergence rate of DEi for N P = 30.
The results in Table 9 and Table 10 show that the average fitness function values achieved by FPSO are the same as those found by the FDEi for all the test cases for N P = 30. In addition, the average generations for which FPSO found the best solutions are much smaller than those of FDEi for most test cases, with the exception of Case 1. The average generations for which FPSO found the best solutions are either no greater than or much smaller than those of standard PSO and FA for all test cases. This indicates that FPSO improves the performance and convergence rate of PSO and FA.
Figure 9, Figure 10, Figure 11, Figure 12, Figure 13 and Figure 14 show the (a) average fitness function values and (b) average generations for Case 1 through Case 6 with population size N P = 30.
In summary, the average fitness function values obtained by the FDEi algorithms tend to increase as the population size N P changes from 10 to 30. By contrast, the average fitness function values obtained by the FPSO algorithm are the same as the population size N P changes from 10 to 30. This indicates that the performance of the FPSO algorithm is less sensitive to population size. The results of our experiments indicate that in case one firefly fails to find another better firefly to update its position, allowing the firefly to attempt to fly by following the behavior of PSO to create a trial solution can improve efficiency in searching the solutions. However, in case one firefly fails to find another better firefly to update its position, allowing the firefly to attempt to fly by following the behavior of DE to create a trial solution cannot improve efficiency in searching the solutions.

4.2. Comparison of the Proposed Allocation Method with Existing Methods

Besides the optimization of cost savings in ridesharing systems, a new allocation method was proposed in this study to improve the number of acceptable shared rides and the number of ridesharing participants. In this subsection, we compare the proposed cost-saving allocation method with existing methods, including the FF, LP and GP methods in the literature. The proposed cost-saving allocation method is a parameterized method with the parameters α and δ . For all the experiments, α is set to 0.05. The meaning of the parameter δ is the ratio of the cost savings allocated to all winning passengers to the cost savings allocated to all winning passengers and all winning drivers. The results of this section include two situations called DGPGP1 and DGPGP2 by setting the parameter δ in the allocation method. In DGPGP1, the parameter δ is set to 0.5, and in DGPGP2, the parameter δ is the ratio of the overall original cost of the winning passengers to the overall original cost of the winning passengers and winning drivers. Several scenarios were created to test the performance of DGPGP1 and DGPGP2. The results indicate that either DGPGP1 or DGPGP2 is the best-performing method in comparison with the existing methods, FF, LP and GP, in these experiments.
The results in Table 11 show the number of acceptable rides and the number of ridesharing participants of the proposed allocation method DGPGP1 with δ = 0.5. Figure 15 and Figure 16 show the bar charts of the number of acceptable rides and the number of ridesharing participants for all cases, respectively. The results indicate that DGPGP1 is the best-performing method compared with FF, LP and GP.
The results in Table 12 show the number of acceptable rides and the number of ridesharing participants of the proposed allocation method DGPGP2. Figure 17 and Figure 18 show the bar charts of the number of acceptable rides and the number of ridesharing participants for all cases, respectively. The results indicate that DGPGP2 is the best-performing method compared with FF, LP and GP.

5. Discussion

We conducted experiments by applying the seven hybrid Firefly metaheuristic algorithms developed in this study to solve the ridesharing cost-saving optimization problems and compare their effectiveness. The results of the experiments indicate that combining the Firefly Algorithm with PSO or DE approaches can improve the performance of the original Firefly Algorithm. This is due to the ability to improve the search in the solution space by applying other diversified strategies to create potential candidates in case an individual cannot find another one to improve the solution quality using to the Firefly Algorithm. Therefore, the results of the experiments are consistent with our expectations. Another finding of this study is that the efficiency of a hybrid Firefly metaheuristic algorithm depends on the strategy used in the hybridization mechanism. The results of the experiments indicate that the FPSO algorithm, which was developed by hybridizing the Firefly Algorithm with PSO, is more efficient than the FDEi algorithm, which was developed by hybridizing the Firefly Algorithm with Dei. The average generations for which FPSO found the best solutions are smaller than those of the Firefly Algorithm. This indicates that FPSO is more efficient than the Firefly Algorithm. In addition, the average generations for which FDEi found the best solutions are not smaller than those of the Firefly Algorithm. This implies that the FDEi algorithm may not be more efficient than the Firefly Algorithm. In summary, arbitrarily combining two metaheuristic approaches may not always lead to an efficient hybrid metaheuristic algorithm.
As ridesharing or shared mobility systems require efficient decision support methods, several computationally efficient methods to allocate transport cost savings have been proposed in the literature. These methods include the Local Proportional Method, the Fifty–Fifty Method and the Global Proportional Method. These methods were proposed based on the idea of the proportional concept. As the cost-saving allocation method used in ridesharing or shared mobility systems directly influences the financial benefits of the users and the acceptability of ridesharing mode, several studies have started to probe into the performance issue of the cost-saving allocation method in recent years. In this paper, we proposed a new proportional method to allocate transport cost savings. The proposed proportional method to allocate transport cost savings depends on the parameter δ . In the experiments performed in this study, we considered two special cases of the new proportional allocation method called DGPGP1 and DGPGP2. DGPGP1 is obtained by setting δ to 0.5, and DGPGP2 is obtained by setting δ to the ratio of the overall original cost of the winning passengers to the overall original cost of the winning passengers and winning drivers. The results of experiments indicated that both DGPGP1 and DGPGP2 outperform the three existing proportional allocation methods, including the Local Proportional Method, the Fifty–Fifty Method and the Global Proportional Method, in terms of the performance metrics of the number of acceptable rides and the number of ridesharing participants on acceptable rides in ridesharing systems. This indicates that the new proportional allocation method is an effective allocation method.

6. Conclusions

The optimization of transportation cost savings and allocation of cost savings among stakeholders are two issues in ridesharing systems. In this study, we addressed these two issues based on the development of several hybrid metaheuristic algorithms and a new allocation method. As ridesharing problems are typically formulated as discrete optimization problems with constraints, they belong to the category of nonconvex constrained discrete optimization problems. Hybrid metaheuristic approaches are adopted in this study to develop solution algorithms for solving the ridesharing problems. Although the hybridization of different metaheuristic approaches may provide a potentially effective method to improve the performance and/or efficiency of the solution-finding processes in solving optimization problems, the effectiveness of hybridization depends on the metaheuristic approaches used in hybridization and the optimization problems to be solved. Therefore, it is necessary to study the effectiveness of applying the hybridization approach to each specific problem in terms of performance and efficiency. The rationale for hybridization to work is due to the increased diversity through properly combining different metaheuristic approaches in the solution processes to provide more diversified search directions in the solution space. However, the capability to effectively increase the diversified search directions in the solution space is dependent on the metaheuristic approaches selected for hybridization and is unknown a priori. Experiments need to be conducted to know whether an algorithm based on the hybridization of different metaheuristic approaches is able to increase the diversified search directions in the solution space to improve candidate solutions. In this paper, we developed several hybrid metaheuristic algorithms for ridesharing problems by combining the Firefly Algorithm with the PSO approach or DE approach. These hybrid metaheuristic algorithms include Firefly PSO (FPSO), Firefly DE1 (FDE1), Firefly DE2 (FDE2), Firefly DE3 (FDE3), Firefly DE4 (FDE4), Firefly DE5 (FDE5) and Firefly DE6 (FDE6). To study the effectiveness of these hybrid metaheuristic algorithms, we conducted experiments for two different population size parameters. A population size of 10 is used in the first series of experiments to study whether these hybrid metaheuristic algorithms can work effectively in small population sizes. A population size of 30 is used in the second series of experiments to study whether these hybrid metaheuristic algorithms can work effectively in moderate population sizes. The results of the first series of experiments indicate that FPSO either outperforms or performs as well as FDE1, FDE2, FDE3, FDE4, FDE5 and FDE6 in terms of average fitness function values and average generations for most test cases. The results of the second series of experiments indicate that the average fitness function values achieved by FPSO are the same as those found by the FDEi for all the test cases for a population size of 30. In addition, the average generations for which FPSO found the best solutions are much smaller than those of FDEi for most test cases with a population size of 30. The average generations for which FPSO found the best solutions are much smaller than those of standard PSO and FA for all test cases for a population size of 30. This indicates that FPSO improves the efficiency of PSO and FA through hybridization. In summary, hybridizing FA with PSO creates a more efficient algorithm, whereas hybridizing FA with DE does not lead to a more efficient algorithm for the ridesharing recommendation problem. Hybridizing FA with PSO or DE is very similar to marriages in the real world. An interesting finding of this study is very similar to what happens in the real world: “Not all marriages have happy endings.” It is necessary to carefully select the different metaheuristic approaches to be hybridized.
Besides the optimization of cost savings, a new allocation method was proposed in this study to improve the number of acceptable shared rides and the number of ridesharing participants. The new allocation method can be applied to deal with the different minimal expectations of drivers and passengers by setting a parameter δ . We define two special cases based on the new allocation methods called DGPGP1 and DGPGP2 by setting the parameter δ to 0.5 and the ratio of the overall original cost of the winning passengers to the overall original cost of the winning passengers and winning drivers, respectively. Several scenarios were created to test the performance of DGPGP1 and DGPGP2. The results indicate that either DGPGP1 or DGPGP2 is the best-performing method for these scenarios compared with the existing methods, FF, LP and GP, in the literature. One of our future research directions is to develop new methods that are computationally efficient and can be effectively applied in ridesharing recommendation systems. Another future research direction is to study the effectiveness of other hybridization methods for ridesharing recommendation systems.

Funding

This research was supported in part by the National Science and Technology Council, Taiwan, under Grant NSTC 111-2410-H-324-003.

Data Availability Statement

Data are available in a publicly accessible repository described in the article.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Sustainable Transportation and Fuels. Available online: https://www.energy.gov/eere/sustainable-transportation-and-fuels (accessed on 20 November 2023).
  2. AGENDA 21. Available online: https://sustainabledevelopment.un.org/content/documents/Agenda21.pdf (accessed on 20 November 2023).
  3. Plan of Implementation of the World Summit on Sustainable Development. Available online: https://library.arcticportal.org/1679/1/Johannesburg_Plan_of_Implementation.pdf (accessed on 20 November 2023).
  4. Sustainable Transport. Available online: https://sdgs.un.org/topics/sustainable-transport (accessed on 20 November 2023).
  5. Transforming Our World: The 2030 Agenda for Sustainable Development. Available online: https://sdgs.un.org/2030agenda (accessed on 20 November 2023).
  6. Tafreshian, A.; Masoud, N.; Yin, Y. Frontiers in service science: Ride matching for peer-to-peer ride sharing: A review and future directions. Serv. Sci. 2020, 12, 44–60. [Google Scholar] [CrossRef]
  7. Ferrero, F.; Perboli, G.; Rosano, M.; Vesco, A. Car-sharing services: An annotated review. Sustain. Cities Soc. 2018, 37, 501–518. [Google Scholar] [CrossRef]
  8. Narayanan, S.; Chaniotakis, E.; Antoniou, C. ‘Shared autonomous vehicle services: A comprehensive review. Transp. Res. C Emerg. Technol. 2020, 111, 255–293. [Google Scholar] [CrossRef]
  9. Ricci, M. Bike sharing: A review of evidence on impacts and processes of implementation and operation. Res. Transp. Bus. Manag. 2015, 15, 28–38. [Google Scholar] [CrossRef]
  10. Hao, M.; Yamamoto, T. Shared autonomous vehicles: A review considering car sharing and autonomous vehicles. Asian Transp. Stud. 2018, 5, 47–63. [Google Scholar]
  11. Mohan, A.; Bruchon, M.; Michalek, J.; Vaishnav, P. Life Cycle Air Pollution, Greenhouse Gas, and Traffic Externality Benefits and Costs of Electrifying Uber and Lyft. Environ. Sci. Technol. 2023, 57, 8524–8535. [Google Scholar] [CrossRef] [PubMed]
  12. Amatuni, L.; Ottelin, J.; Steubing, B.; Mogollón, J.M. Does car sharing reduce greenhouse gas emissions? Assessing the modal shift and lifetime shift rebound effects from a life cycle perspective. J. Clean. Prod. 2020, 266, 121869. [Google Scholar] [CrossRef]
  13. Exploring the Impact of Shared Mobility Services on CO2, Environment Working Paper No. 175. Available online: https://one.oecd.org/document/ENV/WKP(2021)7/en/pdf (accessed on 20 November 2023).
  14. Bruglieri, M.; Ciccarelli, D.; Colorni, A.; Luè, A. PoliUniPool: A carpooling system for universities. Procedia-Soc. Behav. Sci. 2011, 20, 558–567. [Google Scholar] [CrossRef]
  15. Liftango. Available online: https://www.newcastle.edu.au/our-uni/campuses-and-locations/transport/rideshare-liftango (accessed on 20 November 2023).
  16. Lyft. Available online: https://www.lyft.com/ (accessed on 20 November 2023).
  17. Uber. Available online: https://www.uber.com/ (accessed on 20 November 2023).
  18. Didi. Available online: https://www.didiglobal.com (accessed on 20 November 2023).
  19. Wingz. Available online: https://www.wingz.me/ (accessed on 20 November 2023).
  20. Via. Available online: https://ridewithvia.com/ (accessed on 20 November 2023).
  21. Hwang, K.; Giuliano, G. The Determinants of Ridesharing: Literature Review; Working Paper UCTC No. 38; The University of California Transportation Center: Los Angeles, CA, USA, 1990; Available online: https://escholarship.org/uc/item/3r91r3r4 (accessed on 20 November 2023).
  22. Wieding, S.V.; Sprei, F.; Hult, C.; Hult, Å.; Roth, A.; Persson, M. Drivers and barriers to business-to-business carsharing for work trips—A case study of Gothenburg, Sweden. Case Stud. Transp. Policy 2022, 10, 2330–2336. [Google Scholar] [CrossRef]
  23. Agatz, N.; Erera, A.; Savelsbergh, M.; Wang, X. Optimization for dynamic ride-sharing: A review. Eur. J. Oper. Res. 2012, 223, 295–303. [Google Scholar] [CrossRef]
  24. Mourad, A.; Puchinger, J.; Chu, C. A survey of models and algorithms for optimizing shared mobility. Transp. Res. Part B Methodol. 2019, 123, 323–346. [Google Scholar] [CrossRef]
  25. Martins, L.D.C.; de la Torre, R.; Corlu, C.G.; Juan, A.A.; Masmoudi, M.A. Optimizing ride-sharing operations in smart sustainable cities: Challenges and the need for agile algorithms. Comput. Ind. Eng. 2021, 153, 107080. [Google Scholar] [CrossRef]
  26. Saisubramanian, S.; Basich, C.; Zilberstein, S.; Goldman, C.V. Satisfying Social Preferences in Ridesharing Services. In Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019; pp. 3720–3725. [Google Scholar]
  27. Hsieh, F.S. Trust-Based Recommendation for Shared Mobility Systems Based on a Discrete Self-Adaptive Neighborhood Search Differential Evolution Algorithm. Electronics 2022, 11, 776. [Google Scholar] [CrossRef]
  28. Yang, X.S. Firefly algorithms for multimodal optimization. Lect. Notes Comput. Sci. 2009, 5792, 169–178. [Google Scholar]
  29. Kennedy, J.; Eberhart, R.C. Particle swarm optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
  30. Price, K.; Storn, R.; Lampinen, J. Differential Evolution: A Practical Approach to Global Optimization; Springer: Berlin/Heidelberg, Germany, 2005. [Google Scholar]
  31. Hsieh, F.-S. A Self-Adaptive Meta-Heuristic Algorithm Based on Success Rate and Differential Evolution for Improving the Performance of Ridesharing Systems with a Discount Guarantee. Algorithms 2024, 17, 9. [Google Scholar] [CrossRef]
  32. Li, J. A Hybrid Differential Evolution Method for Practical Engineering Problems. In Proceedings of the 2009 IITA International Conference on Control, Automation and Systems Engineering (Case 2009), Zhangjiajie, China, 11–12 July 2009; pp. 54–57. [Google Scholar] [CrossRef]
  33. Zhang, L.; Liu, L.; Yang, X.S.; Dai, Y. A Novel Hybrid Firefly Algorithm for Global Optimization. PLoS ONE 2016, 11, e0163230. [Google Scholar] [CrossRef] [PubMed]
  34. Paital, S.R.; Ray, P.K.; Mohanty, A. Firefly-swarm optimized fuzzy adaptive PSS in power system for transient stability enhancement. In Proceedings of the 2017 Progress in Electromagnetics Research Symposium-Fall (PIERS-FALL), Singapore, 19–22 November 2017; pp. 1969–1976. [Google Scholar]
  35. Paital, S.R.; Mohanty, A.; Eddy Foo, Y.S.; Krishnan, A.; Beng Gooi, H.; Amaratunga, G.A.J. A Hybrid Firefly-Swarm Optimized Fractional Order Interval Type-2 Fuzzy PID-PSS for Transient Stability Improvement. IEEE Trans. Ind. Appl. 2019, 55, 6486–6498. [Google Scholar]
  36. Ibrahim, I.M.; Omran, W.A.; Abdelaziz, A.Y. Optimal Sizing of Microgrid System Using Hybrid Firefly and Particle Swarm Optimization Algorithm. In Proceedings of the 22nd International Middle East Power Systems Conference (MEPCON), Assiut, Egypt, 14–16 December 2021; pp. 287–293. [Google Scholar] [CrossRef]
  37. Aydilek, İ.B. A hybrid firefly and particle swarm optimization algorithm for computationally expensive numerical problems. Appl. Soft Comput. 2018, 66, 232–249. [Google Scholar] [CrossRef]
  38. Hsieh, F.-S. A Hybrid Firefly-DE algorithm for Ridesharing Systems with Cost Savings Allocation Schemes. In Proceedings of the 2022 IEEE World AI IoT Congress (AIIoT), Seattle, WA, USA, 6–9 June 2022; pp. 649–653. [Google Scholar]
  39. Hsieh, F.-S. Improve Decision Making Efficiency in Ridesharing Systems through a Hybrid Firefly-PSO algorithm. In Proceedings of the 2023 IEEE World AI IoT Congress (AIIoT), Seattle, WA, USA, 7–10 June 2023; pp. 578–582. [Google Scholar]
  40. Guajardoa, M.; Ronnqvist, M. A review on cost allocation methods in collaborative transportation. Int. Trans. Oper. Res. 2016, 23, 371–392. [Google Scholar] [CrossRef]
  41. Shapley, L.S. A Value for N-Person Games. Available online: https://www.rand.org/content/dam/rand/pubs/papers/2021/P295.pdf (accessed on 20 November 2023).
  42. Schmeidler, D. The Nucleolus of a Characteristic Function Game. SIAM J. Appl. Math. 1969, 17, 1163–1170. [Google Scholar] [CrossRef]
  43. Kalai, E. Proportional solutions to bargaining situations: Intertemporal utility comparisons. Econometrica 1977, 45, 1623–1630. [Google Scholar] [CrossRef]
  44. Wang, X.; Agatz, N.; Erera, A. Stable Matching for Dynamic Ride-Sharing Systems. Transp. Sci. 2018, 52, 850–867. [Google Scholar] [CrossRef]
  45. Agatz, N.A.H.; Erera, A.L.; Savelsbergh, M.W.P.; Wang, X. Dynamic ride-sharing: A simulation study in metro Atlanta. Transp. Res. Part B Methodol. 2011, 45, 1450–1464. [Google Scholar] [CrossRef]
  46. Hsieh, F.S.; Zhan, F.; Guo, Y. A solution methodology for carpooling systems based on double auctions and cooperative coevolutionary particle swarms. Appl. Intell. 2019, 49, 741–763. [Google Scholar] [CrossRef]
  47. Hsieh, F.-S. A Comparison of Three Ridesharing Cost Savings Allocation Schemes Based on the Number of Acceptable Shared Rides. Energies 2021, 14, 6931. [Google Scholar] [CrossRef]
  48. Hsieh, F.-S. Improving Acceptability of Cost Savings Allocation in Ridesharing Systems Based on Analysis of Proportional Methods. Systems 2023, 11, 187. [Google Scholar] [CrossRef]
  49. Ravindran, A.; Ragsdell, K.M.; Reklaitis, G.V. Enginering Optimization: Methods and Applications, 2nd ed.; Wiley: New York, NY, USA, 2007. [Google Scholar]
  50. Deb, K. An efficient constraint handling method for genetic algorithms. Comput. Methods Appl. Mech. Eng. 2000, 186, 311–338. [Google Scholar] [CrossRef]
Figure 1. A flowchart of discrete Firefly Algorithm.
Figure 1. A flowchart of discrete Firefly Algorithm.
Electronics 13 00324 g001
Figure 2. A flowchart of discrete hybrid Firefly Algorithm with a selected strategy.
Figure 2. A flowchart of discrete hybrid Firefly Algorithm with a selected strategy.
Electronics 13 00324 g002
Figure 3. (a) Average fitness function values; (b) average generations for Case 1 with population size NP = 10.
Figure 3. (a) Average fitness function values; (b) average generations for Case 1 with population size NP = 10.
Electronics 13 00324 g003
Figure 4. (a) Average fitness function values; (b) average generations for Case 2 with population size NP = 10.
Figure 4. (a) Average fitness function values; (b) average generations for Case 2 with population size NP = 10.
Electronics 13 00324 g004
Figure 5. (a) Average fitness function values; (b) average generations for Case 3 with population size N P = 10.
Figure 5. (a) Average fitness function values; (b) average generations for Case 3 with population size N P = 10.
Electronics 13 00324 g005
Figure 6. (a) Average fitness function values; (b) average generations for Case 4 with population size NP = 10.
Figure 6. (a) Average fitness function values; (b) average generations for Case 4 with population size NP = 10.
Electronics 13 00324 g006
Figure 7. (a) Average fitness function values; (b) average generations for Case 5 with population size N P = 10.
Figure 7. (a) Average fitness function values; (b) average generations for Case 5 with population size N P = 10.
Electronics 13 00324 g007
Figure 8. (a) Average fitness function values; (b) average generations for Case 6 with population size N P = 10.
Figure 8. (a) Average fitness function values; (b) average generations for Case 6 with population size N P = 10.
Electronics 13 00324 g008
Figure 9. (a) Average fitness function values; (b) average generations for Case 1 with population size N P = 30.
Figure 9. (a) Average fitness function values; (b) average generations for Case 1 with population size N P = 30.
Electronics 13 00324 g009
Figure 10. (a) Average fitness function values; (b) average generations for Case 2 with population size N P = 30.
Figure 10. (a) Average fitness function values; (b) average generations for Case 2 with population size N P = 30.
Electronics 13 00324 g010
Figure 11. (a) Average fitness function values; (b) average generations for Case 3 with population size N P = 30.
Figure 11. (a) Average fitness function values; (b) average generations for Case 3 with population size N P = 30.
Electronics 13 00324 g011
Figure 12. (a) Average fitness function values; (b) average generations for Case 4 with population size N P = 30.
Figure 12. (a) Average fitness function values; (b) average generations for Case 4 with population size N P = 30.
Electronics 13 00324 g012
Figure 13. (a) Average fitness function values; (b) average generations for Case 5 with population size N P = 30.
Figure 13. (a) Average fitness function values; (b) average generations for Case 5 with population size N P = 30.
Electronics 13 00324 g013
Figure 14. (a) Average fitness function values; (b) average generations for Case 6 with population size N P = 30.
Figure 14. (a) Average fitness function values; (b) average generations for Case 6 with population size N P = 30.
Electronics 13 00324 g014
Figure 15. Comparison of acceptable rides of DGPGP1 with FF, LP and GP for NP = 30.
Figure 15. Comparison of acceptable rides of DGPGP1 with FF, LP and GP for NP = 30.
Electronics 13 00324 g015
Figure 16. Comparison of participants on acceptable rides of DGPGP1 with FF, LP and GP for N P = 30.
Figure 16. Comparison of participants on acceptable rides of DGPGP1 with FF, LP and GP for N P = 30.
Electronics 13 00324 g016
Figure 17. Comparison of acceptable rides of DGPGP2 with FF, LP and GP for N P = 30.
Figure 17. Comparison of acceptable rides of DGPGP2 with FF, LP and GP for N P = 30.
Electronics 13 00324 g017
Figure 18. Comparison of participants on acceptable rides of DGPGP2 with FF, LP and GP for N P = 30.
Figure 18. Comparison of participants on acceptable rides of DGPGP2 with FF, LP and GP for N P = 30.
Electronics 13 00324 g018
Table 1. Notation of symbols, variables and parameters.
Table 1. Notation of symbols, variables and parameters.
VariableMeaning
P the number of passengers.
p passenger index, p { 1 , 2 , 3 , .... , P } .
D the number of drivers.
d driver index, d { 1 , 2 , 3 , .... , D } .
k location index, k { 1 , 2 , , P } .
J d the number of bids submitted by driver, d { 1 , 2 , , D } .
j bid index of a driver, j { 1 , 2 , , J d } , d { 1 , 2 , , D } .
B I D d j the j -th bid of driver d with B I D d j = ( q d j 1 1 , q d j 2 1 , q d j 3 1 , , q d j P 1 , q d j 1 2 , q d j 2 2 , q d j 3 2 , , q d j P 2 , o d j , c d j , Γ d j ) , where
q d j k 1 : number of seats allocated to passenger k ’s pick-up location;
q d j k 2 : number of seats released at passenger k ’s drop-off location;
o d j : driver original cost of j -th bid of driver d without ridesharing;
c d j : the transport cost of j -th bid of driver d .
Γ d j : the set of passengers on the ride of the j -th bid of driver d
B I D p the bid of passenger p with B I D p = ( s p 1 1 , s p 2 1 , s p 3 1 , , s p P 1 , s p 1 2 , s p 2 2 , s p 3 2 , s p P 2 , f p ) , where
s p k 1 : number of seats requested for passenger k’s pick-up location;
s p k 2 : number of seats released for passenger k’s drop-off location;
f p : original cost of passenger p without ridesharing.
x d j decision variable for the j - th bid of driver d ; x d j = 1 if the j - th bid of driver d is a winning bid; otherwise, x d j = 0 if the j - th bid of driver d is not a winning bid.
y p decision variable for passenger p ; y p = 1 if the bid of passenger p is a winning bid, and y p = 0 if the bid of passenger p is not a winning bid.
α share value of ridesharing information provider.
β p P share value of passenger p .
β d D share value of driver d .
F ( x , y ) the objective function for cost savings: F ( x , y ) = p = 1 P y p f p + d = 1 D j = 1 J d x d j o d j d = 1 D j = 1 J d x d j c d j
Table 2. The DGPGP method for dividing cost savings among the ridesharing participants.
Table 2. The DGPGP method for dividing cost savings among the ridesharing participants.
MethodStakeholderShare Value
Driver Group–Passenger Group Proportional (DGPGP) Methodinformation provider α (8)
passenger β p P = δ ( 1 α ) y p f p p = 1 P y p f p , where 0 < δ < 1 (9)
driver β d D = j = 1 J d ( 1 δ ) ( 1 α ) x d j c d j   d = 1 D j = 1 J d x d j c d j , where 0 < δ < 1 (10)
Table 3. Notation of Firefly Algorithm and Hybrid Algorithms.
Table 3. Notation of Firefly Algorithm and Hybrid Algorithms.
VariableMeaning
F 1 ( x , y ) the fitness function, F 1 ( x , y ) = F ( x , y ) i f ( x , y ) s a t i s f i e s c o n s t r a   int   s ( 2 ) ~ ( 7 ) U ( x , y ) o t h e r w i s e
S f the set of feasible solutions in the current population
S f min the objective function value of the worst feasible solution in S f , S f min = min ( x , y ) S f F ( x , y )
U 1 ( x , y ) U 1 ( x , y ) = p = 1 P k = 1 K d = 1 D j = 1 J d x d j q d j k 1 y p s p k 1
U 2 ( x , y ) U 2 ( x , y ) = p = 1 P k = 1 K d = 1 D j = 1 J d x d j q d j k 2 y p s p k 2
U 3 ( x , y ) U 3 ( x , y ) = min ( p = 1 P y p f p + d = 1 D j = 1 J d x d j o d j d = 1 D j = 1 J d x d j c d j ) , 0.0 )
U 4 ( x , y ) U 4 ( x , y ) = d = 1 D ( 1 j = 1 J d x d j )
U ( x , y ) the function to evaluate infeasible solution
I population size
i the index of an individual in the population, i { 1 , 2 , , I }
N the dimension of the problem
z i the i -th individual in the population, where i { 1 , 2 , , I }
z i n the value of the n -th dimension of the i -th individual, where i { 1 , 2 , , I }
and n { 1 , 2 , , N }
z b the best individual in the current population
v i n the value of the n -th dimension of the candidate vector generated for the i -th individual, where i { 1 , 2 , , I } and n { 1 , 2 , , N }
t max the total number of generations
t the index of generation
r i j the distance between firefly i and firefly j
γ the light absorption coefficient
β 0 the attractiveness when the distance r i j between firefly i and firefly j is zero
β 0 e γ r i j 2 the attractiveness for the distance r i j between firefly i and firefly j
ε i n t a random number drawn from a uniform distribution in [0, 1]
α t a constant parameter in [0, 1]
T ( x ) T ( x ) = e 2 x 1 e 2 x + 1 , a function to transform a real value into a value in [0, 1]
γ 1 a random variable with uniform distribution, U ( 0 , 1 )
γ 2 a random variable with uniform distribution, U ( 0 , 1 )
c 1 cognitive acceleration coefficient, which is a non-negative real parameter less than 1
c 2 social acceleration coefficient, which is a non-negative real parameter less than 1
P z i the personal best of particle i at time t , where i { 1 , 2 , , I } , and P z i n is the n -th element of the vector P z i , where n { 1 , 2 , , N } .
G z the global best, and G z n is the n -th element of the vector G z , where n { 1 , 2 , , N }
C S the procedure to map a real value to zero or one defined in Procedure 1
η ( 0 , 1 ) Gaussian distribution with mean 0 and standard deviation 1.0
F i the scale factor, which is generated from Gaussian distribution η ( 0 , 1 )
C R the crossover rate
Table 4. The methods to create a trial vector in PSO and DE approaches.
Table 4. The methods to create a trial vector in PSO and DE approaches.
ApproachThe Way to Create the n-th Element of Trial Vector
PSOStep 1: Generate random numbers γ 1 and γ 2 with uniform distribution U ( 0 , 1 )
Step 2: Calculate the n -th dimension v i n of trial vector v i
v i n v i n + c 1 γ 1 ( P z i n z i n ) + c 2 γ 2 ( G z n z i n )
(12)
DE1Step 1: Generate numbers r 1 , r 2 and r 3 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
    μ i n = z r 1 n + F i ( z r 2 n z r 3 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
      v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(13)
DE2Step 1: Generate numbers r 2 and r 3 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
    μ i n = z b n + F i ( z r 2 n z r 3 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
    v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(14)
DE3Step 1: Generate numbers r 1 , r 2 , r 3 , r 4 and r 5 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
    v i n = z r 1 n + F i ( z r 2 n z r 3 n ) + F i ( z r 4 n z r 5 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
    v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(15)
DE4Step 1: Generate numbers r 1 , r 2 , r 3 and r 4 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
v i n = z b n + F i ( z r 1 n z r 2 n ) + F i ( z r 3 n z r 4 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(16)
DE5Step 1: Generate numbers r 2 and r 3 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
μ i n = z i n + F i ( z b n z i n ) + F i ( z r 1 n z r 2 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(17)
DE6Step 1: Generate numbers r 1 , r 2 , r 3 and r 4 from {1,2,…, I } randomly
Step 2: Calculate the n -th element, μ i n , of mutant vector μ i
v i n = z i n + F i ( z b n z i n ) + F i ( z r 1 n z r 2 n ) + F i ( z r 3 n z r 4 n )
Step 3: Calculate the n -th dimension v i n of trial vector v i by applying the crossover operation
v i n = μ i n i f R a n d ( 0 , 1 ) < C R z i n o t h e r w i s e
(18)
Table 5. Parameters used in all DE, PSO and Firefly algorithms.
Table 5. Parameters used in all DE, PSO and Firefly algorithms.
DE1DE2DE3DE4DE5DE6PSOFA
C R = 0.5 C R = 0.5 C R = 0.5 C R = 0.5 C R = 0.5 C R = 0.5 ω = 0.4 β 0 = 1.0
F i : generated from Gaussian distribution η ( 0 , 1 ) F i : generated from Gaussian distribution η ( 0 , 1 ) F i : generated from Gaussian distribution η ( 0 , 1 ) F i : generated from Gaussian distribution η ( 0 , 1 ) F i : generated from Gaussian distribution η ( 0 , 1 ) F i : generated from Gaussian distribution η ( 0 , 1 ) c 1 = 0.4
c 2 = 0.6
γ = 0.2
α = 0.2
M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000 M A X _ G E N = 50,000
V max = 4 V max = 4 V max = 4 V max = 4 V max = 4 V max = 4 V max = 4 V max = 4
N P = 10/30 N P = 10/30 N P = 10/30 N P = 10/30 N P = 10/30 N P = 10/30 N P = 10/30 N P = 10/30
Table 6. Parameters used in all hybrid algorithms.
Table 6. Parameters used in all hybrid algorithms.
FDE1FDE2FDE3FDE4FDE5FDE6FPSO
Parameters are the same as DE1 and FAParameters are the same as DE2 and FAParameters are the same as DE3 and FAParameters are the same as DE4 and FAParameters are the same as DE5 and FAParameters are the same as DE6 and FAParameters are the same as PSO and FA
Table 7. Average fitness function values and average generations for hybrid FDEi algorithms, where I { 1 , 2 , ... , 6 } and FPSO algorithm with population size N P = 10.
Table 7. Average fitness function values and average generations for hybrid FDEi algorithms, where I { 1 , 2 , ... , 6 } and FPSO algorithm with population size N P = 10.
CaseDPFDE1FDE2FDE3FDE4FDE5FDE6FPSO
1148.495/1.88.495/2.38.495/2.28.495/2.68.495/2.68.495/3.18.495/1.9
231043.8523/211.743.8523/377.544.7/348.844.7/32943.8523/305.344.7/404.444.7/77.6
331032.998/220.432.998/294.732.998/322.932.998/168.832.998/176.432.998/229.332.998/46.2
451167.992/80766.533/891.269.451/78966.3698/445.865.4771/1022.668.7215/644.370.91/692.9
551240.7687/151241.2418/1999.444441.2418/1049.888840.7687/1103.555541.2418/1535.222240.7687/1090.777741.715/187.3333
661250.2144/807.444450.4383/270249.3616/1407.555549.5855/1697.88848.5088/1681.777751.11/256.111151.11/171.5555
Table 8. Average fitness function values and average generations for native discrete DE algorithms and PSO with population size N P = 10.
Table 8. Average fitness function values and average generations for native discrete DE algorithms and PSO with population size N P = 10.
CaseDPDE1DE2DE3DE4DE5DE6PSOFA
1148.495/3.48.495/2.58.495/3.18.495/2.78.495/8.68.495/1.98.495/4.48.495/2.7
231043.006/71.540.1207/205.143.8523/733.640.9684/181.543.8523/439.743.8523/94.944.7/25527.8061/115.3
331032.4747/87.431.9514/166.732.4747/70.728.553/741.828.8135/122.232.998/508.532.998/31325.4751/375.4
451158.6415/1345.959.6974/693.832.4747/70.759.9814/1034.558.3949/1068.466.1931/446.670.91/87530.5676/423
551237.3519/368.437.5104/924.638.1275/243.938.0337/1160.438.5859/1510.640.0552/435.141.715/1716.111129.6832/684.6666
661240.2843/2179.933.7963/1558.239.865/413.944.4525/2078.638.5798/1052.745.6008/1107.951.11/65745.2088/1084.4444
Table 9. Average fitness function values and average generations for hybrid FDEi algorithms, where i { 1 , 2 , ... , 6 } and FPSO algorithm with population size N P = 30.
Table 9. Average fitness function values and average generations for hybrid FDEi algorithms, where i { 1 , 2 , ... , 6 } and FPSO algorithm with population size N P = 30.
CaseDPFDE1FDE2FDE3FDE4FDE5FDE6FPSO
1148.495/1.48.495/1.68.495/1.28.495/1.68.495/1.68.495/1.58.495/2
231044.7/214.644.7/92.744.7/125.944.7/93.944.7/193.644.7/157.644.7/6.3
331032.998/93.632.998/11732.998/83.332.998/115.732.998/13132.998/130.632.998/9.8
451170.91/1141.770.91/829.970.91/773.670.91/773.870.91/87070.91/864.770.91/133.6
551241.715/753.441.715/899.341.715/552.141.715/697.741.715/840.641.715/1106.241.715/154.9
661251.11/1288.651.11/155.351.11/1083.251.11/1392.751.11/1076.151.11/755.551.11/68.1
Table 10. Average fitness function values and average generations for native discrete DE algorithms and PSO with population size N P = 30.
Table 10. Average fitness function values and average generations for native discrete DE algorithms and PSO with population size N P = 30.
CaseDPDE1DE2DE3DE4DE5DE6PSOFA
1148.495/1.58.495/1.18.495/1.58.495/1.58.495/1.48.495/1.88.495/2.38.495/2
231044.7/29.443.0046/150.744.7/39.643.8523/33.544.7/50.744.7/29.644.7/8744.7/99.5
331032.998/37.730.6441/440.932.998/1732.4747/177.931.5101/37.432.998/46.632.998/80.232.998/100.5
451169.451/464.268.7215/1584.370.91/117.968.5448/63.366.3563/1052.970.91/163.270.91/418.670.91/529.9
551241.715/128.540.2464/181.241.2892/151.541.2892/155740.2464/1172.841.098/312.241.715/654.841.715/1291.4
661251.11/185.748.1973/46549.3735/303.950.3425/211.349.3735/1049.246.9785/10151.11/560.235.177/492.5
Table 11. Comparison of the number of acceptable rides and the number of ridesharing participants of the proposed allocation method with those of existing methods for r D r P and population size NP = 30, where M/N in each cell of the table denotes the number of acceptable rides (M) and the number of ridesharing participants (N).
Table 11. Comparison of the number of acceptable rides and the number of ridesharing participants of the proposed allocation method with those of existing methods for r D r P and population size NP = 30, where M/N in each cell of the table denotes the number of acceptable rides (M) and the number of ridesharing participants (N).
CaseDPDGPGP1DGPGP2FFLPGP r D r P
1141/20/01/20/00/00.050.3
23103/60/02/41/20/00.120.5
33103/60/02/40/00/00.10.2
45113/60/02/41/20/00.10.3
55123/50/02/40/00/00.120.3
66124/80/03/60/00/00.110.3
Table 12. Comparison of the number of acceptable rides and the number of ridesharing participants of the proposed allocation method with those of existing methods for r D = r P and population size NP = 30, where M/N in each cell of the table denotes the number of acceptable rides (M) and the number of ridesharing participants (N).
Table 12. Comparison of the number of acceptable rides and the number of ridesharing participants of the proposed allocation method with those of existing methods for r D = r P and population size NP = 30, where M/N in each cell of the table denotes the number of acceptable rides (M) and the number of ridesharing participants (N).
CaseDPDGPGP1DGPGP2FFLPGP r D r P
1140/01/20/01/21/20.10.1
23100/03/62/41/23/60.20.2
33100/03/60/02/43/60.150.15
45110/03/61/22/43/60.20.2
55120/03/61/20/03/60.150.15
66120/03/60/01/23/60.20.2
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

Hsieh, F.-S. Comparison of a Hybrid Firefly–Particle Swarm Optimization Algorithm with Six Hybrid Firefly–Differential Evolution Algorithms and an Effective Cost-Saving Allocation Method for Ridesharing Recommendation Systems. Electronics 2024, 13, 324. https://doi.org/10.3390/electronics13020324

AMA Style

Hsieh F-S. Comparison of a Hybrid Firefly–Particle Swarm Optimization Algorithm with Six Hybrid Firefly–Differential Evolution Algorithms and an Effective Cost-Saving Allocation Method for Ridesharing Recommendation Systems. Electronics. 2024; 13(2):324. https://doi.org/10.3390/electronics13020324

Chicago/Turabian Style

Hsieh, Fu-Shiung. 2024. "Comparison of a Hybrid Firefly–Particle Swarm Optimization Algorithm with Six Hybrid Firefly–Differential Evolution Algorithms and an Effective Cost-Saving Allocation Method for Ridesharing Recommendation Systems" Electronics 13, no. 2: 324. https://doi.org/10.3390/electronics13020324

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

Article Metrics

Back to TopTop