Next Article in Journal
Trends in National R&D Projects on Biomimetics in South Korea
Next Article in Special Issue
An Enhanced Human Evolutionary Optimization Algorithm for Global Optimization and Multi-Threshold Image Segmentation
Previous Article in Journal
An Improved Whale Optimization Algorithm for the Clean Production Transformation of Automotive Body Painting
Previous Article in Special Issue
Optimizing the Design of TES Tanks for Thermal Energy Storage Applications Through an Integrated Biomimetic-Genetic Algorithm Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comparison of Binary and Integer Encodings in Genetic Algorithms for the Maximum k-Coverage Problem with Various Genetic Operators

1
Department of Computer Science, Yonsei University, 50 Yonsei-ro, Seodaemoon-gu, Seoul 03722, Republic of Korea
2
Department of IT Convergence Engineering, Gachon University, 1342 Seongnam-daero, Sujeong-gu, Seongnam-si 13120, Gyeonggi-do, Republic of Korea
3
Department of Computer Engineering, Gachon University, 1342 Seongnam-daero, Sujeong-gu, Seongnam-si 13120, Gyeonggi-do, Republic of Korea
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Work done during undergraduate research at Gachon University.
Biomimetics 2025, 10(5), 274; https://doi.org/10.3390/biomimetics10050274
Submission received: 26 March 2025 / Revised: 23 April 2025 / Accepted: 25 April 2025 / Published: 28 April 2025
(This article belongs to the Special Issue Nature-Inspired Metaheuristic Optimization Algorithms 2025)

Abstract

:
The maximum k-coverage problem (MKCP) is a problem of finding a solution that includes the maximum number of covered rows by selecting k columns from an m  × n matrix of 0s and 1s. This is an NP-hard problem that is difficult to solve in a realistic time; therefore, it cannot be solved with a general deterministic algorithm. In this study, genetic algorithms (GAs), an evolutionary arithmetic technique, were used to solve the MKCP. Genetic algorithms (GAs) are meta-heuristic algorithms that create an initial solution group, select two parent solutions from the solution group, apply crossover and repair operations, and replace the generated offspring with the previous parent solution to move to the next generation. Here, to solve the MKCP with binary and integer encoding, genetic algorithms were designed with various crossover and repair operators, and the results of the proposed algorithms were demonstrated using benchmark data from the OR-library. The performances of the GAs with various crossover and repair operators were also compared for each encoding type through experiments. In binary encoding, the combination of uniform crossover and random repair improved the average objective value by up to 3.24% compared to one-point crossover and random repair across the tested instances. The conservative repair method was not suitable for binary encoding compared to the random repair method. In contrast, in integer encoding, the combination of uniform crossover and conservative repair achieved up to 4.47% better average performance than one-point crossover and conservative repair. The conservative repair method was less suitable with one-point crossover operators than the random repair method, but, with uniform crossover, was better.

1. Introduction

The maximum k-coverage problem (MKCP) is a type of set-covering problem. When matrix A = ( a i j ) is a binary matrix with a size of m × n , the purpose of the MKCP is to select k columns covering the m × n matrix such that the number of rows contained is at its maximum [1,2]. The MKCP has applications in many engineering fields, such as the maximum covering location problem [3], cloud computing [4], blog-watch [5], influence maximization problems for target marketing [6], and optimizing recommendation system in e-commerce [7].
The MKCP is famous for its NP-hardness [8]. GAs do not guarantee finding an optimal solution for NP-hard problems in polynomial time. However, they are well known for providing a reasonably better solution in a suitable time than heuristic and deterministic algorithms for optimization [9].
The solution for the MKCP in GAs can be expressed in a one-dimensional array whose elements present whether the corresponding column is selected or not. In integer encoding, the element of the array itself indicates whether that column is selected or not. In binary encoding, the element has only a value of 1 or 0. The value of 1 means the corresponding column is selected, and the value of 0 means it is not selected.
Figure 1 shows an example of a binary encoding and integer encoding, where A is a 2000 × 100 matrix and the value of k is 10. In binary encoding, an array for a solution contains only 0 and 1. The size of the array is 100 because the number of columns of the matrix is 100. The value of 1 means that the column corresponding to the index of the element is selected for the solution. In integer encoding, the size of an array for a solution is 10 because the value of k is 10. The value of each element in the array means that the corresponding column is selected. Because of these characteristics, there is a difference between binary encoding and integer encoding.
The performances of GAs for the MKCP with the two encodings and genetic operators were examined in this study. Through the experiments, the best combinations of encodings and operators could be derived. Genetic algorithms were designed with two different encoding methods, binary and integer encodings. In the proposed GAs, two solutions composed of k columns are randomly selected from a solution group, which is called a population. An offspring solution is generated by sequentially applying crossover, repair, and replacement operations. After a predetermined number of generations, the solution with the maximum target value is selected as the final solution. The performances of the proposed methods, which are based on binary and integer encodings, with various crossover operators and repair feasibilities, are compared and verified [10,11].
In this study, GAs for solving the MKCP are presented in detail, and various encodings and genetic operators are investigated. The effectiveness of GAs for solving the MKCP could be shown through the experiments. This study also showed which combination of encodings and genetic operators is more effective in solving the MKCP.
The organization of the paper is as follows: Section 2 reviews the related works in the field. Section 3 defines the problem being addressed. Section 4 details the genetic algorithm (GA) used for the MKCP in this study. Section 5 presents and analyzes the experimental results. Finally, Section 6 concludes the paper and offers suggestions for future directions.

2. Related Works

The MKCP is a combinatorial problem and there have been several theoretical studies on the generalizations and algorithms for solving the problem [12]. The purpose of the maximum coverage problem is to select k sets so that the weight of the covered element is maximized. There is a previous study that solves the MKCP with a standard greedy algorithm by Hochbaum and Pathria [13]. The algorithm proposed in the paper adds sets repeatedly so that the weight is maximized when adding sets. In [13], it was proved that the proposed greedy algorithm has an approximation ratio of 1 1 e . Nemhauser et al. [14] tried to solve a more generalized version of the MKCP. They proposed an approximation algorithm for the problem and obtained the same approximation ratio. Although it is already well known that the MKCP is a type of NP-hard problem, Feige [15] proved the inapproximability of the problem. In other words, when P = NP is not true, the algorithm for solving the MKCP cannot have a better approximation ratio than ( 1 1 e ). Resende suggested another way to solve the MKCP. A greedy randomized adaptive search procedure (GRASP) was used as a heuristic algorithm [16]. The upper bound for optimal values was obtained by considering a linear programming relaxation. GRASP performed better than the greedy algorithm, but no theoretical proof of GRASP was made. Later, the constrained MKCP was studied by Khuller et al. [17]. Instead of limiting the size of the solution, each set had a cost and was made available only if it was less than a predetermined cost. To calculate the approximation ratio, Khuller et al. [17] devised two algorithms. The first one achieved an approximation ratio of 1 2 ( 1 1 e ) and the second one achieved an approximation ratio of 1 1 e . In addition, they demonstrated that under similar conditions proposed by Feige [15], the highest possible approximation ratio for the constrained MKCP is 1 1 e .
The MKCP is an NP-hard problem [8]. It is strongly suspected that there are no polynomial-time algorithms for NP-hard problems, even though that has not been proven thus far. Hence, it is nearly impossible to find the optimal solution in practical time. To solve this kind of problem, heuristic algorithms are usually applied. Heuristic algorithms may not find the optimal solution, but they try to find reasonably good solutions in practical time.
The genetic algorithm is also a meta-heuristic algorithm. It can be applied to many NP-hard problems as well as the MKCP. The encoding scheme is a very important factor in GAs. The given information must be encoded into a specific bit string and there have been various encoding schemes according to characteristics of problems [18,19]. Binary encoding is one of the most common encoding schemes. Payne and Glen [20] developed a GA based on binary encoding to identify similarities between molecules. In their research, binary encoding is used for the position and shape of molecules. Longyan et al. [21] studied three different methods of using a binary-encoded GA for wind farm design. Although binary encoding is the most common encoding scheme, in some cases, the gene or chromosome is represented using a string of some values [22]. These values can be real, integer numbers, or characters.
Among various genetic operators, the crossover is considered the most critical genetic operator in GAs. The crossover operator is used to create offspring by mixing information from two or more parents. Some well-known crossover operators are one-point, two-point, k-point, and uniform crossovers [23]. In one-point crossover, one point is randomly selected. From that point, the genetic information of the two parents is exchanged. In two-point and k-point crossover, two or more random points are selected, and the parents’ genetic information is exchanged from the selected point as in the one-point crossover. In uniform crossover, specific points are not selected for the exchange of genetic information. Instead, for each gene it is randomly determined whether it will be exchanged or not.
MKCP is deeply connected to the minimum set covering problem (MSCP), which is a frequently researched NP-hard combinatorial optimization problem. Meta-heuristics, such as tabu search [24], ant colony optimization [25], and particle swarm optimization [26], have been applied to the MSCP, but the MKCP has been less studied [8]. The techniques used in the MSCP are challenging to apply directly to the MKCP because the two problems have slightly different structures. For solving the MKCP, there is previous research using adaptive binary particle swarm optimization, which is a representative meta-heuristic algorithm [27]. In other research, the method of combining the ant system with effective local search has been proposed [28]. Both studies focused on effective applications of meta-heuristic algorithms to solve the MKCP. In this paper, GAs were used to solve the MKCP. The performances of GAs with various genetic operators are investigated and analyzed. This study can be used as a guide for designing GAs to solve the MKCP efficiently.
Recent studies have further expanded the design of genetic operators to enhance the scalability and robustness of GAs, especially in large-scale optimization settings. For instance, Akopov [29] proposed a matrix-based hybrid genetic algorithm (MBHGA) for solving agent-based models, integrating real and integer encodings with hybrid crossover mechanisms to improve convergence speed and accuracy in multi-agent systems. Deb and Beyer [30] introduced a self-adaptive GA using simulated binary crossover (SBX), which dynamically adjusts the crossover distribution index to balance exploration and exploitation in real-coded optimization problems.
These works demonstrate the flexibility and adaptability of genetic algorithms when combined with carefully designed operators and encoding strategies. Although our current study focuses on classical crossover and repair operators under binary and integer encodings, incorporating more advanced operator schemes like SBX or hybrid frameworks is a promising direction for future research, especially for scaling the MKCP to even larger problem instances.

3. Problem Statement

Let A = a i j be an m × n 0–1 matrix and let w i   be a weight function for each row of matrix A. The challenge of this problem is to select k columns for the maximum number of covered rows of matrix A. This can be formulated as follows:
m a x m i z e i = 1 m w i · I j = 1 n a i j x j 1 s u b j e c t   t o j = 1 n x j = k x j 0 , 1 ,       j = 1 , 2 , , n
I(·) is an indicator function determining whether 0 (false) or 1 (true) [8]. In this study, we assume that the weights are equal to 1. The fitness of a particular solution was measured according to how many rows of a problem matrix were covered.
In this study, 65 instances of 11 set cover problems from the OR-library [31] were used in our experiments. The details for each dataset are shown in Table 1. In Table 1, each number of rows and columns is represented by m and n, respectively. In previous research on the MKCP [10], values of k were fixed as 10 and 20. However, here, the values of k using the tightness ratio were determined in the same way as in [8]; the high tightness ratio means the largest optimal value [9]. Each k value corresponding to a tightness ratio is described in Table 2. To apply genetic algorithms to each data instance, 400 individuals were generated by randomly selecting k columns for an initial population of genetic algorithms.

4. Encoding and Genetic Operators for the MKCP

Genetic Algorithms (GAs) are a class of meta-heuristic algorithms inspired by the process of natural selection. They are widely used for solving combinatorial and NP-hard problems due to their ability to efficiently explore large search spaces.
A typical GA starts by generating an initial population of candidate solutions. In each generation, individuals from the current population are selected based on their fitness, and new solutions (offspring) are generated by applying crossover (recombination) and mutation operations. The offspring then replace some or all individuals in the current population, depending on the replacement strategy. This process continues for a fixed number of generations or until a convergence criterion is met.
The performance of a GA heavily depends on the encoding of solutions, the choice of genetic operators (crossover, mutation, repair), and parameter settings such as population size and number of generations. In this study, we focus on encoding and operator choices tailored to the maximum k-coverage problem (MKCP), and the mutation operation is partially integrated into the repair process.

4.1. GA Encodings for the MKCP

The choice of binary and integer encodings is closely aligned with the structure of the MKCP. In binary encoding, the representation naturally supports fixed-length chromosomes with element-wise selection flags, making it compatible with standard crossover and mutation techniques in genetic algorithms. Integer encoding, on the other hand, directly represents a solution by listing the k selected column indices, which reduces redundancy and allows for more compact representation, especially in problems where k << n.
These two encoding methods have been commonly employed in GA-based studies of combinatorial optimization problems, including feature selection, facility location, and routing [18,20,22]. Their simplicity and effectiveness make them suitable candidates for benchmarking GA performance on the MKCP. In this study, we systematically evaluate both encodings under controlled experimental settings.
In integer encoding, a solution is represented with integers, which correspond to the indices of selected rows, while in binary encoding, a solution is represented by 1s and 0s, with 1 indicating that the corresponding row is selected, and 0 implying it is not [8].
In integer encoding, the length of a solution array is determined according to the k value of the MKCP. For example, if the k value of the MKCP is 40, the length of the array of the solution will also be 40. The range of the integers that comprise the array of a solution is determined by the number of columns of the matrix to be solved. If the number of columns of the matrix is 2000, a correct solution is generated with integers from 1 to 2000.
In binary encoding, the length of an array of a solution is determined according to the number of columns of the matrix to be solved. The value of k determines the number of 1s in a solution; for example, a k value of 40 implies 40 1s in a solution. A value of 1 in a solution implies selecting the column corresponding to the index.

4.2. Crossover Operators for the MKCP

The genetic algorithm is an evolutionary arithmetic technique and is an algorithm technique that finds an optimal solution by imitating the evolutionary process of nature. A typical GA determines the optimum value of a problem function based on a repetitive process of recombination of two parent solutions to create an offspring solution [8].
In this study, the number of the population of GAs was set to 400; to create child solutions, four-hundred solutions in the population were randomly paired, and one-point and uniform crossovers, which are representative traditional crossovers of genetic algorithms, were used as crossover operators. The performances of binary and integer encodings were analyzed with these crossover operators. A one-point crossover operator generates a child solution by copying another part of two parent solutions, based on point p, which is selected randomly from the one-dimensional array of a chromosome with length n. An example of this process is presented in Figure 2.
In Figure 2, yellow cells represent genes inherited from Parent 1, and green cells represent genes inherited from Parent 2. A value of 1 indicates that a corresponding column is selected, and a value of 0 indicates that it is not selected. In the figure, point p between the 4th and 5th genes is selected as a crossover point. For our study, only Child 1 was adopted, and Child 2 was not considered. The entire number of possible crossover points in one-point crossover is n−1 [32].
A uniform crossover operator generates an offspring solution by selecting each gene from either parent with equal probability [2]. That is, for each index, there is a 50 percent probability of which parent to select. In the uniform crossover, chromosomes are not divided into segments as they are in one-point crossover [33]. Each gene is dealt with separately. Again, in our GAs, only Child 1 was adopted, and Child 2 was not considered. An example of the process is presented in Figure 3. In the figure, yellow cells represent genes inherited from Parent 1, and green cells represent genes inherited from Parent 2. A value of 1 indicates that a corresponding column is selected, and a value of 0 indicates that it is not selected.
In [34], Bolotbekova et al. employed a crossover ensemble method to explore the most suitable combination. Similarly, we conducted experiments with various crossover combinations to observe performance tendencies, with the results presented in Appendix A.

4.3. Repair Operators for the MKCP

After both one-point and uniform crossover operations, the generated offspring may be infeasible, that is, it does not satisfy the constraint on the MKCP [35]. In this case (Figure 4), a repairing phase can operate to reinstate feasibility, and this makes it possible to perform a part of mutation functions.
Figure 5 presents an example of the process of a conservative repair operation in integer encoding. In Figure 5, the offspring has a duplicate value of 35, which makes the solution infeasible. A conservative repair operator takes a gene from parent solutions and replaces one of the duplicated genes of the offspring with the gene from a parent. In this process, the gene is randomly selected from a parent solution. Figure 5 shows that a value of 37 is selected from a parent solution, and one of the duplicated genes with a value of 35 is replaced with 37. The repair operator repeats this process until the constraint on the MKCP is satisfied.
A random repair operator performs the entire process similarly to a conservative repair operator [36], the difference being that replacements for duplicated values are not taken from parent solutions, but randomly selected among all the possible values. Both repair operators can have the function of mutation. Therefore, in this study, the mutation process of the genetic algorithm was partially replaced by a repair operation, and a separate mutation operator was not applied.
In this study, a separate mutation operator was not applied. Instead, mutation-like behavior was embedded within the repair process. Specifically, the random repair operator introduces diversity by randomly selecting replacement values when a solution becomes infeasible after crossover. This mechanism mimics the role of mutation in maintaining genetic variation without explicitly invoking a dedicated mutation step.
Although the mutation probability was not separately defined, this effect is triggered every time an infeasible solution is repaired—effectively operating at a frequency determined by the rate of infeasible offspring generation. This design choice simplifies the algorithm while ensuring that exploration is preserved. Future work may further investigate the explicit integration of advanced mutation operators alongside repair-based correction.

4.4. Genetic Framework for the MKCP

Before each offspring generation, a population of 400 parent solutions is randomly paired to generate 200 offspring solutions. This population size of 400 is commonly used when solving the MKCP problem using GAs to cover the large search space of this problem [2]. The generated offspring solutions are exchanged with 200 parent solutions with the least objective function values. The best solution and its objective value obtained over 300 generations are recorded as the result of the performed GA. Figure 6 is the pseudocode of the GA used in our experiment.
Initially, a population of solutions is randomly generated, and after a predetermined number of generations (300), the GA is terminated. In a generation, solutions are randomly paired, and for each pair, an offspring is produced by crossover and repair operators with 100% probability [2]. Repair operators are applied only when the produced offspring is not feasible, that is, it does not satisfy the constraint on the MKCP. Next, the newly generated offspring are evaluated, and solutions in the previous population are sorted according to their objective values. Half the previous population with low fitness is replaced by new offspring. Based on the genetic framework in Algorithm 1, different crossover and repair operators are applied and compared in our experiments [8].
Algorithm 1: Pseudocode of Genetic Algorithm Used in this Study
Input: Population size N, Number of generation maximum_generation
Output: Best individual
Initialize a population P of N individuals
// Ensure initial population satisfies the k-column constraint (exactly k columns selected)
for i = 1 to maximum_generation do
 Randomly form N/2 pairs from population P
offspring_list ← ∅
for each pair (p1, p2) do
  offspring = crossover(p1, p2)
  if (constraint is not satisfied) then
   while (constraint is not satisfied) do
    repair(offspring)
   end while
  end if
 // No separate mutation step; repair includes random replacement to induce diversity
offspring_list ← offspring_list ∪ offspring
end for
 evaluate fitness values of offspring_list
 sort P by fitness values in descending order
 Replace the bottom half of P with offspring_list
end for
Return the best individual in P Return the best individual in P

5. Experimental Results

5.1. Experimental Settings

Table 2 shows the size of the data used in the experiments; the experiments were conducted by setting the k value differently for each of the number of rows and columns of the corresponding matrix for the MKCP.
A total of eight experiments were conducted with two types of encoding methods (binary encoding, integer encoding), two types of crossover operators (one-point crossover, uniform crossover), and two types of repair operators (conservative repair, random repair). In all experiments, the number of populations was fixed at 400 and the number of generations was fixed at 300. In each generation, half the population with low fitness value was replaced by child solutions that had been generated based on 200 pairs of parent solutions. Parent solutions were randomly paired before crossover operations. For each experiment, 30 runs of GAs were performed, and the average objective value over 30 runs with average running time was recorded. Each experiment was conducted on all tightness ratios. The experiments were run on a computer equipped with a 3.2 GHz AMD Ryzen 7 5800H processor (Advanced Micro Devices, Santa Clara, CA, USA) and 16 GB of RAM. The proposed genetic algorithms were implemented using the Java programming language.

5.2. Results with Binary Encoding

Table 3 presents the average for each best objective value and running time of 30 runs of GAs with binary encoding. As shown in Table 3, uniform crossover operations show better results than those of one-point crossover. This characteristic manifests regardless of the type of repair operation. In particular, the larger the instance size and k value, the larger the performance difference between the two crossover methods.
In Figure 6, the average, best, and worst objective values of the GA solution according to the generation are plotted with two types of crossover operators for problem instance Scp41, which is an instance of the problem set Scp4x. In Figure 6, random repair was applied, and it shows that one-point crossover operations converge slightly faster than uniform crossover operations. In the case of one-point crossover operations, the average and best values already became similar from approximately the 150th generation, whereas, in the case of uniform crossover operations, they did not converge until approximately the 300th generation. In addition, by examining the worst-performing individuals within the population, it can be observed that the overall quality of individuals is higher when using a one-point crossover compared to a uniform crossover.
Differences in performance results according to repair methods can also be seen in Table 3. Comparing conservative repair and random repair, conservative repair showed worse performance than random repair in binary encoding. The running times of GAs with the conservative repair method were slightly faster than that of GAs with the random repair method; however, the solution quality of the conservative repair method, according to objective values, was significantly lower than that of the random repair method. The average performance of the combination of uniform crossover and random repair improved by up to 3.24% compared to the combination of one-point crossover and random repair. Furthermore, we conducted Welch’s t-test to compare the performance of different crossover methods under the same repair strategy. The results statistically validate that the use of uniform crossover yields significantly better performance than one-point crossover, regardless of the repair method applied.
The random repair method has a slightly larger mutation effect than the conservative repair method. Hence, the convergence of the solution population is slow when using the random repair method. That is, the random repair method can maintain more diversity in solutions than the conservative repair method. Similar to the comparative results of crossover operations, maintaining diversity without rapid convergence is advantageous for solving the MKCP.

5.3. Results with Integer Encoding

Table 4 presents the average for each best objective value and running time of 30 runs of GAs with integer encoding. In the table, the combination of uniform crossover operations and the conservative repair method has the best results overall. However, in cases with the random repair method, one-point crossover operations show better results when the k value is large, while uniform crossover operations show better results when the k value is small. Figure 7 presents the average, best, and worst objective values of the GAs solution population according to the offspring generation with one-point and uniform crossover operations for problem instance scp41, where the random repair method is used. Here, as in binary encoding, GAs with one-point crossover operations converge slightly faster than GAs with uniform crossover operations. According to an example case in Figure 7, GAs with one-point crossover operations converge completely at the 150th generation, whereas GAs with uniform crossover operations do not converge even at the 300th generation. Moreover, in the case of uniform crossover operations, the best value continuously increases until just before the end of the runs of GAs. Moreover, the worst objective value of the GA with one-point crossover eventually reaches the average objective value at the 164th generation, while the GA with uniform crossover fails to do so. In Table 4, the results of one-point crossover operators are better when the k value is large simply because the GAs with uniform crossover operations have not yet converged to the optimal value. The average performance of the combination of uniform crossover and conservative repair improved by up to 4.47% compared to that of one-point crossover and conservative repair. Also, we conducted Welch’s t-test to evaluate the performance of different crossover methods under the same repair strategy. The results statistically confirm that uniform crossover yields better performance than one-point crossover, regardless of the repair method applied, except for the case of scpnrfx with tightness ratios of 0.4 and 0.6.
According to Table 4, the conservative repair method was worse than the random repair method when one-point crossover operators were used. However, the conservative repair method showed better results than the random repair method when uniform crossover operators were used. The higher the k value, the larger the result value difference between the two repair methods. For example, when the k value is 4 or 8 (instance set scpnrex or scpnrfx with tightness ratio 0.8), there is a very small difference; however, when the k value is 40 (instance sets scp4x, scp5x, scpcx, and scpnrgx with tightness ratio 0.8), there is a large difference. In the integer encoding, the combination of the conservative repair method and uniform crossover operations showed the best performance.
Figure 8 presents the average, best, and worst objective values of GA population, according to the offspring generation, with conservative and random repair methods for problem instance scp41, where uniform crossover operators are used. Here, the GAs with the conservative repair method converge a little faster than GAs with the random repair method. The conservative repair method not only converges faster, but also finds a better solution than the random repair method when uniform crossover operators are used. The conservative repair demonstrates more stable improvement in the worst objective values and achieves earlier convergence compared to the random repair.

5.4. Comparison of the Performance of Binary and Integer Encodings for the MKCP

In binary encoding, the combination of uniform crossover operations and the random repair method was the best among the range of combinations; the conservative repair method did not show significant performance variations, and one-point crossover operations were not appropriate for finding optimal solutions for the MKCP. In integer encoding, the combination of uniform crossover operations and the conservative repair method was the best. The two methods that showed the best results for each encoding are compared in graphs in Figure 9, Figure 10 and Figure 11. Comparing all three graphs, they show a consistent trend regardless of the tightness ratio. Although there are differences in objective values according to the tightness ratio, binary encoding showed better performance.
Figure 12, Figure 13 and Figure 14 are the graphs of average running times results for each encoding. These figures show more dramatic differences than the graphs of objective values. With integer encoding, the GAs terminated in less than 10 s regardless of the tightness ratio and the size of the instance. In contrast, with binary encoding the run time for the GAs increased with the size of the problem instance set. The tightness ratio did not have a significant impact on the run times for the GAs with binary encoding. In binary encoding, the length of a solution did not change according to the tightness ratio. However, with integer encoding, the smaller the tightness ratio is, the shorter the length of a solution; therefore, GAs for problem sets with a tightness ratio of 0.4 demonstrated shorter run times than those for problem sets with a tightness ratio of 0.8.

6. Discussion

In our experiments, we evaluated the performance of genetic algorithms using two types of encoding (binary encoding and integer encoding), two crossover operators (one-point crossover and uniform crossover), and two repair strategies (conservative repair and random repair) across various problem sizes. For binary encoding, uniform crossover consistently outperformed one-point crossover, regardless of the repair strategy. Notably, the combination of uniform crossover and random repair always yielded better objective values than conservative repair. In one instance with a tightness ratio of 0.8, this combination achieved the best objective value of 819.97 for the f instance. This improvement was statistically significant compared to one-point crossover, with a p-value of 3.29 × 10−20. Similar trends were observed for instances with a tightness ratio of 0.6, where uniform crossover combined with random repair consistently delivered superior performance. For instances with a tightness ratio of 0.4, the performance of uniform crossover with either conservative or random repair was comparable, and both combinations outperformed one-point crossover. Although uniform crossover generally resulted in statistically significant improvements over one-point crossover, an exception was observed for the Scpnrfx instance, where the p-value was 2.63 × 10−1, indicating a lack of statistical significance (p < 0.05).
For integer encoding, the use of conservative repair in conjunction with uniform crossover consistently led to the best performance. In fact, this combination achieved the best results in 30 out of 33 instances, outperforming all other crossover and repair combinations. These findings suggest that, while uniform crossover is generally advantageous, the choice of repair strategy may depend on the encoding type and the specific characteristics of the problem instance. In the case of a tightness ratio of 0.8, the combination of uniform crossover and conservative repair consistently outperformed the combination of one-point crossover and conservative repair across all instances. For a tightness ratio of 0.6, results for the Scpnrfx dataset showed that uniform crossover with conservative repair achieved an objective value of 301.95, which was slightly better than the 301.25 obtained with one-point crossover. However, this difference was not statistically significant, as indicated by a p-value of 5.35 × 10−1. When the tightness ratio was reduced to 0.4, the performance gap between repair strategies became negligible. For example, in the Scpbx instance, uniform crossover with conservative repair resulted in an objective value of 171.34. The use of random repair in this case yielded a very similar value of 171.36. Both approaches outperformed one-point crossover. Similarly, in the Scpnrex instance, random repair again outperformed conservative repair. Random repair achieved a marginally better result of 236.29, compared to 236.19 obtained with conservative repair. Although the difference between the two repair strategies in this case was minimal, it still suggests a slight edge for random repair. These results show that conservative repair not only outperformed random repair, but also achieved the best performance when combined with uniform crossover. However, the magnitude and statistical significance of this advantage varied depending on the tightness ratio and the specific problem instance.

7. Conclusions

In binary encoding, uniform crossover operations showed better results than those of one-point crossover. This is because one-point crossover operations cannot maintain a sufficient diversity of solutions, as the offspring from one-point crossover operations are biased toward a parent solution. Additionally, the conservative repair method was not suitable for finding optimal solutions for the MKCP compared to the random repair method.
In integer encoding, the combination of uniform crossover operation and conservative repair method showed the best results overall. However, in cases of the random repair method, the crossover operation with better performance depended on the value of k; when k was small, uniform crossover operations found better solutions than those of one-point crossover, and when k was large, one-point crossover operations found better solutions. These results are because, with uniform crossover operations, the GAs did not converge enough for large k instances. Therefore, by conducting experiments with more offspring generations, different results can be produced. However, except for the instances with k value 40, uniform crossover operations were better than one-point crossover operations overall. The conservative repair method was worse than the random repair method when one-point crossover operators were used. However, with uniform crossover operations, the conservative repair method was better than the random repair method.
Throughout the experiments, one-point crossover operations converged quicker than those of uniform crossover. Uniform crossover operations maintained a diversity of solutions in the population better than that of one-point crossover. Despite the faster convergence of one-point crossover, its lack of diversity often resulted in premature convergence to suboptimal solutions. On the other hand, uniform crossover’s ability to preserve diversity in the population allowed for a more thorough exploration of the search space. Since the search space in binary encoding is discrete, conservative repair, which inherits genes from parent solutions, failed to maintain the diversity of offspring. In contrast, random repair allowed for greater exploration of the search space, resulting in better performance. In integer encoding, random repair satisfies the cardinality constraint k by adding new subsets randomly, which can introduce low-quality solutions into the offspring. In contrast, conservative repair tends to preserve subsets inherited from the parent solution, thereby maintaining well-performing components that contribute to better overall solution quality.
In binary encoding, the combination of uniform crossover operations and the random repair method was the best, while in integer encoding, the combination of uniform crossover operations and the conservative repair method was the best. Between the two encoding methods, GA runs with the binary encoding framework showed better performance than GA runs with the integer encoding framework in terms of objective values. Conversely, in terms of time utility, integer encoding was much better because the length of the encoded solution using integer encoding is much shorter than that using binary encoding.
However, this study has several limitations. Although we conducted experiments on various instances, there is a need to investigate a broader range of crossover strategies. In addition, further comparative studies are required to evaluate the effectiveness of the operator combinations used in this work on other types of optimization problems beyond the MKCP, and to assess their applicability to real-world problems.
In this study, the effective combination of encodings and genetic operators for the MKCP was shown; however, the relationship between encodings and genetic operators was not analyzed in detail.

Author Contributions

Conceptualization, Y.C. and Y.Y.; methodology, Y.C. and Y.Y.; software, Y.C. and J.K.; validation, Y.Y.; formal analysis, Y.C. and J.K.; investigation, Y.C.; resources, Y.C.; data curation, Y.C.; writing—original draft preparation, Y.C.; writing—review and editing, Y.C., J.K., and Y.Y.; visualization, Y.C. and J.K.; supervision, Y.Y.; project administration, Y.Y.; funding acquisition, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Ministry of Education of the Republic of Korea and the National Research Foundation of Korea (NRF-2022S1A5C2A07090938) and by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2022R1F1A1066017). This work was also supported by the Korea Institute of Energy Technology Evaluation and Planning (KETEP) and the Ministry of Trade, Industry & Energy, Republic of Korea (RS-2024-00442817).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in [OR-Library] at [https://people.brunel.ac.uk/~mastjjb/jeb/orlib/scpinfo.html] (accessed on 15 October 2022), reference number [33].

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Experimental Analysis of Crossover Operators in Binary-Encoding with Random Repair for scp4x

We conducted an additional experiment on the SCP4 instance with a tightness ratio of 0.8, using binary encoding and random repair. This experiment aimed to investigate the performance of various crossover ensembles. To observe the effect of combining different crossover methods, we employed one-point crossover (OX1), two-point crossover (OX2), and uniform crossover (Uniform). The seeds used for these ensemble crossovers were different from those in the main experiments.
Table A1 presents the average and standard deviation of performance and computation time for SCP4x, evaluated using various crossover combinations. In the crossover ensembles, a random number between 0 and 1 was generated each time an offspring was created, and a crossover operator was selected probabilistically based on this value. As shown in Table A1, the OX2 + Uniform ensemble achieved the best performance, while using only OX1 resulted in the worst performance. Notably, while OX1 and OX2 fail to ensure population diversity in binary encoding, leading to poorer performance compared to Uniform, their performance significantly improves when used in conjunction with Uniform. These results suggest that an appropriate combination of crossover operators can significantly enhance the performance of a genetic algorithm compared to using a single crossover operator.
Table A1. Performance of different crossover ensembles using binary encoding and random repair on SCP4x with a tightness ratio of 0.8.
Table A1. Performance of different crossover ensembles using binary encoding and random repair on SCP4x with a tightness ratio of 0.8.
MethodsAveragestdTime *std
OX1 + OX2 + Uniform193.851.6735.2019.68
OX1 + OX2190.312.6025.871.44
OX1 + Uniform194.042.0941.402.31
OX2 + Uniform194.701.8740.352.25
OX1188.982.7724.431.37
OX2191.242.2526.871.57
Uniform192.972.9640.272.73
* CPU Time in seconds.

References

  1. Xu, H.; Li, X.-Y.; Huang, L.; Deng, H.; Huang, H.; Wang, H. Incremental deployment and throughput maximization routing for a hybrid SDN. IEEE/ACM Trans. Netw. 2017, 25, 1861–1875. [Google Scholar] [CrossRef]
  2. Yoon, Y.; Kim, Y.-H.; Moon, B.-R. Feasibility-preserving crossover for maximum k-coverage problem. In Proceedings of the 10th annual conference on Genetic and evolutionary computation, Atlanta, GA, USA, 12–16 July 2008; pp. 593–598. [Google Scholar]
  3. Máximo, V.R.; Nascimento, M.C.; Carvalho, A.C. Intelligent-guided adaptive search for the maximum covering location problem. Comput. Oper. Res. 2017, 78, 129–137. [Google Scholar] [CrossRef]
  4. Liu, Q.; Cai, W.; Shen, J.; Fu, Z.; Liu, X.; Linge, N. A speculative approach to spatial-temporal efficiency with multi-objective optimization in a heterogeneous cloud environment. Secur. Commun. Netw. 2016, 9, 4002–4012. [Google Scholar] [CrossRef]
  5. Saha, B.; Getoor, L. On maximum coverage in the streaming model & application to multi-topic blog-watch. In Proceedings of the 2009 Siam International Conference On Data Mining, Sparks, NV, USA, 30 April–2 May 2009; Society for Industrial and Applied Mathematics: University City, MO, USA, 2009; pp. 697–708. [Google Scholar]
  6. Li, F.-H.; Li, C.-T.; Shan, M.-K. Labeled influence maximization in social networks for target marketing. In Proceedings of the 2011 IEEE Third International Conference on Privacy, Security, Risk and Trust and 2011 IEEE Third International Conference on Social Computing, Boston, MA, USA, 9–11 October 2011; pp. 560–563. [Google Scholar]
  7. Hammar, M.; Karlsson, R.; Nilsson, B.J. Using maximum coverage to optimize recommendation systems in e-commerce. In Proceedings of the 7th ACM conference on Recommender systems, Hong Kong, China, 12–16 October 2013; pp. 265–272. [Google Scholar]
  8. Yoon, Y.; Kim, Y.-H. Gene-similarity normalization in a genetic algorithm for the maximum k-Coverage problem. Mathematics 2020, 8, 513. [Google Scholar] [CrossRef]
  9. Diveev, A.; Bobr, O. Variational genetic algorithm for np-hard scheduling problem solution. Procedia Comput. Sci. 2017, 103, 52–58. [Google Scholar] [CrossRef]
  10. Cheng, X.; An, L.; Zhang, Z. Integer Encoding Genetic Algorithm for Optimizing Redundancy Allocation of Series-parallel Systems. J. Eng. Sci. Technol. Rev. 2019, 12, 126–136. [Google Scholar] [CrossRef]
  11. Maniscalco, V.; Polito, S.G.; Intagliata, A. Tree-based genetic algorithm with binary encoding for QoS routing. In Proceedings of the 2013 Seventh International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, Taichung, Taiwan, 3–5 July 2013; pp. 101–107. [Google Scholar]
  12. Wang, Y.; Ouyang, D.; Yin, M.; Zhang, L.; Zhang, Y. A restart local search algorithm for solving maximum set k-covering problem. Neural Comput. Appl. 2018, 29, 755–765. [Google Scholar] [CrossRef]
  13. Hochbaum, D.S.; Pathria, A. Analysis of the greedy approach in problems of maximum k-coverage. Nav. Res. Logist. (NRL) 1998, 45, 615–627. [Google Scholar] [CrossRef]
  14. Nemhauser, G.L.; Wolsey, L.A.; Fisher, M.L. An analysis of approximations for maximizing submodular set functions—I. Math. Program. 1978, 14, 265–294. [Google Scholar] [CrossRef]
  15. Feige, U. A threshold of ln n for approximating set cover. J. ACM (JACM) 1998, 45, 634–652. [Google Scholar] [CrossRef]
  16. Resende, M.G. Computing approximate solutions of the maximum covering problem with GRASP. J. Heuristics 1998, 4, 161–177. [Google Scholar] [CrossRef]
  17. Khuller, S.; Moss, A.; Naor, J.S. The budgeted maximum coverage problem. Inf. Process. Lett. 1999, 70, 39–45. [Google Scholar] [CrossRef]
  18. Lee, J.-Y.; Kim, M.-S.; Kim, C.-T.; Lee, J.-J. Study on encoding schemes in compact genetic algorithm for the continuous numerical problems. In Proceedings of the SICE Annual Conference 2007, Takamatsu, Japan, 17–20 September 2007; pp. 2694–2699. [Google Scholar]
  19. Shi, G.; Iima, H.; Sannomiya, N. A new encoding scheme for solving job shop problems by genetic algorithm. In Proceedings of the 35th IEEE Conference on Decision and Control, Kobe, Japan, 13 December 1996; pp. 4395–4400. [Google Scholar]
  20. Payne, A.; Glen, R.C. Molecular recognition using a binary genetic search algorithm. J. Mol. Graph. 1993, 11, 74–91. [Google Scholar] [CrossRef] [PubMed]
  21. Wang, L.; Kan, M.S.; Shahriar, M.R.; Tan, A.C. Different approaches of applying single-objective binary genetic algorithm on the wind farm design. In Proceedings of the World Congress on Engineering Asset Management 2014, Pretoria, South Africa, 28–31 October 2014. [Google Scholar]
  22. Sivanandam, S.; Deepa, S.; Sivanandam, S.; Deepa, S. Genetic algorithm optimization problems. In Introduction to Genetic Algorithms; Springer: Berlin/Heidelberg, Germany, 2008; pp. 165–209. [Google Scholar]
  23. Soon, G.K.; Guan, T.T.; On, C.K.; Alfred, R.; Anthony, P. A comparison on the performance of crossover techniques in video game. In Proceedings of the 2013 IEEE International Conference on Control System, Computing and Engineering, Penang, Malaysia, 29 November–1 December 2013; pp. 493–498. [Google Scholar]
  24. Caserta, M. Tabu search-based metaheuristic algorithm for large-scale set covering problems. In Metaheuristics: Progress in Complex Systems Optimization; Springer: Berlin/Heidelberg, Germany, 2007; pp. 43–63. [Google Scholar]
  25. Al-Shihabi, S.; Arafeh, M.; Barghash, M. An improved hybrid algorithm for the set covering problem. Comput. Ind. Eng. 2015, 85, 328–334. [Google Scholar] [CrossRef]
  26. Balaji, S.; Revathi, N. A new approach for solving set covering problem using jumping particle swarm optimization method. Nat. Comput. 2016, 15, 503–517. [Google Scholar] [CrossRef]
  27. Lin, G.; Guan, J. Solving maximum set k-covering problem by an adaptive binary particle swarm optimization method. Knowl. -Based Syst. 2018, 142, 95–107. [Google Scholar] [CrossRef]
  28. Zhou, Y.; Liu, X.; Hu, S.; Wang, Y.; Yin, M. Combining max–min ant system with effective local search for solving the maximum set k-covering problem. Knowl.-Based Syst. 2022, 239, 108000. [Google Scholar] [CrossRef]
  29. Akopov, A.S. MBHGA: A Matrix-Based Hybrid Genetic Algorithm for Solving an Agent-Based Model of Controlled Trade Interactions. IEEE Access 2025, 13, 26843–26863. [Google Scholar] [CrossRef]
  30. Deb, K.; Beyer, H.-G. Self-adaptive genetic algorithms with simulated binary crossover. Evol. Comput. 2001, 9, 197–221. [Google Scholar] [CrossRef]
  31. Beasley, J.E. OR-Library: Distributing test problems by electronic mail. J. Oper. Res. Soc. 1990, 41, 1069–1072. [Google Scholar] [CrossRef]
  32. Zainuddin, F.A.; Abd Samad, M.F.; Tunggal, D. A review of crossover methods and problem representation of genetic algorithm in recent engineering applications. Int. J. Adv. Sci. Technol. 2020, 29, 759–769. [Google Scholar]
  33. Huang, S.; Cohen, M.B.; Memon, A.M. Repairing GUI test suites using a genetic algorithm. In Proceedings of the 2010 Third International Conference on Software Testing, Verification and Validation, Paris, France, 6–10 April 2010; pp. 245–254. [Google Scholar]
  34. Bolotbekova, A.; Hakli, H.; Beskirli, A. Trip route optimization based on bus transit using genetic algorithm with different crossover techniques: A case study in Konya/Türkiye. Sci. Rep. 2025, 15, 2491. [Google Scholar] [CrossRef] [PubMed]
  35. Abd Rahman, R.; Ramli, R. Average concept of crossover operator in real coded genetic algorithm. Int. Proc. Econ. Dev. Res. 2013, 63, 73–77. [Google Scholar]
  36. Laboudi, Z.; Chikhi, S. Comparison of genetic algorithm and quantum genetic algorithm. Int. Arab J. Inf. Technol. 2012, 9, 243–249. [Google Scholar]
Figure 1. Examples of binary and integer encodings for the MKCP.
Figure 1. Examples of binary and integer encodings for the MKCP.
Biomimetics 10 00274 g001
Figure 2. An example of one-point crossover.
Figure 2. An example of one-point crossover.
Biomimetics 10 00274 g002
Figure 3. An example of uniform crossover.
Figure 3. An example of uniform crossover.
Biomimetics 10 00274 g003
Figure 4. How infeasible solutions can be generated after one-point crossover. Yellow cells represent genes inherited from Parent 1, and green cells represent genes inherited from Parent 2.
Figure 4. How infeasible solutions can be generated after one-point crossover. Yellow cells represent genes inherited from Parent 1, and green cells represent genes inherited from Parent 2.
Biomimetics 10 00274 g004
Figure 5. An example of a conservative repair operation.
Figure 5. An example of a conservative repair operation.
Biomimetics 10 00274 g005
Figure 6. Convergence of GAs with one-point and uniform crossover operators in binary encoding.
Figure 6. Convergence of GAs with one-point and uniform crossover operators in binary encoding.
Biomimetics 10 00274 g006
Figure 7. Convergence of GAs with one-point and uniform crossover operations in integer encoding.
Figure 7. Convergence of GAs with one-point and uniform crossover operations in integer encoding.
Biomimetics 10 00274 g007
Figure 8. Convergence of GAs with conservative and random repair methods.
Figure 8. Convergence of GAs with conservative and random repair methods.
Biomimetics 10 00274 g008
Figure 9. Average objective values of two encodings for instance sets with a tightness ratio of 0.8.
Figure 9. Average objective values of two encodings for instance sets with a tightness ratio of 0.8.
Biomimetics 10 00274 g009
Figure 10. Average objective values of two encodings for instance sets with a tightness ratio of 0.6.
Figure 10. Average objective values of two encodings for instance sets with a tightness ratio of 0.6.
Biomimetics 10 00274 g010
Figure 11. Average objective values of two encodings for instance sets with a tightness ratio of 0.4.
Figure 11. Average objective values of two encodings for instance sets with a tightness ratio of 0.4.
Biomimetics 10 00274 g011
Figure 12. Average running times of two encodings for instance sets with a tightness ratio of 0.8.
Figure 12. Average running times of two encodings for instance sets with a tightness ratio of 0.8.
Biomimetics 10 00274 g012
Figure 13. Average running times of two encodings for instance sets with a tightness ratio of 0.6.
Figure 13. Average running times of two encodings for instance sets with a tightness ratio of 0.6.
Biomimetics 10 00274 g013
Figure 14. Average running times of two encodings for instance sets with a tightness ratio of 0.4.
Figure 14. Average running times of two encodings for instance sets with a tightness ratio of 0.4.
Biomimetics 10 00274 g014
Table 1. Dataset used for experiments.
Table 1. Dataset used for experiments.
Instance SetColumnRow
Scp4x2001000
Scp5x2002000
Scp6x2001000
Scpax3003000
Scpbx3003000
Scpcx4004000
Scpdx4004000
Scpnrex5005000
Scpnrfx5005000
Scpnrgx100010,000
Scpnrhx100010,000
Table 2. k Values according to tightness ratios.
Table 2. k Values according to tightness ratios.
Tightness RatioInstance Setk
0.8Scp4x40
Scp5x40
Scp6x16
Scpax40
Scpbx16
Scpcx40
Scpdx16
Scpnrex8
Scpnrfx4
Scpnrgx40
Scpnrhx16
0.6Scp4x30
Scp5x30
Scp6x12
Scpax30
Scpbx12
Scpcx30
Scpdx12
Scpnrex6
Scpnrfx3
Scpnrgx30
Scpnrhx12
0.4Scp4x20
Scp5x20
Scp6x8
Scpax20
Scpbx8
Scpcx20
Scpdx8
Scpnrex4
Scpnrfx2
Scpnrgx20
Scpnrhx8
Table 3. Results with binary encoding.
Table 3. Results with binary encoding.
Tightness
Ratio
Instance SetOne-Point
Crossover
Conservative
Repair
Uniform
Crossover
Conservative
Repair
p-ValueOne-Point
Crossover
Random
Repair
Uniform
Crossover
Random
Repair
p-Value
AverageTime *AverageTime *AverageTime *AverageTime *
0.8Scp4x183.413.6195.195.42.80 × 10−21188.725.7196.165.01.04 × 10−16
Scp5x185.625.0197.9010.66.45 × 10−18191.498.0198.819.81.38 × 10−16
Scp6x170.733.1177.275.19.78 × 10−15168.834.4179.294.31.13 × 10−21
Scpax268.557.1287.3518.16.12 × 10−25278.1114.7289.7216.91.20 × 10−19
Scpbx247.736.8258.1219.56.86 × 10−25249.2713.8262.2614.81.24 × 10−17
Scpcx344.379.6369.0428.47.78 × 10−28357.4119.2372.3625.21.80 × 10−17
Scpdx318.188.9329.0530.24.22 × 10-13318.0619.5334.3924.03.59 × 10−16
Scpnrex366.3310.5373.3145.11.18 × 10−7363.5523.4378.4338.56.68 × 10−15
Scpnrfx356.8310.3360.2246.32.93 × 10−3354.5724.6363.0935.73.40 × 10−10
Scpnrgx762.3823.1810.48128.02.77 × 10−26791.2766.3819.97141.93.29 × 10−20
Scpnrhx713.3120.8732.47144.64.48 × 10−16716.2877.1743.23168.26.27 × 10−21
0.6Scp4x163.963.8174.444.55.03 × 10−17169.795.6176.317.11.04 × 10−12
Scp5x166.664.6179.249.23.51 × 10−25173.488.1181.8714.45.52 × 10−14
Scp6x149.113.0153.734.65.27 × 10−10152.004.3155.486.21.26 × 10−4
Scpax240.756.9256.7423.38.49 × 10−22250.2713.5261.5423.31.20 × 10−13
Scpbx215.966.6223.0624.45.16 × 10−10220.5513.6227.5120.62.01 × 10−9
Scpcx304.849.2325.8537.16.25 × 10−24317.4717.9331.6535.01.75 × 10−15
Scpdx274.958.3282.9137.45.15 × 10−10280.4716.8287.8528.83.68 × 10−9
Scpnrex310.3910.5315.3255.74.41 × 10−5315.2323.1319.5838.02.40 × 10−5
Scpnrfx300.0110.5302.3958.03.87 × 10−2303.7818.5305.9536.02.10 × 10−2
Scpnrgx657.2223.0694.44164.21.75 × 10−25683.5074.7709.42130.97.79 × 10−17
Scpnrhx604.6620.6617.16186.43.78 × 10−8613.6976.2626.77101.32.19 × 10−8
0.4Scp4x131.672.9140.352.22.12 × 10−18136.562.8140.336.34.47 × 10−10
Scp5x135.074.2146.092.62.96 × 10−23140.624.3145.9912.51.79 × 10−10
Scp6x116.192.6120.162.16.29 × 10−11118.192.2119.895.34.33 × 10−4
Scpax194.187.3209.7026.01.04 × 10−21201.237.4209.3417.41.19 × 10−11
Scpbx167.827.1176.2127.12.11 × 10−12172.246.6176.2217.88.73 × 10−6
Scpcx243.818.7262.9714.71.15 × 10−23253.3711.8263.2432.76.31 × 10−11
Scpdx211.587.9220.8026.02.82 × 10−15216.4513.5220.7328.36.19 × 10−4
Scpnrex233.9510.3240.5538.82.64 × 10−10238.2921.8240.5531.99.82 × 10-3
Scpnrfx224.7210.3229.8940.06.42 × 10−5228.4313.2229.5922.32.63 × 10−1
Scpnrgx510.3020.5548.71113.83.49 × 10−25531.7369.9548.64150.53.66 × 10−12
Scpnrhx455.8018.7471.26117.16.92 × 10−12463.7183.4471.14133.63.35 × 10−6
The bold values represent the best objective value or the shortest running time among the compared methods. * CPU Time in seconds.
Table 4. Results with integer encoding.
Table 4. Results with integer encoding.
Tightness
Ratio
Instance SetOne-Point
Crossover
Conservative
Repair
Uniform
Crossover
Conservative
Repair
p-ValueOne-Point
Crossover
Random
Repair
Uniform
Crossover
Random
Repair
p-Value
AverageTime *AverageTime *AverageTime *AverageTime *
0.8Scp4x180.393.5191.462.54.01 × 10−15185.953.4177.614.88.33 × 10−14
Scp5x181.862.8193.212.55.70 × 10−7188.003.1181.434.41.72 × 10−9
Scp6x169.872.5176.661.54.62 × 10−14144.623.0176.013.26.13 × 10−38
Scpax263.404.6283.233.57.53 × 10−20272.054.9266.436.42.47 × 10−5
Scpbx246.574.0257.152.44.02 × 10−14225.334.1256.154.64.51 × 10−39
Scpcx337.835.9364.614.38.24 × 10−25349.815.3342.848.61.48 × 10−5
Scpdx315.935.1328.412.82.11 × 10−12317.035.1327.295.84.71 × 10−12
Scpnrex366.175.7372.012.85.04 × 10−5367.075.6371.655.72.65 × 10−3
Scpnrfx357.794.7358.932.62.89 × 10−1357.524.8358.694.82.91 × 10−1
Scpnrgx748.7911.7807.328.88.20 × 10−30773.3311.9773.0116.43.87 × 10−1
Scpnrhx707.9110.4729.738.92.40 × 10−17712.2611.7729.478.22.95 × 10−10
0.6Scp4x161.461.6174.293.91.16 × 10−19165.932.9168.173.67.63 × 10−2
Scp5x163.771.5179.003.65.07 × 10−21168.612.4172.803.61.47 × 10−4
Scp6x148.591.2153.132.34.17 × 10−9149.532.2152.312.23.20 × 10−4
Scpax236.032.0256.754.83.00 × 10−23242.603.6251.194.87.71 × 10−7
Scpbx214.721.8222.793.42.62 × 10−11215.853.2221.513.22.08 × 10−6
Scpcx298.752.4325.555.41.52 × 10−23307.894.6319.446.42.65 × 10−10
Scpdx272.8822.6281.374.54.07 × 10−12274.354.5282.014.28.37 × 10−8
Scpnrex311.152.4314.794.21.22 × 10−3311.854.3314.324.84.35 × 10−2
Scpnrfx301.252.2301.954.65.35 × 10−1301.533.7301.975.35.92 × 10−1
Scpnrgx647.725.4694.8911.11.82 × 10−26665.0510.0691.8312.71.18 × 10−11
Scpnrhx600.344.8615.696.51.59 × 10−12602.579.6614.518.41.97 × 10−6
0.4Scp4x130.641.3138.292.53.06 × 10−15132.762.3137.082.55.70 × 10−7
Scp5x133.391.0143.112.43.03 × 10−18135.652.0141.652.25.74 × 10−9
Scp6x116.330.9118.421.72.83 × 10−3116.541.9118.391.43.41 × 10−3
Scpax191.931.3204.323.93.51 × 10−16194.892.7203.472.71.60 × 10−11
Scpbx167.961.2171.342.72.13 × 10−4168.732.2171.362.12.96 × 10−3
Scpcx240.321.8255.594.17.55 × 10−16244.893.7254.333.63.61 × 10−8
Scpdx210.521.8215.303.21.16 × 10−3212.193.2215.092.91.05 × 10−2
Scpnrex234.471.7236.193.29.25 × 10−2235.553.4236.293.34.45 × 10−1
Scpnrfx225.871.6226.073.25.19 × 10−1226.092.8225.433.74.92 × 10−1
Scpnrgx505.534.0531.638.42.53 × 10−16512.518.2530.958.01.37 × 10−11
Scpnrhx455.253.7462.767.56.31 × 10−5456.156.0462.256.82.99 × 10−3
The bold values represent the best objective value or the shortest running time among the compared methods. * CPU Time in seconds.
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

Choi, Y.; Kim, J.; Yoon, Y. A Comparison of Binary and Integer Encodings in Genetic Algorithms for the Maximum k-Coverage Problem with Various Genetic Operators. Biomimetics 2025, 10, 274. https://doi.org/10.3390/biomimetics10050274

AMA Style

Choi Y, Kim J, Yoon Y. A Comparison of Binary and Integer Encodings in Genetic Algorithms for the Maximum k-Coverage Problem with Various Genetic Operators. Biomimetics. 2025; 10(5):274. https://doi.org/10.3390/biomimetics10050274

Chicago/Turabian Style

Choi, Yoon, Jingeun Kim, and Yourim Yoon. 2025. "A Comparison of Binary and Integer Encodings in Genetic Algorithms for the Maximum k-Coverage Problem with Various Genetic Operators" Biomimetics 10, no. 5: 274. https://doi.org/10.3390/biomimetics10050274

APA Style

Choi, Y., Kim, J., & Yoon, Y. (2025). A Comparison of Binary and Integer Encodings in Genetic Algorithms for the Maximum k-Coverage Problem with Various Genetic Operators. Biomimetics, 10(5), 274. https://doi.org/10.3390/biomimetics10050274

Article Metrics

Back to TopTop