Applied Soft Computing 13 (2013) 2790–2802
Contents lists available at SciVerse ScienceDirect
Applied Soft Computing
j ournal homepage: www.elsevier.com/locate/asoc
A chaotic non-dominated sorting genetic algorithm for the multi-objective
automatic test task scheduling problem
∗
Hui Lu , Ruiyao Niu, Jing Liu, Zheng Zhu
School of Electronic and Information Engineering, Beihang University, Beijing 100191, China
a r t i c l e i n f o a b s t r a c t
Article history: Solving a task scheduling problem is a key challenge for automatic test technology to improve through-
Received 30 December 2011
put, reduce test time, and operate the necessary instruments at their maximum capacity. Therefore, this
Received in revised form 14 August 2012
paper attempts to solve the automatic test task scheduling problem (TTSP) with the objectives of mini-
Accepted 3 October 2012
mizing the maximal test completion time (makespan) and the mean workload of the instruments. In this
Available online 15 October 2012
paper, the formal formulation and the constraints of the TTSP are established to describe this problem.
Then, a new encoding method called the integrated encoding scheme (IES) is proposed. This encoding
Keywords:
scheme is able to transform a combinatorial optimization problem into a continuous optimization prob-
Automatic test task scheduling
lem, thus improving the encoding efficiency and reducing the complexity of the genetic manipulations.
Multi-objective optimization
Makespan More importantly, because the TTSP has many local optima, a chaotic non-dominated sorting genetic
NSGA-II algorithm (CNSGA) is presented to avoid becoming trapped in local optima and to obtain high quality
Chaotic operator solutions. This approach introduces a chaotic initial population, a crossover operator, and a mutation
Hybrid approach operator into the non-dominated sorting genetic algorithm II (NSGA-II) to enhance the local searching
ability. Both the logistic map and the cat map are used to design the chaotic operators, and their per-
formances are compared. To identify a good approach for hybridizing NSGA-II and chaos, and indicate the
effectiveness of IES, several experiments are performed based on the following: (1) a small-scale TTSP
and a large-scale TTSP in real-world applications and (2) a TTSP used in other research. Computational
simulations and comparisons show that CNSGA improves the local searching ability and is suitable for
solving the TTSP.
© 2012 Elsevier B.V. All rights reserved.
1. Introduction optimized algorithm has not yet been fully elucidated [2]. These
reasons motivated us to perform this study.
Automatic test technology offers much more efficiency, repeat- Because of the similarities among many of the scheduling prob-
ability, and reliability than manual operations in the modern lems, the flexible job-shop scheduling problem (FJSP) is compared
manufacturing processes and is widely used in many applications. to the automatic test task scheduling problem (TTSP), and a brief
For example, in mobile phone terminal manufacturing, automatic description of our issue is provided. Both the FJSP and the TTSP
test technology is used to measure production performance; in must assign each operation or task to a machine or an instrument
spacecraft, missile, and other aerospace systems, it represents one from a set of capable machines or instruments and then sequence
of the important technologies for ensuring the safety of these sys- the assigned operations or tasks on each machine or instrument
tems. One key challenge in automatic test technology is the test [3]. However, the two problems contain some differences. First, in
task scheduling problem. This scheduling problem addresses allo- the FJSP, each operation can be performed on only one of the m
cating tasks to the available instruments to improve throughput, machines at a time, whereas in the TTSP, a task can be tested on
reduce test time, and optimize resource allocation [1]. There- more than one instrument, which requires a much more complex
fore, an effective and efficient dispatching scheme is important allocation of the instruments to avoid resource conflicts. Second, in
and highly valued. However, although there have been several the FJSP, the operations for each job must be performed in a pre-
research projects to date within this field with an important appli- determined order, and the priority is linear. In other words, every
cation value in modern manufacturing environments, a concrete operation has only one former operation and one latter operation.
However, the precedence relationships in the TTSP resemble a net-
work. In other words, one task could have one or more former or
latter tasks, and thus, it is more difficult to obtain feasible solu-
∗ tions. As mentioned above, the TTSP is more difficult to solve than
Corresponding author.
E-mail addresses: [email protected], [email protected] (H. Lu). the FJSP.
1568-4946/$ – see front matter © 2012 Elsevier B.V. All rights reserved. http://dx.doi.org/10.1016/j.asoc.2012.10.001
H. Lu et al. / Applied Soft Computing 13 (2013) 2790–2802 2791
The FJSP is NP-hard [3], and many similar problems, such replace the traditional velocity-displacement model. Zhang et al.
as TTSP, have this property. Thus, it is difficult or impossi- [14] enabled each particle to exchange information by performing
ble to solve this type of problem with deterministic methods. a crossover operation, which did not generate real values. These
Many meta-heuristics methods and evolutionary algorithms have two approaches require adjustments or special designs and are not
been proposed. In this research, we present an algorithm, the always convenient. Similarly, chaotic technology cannot be easily
chaotic non-dominated sorting genetic algorithm (CNSGA), which applied to improve the performances of algorithms using discrete
hybridizes chaotic sequences based on the logistic map and the cat encodings because the chaotic variables are continuous variables.
map with the non-dominated sorting genetic algorithm II (NSGA- Thus, chaotic technology is suitable for the continuous search-
II). The NSGA-II method was presented by Deb in 2002 [4] and ing space, and therefore, the limitations of discrete encoding have
has been successfully used in solving shop scheduling problems stunted the development of the continuous algorithms and chaotic
[5], reactive power dispatch problems [6], and many other appli- technology in combinatorial optimization problems.
cations. This approach is effective and able to maintain a better Xia et al. [15] presented a matrix-encoding scheme for the
spread of solutions. In addition, the TTSP has many local optima, and TTSP. The column vectors of the matrix chromosome represent
chaotic operators are used to avoid becoming trapped in the local the instruments, and the row vectors express the tasks. For every
optima. Chaos theory focuses on the behavior of dynamical systems instrument, if one task uses it, that task number is entered in the
that are highly sensitive to initial conditions. Chaotic sequences row vector of that instrument. This encoding scheme will generate
have some special characteristics, such as the ergodic property and unfeasible solutions during the genetic manipulations, and if a task
the stochastic property [7]. Because of these properties, optimiza- can be tested on more than one set of instruments, it will become
tion algorithms based on chaos can escape from the local optima, invalid.
depending on their chaotic motion [8]. Thus, some researchers used As mentioned above, the commonly used TSL (OLC), the two-
optimization algorithms combined with chaos to achieve better vector representation, and the matrix-encoding are not always
results. For example, Lü et al. [9] introduced a chaotic mutation acceptable. The integrated encoding scheme (IES), inspired by ran-
into the GA to train an artificial neural network, and Guo et al. [10] dom key (RK) encoding [16], is proposed to address deficiencies of
used both chaos optimization of the initial population and excel- certain encoding schemes. The IES approach improves the encoding
lent individual chaotic disturbance to escape from the local optima. efficiency by using only one chromosome to merge the information
Although approaches that combine evolutionary algorithms and regarding both the instrument assignment and the task scheduling
chaos are applied in various fields, a few researchers have sought decisions. Additionally, the complexity of the genetic manipula-
to solve the multi-objective optimization problems using chaotic tions is reduced, and it is able to satisfy the resource constraints
operators. Thus, we contributed a substantial effort to find sat- and solve the TTSP with multiple alternative test schemes. More
isfactory approaches for combining multi-objective optimization importantly, IES transforms a combinatorial optimization problem
algorithms with the chaos principles. into a continuous optimization problem, making the applications of
In this paper, a chaotic initial population, a crossover operator, algorithms more convenient without the consideration of whether
and a mutation operator are introduced into the NSGA-II to enhance the problem is combinatorial or continuous. This approach repre-
the local searching ability. To determine the distinct performances sents a “fast-track” between a combinatorial optimization problem
of different chaotic maps, both the logistic map and the cat map are and a continuous optimization algorithm, which makes the search
used as number generators in place of random number generators algorithms such as PSO suitable for combinatorial problems and
in the initial population, crossover operator, and mutation operator. chaos technology applicable for enhancement of the algorithm.
Thus, there are six variants of CNSGA. The remainder of this paper is organized as follows. Section 2
Additionally, the chromosome-encoding scheme is an impor- gives a summary of some proposed papers applied in scheduling
tant aspect that should be carefully considered. Both the FJSP and problems as well as adopted algorithms. Section 3 briefly intro-
the TTSP are a combination of machine/instrument assignment duces certain concepts that are used for describing multi-objective
and operation/task-scheduling decisions [11]. Thus, a chromosome optimization problems. The formulation, constraints, and opti-
should include these two types of information. The FJSP has two mized objectives of the problem under study are presented in
main encoding schemes: the task sequencing list (TSL) (or the oper- Section 4. Then, in Section 5, the proposed CNSGA is described in
ations list coding (OLC)) [12] and the two-vector representation detail for solving the TTSP, including the chaotic maps, the prob-
[11]. The TSL represents the schedule in a list of operations, and lem encoding scheme, and the implementation of the CNSGA. The
each operation holds one cell. Every cell contains the operation experimental results and performance comparisons are presented
number, the job number, and the machine number. This encoding and discussed in Section 6. Finally, Section 7 contains the conclu-
scheme is understandable, but it makes the corresponding genetic sions and further research suggestions.
manipulations difficult to perform. The two-vector representa-
tion is composed of a chromosome with two parts: the machine
assignment vector and the operation sequence vector. This encod- 2. Literature review
ing scheme can always represent a feasible operation sequence.
However, it still contains some disadvantages. For example, it is After reviewing the vast majority of literature on scheduling
not very efficient, and decoding is inconvenient. Moreover, the problems, it was determined that only a few papers have dis-
crossover operators and the mutation operators of these two vec- cussed task scheduling in automatic test systems. Therefore, we
tors are usually different and should be considered separately; this prefer to discuss the methods used in the FJSP to provide refer-
constraint increases the complexity of the genetic manipulations. ences for the relatively new application area of the TTSP because
More importantly, the encoding scheme uses discrete encoding, of their similarities. In the literature, many meta-heuristics meth-
and thus, algorithms such as PSO cannot use it directly because ods and evolutionary algorithms have been proposed. To improve
some bits of a particle position may appear as real values, whereas some of the traditional strategies, Pezzella et al. [17] presented
the discrete encoding requires integers. Two main approaches are a new genetic algorithm (GA) for the FJSP, which integrated dif-
applied to address this type of incompatibility. One approach is ferent strategies for generating the initial population, selecting
to revise the updated particles. For example, Xia and Wu [13] the individuals for reproduction, and reproducing new individ-
rounded off the real optimum value to its nearest integer number. uals. Wang et al. [18] proposed an effective bi-population based
The other approach is to design a new particle updating method to estimation of the distribution algorithm (BEDA) to solve the FJSP
2792 H. Lu et al. / Applied Soft Computing 13 (2013) 2790–2802
with the objective of minimizing the makespan. In addition, the algorithm (CICA) that considered seven chaotic maps (logistic
influence of the parameters was considered, and the Taguchi map, tent map, iterative chaotic map with infinite collapses (ICMIC
method was implemented to design the experiments. Fattahi map), sinusoidal map, circle map, gauss map and sinus map) and
et al. [19] discussed the FJSP with overlapping in operations and three chaotic methods (CICA-1, CICA-2 and CICA-3). Although their
used a simulated annealing (SA) algorithm to solve large problem analysis appears complete, the paper pruned some of the possibili-
instances. Zhang et al. [14] combined a particle swarm optimiza- ties. At the beginning, this approach used three variants of the CICA
tion (PSO) algorithm and a tabu search (TS) algorithm to solve and all of the different chaotic maps for the Griewank function. The
the multi-objective FJSP. This hybrid algorithm employed a PSO to results showed that the performance of the CICA-3 was better than
assign operations to machines and to schedule operations on each that of the CICA-1 and CICA-2. The CICA has shown a somewhat
machine. Then, TS was applied to perform a local search for the better performance when logistic and sinusoidal maps were used
scheduling sub-problem originating from each obtained solution. for generating chaotic signals. Then, only the CICA-3 and the
Li et al. [20] proposed an effective hybrid tabu search algorithm sinusoidal map were applied for four functions (Griewank, Ackley,
(HTSA) to solve the multi-objective FJSP. In addition, two adaptive Rosenborck, and Rastring functions), ignoring the CICA-1, CICA-2
neighborhood search rules were presented, three insert and swap and other chaotic maps. Therefore, the analysis is also imperfect
neighborhood structures were developed, and an efficient left-shift because 84 (=7 × 3 × 4) experiments should be performed to satisfy
function was designed. logical preciseness. In addition, Tavazoei and Haeri [28] discovered
These algorithms can be categorized into hierarchical that the performances of the algorithms were different if different
approaches and integrated approaches [21]. The hierarchical chaotic maps were applied for different test problems. Therefore,
approaches decompose the problem into two sub-problems: the the results from different fields may not be compared directly, and
assignment of operations and the sequencing of operations. Fattahi complete experiments should be performed for the problems in
et al. [19] presented an assignment algorithm and a scheduling special fields before choosing the most suitable chaotic algorithm.
algorithm to find good solutions for the assignment problem and In this research, we present an algorithm that hybridizes chaotic
the scheduling problem, respectively. Li et al. [20] proposed a operators and the NSGA-II to enhance the local searching ability. It
hybrid algorithm using a TS algorithm to produce neighboring can be categorized as an integrated approach. As mentioned above,
solutions in the machine assignment module and a variable all six variants of the CNSGA are considered to satisfy logical pre-
neighborhood search algorithm to perform a local search in the ciseness.
operation scheduling component. The hierarchical approaches
can reduce the problem’s complexity. The integrated approaches
3. Multi-objective optimization problem
are more difficult to solve because the solution space expands
exponentially with the problem size, and therefore, the perfor-
In this paper, a multi-objective optimization algorithm based
mance of only one algorithm could be unsatisfactory. To improve
on NSGA-II and chaotic theory is proposed for the TTSP. Before
the efficiency of the algorithms, many approaches have been
explaining the details of this approach, an introduction to the multi-
suggested. Some approaches have been devoted to modifying the
objective optimization problem (MOP) is necessary [29].
original algorithm. For example, Tsutsui and Miki [22] replaced the
A multi-objective optimization problem can be described, with-
conventional crossover and mutation operators in the GA. Other
out loss of generality, as follows [30]:
researchers have proposed a variety of hybrid algorithms, which
T
combined the advantages of two different methods. For example, minimise F(x) = (f1(x), f2(x), . . . , fM (x))
(1)
Gao et al. [23] used a variable neighborhood descent to improve
subject to x ∈ ˝
the individuals in the GA. Xia and Wu [13] hybridized PSO and SA
to develop an easily implemented and effective hybrid approach. ˝ ˝
where is the decision space, the function F is a mapping from to
Based on the hybridization of fuzzy logic and evolutionary algo- M M
R , and R is the objective space with M objective functions. Very
rithms, Kacem et al. [24] proposed a Pareto approach. Xia et al.
often, the M objectives contradict each other, and there may exist no
[15] proposed a genetic simulated annealing algorithm (GASA),
x that can minimize all of the objectives simultaneously. Therefore,
which combined a GA and SA to solve the TTSP. It considered
a set of compromise solutions called Pareto optimal solutions can
both the parallel efficiency and the speedup ratio as objectives
be obtained.
and then integrated them as one fitness function for optimization.
The following basic concepts adopted in this paper are often
However, this did not account for the instrument set options.
used in MOP [31].
In addition, because of the No Free Lunch Theorem (NFLT) [25],
problem-specific knowledge has been incorporated during the Definition 1 (Pareto dominance). If two feasible decision vectors
optimization process. For example, Gao et al. [11] developed a new x1 and x2 satisfy the following two conditions, then x1 dominates
genetic algorithm that was hybridized with bottleneck shifting to x2 (denoted by x1 ≺ x2).
provide guidance for the GA search process.
Although the methods detailed above can solve the TTSP, they
(1) x1 is no worse than x2 in all of the objectives:
are sometimes easily trapped in the local optima. Therefore, chaotic
∀a = , , . . . , M f x ≤ f x
operators are used to avoid becoming trapped in the local optima. 1 2 a( 1) a( 2) (2)
Many research studies use the chaos principles to improve the per-
(2) x1 is strictly better than x2 in at least one objective:
formances of evolutionary algorithms, and experimental studies
confirm the benefits of such a combination. Unfortunately, these
∃a = 1, 2, . . . , M fa(x1) < fa(x2) (3)
works contain some imperfections. dos Santos Coelho and Alotto
[26] considered the chaotic crossover operator using the Zaslavskii
x1 is called a Pareto optimal solution if it cannot be dominated by
map to solve multi-objective optimization problems. However,
any other solution.
two essential aspects should be discussed in depth: (1) the various
chaotic maps and (2) the different chaotic methods. Until now, Definition 2 (Pareto optimal set). For a given MOP, the Pareto opti-
few studies have been concerned with the comprehensive analysis mal set (PS) is defined as follows:
of chaotic technology in evolutionary algorithms. Talatahari et al.
PS ∗ ∗
= {x ∈ ˝|¬∃
x ∈ ˝, x ≺ x}
[27] proposed a novel chaotic improved imperialist competitive (4)
H. Lu et al. / Applied Soft Computing 13 (2013) 2790–2802 2793
Table 1
Definition 3 (Pareto front). For a given MOP and the PS, the Pareto
A TTSP with four tasks and four instruments.
front (PF) is defined as follows:
k k k k
w P w P
T Wj j j T Wj j j
PF = {f (x)|x ∈ PS} (5) 1 1
t w w 1 1 r1 r2 5 t3 3 r4 2 w2 t w1
1 r2 r4 3 4 4 r1 r3 4
4. Problem formulation of the TTSP 1 2
t w w 2 2 r1 4 4 r2 r4 3 2 3
w w
2 r3 1 4 r2 r3 7
4.1. The problem description
The TTSP aims to organize the execution of n tasks on m instru-
n
T = {t } ments. In this problem, there are a set of tasks j j=1 and a
m i i i
R = {r } P S C
set of instruments i i=1 [15]. The notifications j , j , and j
present the test time, the test start time, and the test completion
time of task tj tested on ri, respectively. Thereupon, an inequality
Ci i i
≥ S + P
j j j is obtained. For the TTSP, one task must be tested on one
or more instruments. In other words, some instruments collaborate
i
O
on one test task. A variable j is defined to express whether the task
tj occupies the instrument ri. The definition is as follows: