Abstract
Component assignment problem is a common challenge of reliability optimization, which is a non-deterministic polynomial hard problem widely used in the linear consecutive k-out-of-n systems. In consideration of the advantages of quantum computing and importance measure, this article proposed a novel algorithm, which is Birnbaum importance–based quantum genetic algorithm, to improve the efficiency and accuracy for solving component assignment problem. First, the model of reliability optimization for linear consecutive k-out-of-n systems is established. Second, the detailed procedure of Birnbaum importance–based quantum genetic algorithm is introduced to solve the component assignment problem. Moreover, the effectiveness and the convergence of the quantum genetic algorithm, Birnbaum importance–based genetic local search, and Birnbaum importance–based quantum genetic algorithm is discussed through two comparative experiments. Finally, the case of production monitor systems is introduced to illustrate the effectiveness of Birnbaum importance–based quantum genetic algorithm comparing with the Birnbaum importance–based two-stage approach.
Keywords
Introduction
Reliability optimization1,2 has become a significant concern in recent years, especially for large systems consisting of a large number of subsystems, modules, and components, such as heavy-duty pallet system 3 and complex engineering systems under epistemic uncertainties. 4 Component assignment problem (CAP) is a common challenge of reliability optimization for some typical systems, such as consecutive k-out-of-n systems and two terminal networks. In a system, there are n positions and n components with different reliability, and the CAP considers how to assign n components in n different positions for obtaining the arrangement with maximum system reliability. CAP actually can be regarded as a problem at the design phase for maximizing the system reliability without considering the cost.5,6 Many practical engineering systems also need to consider CAP, such as the pipeline system and street light system. The pipeline system is a linear consecutive k-out-of-n: F system (Lin/Con/2/n: F system) because each pump can give the pressure to transport the oil for two-unit distance. The street light system, which is a Lin/Con/2/n: F system, aims to illuminate all the area because two adjacent areas can be lighten up by one lamp.
When the scale of the system is small, the optimal arrangement can be determined by the enumeration method, which is a classic method for solving the CAP accurately. However, the efficiency of the enumeration method strongly depends on the scale of the optimization problem. It is hard to find the optimal solution within a reasonable time because CAP is a non-deterministic polynomial hard (NP-hard) problem. With the assumption that each component has the constant reliability, some researchers7,8 considered CAP for parallel-series system and series-parallel system using the optimization and Schur-convex function.
However, some complex system in engineering practice cannot be divided into the series or parallel structure. Therefore, the reliability optimization of CAP is quite complicated in these cases. The Birnbaum importance (BI) measure is proposed in 1968 to measure the effect of component reliability on the system reliability. 9 Boland et al. 10 reduced the solution space by eliminating the invalid assignments based on the importance of positions. When the order of components’ reliabilities is known, the optimal arrangement can be determined based on the order of component reliability, and the optimal assignment is noted as the invariant optimal assignments. The BI-based heuristics can be used to obtain the optimal arrangements by assigning higher reliable components to the position with the higher importance measure. Zuo and Kuo 11 presented two algorithms, which are ZKA and ZKB heuristics, based on the pairwise exchange based on the importance of positions and the system reliability after exchanging to solve the CAP for a linear consecutive k-out-of-n system. Lin and Kuo 12 further put forward a greedy algorithm named as LKA heuristic. LKA assigns the lowest reliable component into all positions at first and then assigns the component with the highest reliability into the position with the highest BI. Yao et al. 13 suggested the Birnbaum importance–based two-stage approach (BITA) to solve the CAP, which combines the LK-type heuristic with ZK-type heuristic. Si et al. 14 proposed the generalized BI considering the boundary of component reliability, which is a new way of measuring the importance of position with different reliability.
Many researchers focused on quantum computing in recent years because of its parallelism and high effectiveness. Narayanan and Moore 15 incorporated “many universes” into the genetic algorithm and constructed the quantum inspired genetic algorithm. The proposed quantum genetic algorithm (QGA) is based on the genetic algorithm and quantum computing, whose parallelism is essential for quantum acceleration. Han and Kim 16 applied the quantum state vector table into the genetic codes for adjusting the chromosome by quantum rotation. Han and Kim 17 proposed a quantum-inspired evolutionary algorithm based on the quantum bit and superposition of states, where a quantum gate is introduced as a variation operator to drive the individuals toward better solutions. Han and Kim 18 improved the efficiency of the proposed quantum evolutionary algorithm by a new termination criterion. Talbi et al. 19 proposed a novel algorithm for solving the traveling salesman problem, which was inspired based on genetic algorithms and quantum computing. The obtained result was significantly better than that of the standard genetic algorithm. Wang and Wang 20 presented a hybrid QGA, which performed the crossover and mutation on quantum bits with more advantages comparing with other QGAs. Wang et al. 21 proposed a quantum-inspired ant algorithm to solve the knapsack problem. Singh and Mahapatra 22 used quantum-behaved particle swarm optimization for a job shop scheduling problem due to its advanced global search ability. Dahi et al. 23 proposed a variant of the quantum-inspired genetic algorithm based on a novel quantum gate to solve the antenna positioning problem. Various experiments with different dimensions have demonstrated the efficiency and robustness of the proposed algorithm.
Since the 1970s, heuristic algorithms gradually applied to reliability optimization. Heuristic algorithms can obtain the optimal or approximate optimal solutions based on the greedy strategy, in which the higher reliable components should be assigned to the position with the highest importance, and the advantages of heuristics become significantly for the large scale system. The meta-heuristic algorithm, such as the genetic algorithm,24,25 can avoid the local optimal solution, which can find a better solution than heuristics. As a typical evolutionary algorithm, ant colony optimization is widely used to solve the NP-hard combinational optimization problem.26,27 Shingyoch et al. 28 proposed two types of simulated annealing algorithms to obtain quasi-optimal solutions for a circular consecutive-k-out-of-n: F system, which can exclude the equivalent assignment efficiently. Cai et al. 29 proposed the GA based on the importance to improve the system performance for multicomponent maintenance, and the local search makes GA more effective and efficient. Yao et al. 30 constructed an integrated genetic algorithm, which referred as Birnbaum importance–based genetic local search (BIGLS). The local search of BIGLS is based on the ZK-type heuristics, which can gradually reduce the solution space and find the optimal solution effectively. Comparing with the standard genetic algorithm, BIGLS can improve the accuracy and the convergence speed for CAP. Cai et al. 31 proposed a BI-based genetic algorithm to search the near global optimal solution for Lin/Con/k/n systems. Combining the evolutionary algorithms with local search method based on the heuristics can improve the efficiency of CAP.32,33 Zhao et al. 34 proposed the parallel genetic algorithm to solve the extended CAP considering the reconfigurable cost.
According to the literature review, the BI, which is introduced as the local search method, is effective for solving the CAP. At the same time, the quantum computing can also speed up the efficiency of solving optimization problems. Therefore, combing the quantum computing with BI is a better idea to improve the effectiveness and efficiency of solving the CAP.
The remaining of the paper is organized as follows. Section “Modeling of reliability optimization for CAP” describes the modeling of reliability optimization for CAP. Section “BIQGA” introduces the procedures of Birnbaum importance–based quantum genetic algorithm (BIQGA) in detail, especially for the quantum coding method, the quantum decoding method, and the quantum rotation. Comparing with the standard genetic algorithm, QGA, and BIGLS, section “Comparative experiments” illustrates the effectiveness and convergence of BIQGA through two numerical experiments. The production monitor system is introduced in section “A case study of production monitor systems” to discuss the effectiveness of BIQGA, which compares with BITA. Section “Conclusion” summarizes the main contribution of the research.
Modeling of reliability optimization for CAP
The following assumptions are necessary for CAP: 2 (1) the system and each component is a binary state, such as working and failure; (2) the structure function of system is determined; (3) each component is independent; and (4) system and components are non-repairable.
The objective of CAP is to maximize the system reliability by assigning components to the positions in the system, and the system reliability can be calculated based on the structure function and the reliability of components 35 as follows
where
During the process of assignment, each position should have one component, and each component should be assigned to one position. If there are n components in a system, the solution space is composed of n! different permutations. The mathematical model of CAP is determined as follows considering the maximum system reliability and constraints of positions and component reliability.
where
BIQGA
The feature and role of quantum computing focus on the quantum-bit (q-bit), quantum superposition, and quantum rotation gate in the improved genetic algorithm. Q-bit and quantum superposition are used in the coding method, and quantum rotation gate is used in the quantum rotation for updating the individuals.
Quantum coding method
Quantum computing is inspired by the quantum-mechanical phenomena, such as superposition and interference between a pair of quantum. A single q-bit
The coding method in BIQGA takes advantage of q-bit and superposition to represent the possible assignment of CAP. The quantum population of generation t can be noted as
where m is the size of q-bit, which is determined by the number of basic states. The coding method based on the q-bit is a better way to guarantee the individuals’ diversity.
Coding method determines the searching efficiency of the algorithm. For the system with n components and n positions,
Quantum decoding method
Population measurement is the decoding procedure of quantum individuals, which can obtain the assignment state P(t) and rotation matrix U(t). Based on the decoding method, the state of individual j can decode into A, and the relative rotation matrix is generated as B. The corresponding permutation P can be determined based on A because of the one-to-one mapping relationship between A and P.
The pseudo-code of the decoding procedure for generating A and B is as follows:
Quantum rotation
The purpose of quantum rotation is to update populations to enlarge the diversity of the individuals, which is better to find the optimal solution. BIQGA does not need to consider the crossover and mutation operator because the quantum rotation has the same function to increase the diversity of individuals. The quantum rotation gate is used to renew the population. The update operation of the ijth quantum bit
where the value of
Reference value of
The value of
Procedures of BIQGA
Quantum computing makes the encoding and decoding process efficiently. BI measure can find the weak link of the system directly, which can obtain better system reliability through the BI-based heuristics. Yao et al. 30 proposed the BI-based local search in 2014, which is an effective BI-based heuristic to find the local optimal solution. BIQGA is proposed to solve CAP combing the advantages of quantum computing and BI-based local search, which can also reduce the coefficients such as the probability of crossover and mutation in the genetic algorithm. The procedures of BIQGA, as shown in Figure 1, are described as follows:
Step 1: Determine the appropriate objective function and select the proper solution space of the CAP pattern.
Step 2: Ascertain the decoding method and coding method.
Step 3: Generate an initial population C(t) with N individuals. Where t=0, and the initial value of (α
ij
, β
ij
) is set as
Step 4: Measure initial population; get the state P(t) and its rotation matrix U(t).
Step 5: Evaluate the fitness of each state P(t).
Step 6: Record the maximum fitness value Fm(t), the optimal state Pm(t), and the corresponding rotation matrix Um(t).
Step 7: Perform the BI-based local search on Pm(t).
Step 8: After the local search, measure and record the state Ps(t), its fitness value Fs(t), and the corresponding rotation matrix Us(t).
Step 9: If the termination condition is satisfied, stop the algorithm and output Ps(t) and its fitness value Fs(t).
Step 10: If the termination condition is not satisfied, perform rotation Um(t) on C(t) to get the C(t + 1).
Step 11: Measure C(t + 1) and the state P(t + 1).
Step 12: Evaluate the fitness of each state in P(t + 1).
Step 13: Perform the BI-based local search on the optimal state Pm(t + 1).
Step 14: Record the state Ps(t + 1), its fitness value Fs(t + 1), and the corresponding rotation matrix Us(t + 1).
Step 15: If Fs(t + 1) > Fs(t), set Ps(t) = Ps(t + 1) and Fs(t) = Fs(t + 1). Otherwise, the optimal state will not be updated.
Step 16: Set t = t + 1, and return to Step 9.

Flowchart of BIQGA.
Comparative experiments
The numerical experiments are realized by MATLAB 2016b with the processor Intel(R) Core(TM) i7-7700HQ, CPU at 2.80 GHz, and RAM 8 GB. In this article, we set the elements of the first-generation
Experiment design
The system reliability ratio (SRR) is introduced here to evaluate the performance of QGA or BIQGA based on the optimal solution as follows
where
The components with different reliabilities levels may impact on the performance of the algorithm. The components in this part include three types of reliability: low, high, and arbitrary reliability which are randomly distributed in the range [0.01, 0.2], [0.8, 0.99], and [0.01, 0.99], respectively. One hundred instances will be implemented and regarded as an experiment of the system. The mean of system reliability ratio (MSRR) is introduced to evaluate the performance of algorithms by eliminating the randomness for each system over the 100 instances.
In Experiment I, we select 15 typical Lin/Con/k/n: F systems shown in Table 2 and record four criteria including MSRR, Achievement, Time, and Fitness. “Achievement” counts the times that the solution of intelligent algorithms (such as QGA, BIQGA, and BIGLS) is better than the optimal solution. “Time” represents the average running time of each experiment with 100 instances. “Fitness” represents the median, maximum, minimum, and average of 100 instances. The population size of GA, QGA, BIQGA, and BIGLS is 50, and the maximum generation of four algorithms is 200. Note that in order to compare the performance of the proposed two algorithms with the fair condition, the population number of GA is 50, and the maximum generation is 200.
Symbol of 15 typical Lin/Con/k/n: F systems.
In Experiment II, we select four typical systems (Lin/Con/3/8: F system, Lin/Con/3/16: F system, Lin/Con/4/24: F system, and Lin/Con/5/32: F system) to compare the convergence of GA, QGA, and BIQGA. For each system, we record the fitness value of each generation and perform three algorithms 30 times with the same initial component reliability for the low, high, and arbitrary system, respectively. Finally, we draw the figure for average fitness value with the increase of generations for three kinds of systems. Based on the changes in fitness, we can analyze the convergence of three algorithms. The population size of GA, QGA, and BIQGA is 50, and the maximum generation of three algorithms is 500. In order to analyze the changes in fitness, we also revised the termination condition that the algorithm will stop when the generation reaches the maxima.
Results analysis of Experiment I
In order to illustrate the performance of the QGA, BIQGA, and BIGLS, the results of Experiment I are listed in Tables 3–5. The results of the 15 typical systems with low, high, and arbitrary reliable components are shown in these three tables, respectively, considering the achievement, MSRR, the fitness (median, maximum, minimum, and average).
Results of Experiment I for low reliable systems.
MSRR: mean of system reliability ratio; QGA: quantum genetic algorithm; BIQGA: Birnbaum importance–based quantum genetic algorithm; BIGLS: Birnbaum importance–based genetic local search.
Results of Experiment I for high reliable systems.
MSRR: mean of system reliability ratio; QGA: quantum genetic algorithm; BIQGA: Birnbaum importance–based quantum genetic algorithm; BIGLS: Birnbaum importance–based genetic local search.
Results of Experiment I for arbitrary reliable systems.
MSRR: mean of system reliability ratio; QGA: quantum genetic algorithm; BIQGA: Birnbaum importance–based quantum genetic algorithm; BIGLS: Birnbaum importance–based genetic local search.
From Table 3, the QGA, BIQGA, and BIGLS have the same results except for the running time in low reliable small systems. The running time of BIGLS is shortest, and that of BIQGA is the longest. For the low reliable large systems, the performance of QGA is the worst because the achievement and MSRR are much lower than those of BIQGA and BIGLS. BIGLS has a bit higher achievement and MSRR comparing with BIQGA; but the running time of BIGLS is much longer than QGA and BIQGA with the increase of system scale. The BIQGA has the shortest running time from F7 to F15 when the number of components in the system is larger than 10.
From Table 4, the QGA, BIQGA, and BIGLS have different performances in high reliable systems. From F1 to F6, BIGLS has a lower achievement, and the MSRR is also less than one. Although BIGLS has a shorter running time, the performance of BIGLS in small systems is a little worse for high reliable systems. However, the results of the three algorithms are the same as that of low reliable systems from F7 to F15.
From Table 5, the results of QGA, BIQGA, and BIGLS in arbitrary reliable systems are the same as the results of low reliable systems. From F1 to F4, these three algorithms have the same performance because they have the same achievement and MSRR. Compared with BIQGA, BIGLS has similar achievement and MSRR, but the running time of BIGLS is much longer than BIQGA and QGA for the large scale systems, especially from F10 to F15. Therefore, the BIQGA can obtain the solution as good as BIGLS with shorter running time, especially for large-scale systems.
In order to analyze the differences in the performance of QGA, BIQGA, and BIGLS, we compare the index in detail, such as achievement, MSRR, average running time, and the solution distribution, which are shown in Figures 2–5.

The achievement of the three algorithms for 15 typical systems.

The MSRR of the three algorithms for 15 typical systems.

The average time of the three algorithms for 15 typical systems.

The boxplots of the three algorithms for 15 typical systems.
From Figure 2, the achievements of three algorithms for small systems (F1, F2, F3, and F4) are the same in low reliable systems and arbitrary reliable systems, but the achievement of BIGLS in high reliable systems is less than QGA or BIQGA. For the large systems, the BIQGA and BIGLS have almost the same achievement in low reliable systems and arbitrary reliable systems, but the QGA has the lowest achievement. In high reliable systems, the achievement of BIGLS becomes better from F7 to F15, which is a little better than BIQGA.
From Figure 3, the MSRR of BIQGA is very close to that of BIGLS except for some individual cases such as in low reliable systems (F13), high reliable systems (F5, F10, and F13), and arbitrary reliable systems (F13). At the same time, the MSRR of both BIQGA and BIGLS is better than that of QGA except for F5 in high reliable systems. With the increase of system scale, the gap between BIQGA and QGA becomes larger.
From Figure 4, the average time of QGA is almost the same as that of BIQGA for any systems. With the increase of components in the systems, the running time of BIGLS increases quickly. For the low reliable systems, the running time of BIGLS is about 15 times than that of BIQGA in F15; for the high reliable systems, the running time is about eight times than that of BIQGA in F15; for the arbitrary reliable systems, the times increases to 25. Although the effectiveness of BIGLS is better than the other two algorithms, the solution of BIQGA is almost equal to that of BIGLS with short running time. The running time of BIQGA is shorter than that of QGA. This is because one of the termination conditions to stop the BIQGA or QGA is that the results remain unchanged for some continuous generations. The BIQGA has better convergence, which causes BIQGA to stop earlier than QGA.
The average fitness cannot compare the performance of these algorithms fully. Therefore, the boxplot is introduced to illustrate the distribution of solutions because the median, upper, and lower quartiles are also applied to measure the performance. From Figure 5, the fitness values vary with different systems. Therefore, the performance comparison of three algorithms should carry out when the system is determined. If the box area is narrow with high value, the performance of this algorithm is better because the algorithm can obtain the solution with high value and low variance.
For the low reliable systems, in order to illustrate the solution distribution of 15 typical systems, the systems are divided into four groups based on the difference of fitness value. From Figure 5, these three algorithms can obtain the same performance in low reliable small systems (F1, F2, F3, and F4), but the BIQGA and BIGLS can obtain the similar solution in low reliable large systems.
For the high reliable systems, there are three groups to illustrate the solution distribution of three algorithms. From Figure 5, the BIQGA can obtain better solutions in small systems (F1, F2, F3, F4, and F5). The BIGLS can obtain better solutions in large systems (from F10 to F15), but the performance of BIQGA and BIGLS is very close.
For the arbitrary reliable systems, the boxplots of 15 typical systems can be posted in a figure. From Figure 5, the performance of these three algorithms is the same in small systems (F1, F2, F3, and F4). The BIQGA and BIGLS have the same solution in systems (F6 and F9), which is also better than QGA. The solution of BIQGA in large systems (F5, F7, F8, F10, F11, F12, F13, F14, and F15) is much better than QGA, but it is a little worse than BIGLS.
According to the results of Experiment I, the BIQGA can solve CAP with high speed. The effectiveness of BIQGA is the same as BIGLS in small systems. Although the effectiveness of BIQGA is a bit worse than BIGLS, BIQGA can solve the CAP with a very short time when the system scale is large. Therefore, BIQGA can solve the CAP effectively and efficiently.
Results analysis of Experiment II
From the results of Experiment I, BIQGA can obtain better solutions when n is large, so we discuss the changes in fitness with the increasing of generation. The results of Experiment II are shown in Figure 6.

The convergent tendency of four typical systems.
From Figure 6, the horizontal coordinate represents the generation of the algorithm, and the vertical coordinate represents the fitness value. For the Lin/Con/3/8: F system, GA, QGA, and BIQGA can converge to the optimal solution quickly, but the BIQGA and QGA can reach the optimal solution faster than GA for low, high, and arbitrary reliable systems. For the Lin/Con/3/16: F system and Lin/Con/4/24: F system, the changes in fitness have a similar tendency. The convergence speed of BIQGA is faster than that of QGA and GA, and the fitness of optimal solution for BIQGA is much better than that of GA and QGA. For the convergence of QGA and GA, the fitness has the similar tendency with the increasing of generation, and the fitness increases slowly which means that QGA and GA cannot find the optimal solution with the lower generation. However, the optimal solution of QGA also is much better than that of GA because the fitness of BIQGA is also larger than that of GA. For the Lin/Con/5/32: F system, the convergence speed of BIQGA is faster in the high reliable system, but the speed is slower in the low and arbitrary reliable system. However, the optimal solution of BIQGA and the convergence speed of BIQGA are much faster than that of GA and QGA. QGA can also obtain better solutions than GA. From Experiment II, we can find the convergence speed, and the optimal solution of QGA is a little better than that of GA. BIQGA can obtain the optimal solution much faster, and the solution also is much better than that of QGA and GA especially for the large-scale systems, which also illustrates the effectiveness of BI-based local search.
A case study of production monitor systems
The production monitoring system is a typical Lin/Con/k/n: F system, which is shown in Figure 7. If and only if at least consecutive k monitors failed, the monitoring system will have the blind area, which means the production monitor system is in failure because the system cannot have blind area during working. Assume all the monitors are the same in the system.

The structure of the production monitoring system.
The capability of the monitors is their monitoring distance, which can be represented by the setting of k in the Lin/Con/k/n: F systems. The value of k is larger, the capability is higher. Since different types of monitors have different capabilities, these monitors have different requests for k in the system. However, the capability of monitors has no concern with the reliability of monitors. The lower reliable monitor may have higher capability in practical engineering. In this section, three types of monitors (Type I, Type II, and Type III) are selected; the capability of the monitors is 2, 3, and 4. The monitors are the high reliable components, and the parameters of the three monitors are shown in Table 6.
Parameters of four typical production monitoring systems.
The optimal solution of BIQGA can also be used in the production monitoring systems, because the solution of BIQGA is better comparing with the BITA, 13 which is the classical heuristic algorithm for solving the CAP. The comparison results of optimal arrangements based on BITA and BIQGA are shown in Table 7. From the table, when the scale of the system is small such as n = 6 and 10, the optimal system reliability and the arrangements of BITA and BIQGA are the same; when the system scale becomes larger, BIQGA can obtain better solutions than BITA, but the system reliability of BIQGA is very close to that of BITA. Therefore, the BIQGA is a better method to obtain the optimal arrangement of production monitor system.
The comparison of optimal assignments for BITA and BIQGA.
BITA: Birnbaum importance–based two-stage approach; BIQGA: Birnbaum importance–based quantum genetic algorithm.
Conclusion
In this article, the performance of BIQGA is discussed by comparing with the GA, QGA, and BIGLS, and some results can be summarized based on the analysis of the results of comparative experiments as follows: (1) BIQGA can solve the CAP effectively and efficiently with a very short time and high objective when the system scale is large. (2) BIQGA can obtain the better solution than QGA and GA because the convergence speed is faster and the fitness is much better than other two algorithms. Through analyzing the optimal arrangements in the production monitoring systems, BIQGA can also find better arrangements for the large-scale system. In the future, the reliability optimization problem for multi-state consecutive k-out-of-n systems can be studied, and the novel intelligent algorithms based on machine learning can be considered to solve the optimization problem. Moreover, the reliability degradation of components with operation time should also be considered into the model of reliability optimization.
Footnotes
Handling Editor: Gabriella Mazzulla
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Natural Science Foundation of China (grant no. 71701163), the Shaanxi Provincial Key R&D Program of China (no. 2018KW-046), and the 111 Project (no. B13044).
