Abstract

Estimation of distribution algorithms (EDAs) have been used to solve numerous hard problems. However, their use with in-group optimization problems has not been discussed extensively in the literature. A well-known in-group optimization problem is the multiple traveling salesmen problem (mTSP), which involves simultaneous assignment and sequencing procedures and are shown in different forms. This paper presents a new algorithm, named , which is based on self-guided genetic algorithm with a minimum loading assignment (MLA) rule. This strategy uses the transformed-based encoding approach instead of direct encoding. The solution space of the proposed method is only . We compare the proposed algorithm against the optimal direct encoding technique, the two-part encoding genetic algorithm, and, in experiments on 34 TSP instances drawn from the TSPLIB, find that its solution space is . The scale of the experiments exceeded that presented in prior studies. The results show that the proposed algorithm was superior to the two-part encoding genetic algorithm in terms of minimizing the total traveling distance. Notably, the proposed algorithm did not cause a longer traveling distance when the number of salesmen was increased from 3 to 10. The results suggest that EDA researchers should employ the MLA rule instead of direct encoding in their proposed algorithms.

1. Introduction

Estimation of distribution algorithms (EDAs) use the learning while optimizing principle [1]. Two review articles have suggested that EDAs have emerged as a prominent alternative to evolutionary algorithms [2, 3]. In contrast to genetic algorithms (GAs), which employ crossover and mutation operators to generate solutions, EDAs explicitly extract global statistical information from the previous search to build a posterior probability model of promising solutions from which new solutions are sampled [4, 5]. This crucial characteristic distinguishes EDAs from GAs [6, 7].

Numerous studies aimed at using EDAs to solve nondeterministic polynomial-time hard (NP-hard) scheduling problems have shown that EDAs are able to perform effectively in terms of the solution quality [2, 8, 9]. Ceberio et al. [2], in particular, extensively tested 13 famous permutation-based EDAs on four combinatorial optimization problems, including the quadratic assignment problem, traveling salesman problem (TSP), permutation flowshop scheduling problems (PFSPs), and linear ordering problem. Their paper provides a good basis for comparison.

Although EDAs are effective in solving various hard problems, EDA studies seldom extensively discuss a problem. To our knowledge, only one EDA, namely, that is proposed by Shim et al. [10], can solve in-group optimization problems such as the multiple traveling salesmen problem (mTSP) and parallel machine scheduling problems (PMSPs) [11]. In-group optimization problems involve assigning and sequencing procedures simultaneously. Take the mTSP, for example: a number of cities are assigned to salesmen and these cities are visited only once by a salesman, where . Thus, this appears to be an NP-hard problem.

Because only one EDA could solve in-group optimization problems, there is much room for additional research. In-group optimization problems are relevant in industry, such as in the application of the mTSP. This research developed a new EDA, named , dealt with by using a self-guided genetic algorithm (SGGA) [12] with the minimum loading assignment (MLA) rule to solve the mTSP. As opposed to direct encoding, the proposed strategy is called the transformed-based encoding approach. The solution space of the MLA is only . We compare the proposed algorithm against the optimal direct encoding technique, the two-part encoding genetic algorithm (TPGA) [13]. Notably, the solution space of the two-part encoding approach is . The proposed MLA method, consequently, is superior to the two-part encoding technique, and an improved solution quality is expected when the SGGA works with the MLA method.

This paper is organized as follows: Section 2 primarily reviews the literature on in-group optimization problems, encoding techniques, and EDAs. In Section 3, the core MLA method is presented to dispatch cities to salesmen. This assignment rule is further employed by the SGGA in Section 4. Section 5 reveals the effectiveness of the proposed algorithm, which is compared with the existing famous direct encoding methods, including the one-chromosome and two-part chromosome encoding. Finally, we draw conclusions in Section 6.

2. Background Information

The mTSP is a well-known in-group optimization problem. We review mTSP studies and their variants in Section 2.1. To solve in-group optimization problems, numerous encoding techniques could be applied in evolutionary algorithms. Solution representations fall into two classes: direct and indirect encoding methods [11], relevant studies about which are presented in Sections 2.2 and 2.3, respectively. The final section illustrates combinatorial-based EDAs.

2.1. In-Group Optimization Problems

Bektas [11] reviewed the seven types of in-group optimization problems, which we detail in Table 1. Among the variants of in-group optimization problems, the most well-known form is the mTSP because it models daily activities and exists in every enterprise [13]. The problem properties of the mTSP include assignment and sequence optimization procedures. For instance, we must optimize the traveling sequence for the route of each salesman. Both procedures directly lead to the traveling cost and time of the trip after assigning salesmen to visit places every day. A detailed definition of the mTSP can be found in [11].

Although the mTSP could be solved using exact algorithms [1416], large-sized problems are not solved efficiently. To deal with large-size instances, evolutionary algorithms (EAs) are a commonly used approach. The first crucial step of using EAs is selecting the appropriate encodings. Encoding approaches are presented in the next section.

2.2. Direct Encoding Methods

There are five major direct encodings of EAs: one-chromosome [17], two-chromosome [18, 19], two-part chromosome [13], grouping genetic algorithms (GGAs) [2022], and matrix representation [23]. Two-part chromosome encoding, which is superior to one- and two-chromosome encoding [13] because of its smaller solution space, is depicted in Figure 1.

We assume this encoding with and . There are two distinct parts. The first part of the chromosome represents the permutation of cities. The second part of the chromosome shows the number of cities assigned to each salesman so that its chromosome length is . The total sum of genes is equal to the number of cities. In [24], they examined an improved combination of crossover and mutation operators for the two-part chromosome encoding method and suggested appropriate genetic operators that could be applied in GAs.

GGAs commonly use an array of jobs for each parallel machine, and the processing order of the jobs assigned to that machine is shown [25]. Kashan et al. [26] extended the GGAs into the grouping version of the particle swarm optimization algorithm. Later, Arnaout et al. [23] proposed a matrix representation of the jobs on machines, whose size is . Each row indicates the parallel machines and the processing sequence of the jobs on it. When there are no jobs to be processed on a machine, number 0 is inserted into the blank spaces. As a result, it became apparent that GGAs memory usage was inefficient, though Liao et al. [27] found that this approach was better than the other four variants of hybrid ant colony optimization. Thus, spaces are unused if we apply this encoding technique.

In these direct encoding techniques, the optimal approach could be the two-part chromosome technique, according to Carter and Ragsdale [13]. When we have items and groups, the solution space of one-chromosome encoding requires . Two-chromosome encoding takes and the size of the two-part chromosome is .

2.3. Indirect Encoding Methods

The transformed-based encoding type separates sequencing and assignment decisions because the complex encoding may yield poor results [28]. Its encoding strategy first utilizes permutation encoding and then assigns the items into groups at every stage. Although this approach could be used to solve the PMSP [29], the separated method is also applicable in complex flowshop problems involving numerous parallel machines in the flowshop. Ruiz and Maroto [28] referred to this application as the priority rules for hybrid flowshops. Wang et al. [30] called it the earliest completion factory rule for solving the distributed permutation flowshop scheduling problem. Salhi et al. [31] selected the index of the machine that allows a job that has the shortest completion time for solving complex flowshop scheduling problems.

To achieve optimal efficiency, this study adopts the transformed-based encoding method instead of direct encoding. In addition, several EAs could apply the assignment rule and then solve the in-group optimization problem. To evaluate the performance of the algorithms examined in this study, we select the mTSP for an extensive comparison.

In presenting the latest development in EDAs, it is clear that only a few can solve in-group assignment problems. Thus, this study is relevant to the investigation of in-group assignment problems.

2.4. Recently Developed Combinatorial-Based EDAs

Unlike the implicit processing of building blocks in GAs, EDAs explicitly rely on the used probability model. The building blocks are based on selection and crossover operators that do not preserve essential patterns [32]. The probability model is the core factor in affecting the performance of EDAs. The more accurate the probability model is, the more effective the algorithm will be in preventing the disruption of essential building blocks [33]. In general, a distinguishing characteristic of EDAs is their application of the probabilistic model, which is not used by GAs.

Numerous attempts at using EDAs to solve sequencing or combinatorial optimization problems have been made. For example, Chang et al. [34] proposed a hybrid framework to alternate between EDAs and genetic operators for solving the single machine scheduling problem. A position-based univariate probability model was used in the proposed algorithm. The hybrid framework is beneficial, because though EDAs efficiently improve solution quality in the first few runs, the loss of diversity rapidly increases as additional iterations are executed [7, 35, 36].

Jarboui et al. [37] proposed a hybrid approach, named EDA-VNS, that combined EDAs with the variable neighborhood search (VNS) [38] to solve PFSPs by using the minimization of the total flowtime. Their probabilistic model considered the order of the job queue and the building blocks of the jobs. This was the first attempt to take into account both first- and second-order statistical information. In addition, VNS improved as the EDA was run. Jarboui et al. [37] found that EDA-VNS was effective in small benchmarks; however, for larger problems, VNS was superior to EDA-VNS in terms of objective values and computational time. It was unclear why EDA-VNS did not outperform the VNS in large benchmarks. A new EDA in [4] also employed job permutation and similar blocks of jobs to solve lot-streaming flowshop problems. In this EDA, the definitions of job permutation and similar blocks differed from those of [37]; it also introduced a diversity measure to restart evolutionary progress when the population diversity decreased to a certain level.

In contrast to traditional EDAs, an SGGA uses a probabilistic model as the fitness function surrogate [39]. The probabilistic model guides the evolutionary direction in selecting candidate solutions for crossover and mutation operators. An SGGA could solve PFSPs. It could also be integrated with dominance properties to solve single machine scheduling problems [40]. An eSGGA was proposed for problems involving variable interactions [9].

To the best of our knowledge, the first EDA for the mTSP involved applying the one-chromosome representation [10]. Because there are pseudo cities introduced in the chromosome, every chromosome comprises genes. As a result, the dimension of their probability model , by computing the marginal probability of each city, is where is . This might be a drawback of the first EDAs, which were inherited from one-chromosome encoding, even though their performance was superior to three state-of-the-art multiobjective evolutionary algorithms. Consequently, the proposed algorithm , together with the MLA rule, may be the second EDA to solve the mTSP; it is a promising algorithm that does not use the larger probability model of EDAs.

3. Minimum Loading Assignment Rule in the mTSP

Suppose that there is a set of cities, sequenced in , that could be assigned to salesmen. These cities are not yet assigned to any salesmen. The sequence could be decoded by using an assignment rule to assign the cities to each salesman. After the assignment rule is executed, we can calculate the fitness function of each chromosome. We propose an MLA rule to perform the assignment work. The following pseudocode in Algorithm 1 illustrates this rule.

Require:
   : The position of a city in the sequence
   : The current number of cities assigned to a salesman
   : The visiting sequence of cities
(1) 1
(2) while    do
(3)  1
(4) 
(5) 
(6) 
(7) end while
(8) while    do
(9) Select a salesman who could process the with the minimum objective value
(10)
(11)
(12)
(13) end whie

In the beginning, the first cities are assigned to salesmen and the objective values of each salesman are calculated. The objective function of the mTSP would be the total traveling distance or maximum traveling distance among salesman. The MLA rule is then applied iteratively for unassigned cities. The MLA rule assigns the first unassigned city in the sequence to a salesman when it results in the minimum objective value. This assigned city is removed from . This process continues until no cities are left in .

By using the MLA rule, a city could be assigned to a salesman who has less loading. It also ensures that this assigned city is close to the last city visited by the salesman; a faraway city would not be considered. Through the MLA rule, mTSP can be extended to the PMSP with a setup consideration or the distributed flowshop scheduling problem.

4. Proposed Algorithm: EDAMLA

This section explains the procedures of the EDA with the MLA rule. The advantages of the proposed method include preserving the salient genes of the chromosomes and exploring and exploiting optimal searching directions for genetic operators [40, 41]. The major difference between this proposed algorithm and other works is the problem type; other studies have been aimed at solving the sequencing problem, whereas we addressed the grouping and sequencing problems simultaneously. The major procedures of are shown in Algorithm 2.

Population: A set of solutions
Generations: The maximum number of generations
: Probabilistic model
: Generation index
(1) Initialize Population
(2)
(3) Initialize
(5) while    do
(6) EvaluateFitness(Population) with minimum loading assignment rule
(7) Selection/Elitism(Population)
(8)  BuildingProbabilityModel(Selected Chromosomes)
(9) Self-Guided Crossover( )
(10)Self-Guided Mutation( )
(11)
(12) end while

In Step (1), the population is initialized and the sequence of each chromosome is generated randomly. Step (3) builds the probability matrix with a matrix dimension of by , where is the problem size. Each is initialized to be , where is the total number of cities in . This initialization means that all solutions have the same likelihood of being an optimal solution. The reason for such an initialization is that we have no information about the location of promising solutions.

In Step (5), we evaluate the objective value of each solution. In addition, the MLA rule is used here (see Algorithm 1). After all cities are assigned to salesmen, the algorithm evaluates the total distance of all salesmen and the maximum distance among the salesmen. In Step (6), a binary tournament selection is used to select good solutions from the population.

Step (7) forms the probability model after the selection procedure. The calculation details are outlined in Section 4.1. In Steps (8) and (9), is employed in the self-guided crossover and mutation operators. The probability model is used as a fitness surrogate, which is shown in Sections 4.2 to 4.4. We use the two-point partial mapping crossover and swap mutation in the crossover and mutation procedures for solving the mTSP.

The proposed algorithm is explained in the following sections. We first describe the probability model of the EDA and then explain how the probabilistic model guides the crossover and mutation operators.

4.1. Formulation of the Probabilistic Model

The probability model of the EDA is defined aswhere is the probability of city being in position in a promising solution. summarizes the global statistical information about promising solutions obtained from the previous search.

Let be the number of solutions in Parentset, in which city is in position and is the size of Parentset. in Line (7) is updated as follows:where is the percentage of solutions in which city is in position . It represents the knowledge of promising solutions learned from the current generation. We use , the Laplace correction of in (2), to prevent from becoming very small [4244]. is the historical knowledge of promising solutions. We update in an incremental manner, as suggested by [45]. balances the contribution from historical knowledge with that of the knowledge learned from the current generation.

4.2. Probabilistic Model as the Fitness Surrogate

With the probabilistic model , we define the following function to predict the quality of solution :where is the position of city in . The following should be noted regarding this function:(i) is the probability that city in position is a promising solution. Therefore, can measure how promising is.(ii)In general, is not an exact probability measure of the set of all the solutions of because is only an estimation value of the probability that is promising. This estimation is more effective and much easier to compute compared with other probabilistic models in the literature. Thus, this method is effective and reduces computational time.

is applied to select good candidate solutions during the crossover and mutation operation. In the following subsection, we drop in and for simplicity.

4.3. Crossover Operator with Probabilistic Model

With the surrogate function in (3), we preevaluate the solution quality of the new solutions generated by the crossover and mutation operators. In the normal two-point crossover procedure, two random cut-points, and , are set in the beginning, where is less than . Then, a parent solution mates with the other parent solution to yield a new offspring. However, a difference exists in the proposed algorithm.

Because of the difference, we let a parent solution mate with a set of randomly selected solutions . The size of ranges from 2 to , where is the number of tournaments. These crossover steps produce a set of offspring . The quality difference between offspring and parent solution is denoted as . is given as follows:

The larger is, the more likely that is superior to other offspring when a set of parent solutions mate with a solution . Hence, is added to the offspring population. We repeat the crossover steps to generate offspring until the offspring population is full. Both the concepts of self-guided crossover and self-guided mutation employ the same idea. The mutation procedure is shown in the next section.

4.4. Mutation Operator with Probabilistic Model

Suppose that two cities and are randomly selected and they are located in position and position , respectively. and denote city in position and city in position . After these two cities are swapped, the new probabilities of the two cities become and . The probability difference is calculated as (6), which is a partial evaluation of the probability difference because the probability sum of the other cities remains the same:

Now because the part of is always , it can be subtracted, and (6) is simplified as follows:

If is positive, it implies that one gene or both genes might move to a promising area. On the other hand, when is negative, the implication is that at least one gene moves to an inferior position.

On the basis of the probabilistic differences, it is natural to consider different choices of swapping points during the mutation procedure. A parameter is introduced for the self-guided mutation operator, which denotes the number of tournaments in comparing the probability differences among the choices in swap mutation. Basically, while implies that the mutation operator mutates the genes directly without comparing the probability differences among the different choices.

When , suppose the other alternative is that two cities and are located in position and position , respectively. The probability difference of exchanging cities and is

After and are obtained, the difference between the two alternatives is as follows:

If , the contribution of swapping cities and is better, so we swap cities and . Otherwise, cities and are swapped. Consequently, the option of a larger probability difference is selected and the corresponding two cities are swapped. By observing the probability difference , the self-guided mutation operator exploits the solution space to enhance the solution quality and prevent destroying some dominant genes in a chromosome. Moreover, the main procedure of the self-guided mutation is (9), where the time-complexity is only a constant after the probabilistic model is employed. This approach proves to work efficiently.

To conclude, the is obviously different from the previous EDAs. Firstly, the algorithm utilizes the transformed-based encoding instead of using the direct encoding used by Shim et al. [10]. Secondly, the proposed algorithm explicitly embeds the probabilistic model in the crossover and mutation operators to explore and exploit the solution space. Most important of all, the algorithm works more efficiently than previous EDAs [10] in solving the mTSP because the time-complexity is whereas the previous EDAs need time. They are the major differences to other existing EDAs.

5. Experimental Results

We conducted extensive computational experiments to evaluate the performance of in solving the mTSP. There were 34 instances selected from the well-known traveling salesman problem library, TSPLIB, and the size of these instances ranged from 48 to 400. This paper assumed that the first city of each instance was the home depot. The number of salesmen used was 3, 5, 10, and 20. Hence, there were 136 instances in the experiments. Across all the experiments, we replicated each instance 30 times.

The proposed algorithm was compared with the benchmark encoding algorithm and a classic encoding, which are the TPGA [13] and one-chromosome genetic algorithm [17], respectively. We employed the genetic operators and parameter settings of the TPGA suggested by S.-H. Chen and M.-C. Chen [24], because they used the design-of-experiments (DOE) to select significant parameters; the genetic operators are the two-point partial mapping crossover operator and swap mutation operator. This ensures a fair comparison between the proposed algorithm and benchmark encoding algorithm. One-chromosome GA utilizes the same operators of TPGA and also employs the DOE to tune the parameters as well. The crossover and mutation rate of the one-chromosome GA are 0.5 and 0.1, respectively. Finally, a standard genetic algorithm also applies the MLA rule, which is named . could show whether the performance is enhanced by the assignment rule proposed by this research.

We implemented the algorithms in Java 2 on an Amazon EC2 with a Windows 2012 server (32-core CPU). The stopping criterion is the number of examined solutions which is up to 100,000. The objective functions include minimizing the total traveling distance and maximizing the traveling distance, which are detailed in Sections 5.1 and 5.2, respectively.

5.1. Total Traveling Distance Results

This objective evaluates the total distance traveled by the salesmen. It reflects the total cost of the assignment. Figure 2 shows the main effects plot of the method comparison and the differences in the number of salesmen assigned. This figure clearly illustrates that the and are superior to the one-chromosome GA and TPGA. This indicates that the MLA rule, that is, the transformed-based method, could be a more promising approach than the direct encoding methods. The total distance increased greatly with the number of salesmen, particularly when 20 salesmen could be assigned. This implies that the request of too many salesmen would be inefficient from a managerial perspective.

Figure 3 depicts the interaction plot between the factor method and number of salesmen. Notably, the and did not yield a longer total traveling distance when the number of salesmen increased from two to 10. However, the TPGA suffered when the number of salesmen was increased. Thus, this figure reveals the effectiveness of the transform-based rule compared with the direct encoding method. According to this interaction plot, if a manager wants to determine how many salesmen are required, the lowest total traveling distance would be 5.

Table 2 presents the results of the total traveling distance for the four algorithms. This table shows the minimum, mean, maximum, and the standard deviation (StDev). Among these 34 instances, is better than one-chromosome GA, TPGA, and out of the 17 cases when it comes to the average of the total distance. In addition, the standard deviation of one-chromosome GA, TPGA, , and is 21187, 33230, 19785, and 20041, respectively. It implies that the yields less variance than one-chromosome GA and TPGA. might be more robust in terms of the average performance and the variance.

5.2. Maximum Traveling Distance Results

The maximum traveling distance was used as the second objective tested by the three algorithms. Thus, the algorithms minimized the loading of the salesman with the highest loading. As a result, this objective balanced the loading among the salesmen. As shown in Figure 4, both the and remained superior to the one-chromosome GA and TPGA. A primary reason for these results could be the selection of a suitable salesman during the assignment phase according to the MLA rule. Hence, following this rule reduced the maximum traveling distance.

The assignment of 20 salesmen (see Figure 4) caused the lowest maximum loading on a salesman. This is a reasonable result because the loading is distributed over many salesmen. However, the assignment of 20 salesmen also resulted in the longest total traveling distance (see Section 5.1). Hence, the two objectives present a trade-off and should be considered simultaneously. In Figure 5, it shows the interaction plot between the method and the number of salesmen. This plot indicates and perform well no matter how many salesmen are assigned. In addition, the number of salesmen yields the lower maximum traveling distance solved by the four algorithms.

Table 3 shows the complete results for the four algorithms. The and are evidently superior to the one-chromosome GA and TPGA. The and have 20 and 14 lower mean values, respectively. This phenomenon indicates that the indirect encoding is better than the direct coding approach. The standard deviation of one-chromosome GA, TPGA, , and the is 14944, 21728, 13037, and 12940, respectively. StDev indicates that the has less variation than and TPGA. The might perform well in the minimization of the maximum traveling distance.

6. Conclusions

This study solves an in-group optimization problem that is rarely solved by EDAs. A new EDA , an EDA combined with the MLA rule, was proposed. Because the MLA rule was classified as transform-based encoding, the proposed algorithm was compared with the TPGA, the most favorable direct encoding strategy thus far. We evaluated these algorithms by solving the mTSP problem for 33 instances drawn from the TSPLIB. The scale of the experiments was larger than those of other mTSP studies. Our experimental results showed that the with the MLA rule outperformed the TPGA for both the objectives of total traveling and maximum traveling distance. Thus, the proposed algorithm is capable of efficiently solving the mTSP problem. In addition, the MLA rule was effective and could be applied with some GAs originally designed for permutation-type problems. As a result, this study provides insight for researchers investigating scheduling problems and advances the research on in-group optimization problems.

Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The author would like to thank anonymous reviewers who enhance the quality of this paper and the Minister of Science and Technology with Grant nos. MOST 102-2221-E-230-019-MY2 and MOST 101-2221-E-343-002.