Professional Documents
Culture Documents
PDF Nature Inspired Computation in Engineering 1St Edition Xin She Yang Eds Ebook Full Chapter
PDF Nature Inspired Computation in Engineering 1St Edition Xin She Yang Eds Ebook Full Chapter
PDF Nature Inspired Computation in Engineering 1St Edition Xin She Yang Eds Ebook Full Chapter
https://textbookfull.com/product/nature-inspired-computation-and-
swarm-intelligence-algorithms-theory-and-applications-1st-
edition-xin-she-yang-editor/
https://textbookfull.com/product/nature-inspired-algorithms-and-
applied-optimization-1st-edition-xin-she-yang-eds/
https://textbookfull.com/product/smart-trends-in-systems-
security-and-sustainability-proceedings-of-ws4-2017-1st-edition-
xin-she-yang/
https://textbookfull.com/product/brain-and-nature-inspired-
learning-computation-and-recognition-1st-edition-licheng-jiao/
Discrete Problems in Nature Inspired Algorithms First
Edition Shukla
https://textbookfull.com/product/discrete-problems-in-nature-
inspired-algorithms-first-edition-shukla/
https://textbookfull.com/product/discrete-problems-in-nature-
inspired-algorithms-1st-edition-anupam-prof-shukla/
https://textbookfull.com/product/nature-inspired-design-of-
hybrid-intelligent-systems-1st-edition-patricia-melin/
https://textbookfull.com/product/nature-inspired-computing-and-
optimization-theory-and-applications-1st-edition-srikanta-
patnaik/
Nature-Inspired
Computation
in Engineering
Studies in Computational Intelligence
Volume 637
Series editor
Janusz Kacprzyk, Polish Academy of Sciences, Warsaw, Poland
e-mail: kacprzyk@ibspan.waw.pl
About this Series
Nature-Inspired Computation
in Engineering
123
Editor
Xin-She Yang
School of Science and Technology
Middlesex University
London
UK
v
vi Preface
however, there is still some confusion about some terminologies in the literature.
For example, there are some overlaps and there are no agreed standard definitions
about bio-inspired computation, nature-inspired computation, metaheuristic and
computational intelligence. Therefore, we will not enter the debate about what the
right terminology or subject fields should be, but we will rather focus our attention
on nature-inspired computation and its applications in engineering.
The diversity and rapid advances in nature-inspired computation have resulted in
a much richer literature. Therefore, a timely review is necessary to summarize the
latest developments in terms of algorithm developments and their applications in
engineering. Algorithms and topics include discrete firefly algorithm, discrete
cuckoo search, plant propagation algorithm, parameter-free bat algorithm, gravi-
tational search, biogeography-based algorithm, differential evolution, particle
swarm optimization and others. State-of-the-art applications and case studies
include vehicle routing, swarming robots, discrete and combinatorial optimization,
clustering of wireless sensor networks, cell formation, economic load dispatch,
metamodeling, surrogate-assisted cooperative co-evolution, data fitting and reverse
engineering as well as other real-world applications.
As a timely review volume, this book can be an ideal reference for researchers,
lecturers, graduates and engineers who are interested in latest developments in
nature-inspired computation, artificial intelligence and computational intelligence.
It can also serve as a reference for relevant courses in computer science, artificial
intelligence, machine learning, natural computation, engineering optimization and
data mining.
I thank our editors, Drs. Thomas Ditzinger and Holger Schaepe, and staff at
Springer for their help and professionalism. Last but not least, I thank my family for
the help and support.
vii
viii Contents
ix
x Contributors
1 Introduction
and one key reason is that these algorithms are simple, flexible, efficient and highly
adaptable. In addition, from the implementation point of view, they are very simple
to be implemented in any programming language. As a result, these algorithms have
been applied in a wide spectrum of problems in real-world applications.
The main objective of this chapter is to provide an overview of the history of
the nature-inspired computation and review some of the recent nature-inspired algo-
rithms for optimization. Some applications in engineering will also be highlighted.
Therefore, the chapter is organized as follows. Section 2 outlines the basic formula-
tion of optimization problems and the search for optimality, and then Sect. 3 presents
the brief history of the recent developments in nature-inspired computation. Section 4
highlights the key features of metaheuristic algorithms, followed by the introduction
to some recent algorithms based on swarm intelligence in Sect. 5. Section 6 discusses
the choice of algorithms and then Sect. 7 highlights some recent applications of bio-
inspired computation in engineering.
2.1 Optimization
From a mathematical point of view, all almost optimization problems can be formu-
lated in the following generic form:
gk (x) ≤ 0, (k = 1, 2, . . . , K ), (3)
where f i (x), h j (x) and gk (x) are functions of the design vector
x = (x1 , x2 , . . . , xd )T . (4)
Here the components xi of x are called design or decision variables, and they can be
real continuous, discrete or the mixed (partly continuous and partly discrete). Here,
Nature-Inspired Optimization Algorithms in Engineering … 3
techniques. However, there may not be any right solution procedure for some classes
of problems, at least, it is not easy to find a right technique to solve a particular type
of problem.
In many ways, searching for the optimal solution is very similar to treasure hunt-
ing. Imagine a scenario that we are trying to hunt for a hidden treasure in a hilly
landscape within a time limit. In one extreme, suppose we are blind-fold without any
guidance, the search process is essentially a pure random search, which is usually
not efficient. In another extreme, if we are told the treasure is placed at the highest
peak of a known region, we will then directly climb up to the steepest cliff and try to
reach to the highest peak, and this scenario corresponds to the classical hill-climbing
techniques. In most cases, the search is between these extremes. We are not blind-
fold, and we do not know where to look for. Obviously, it is physically impossible
to search every single square inch of an extremely large hilly region so as to find the
treasure.
In reality, the most likely search scenario is that we will do a random walk,
while looking for some hints; we look at some place almost randomly, then move
to another plausible place, then another and so on. Such a random walk is a main
characteristic of modern search algorithms [1]. Obviously, we can either do the
treasure-hunting alone, so the whole path is a trajectory-based search, and simulated
annealing is such a kind. Alternatively, we can ask a group of people to do the hunting
and share the information (and any treasure found), and this scenario uses the so-
called swarm intelligence and corresponds to the algorithms such as particle swarm
optimization and firefly algorithm, as we will discuss later in detail. If the treasure is
really important and if the area is extremely large, the search process will take a very
long time. If there is no time limit and if any region is accessible (for example, no
islands in a lake), it is theoretically possible to find the ultimate treasure (the global
optimal solution).
Going with this analogy even further, we can refine our search strategy a little bit
further. Some hunters are better than others. We can only keep the better hunters and
recruit new ones, this is something similar to the genetic algorithms or evolutionary
algorithms where the search agents are improving. In fact, as we will see in almost
all modern metaheuristic algorithms, we try to use the best solutions or agents,
and randomize (or replace) the not-so-good ones, while evaluating each individual’s
competence (fitness) in combination with the system history (use of memory). With
such a balance, we intend to design better and efficient optimization algorithms.
V. Vapnik in 1963 on linear classifiers, and the nonlinear classification with kernel
techniques were developed by V. Vapnik and his collaborators in the 1990s. A sys-
tematical summary in Vapnik’s book on the Nature of Statistical Learning Theory
was published in 1995 [13].
Another important period for metaheuristic algorithms is the two decades of 1980 s
and 1990s. First, the development of simulated annealing (SA) in 1983, an optimiza-
tion technique, pioneered by S. Kirkpatrick, C.D. Gellat and M.P. Vecchi, inspired by
the annealing process of metals. The actual first usage of memory in modern meta-
heuristics is probably due to Fred Glover’s Tabu search in 1986, though his seminal
book on Tabu search was published later in 1997 [14]. Marco Dorigo finished his
PhD thesis in 1992 on optimization and natural algorithms [2], in which he described
his innovative work on ant colony optimization (ACO). This search technique was
inspired by the swarm intelligence of social ants using pheromone as a chemical
messenger. At the same time in 1992, John R. Koza of Stanford University published
a treatise on genetic programming which laid the foundation of a whole new area of
machine learning, revolutionizing computer programming [15]. As early as in 1988,
Koza applied his first patent on genetic programming. The basic idea is to use the
genetic principle to breed computer programs so as to gradually produce the best
programs for a given type of problem.
In 1995, the particle swarm optimization (PSO) was developed by American
social psychologist James Kennedy, and engineer Russell C. Eberhart [3], based
on the swarming behaviour of fish and birds. The multiple agents, called particles,
swarm around the search space starting from some initial random guess. The swarm
communicates the current best and shares the global best so as to focus on the
quality solutions. Since its development, there have been about 20 different variants
of particle swarm optimization techniques, and have been applied to almost all areas
of tough optimization problems.
Then, slightly later in 1996 and 1997, R. Storn and K. Price developed their
vector-based evolutionary algorithm, called differential evolution (DE) [16], and
this algorithm proves more efficient than genetic algorithms in many applications. In
1997, the ‘no free lunch theorems for optimization’ were proved by D.H. Wolpert and
W.G. Macready [17, 18]. Researchers have been always trying to find better algo-
rithms, or even universally robust algorithms, for optimization, especially for tough
NP-hard optimization problems. However, these theorems state that if algorithm A
performs better than algorithm B for some optimization functions, then B will out-
perform A for other functions. That is to say, if averaged over all possible function
space, both algorithms A and B will perform on average equally well. Alternatively,
there is no universally better algorithms exist. However, researchers realized that we
do not need the average over all possible functions for a given optimization problem.
What we want is to find the best solutions, which has nothing to do with average
over all possible function space. In addition, we can accept the fact that there is no
universal or magical tool, but we do know from our experience that some algorithms
indeed outperform others for given types of optimization problems. So the research
may now focus on finding the best and most efficient algorithm(s) for a given set of
Nature-Inspired Optimization Algorithms in Engineering … 7
problems. The objective is to design better algorithms for most types of problems,
not for all the problems. Therefore, the search is still on.
Another very exciting period for developing metaheuristic algorithms is the first
decade of the 21st century. In 2001, Zong Woo Geem et al. developed the harmony
search (HS) algorithm [19], which has been widely applied in solving various opti-
mization problems such as water distribution, transport modelling and scheduling. In
2004, S. Nakrani and C. Tovey proposed the honey bee algorithm and its application
for optimizing Internet hosting centers [20], which followed by the development of
virtual bee algorithm by Xin-She Yang in 2005. At the same time, the bees algorithm
was developed by D.T. Pham et al. in 2005 and the artificial bee colony (ABC) was
developed by D. Karaboga in 2005. Then, in late 2007 and early 2008, the firefly
algorithm (FA) was developed by Xin-She Yang [1, 4], which has generated a wide
range of interests. In 2009, Xin-She Yang at Cambridge University, UK, and Suash
Deb at Raman College of Engineering, India, proposed an efficient cuckoo search
(CS) algorithm [21, 22], and it has been demonstrated that CS can be far more effec-
tive than some existing metaheuristic algorithms. In 2010, the bat algorithm was
developed by Xin-She Yang for continuous optimization, based on the echolocation
behaviour of microbats [23]. In 2012, the flower pollination algorithm was developed
by Xin-She Yang, and its efficiency is very promising.
As the literature is expanding rapidly, the number of nature-inspired algorithms
has increased dramatically [1, 24] As we can see, more and more metaheuristic
algorithms are being developed. Such a diverse range of algorithms necessitates a
systematic summary of various metaheuristic algorithms, however, we only briefly
outline a few of these recent algorithms in the rest of the chapter. But before we pro-
ceed, let us pause and highlight the key characteristics of nature-inspired algorithms.
The key aim of an algorithm is to generate new solutions that should be better than
previous solutions. For an ideal algorithm, new solutions should be always better than
existing solutions and it can be expected that the most efficient algorithms are to find
the best solutions with the least minimum efforts (ideally in one move). However,
such ideal algorithms may not exist at all.
8 X.-S. Yang and X. He
For stochastic algorithms, solutions do not always get better. In fact, it can be
advantageous to select not-so-good solutions, which can help the search process
escape from being trapped at any local optima. Though this may be counter-intuitive,
such stochastic nature now forms the essential component of modern metaheuristic
algorithms [4]. Exploitation typically uses any information obtained from the prob-
lem of interest so as to help to generate new solutions that are better than existing
solutions. However, this process is typically local, and information (such as gradi-
ents) is also local. Therefore, it is mainly for local search. For example, hill-climbing
is a method that uses derivative information to guide the search procedure. In fact,
new steps always try to climb up the local gradient. The advantage of exploitation is
that it usually leads to very high convergence rates, but its disadvantage is that it can
get stuck in a local optimum because the final solution point largely depends on the
starting point.
On the other hand, exploration makes it possible to explore the search space in
far away regions more efficiently [25], and it can generate solutions with enough
diversity and far from the current solutions. Therefore, the search is typically on a
global scale. The advantage of exploration is that it is less likely to get stuck in a local
mode, and the global optimality can be more accessible. However, its disadvantages
are slow convergence and waste of lot computational efforts because many new
solutions can be far from global optimality.
However, whether local search or global search, all depends on the actual search
mechanisms within an algorithm. Sometimes, there is no clear cut between local or
global. In addition, a fine balance may be required so that an algorithm can achieve
the good performance. Too much exploitation and too little exploration means the
system may converge more quickly, but the probability of finding the true global
optimality may be low. Conversely, too little exploitation and too much exploration
can cause the search path meander with very slow convergence. The optimal balance
should mean the right amount of exploration and exploitation, which may lead to
the optimal performance of an algorithm. Therefore, a proper balance is crucially
important to ensure the good performance of an algorithm.
Looking from a different perspective, nature-inspired algorithms can have both diver-
sity and adaptation. Adaptation in nature-inspired algorithms can take many forms.
For example, the ways to balance exploration and exploitation are the key form of
adaptation [26]. As diversity can be intrinsically linked with adaptation, it is better
not to discuss these two features separately. For example, in genetic algorithms, rep-
resentations of solutions are usually in binary or real-valued strings [8, 26], while in
swarm-intelligence-based algorithms, representations mostly use real number solu-
tion vectors. As another example, the population size used in an algorithm can be
fixed or varying. Adaptation in this case may mean to vary the population size so as
to maximize the overall performance.
Nature-Inspired Optimization Algorithms in Engineering … 9
For a given algorithm, adaptation can also occur to adjust its algorithm-dependent
parameters. As the performance of an algorithm can largely depend on its parameters,
the choice of these parameter values can be very important. Similarly, diversity in
metaheuristic algorithms can also take many forms. The simplest diversity is to allow
the variations of solutions in the population by randomization. For example, solution
diversity in genetic algorithms is mainly controlled by the mutation rate and crossover
mechanisms, while in simulated annealing, diversity is achieved by random walks.
In addition, adaptation can also be in the form of self-tuning in terms of parameters
so as to achieve better performance automatically [27].
In most swarm-intelligence-based algorithms, new solutions are generated accord-
ing to a set of deterministic equations, which also include some random variables.
Diversity is represented by the variations, often in terms of the population variance.
Once the population variance is getting smaller (approaching zero), diversity also
decreases, leading to converged solution sets. However, if diversity is reduced too
quickly, premature convergence may occur. Therefore, a right amount of randomness
and the right form of randomization can be crucial.
Both diversity and adaptation are important to ensure the effectiveness of an
algorithm. A good diversity will ensure the population can explore different regions
and can thus maintain a non-zero probability of finding the global optimality of the
problem. In addition, good adaption will enable the algorithm to adapt to suit the
problem and landscape under consideration, and thus may ensure a potentially better
convergence than non-adaptive approaches. However, it is not yet clear what a good
degree of diversity should be and what kind of adaptation mechanisms can be used.
Algorithms can also be analyzed by studying in detail the key algorithmic operators
used in the construction of the algorithms. For example, in the well-established class
of genetic algorithms [8], genetic operators such as crossover (or recombination),
mutation and selection are used [26].
In genetic algorithms, crossover is the operation of generating two new
solutions (offsprings) from two existing solutions (parents) by swapping rele-
vant/corresponding parts of their solutions. This is similar to the main crossover
feature in the biological systems. Crossover usually provides good mixing of solu-
tion characteristics and can usually generate completely new solutions if the two
parents are different. Obviously, when the two parents are identical, offspring solu-
tions will also be identical, and thus provides a good mechanism to maintain good
convergence. It is worth pointing out that crossover in contemporary algorithms may
take different forms, though its essence remains the same.
Mutation is a mechanism to generate a new solution from a single solution by
changing a single site or multiple sites. As in the evolution in nature, mutation often
10 X.-S. Yang and X. He
generates new characteristics that can adapt to new environments, and thus new
solutions during the search process can also be generated in this way. However, in
many nature-inspired algorithms, mutation typically becomes a vector and thus has
taken very different forms from the original binary mutation in the original genetic
algorithms.
Though both crossover and mutation are ways of generating new solutions, selec-
tion provides a pressure for evolution. In other words, selection provides a measure
or mechanism to determine what is better and selects the fittest. This mimics the
key feature of the Darwinian evolution in terms of the survival of the fittest. Without
selection, new solutions and new characteristics will not be selected properly, which
may lead to a diverse and less convergent system. With too much selection pressure,
many new characteristics will die away quickly. If the environment also changes and
if some solutions/characteristics dominate the population, the system may lead to
premature convergence. Thus, a proper selection pressure is also important to ensure
that only good characteristics or solutions that happen to fit into the new environment
can survive.
If we try to link crossover and mutation with exploration and exploitation, we
have to look at them in greater detail because such links can be very subtle. For
example, crossover can provide both exploration and exploitation capabilities, while
mutation mainly provides exploration. On the other hand, selection provides a good
way of exploitation by selecting good solutions. Thus, in order to provide a good
exploration ability to an algorithm, a higher crossover rate is needed, and that is why
the crossover probability is typically over 0.9 in genetic algorithms. However, new
solutions should not be too far from existing solutions in many cases, and to avoid too
much exploration, the mutation rate should be usually low. For example, in genetic
algorithms, the mutation rate is typically under 0.05 [4]. It is worth pointing out that
these values are based on empirical observations (both numerically and biologically).
In different metaheuristic algorithms, it is usually quite a challenging task to decide
what values are most appropriate, and such choices may need detailed parametric
studies and numerical experiments.
As nature-inspired algorithms have become more popular, the literature has expanded
significantly. In fact, the number of nature-inspired algorithms has increased dra-
matically in recent years, thus it is not possible to review a good subset of all these
algorithms here. To demonstrate the main points, we will only briefly introduce a
few algorithms that are among most recent and most popular algorithms.
All almost algorithms use some updating rules, derived from some characteristics
in nature, though a vast majority draw inspiration from swarm-based characteristics,
Nature-Inspired Optimization Algorithms in Engineering … 11
and thus forming a class of swarm intelligence. It is worth pointing out that the updat-
ing or iterative equations can be either linear or nonlinear, though most algorithms
have linear updating equations. Linear systems may be easier to implement, but the
diversity and richness of the system behaviour may be limited.
On the other hand, for the algorithms with nonlinear updating systems, the char-
acteristics of the algorithm can be richer, which may lead to some advantages over
algorithms with linear updating equations. For example, studies show that firefly algo-
rithm can automatically subdivide the whole population into multiple sub-swarms
due to its nonlinear distance-dependent attraction mechanism. At the moment, it is
still not clear if nonlinear systems are always potentially better. In the rest of this
section, when we describe the key formulations of each algorithm, we will mainly
focus on the key characteristics of its updating equations as an iterative system.
There are two parameters α and β in addition to the population size n. Here, two
random vectors 1 and 2 are uniformly distributed in [0, 1].
As this system is linear, it is quite straightforward to carry out stability analysis
[28]. Though the PSO system usually converges very quickly, it can have premature
convergence. To remedy this, over 20 different variants have been proposed with
moderate success. Among many improvements, the use of an inertia function by Shi
and Eberhart [29] seems to stabilize the system well. Other developments include
the accelerated PSO by Yang et al. [30] and some reasoning techniques with PSO by
Fister Jr. et al. [31]. Hybridization with other algorithms also proves useful.
The firefly algorithm (FA) developed by Xin-She Yang in 2008 [4] has a single
nonlinear equation for updating the locations (or solutions) of fireflies:
where the second term between any two fireflies (i and j) due to the attraction is highly
nonlinear because the attraction is distance-dependent. Here, β0 is the attractiveness
at r = 0, while α is the randomization parameter. In addition, it is a vector of random
numbers drawn from a Gaussian distribution at time t. The nonlinear nature of the
updating equation means that the local short-distance attraction is much stronger than
the long-range attraction, and consequently, the whole population can automatically
subdivide into multiple subgroups (or multi-swarms). Under the right conditions,
each subgroup can swarm around a local mode, thus, FA can naturally deal with
multimodal problems effectively.
Studies show that firefly algorithm can be very efficient in solving many different
problems such as classifications and clustering problems [32] as well as scheduling
problems [33]. The extensive studies of the firefly algorithm and its variants were
reviewed by Fister et al. [24, 34, 35].
Cuckoo search (CS), developed in 2009 by Xin-She Yang and Suash Deb [21], is
another nonlinear system [22, 36], enhanced by Lévy flights [37]. This makes CS
potentially more efficient than PSO and genetic algorithms.
The nonlinear equations are also controlled by a switching parameter or proba-
bility pa . The nonlinear system can be written as
where two different solutions x tj and xkt are randomly selected. In addition, H (u) is
a Heaviside step function, is a random number drawn from a uniform distribution,
and s is the step size. The so-called Lévy flights are realized by drawing random step
sizes L(s, λ) from a Lévy distribution, which can be written as
λΓ (λ) sin(πλ/2) 1
L(s, λ) ∼ , (s > 0), (10)
π s 1+λ
where ∼ denotes the drawing of samples from a probability distribution. In addition,
α > 0 is the step size scaling factor, which should be related to the scales of the
problem of interest.
Some recent reviews have been carried out by Yang and Deb [38] and Fister Jr. et
al. [39]. Mathematical analysis also suggested that CS can have global convergence
[40]. Recent studies also suggests that CS can have autozooming capabilities so
that the search process can automatically focus on the promising areas due to the
Nature-Inspired Optimization Algorithms in Engineering … 13
The bat algorithm, developed by Xin-She Yang in 2010 [23] based on the echolocation
behavior of microbats, is a linear system with updating equations for velocity vit and
location xit of a bat. At iteration t in a d-dimensional search or solution space, the
linear system can be written as
where x∗ is the current best solution and β ∈ [0, 1] is a random vector drawn from
a uniform distribution.
Though variations of the loudness and pulse emission rates are regulated
they seems to control the exploration and exploitation components in the algorithm.
Here, 0 < α < 1 and γ > 0 are constants. BA has attracted a lot of interest and
thus the literature is expanding. For example, Yang extended it to multiobjective
optimization [41, 42] and Fister et al. formulated a hybrid bat algorithm [43, 44].
Differential evolution (DE), developed by R. Storn and K. Price in 1996 and 1997
[16, 45], uses a linear mutation equation
where F is the differential weight in the range of [0, 2]. Here, r, p, q, i are four
different integers generated by random permutation.
The crossover operator in DE is controlled by a crossover probability Cr ∈ [0, 1]
and the actual crossover can be carried out in two ways: binomial and exponential.
14 X.-S. Yang and X. He
where I is a random integer from 1 to d, so that u it+1 = xit . It may not easy to
figure out whether such crossover is linear or not, a detailed analysis indicates that
crossover can be treated as a linear operator and thus DE is still a linear system in
terms of updating equations. There are many different variants of DE [46] and many
hybridized version in the literature.
Another linear system is the flower pollination algorithm (FPA), developed by Xin-
She Yang in 2012 [47], inspired by the flower pollination process of flowering plants.
The main updating equation for a solution/position xi at any iteration t is
where g∗ is the current best solution found among all solutions and γ is a scaling
factor to control the step size. The step sizes as Lévy flights are drawn from a Levy
distribution, that is
λΓ (λ) sin(πλ/2) 1
L(λ) ∼ , (s s0 > 0). (18)
π s 1+λ
Here Γ (λ) is the standard gamma function, and this distribution is valid for large
steps s > 0.
Another equation is also linear
which is mainly for local search, though whether it is local or global in this equation
will depend on the solutions chosen from the population. If two solutions are very
different or far away, the search can be global, while two very similar solutions will
typically lead to local search. Here, x tj and xkt are pollen from different flowers of the
same plant species. Here, from a uniform distribution in [0, 1]. In essence, this is
mostly a local mutation and mixing step, which can help to converge in a subspace.
However, it is worth pointing out that the generation of new moves using Lévy flights
can be tricky. There are efficient ways to draw random steps correctly from a Lévy
Nature-Inspired Optimization Algorithms in Engineering … 15
distribution [1, 37]. The switch between two search branches are controlled by a
probability ps . Recent studies suggested that flower pollination algorithm is very
efficient for multiobjective optimization [48].
Though different algorithms can have very different iterative equations, it is still
possible to find some common features among different algorithms. However, to
systematically analyze many different algorithms can be a very challenging task.
On the other hand, there is no free lunch in theory when the performance metrics
averaged over all possible problems [17], but ranking of algorithms may still be
possible for a given set of particular problems because the performance in this case
is no longer concerned with all problems and averaging. Thus, for a given set or type
of problems, one of the main tasks is to find some effective algorithms to use among
many different algorithms and thus the choice of algorithms may not be an easy task.
The ways of generating new solutions via updating equations depend on the structure
and topology of the search neighbourhood. New solution can be in either a local
neighborhood such as local random walks, the global domain such as those moves
by Lévy or uniform initialization, or cross-scale (both local and global, e.g., Lévy
flights, exponential, power-law, heavy-tailed). For simplicity, let us focus on the
most fundamental operators such as crossover, mutation and selection. From the
mathematical point of view, selection is easy to understand, we will now focus only
on crossover and mutation.
The crossover operator can be written mathematically as
⎛ ⎞ ⎛ ⎞
xit+1 xit
⎝ ⎠ = C(xit , x tj , pc ) = C( pc )⎝ ⎠, (20)
x t+1
j x tj
where pc is the crossover probability, though the exact form of C( ) depends on the
actual crossover manipulations such as at one site or at multiple sites simultaneously.
The selection of i and j can be by random permutation. Furthermore, the choice of
parents can often be fitness-dependent, based on the relative fitness of the parents in
the population. In this particular case, the functional form for the crossover function
can be even more complex. For example, C( ) can depend on all the individuals in
the population, which may lead to C(x1t , x2t , . . . , xnt , pc ) where n is the population
size.
16 X.-S. Yang and X. He
where pm is the mutation rate. However, the form M( ) depends on the coding and
the number of mutation sites. This can be written in most cases as a random walk
where α is a scaling factor controlling how far the random walks can go [4, 23].
However, mutation can also be carried out over a subset of the population or the
mutation operator can also be affected by more than one solution. For example, the
mutation operator in differential evolution takes the form xrt + F(x tp − xqt ), which
involves three different solutions.
In general, the solutions can be generated in parallel by random permutation, and
thus we may have a more generic form for modifications
⎛ ⎞
x1t+1
⎜ .. ⎟
⎝ . ⎠ = G(x1 , x2 , . . . , xn , ε, β),
t t t
(23)
xnt+1
A very important but also very practical question is how to choose an algorithm for
a given problem. This may be implicitly linked to another question: what type of
problems can an algorithm solve most effectively. In many applications, the problem
under consideration seem to be fixed, we have to use the right tool or methods to
solve in the most effective way. Therefore, there are two types of choices and thus
two relevant questions:
• For a given type of problems, what is the best algorithm to use?
• For a given algorithm, what kinds of problems can it solve?
The first question is harder than the second question, though the latter is not easy to
answer either. For a given type of problems, there may be a set of efficient algorithms
to solve such problems. However, in many cases, we may not know how efficient an
algorithm can be before we actually try it. In some cases, such algorithms may still
need to be developed. Even for existing algorithms, the choice largely depends on
Nature-Inspired Optimization Algorithms in Engineering … 17
the expertise of the decision-maker, the resources and the type of problems. Ideally,
the best available algorithms and tools should be used to solve a given problem;
however, the proper use of these tools may still depend on the experience of the user.
In addition, the resources such as computational costs and software availability
and time allowed to produce the solution will also be important factors in deciding
what algorithms and methods to use.
On the other hand, for a given algorithm, the type of problems it can solve can be
explored by using it to solve various kinds of problems and then compare and rank so
as to find out how efficient it may be. In this way, the advantages and disadvantages
can be identified, and such knowledge can be used to guide the choice of algorithm(s)
and the type of problems to tackle. The good thing is that the majority of the literature,
including hundreds of books, have placed tremendous emphasis in answering this
question. Therefore, for traditional algorithms such as gradient-based algorithms and
simplex methods, we know what types of problems they usually can solve. However,
for new algorithms, as in the cases of most nature-inspired algorithms, we have to
carry out extensive studies to validate and test their performance. Obviously, any
specific knowledge about a particular problem is always helpful for the appropriate
choice of the best and most efficient methods for the optimization From the algorithm
development point of view, how to best incorporate problem-specific knowledge is
still an ongoing challenging question.
7 Applications in Engineering
software can execute smoothly and to meet the design requirements. This means
that multiple independent test paths should be generated to test the behaviour of
the software, though the generation of truly independent paths can be a difficult
task. Nature-inspired optimization algorithms have also been used in this area with
good results [53].
• Image processing: Image processing is a big area with a huge literature. Image
segmentation and feature selection can often be formulated as an optimization
problem, and thus can be tackled by optimization techniques in combination with
traditional image processing techniques [54]. Image automatic registration and
clustering can be solved using nature-inspired algorithms with good performance
[32, 55].
• Data mining: Data mining is an active research area with diverse applications.
Classification and clustering can be closely related to optimization and many
hybrid techniques have recently been developed by combing traditional data min-
ing methods such as k-mean clustering with nature-inspired optimization algo-
rithms such as the firefly algorithm, cuckoo search and bat algorithm. Recent
studies by Fong et al. showed that such hybrid methods can obtain very good
results [56]. For example, Senthilnath et al. compared over a dozen different clus-
tering algorithms, they concluded that the approach based the firefly algorithm can
obtain the best results with the least amount of computational efforts [32].
Obviously, there are many other applications and case studies, interested readers
can refer to more specialized literature [1, 5, 6, 57] and the later chapters of this
book
References
Our Lord has listened to the prayers of His servant. The wise and virtuous
Isabel, touched by the grace of Heaven, gave a favourable hearing to the words of
this poor monk. All has turned out well.
“All has turned out well!” Face to face, Queen and would-be-
discoverer could realize how much their minds were in tune; even
more now than in the early days of his project; for, to the material
benefits he hoped to reap, Columbus, inspired perhaps by the
crusading character of the Moorish war, had added the burning
desire to carry the light of the Catholic Faith across “the sea of
darkness.” This was no mere pose. Religion to the sailor as to the
Queen was an intrinsic part of daily life, something vital and
overshadowing that in the hour of triumph intensified glory, in days
of depression or danger spread protecting wings. In the foreword of
his journal addressed to the sovereigns, he shows very clearly that he
regarded himself not only as pioneer but missionary:
Your Highnesses, as Catholic sovereigns and princes, loving the Holy Christian
Faith and the spreading of it, and enemies of the sect of Mahomet and of all
idolatries and heresies, decided to send me, Christopher Columbus, to the said
regions of India, to see the said princes and peoples and lands, and learn of their
disposition and of everything, and of the measures that could be taken for their
conversion to our Holy Faith.
Behind and beyond “the spreading of the Catholic Faith” in the far
East was another design of still bolder conception, the employment
of the wealth to be found in Cathay and the territories of the great
Khan towards the recovery of the Holy Sepulchre. The latter was the
crowning enthusiasm of every earnest Christian in mediæval times,
and Christopher believing himself “inspired, elected, foreordained,”
held amongst his cherished visions the glory of a final crusade, to
which he should have contributed the war fund.
Upheld by his inborn sense of power, he had returned to Court far
more a conqueror, ready to grant conditions, than a petitioner oft-
refused and eager to snatch the least morsel of favour. The Crown in
its clemency was now, after its long apathy, willing to confer on him
titles and privileges;—all in moderation of course, for Ferdinand and
Isabel were never unnecessarily lavish; but Christopher, valuing
himself and his task by the measure of his faith in the future, laughed
at their moderation. Either he was great enough to succeed and thus
prove worthy of a great reward, or he would fail and his pretensions
and demands fade away with his dreams. The sovereigns, skilled in
striking bargains, might argue and cajole. The Genoese, though his
fate trembled in the balance, never wavered, until at last in April,
1492, caution yielded to greatness, and the terms that he demanded
were signed and sealed.
Columbus and his heirs were to have the hereditary title of
Admiral of all the islands and continents that he might discover, and
should for ever hold the office of Viceroy and Governor-General over
them. He and his heirs should receive one-tenth of all the wealth,
whether metals, jewels, or spices, that should be acquired from these
territories; and he and they should have a perpetual right of
providing one-eighth of the expenses of every expedition sent to the
West, receiving a corresponding profit from the results. These with
extensive judicial and administrative privileges formed the basis of
the document, in return for which Columbus promised to sail into
the unknown and claim it in the name of Castile and her sovereign.
The actual cost of the expedition was, in comparison to the stakes
at issue, trifling; in all less than a thousand pounds of English
money, of which the Crown contributed some £850, Columbus
himself the rest. Three ships formed his fleet; two provided under
compulsion by the town of Palos as punishment for some public
offence, and as reluctantly manned by its inhabitants who looked on
the proposed voyage with horror. Columbus’s own flagship, the
Santa Maria, was a vessel of some hundred tons burden, by modern
standards ill-fitted for aught but coasting work; while the Pinta and
the Niña, commanded by Martin Alonso Pinzon and his brother
Vicente Yañez, noted navigators of the neighbourhood, were mere
merchant “caravels” of half its size.
The story of this first voyage to the New World has been often told:
the distrust and grumbling of the crew which, beginning before they
left Palos on that morning of the 3d of August, 1492, grew ever in
volume as they journeyed westwards, leaving the friendly Azores far
in their rear; the complaints that the wind steadily driving from the
east would never change and thus make any hope of return
impossible; the extraordinary variations of the compass and the
expanse of sea traversed, far in excess of the Admiral’s calculations,
so that, puzzled and anxious at heart himself, he must yet keep a
cheerful face and, lying skilfully, hold panic at bay by scientific
falsehoods and carefully doctored charts. The many cries of “land!
land!” heralding nought save clouds lying low on the horizon; the
ever-doomed hopes aroused by birds and floating grass; and then the
Sargasso Sea with its leagues of golden gulf-weed lapping against the
ship’s side. Was this the impassable ocean where Atlantis had sunk
to rest? Were they indeed destined to die here for their folly?
Then, when patience and hope were alike exhausted, and only the
Admiral’s faith rose triumphant above the general pessimism,
unmistakable signs of land appeared at last; and, on the 12th of
October the Spanish squadron came to anchor before the little island
of Guanahani, one of the Bahamas.
The details of the landing, the astonishment of the natives, “naked
as when their mothers gave them birth,” at the sight of mail- and
silk-clad warriors and the sound of cannons; the account of various
expeditions made to other islands and of the fort built in Española;—
these like the actual voyages may be read at length in the pages of
Washington Irving. It is with the triumphant home-coming of the
hero not with his adventures that we are here concerned.
Attention you two most wise and venerable men and hear of a new discovery
[wrote Peter Martyr to the Archbishop of Granada and Count of Tendilla]. You
remember Columbus the Ligurian, who persisted, when in the camps with the
sovereigns, that one could pass over by way of the Western Antipodes to a new
hemisphere of the globe.... He is returned safe and declares he has found
wonderful things.
Among the people who are not cannibals [he wrote home] we shall gain great
credit by their seeing that we can seize and take captive those from whom they are
accustomed to receive injuries, and of whom they are in such terror that they are
frightened by one man alone.
Alas for either pious or kindly intentions! Not these but economic
considerations were really to sink the scales. Columbus had
promised to find precious metals in abundance, and yet seven years
after his discovery Bernaldez, the Curate of Los Palacios, made a note
that the expenses of the various expeditions still continued to exceed
the profits.
“Since everything passed through the Admiral’s hands,” he adds,
“there was much murmuring against him, and he made greater
hindrances and delays than he ought in sending back gold to the
King.”
Gold there was little in these early years of exploration; and
demands for precious metals at home were echoed by demands in his
own colony for horses, cattle, and sheep to stock the new settlement.
In this dilemma the Admiral fell back on the wealth of human life,
for which he could reap a handsome profit in the labour-markets of
the Old World besides pacifying some of the grumbling in the New. It
was no longer the conversion of the heathen nor the civilization of
cannibals, that took the first place in his thoughts, but a momentary
respite from increasing financial strain.
A gift of an Indian apiece to each of his greedy crew; a gang of
some five hundred captives of either sex shipped to Europe, huddled
together “with no more care taken of them than of animals destined
for the slaughter-house.”
These, or tales of a like nature, came to the Queen’s ears. “By what
right does the Admiral give away my vassals?” she demanded
indignantly, and ordered the Indians to be released and re-shipped
to their own land.
It must be remembered to her credit [says Filson Young, referring to her attitude
towards this question,] that in after years, when slavery and an intolerable bloody
and brutish oppression had turned the Paradise of Española into a shambles, she
fought almost single-handed and with an ethical sense far in advance of her day
against the system of slavery practiced in Spain upon the inhabitants of the New
World.
Ferdinand cared little for the sufferings of Indians, but their sale
would not bring him the profits he had been led to expect from his
new dominions, and he was therefore more than willing to listen to
the many complaints of tyranny, favouritism, and deceit, brought
against the Governor by those returning from the West. Here the
crowning offence had been in reality the employment of all able-
bodied Europeans, priests as well as laymen, in the construction of a
city in Española to which Columbus gave the name of “Isabella,” “in
remembrance,” says Las Casas, “of the Queen Doña Isabel whom he
above all held in great reverence; and he was more desirous of
serving and pleasing her than any other person in the world.”
“Columbus,” wrote Peter Martyr, “has begun the building of a city
and the planting of our seeds and the raising of cattle.” His words call
up a picture of peaceful and slow-rewarded toil, little to the taste of
the majority pressed to take their share, their natural dislike of
manual labour stimulated by the ennervating climate and habits of
self-indulgence. The crops grew apace, but so also did fever and
disease; and for all that went wrong the people held their foreign
Admiral responsible.
Indeed there was often sufficient foundation to make the reports
brought home plausible. Columbus was a born leader of men in
action, where a strong personality will always dominate; but he had
few gifts as a governor, and least of all that invaluable instinct for
selecting trustworthy subordinates. His choice of officials was often
betrayed; his government, as a rule too kindly towards the cut-throat
ruffians he commanded, on occasions varied by excessive severity.
Whatever its quality he reaped odium, not only amongst the
colonists, but with their relations and friends in Castile.
Enough was obviously at fault to require inspection; and in 1500,
when Columbus who had sailed from Spain on a third voyage in 1498
was occupied in exploring fresh islands, Francisco de Bobadilla, an
official of the royal household, arrived in Española, charged with the
duty of inquiring into the Admiral’s conduct. His high-handed
action, in immediately arresting Columbus and his brothers
Bartholomew and Diego on their return to headquarters, is one of
the most dramatic episodes in history; and its appeal was felt
throughout the length and breadth of Spain.
Villejo, the officer in command of the prisoners on the voyage
home, offered to remove the fetters in which they had been sent on
board, but Columbus sternly refused. He would wear them, he
declared, until he knelt before his sovereigns, keep them by him till
his dying day. Crippled by gout, his hair whitened by care, he
disembarked at Cadiz, the irons clanking on his wrists and ankles;
and at the sight horror and shame spread from cottage and shop to
castle and palace. Was this the discoverer’s reward for a New World?
“Be assured that your imprisonment weighed heavily upon us,”
wrote the sovereigns some years later, still mindful of the shock the
news had given them; and when Columbus knelt before his Queen
the sobs of pent-up bitterness with which he recounted his troubles
awoke answering tears of regret and understanding in her eyes.
“After they had listened to him,” says Oviedo, “they consoled him
with much kindliness and spake such words that he remained
somewhat comforted.”
Confidence was temporarily restored, but the Admiral’s hour of
glory and triumph had passed never to return. His bad treatment
was acknowledged, but so also was his bad government; for though
he might not have deliberately tyrannized and deceived, yet he had
failed to keep order or fulfil his promises. The Queen was growing
old, and, broken by ill-health and private griefs, took less share than
she was wont in public business. Ferdinand had never liked the
Genoese sailor; moreover he was no longer necessary to royal
schemes and that to the astute King was ever sufficient excuse for
discarding a tool.
Columbus sailed for the fourth time to the lands of his discovery in
1502; but it was to find that Nicholas de Ovando, another royal
protégé, had succeeded Bobadilla in command at Española, while
treachery and ill-luck dogged his own efforts. Bitterness and
suspicion had begun to eat like a canker in his mind, and his letters
are full of querulous reproaches that the bargain he had made was
ill-kept and his due share of the commercial profits denied him. In
1504, he returned home suffering in body and spirit, but no longer to
meet with the sympathy for which he craved. Three weeks after he
arrived at Seville Isabel died and her will, that contained a special
petition for the kindly treatment of the natives, made no mention of
his name.
The principal thing is affectionately and with great devotion to commend the
soul of the Queen, Our Lady, to God. Her life was always catholic and holy and
ready for all things of His holy service, and for this reason it may be believed that
she is in His holy glory and beyond the desires of this rough and wearisome world.
If it is true that the trappings of the monk often conceal the wearer’s
individuality, it might be added that so also do royal robes. The
contemporary historian is apt to portray his King or Queen garbed in
a cloak of politics, morality, or pageantry, according to his special
enthusiasm; and, unless to his task he brings also the biographer’s
instinct for personality, his likeness though regal and exemplary will
leave the spectator cold. He has forgotten that the abiding measure
of our interest in others is the very humanity he has neglected or
tried to excel.
In the case of “Isabel of Castile” the conventional atmosphere of a
Court is intensified by her own determination to play a royal part.
She rarely forgot that she was Queen. On one occasion the Admiral of
Castile, Ferdinand’s uncle, had ventured to address the King as
nephew; whereupon she, overhearing, reproved him sharply.
“My Lord, the King has no kindred or friends but servants or
subjects!” A petty snub! Unless in judging it we recall the Court of
Henry IV., where Isabel had seen her brother mocked and bullied by
insolent nobles, amongst them a former Admiral of Castile.
Her lifework in building up the reputation of the monarchy must
be carried out in detail as well as on the broad lines of governmental
reform, and the dignity and magnificence of royalty formed part of
the scheme, that aimed at the exaltation of the Crown, not only in the
eyes of Europe but still more of Spain itself. The Castilian grandee
might be losing his official status, the Admiral be no longer essential
to the Fleet, the Constable to the Army, the Duke or Marquis to the
Royal Council; but in the throne-room and ante-chambers of the
palace etiquette more and more demanded their presence. Silken
chains were binding the unruly in a peaceful servitude.
Pulgar, the historian, commenting on Isabel’s insistence on the
outward forms of state, declared that “it pleased her to be served by
grandees and nobles,” while in another place he mentions her retinue
of the daughters of great families “such that we do not read in the
Chronicles that any Queen had before her.”
A household maintained on this scale and with corresponding
luxury was a costly item in royal expenses and, considering the
chronic deficiencies of the Treasury, was perhaps excessive. Yet
Ferdinand and Isabel were both by nature simple and abstemious in
their tastes, and wont in other matters, as we have seen in the case of
Columbus, to err rather on the side of economy than extravagance.
“A King must outshine his subjects,” says Pulgar with a conviction
born of his intimate knowledge of Spanish character. The easy
familiarity of the Emperor Maximilian, “Max the Penniless,” and his
son might be appreciated in Germany and Flanders; the private thrift
of a Louis XI., or lack of ostentation of a Lorenzo de Medici respected
in France or Florence; but the Castilian nature demanded
magnificence and aloofness in its rulers. Even a Ximenes de Cisneros
had been unable to shake off the outward glory of his office when he
accepted the Archbishopric of Toledo; and Ferdinand and Isabel,
children of their race, were fully alive to the appeal of surroundings
suitable to their rank.
Of the impression made by their magnificence on foreigners we
can gather from the diary of a certain Roger Machado who, in the
capacity of king-at-arms, accompanied an English embassy to the
Spanish Court at Medina del Campo in 1488. “People speak,” he says,
“of the honour done to Ambassadors in England; but it is not to be
compared to the honour which is done to Ambassadors in the
kingdom of Castile.”
The torchlight procession that accompanied them from their
lodgings to their evening reception at the palace; the majesty and
condescension of the sovereigns; the speeches, dances, bull-fights,
tourneys; each in turn arouses his admiration; but it is in his account
of the costumes and jewellery that his diary really reaches its apogee
of enthusiasm. The King is “dressed in a rich robe of cloth-of-gold,
woven entirely of gold, and furred with a rich trimming of fine sable.”
The Queen has “a rich robe of the same woven cloth-of-gold ... and
over the said robe a riding-hood of black velvet, all slashed in large
holes so as to show under the said velvet the cloth-of-gold in which
she is dressed.” She wears “crosswise over her left side ... a short
cloak of fine crimson satin furred with ermine, very handsome in
appearance and very brilliant.”
ISABEL OF CASTILE
Roger Machado, had he lived to-day, would surely have made his
fortune as journalist of some fashion-weekly; but even his facile pen
finds it difficult to express adequately the splendour of the Queen’s
jewellery,—her necklace of gold and jewelled roses,—the ribbon at
her breast adorned with diamonds, rubies, and pearls,—the pouch of
her white leather girdle set “with a large balass ruby the size of a
tennis-ball between five rich diamonds and other stones the size of a
bean.”
“Truly, as I believe,” he comments, “and also as I heard it said at
the time, I estimate the dress she then wore at the value of 200,000
crowns of gold”; while on another occasion he declares her dress so
rich that “there is no man who can well imagine what could be the
value of it.”
At a somewhat similar reception of a French embassy, tales of the
Queen’s magnificence evidently spread through Spain; and Fra
Fernando de Talavera, Archbishop of Granada, though no longer her
official Father-Confessor, felt bound to write and remonstrate. Isabel
was, however, able to offer a good defence, declaring that neither the
dresses of herself nor her ladies had been new,—indeed her own
“made of silk and with three bands of gold as plainly as possible,” she
had worn before in Aragon in the presence of these same Frenchmen.
If some of the men’s garments were costly, it had not been by her
orders, rather she had done her uttermost to discountenance it.
She might have mentioned also how, in the critical stages of the
Moorish war, she had pledged the crown jewels to merchants of
Barcelona, thus showing that for all her appreciation of the luxuries
of dress, they did not rank for a second in her thoughts with more
important considerations.
Her magnificence like her severity was calculated and the same
might be said of her liberality. She had seen money wasted on ne’er-
do-wells and was fully determined that no man, merely because he
was powerful or plausible, should prey on her revenues; while for the
regular type of Court-flatterer hunting for sinecures her contempt
amounted to aversion. Galindez Carvajal tells us in his chronicle that
she and Ferdinand kept a book in which they wrote down the names
of those at Court whom they thought most capable and worthy of
reward, consulting it whenever an office fell vacant, and that they did
not hesitate to prefer prudent men of the middle-class to the highly-
born incompetent. Their actual gifts, though scarcely lavish, were
sufficient to cause satisfaction, and Lucio Marineo declares that
“when between the King and Queen there was discussion as to the
fitting reward of any particular service, she on her part always gave
more than the sum on which the two had determined.”
Ferdinand was not unlike his contemporary, Henry VII. of
England, according to Ayala, the Spanish Ambassador’s description
of that monarch: “If gold once enters his strong boxes it never comes
out again. He pays in depreciated coin.”
Against this criticism may be set Machiavelli’s praise: “If the
present King of Spain had desired to be thought liberal, he would not
have been able to contrive, nor would he have succeeded in so many
undertakings.”
It is pleasant to turn from calculated policy to uncalculated
enthusiasm; and this may be truly said of Isabel’s love of her faith.
Both she and the King were strict in the outward observances of
catholicism, and every morning would find Ferdinand at Mass before
he broke his fast, while we are told that on Maundy Thursday his
servants would seek out twelve of the poorest of his subjects and that
he would serve them at supper and wash their feet. Isabel herself
would recite the hours every day like a priest; and, for all the whirl of
ceremonies and duties in which she found herself involved, she
would make time for special devotions so that it seemed to those
about her that her life was “contemplative rather than active.”
Her marked individuality, and the respect she inspired in
Ferdinand, had completely changed the character of the Court from
the old licentious days of Henry IV.; priests of the type of Ximenes
and Fra Fernando de Talavera thronged her ante-chambers; and
courtiers, when they saw her coming, would walk with eyes cast
down in the hope of establishing a reputation for sanctity.
Their hypocrisy can have brought them little. The Queen might be
a saint in her private life; but those who think saints necessarily fools
stand convicted of folly themselves. She was too shrewd a judge of
character to desire to change her Court into a convent, and her
letters to Fra Fernando de Talavera, while breathing affection and
admiration yet venture occasionally to question the suitability to
herself and her surroundings of his standard of asceticism.
It is my wish that not only in matters of importance but in all that concern these
kingdoms you should give me your advice; ... and this I do most earnestly beg, that
you will not cease from writing your opinion on the ground that these things do not
concern you since you are no longer here; for well I know that although absent
your counsel will be worth more to me than that of another present.
She then goes on to thank him for the reproofs he had
administered on the score of the too-great gaiety at Court and to
assure him that in explaining certain matters she is not seeking to
free herself from blame.
As for the French people supping with the ladies at table, that is a thing they are
accustomed to do. They do not get the custom from us; but, when their great guests
dine with sovereigns, the others in their train dine at tables in the hall with the
ladies and gentlemen; and there are no separate tables for ladies. The
Burgundians, the English, and the Portuguese also follow this custom; and we on
similar occasions to this.... I say this that you may see there was no innovation in
what we did, nor did we think we were doing anything wrong in it.... But if it be
found wrong after the inquiry I will make, it will be better to discontinue it in
future.... As for the bull-fights, I feel with you, though perhaps not quite so
strongly. But after I had consented to them, I had the fullest determination never
to attend them again in my life nor to be where they were held.
And on the seventh day [wrote the Queen to Fra Fernando] the fever reached its
climax, so that we were then in fear greater than all that through which we had
previously passed; and this lasted a day and a night of which I will not say that
which Saint Gregory said in the Office for Holy Saturday, more than that it was a
night of hell; so that you may believe, Father, never was the like seen amongst the
people at any time, for officials ceased their work, and none paused to speak with
another. All was pilgrimages, processions, and almsgiving, and more hearing of
confessions than ever in Holy Week.
Her wish is fulfilled, and the Catholic sovereigns lie side by side in
the Royal Chapel of Granada; but the love she gave in such
ungrudging measure was never fully returned. Isabel was fair in her
youth, not beautiful perhaps, but graceful and dignified, with soft
chestnut-coloured hair, and blue-green eyes that looked out candidly
upon the world; and to Ferdinand, arriving in disguise at Valladolid,
his blood set on fire by romance and excitement, she had seemed a
bride very worthy of his chivalrous care. Later he learned to respect
and admire her both as his wife and Queen, to love her even after his
fashion; but he was temperamentally cold and self-centred, and the
age set no high standard of fidelity. The chronicles record that he had
four illegitimate children by different mothers, of whom one,
Alfonso, became Archbishop of Saragossa; and Isabel was destined to
suffer bitterly from a jealousy intensified by her pride and strength of
will.
Her private life was not, however, unhappy, at least in those years
when her own children were growing up around her, and she could
find time amid the many cares of state to superintend their education
and build dream kingdoms round their future. Her ambitions and
Ferdinand’s were alike centred on their only son, Prince John, whose
birth in Seville on June 30, 1478, we have mentioned in an earlier
chapter.
“My angel” Isabel would playfully call the boy, alluding to his fair
skin and halo of curls; and she spared no pains in moulding his
character that he might one day satisfy her ideal of kingship. The
retinue that attended the little Prince of Asturias was in miniature a
counterpart of the elaborate household of officials and servants that
surrounded his father and mother; and, while from this environment
he imbibed a sense of the grandeur and aloofness of his position, he
also learned early the lesson of regal responsibility.
As president of a miniature Council of State, he listened to
frequent discussions of the economic and political problems of the
day by men chosen for their ability and experience; but it must not
be imagined that such strong diet was alone provided for his mental
digestion. Youth cries out for the companionship of youth; and
Isabel, recognizing the wisdom of this decree of nature, established a
class of ten boys, five older and five of his own age, against whose
wits the heir to the throne might sharpen his intellect in healthy
competition.
His love of music, inheritance from his grandfather, John II. of
Castile, was encouraged and developed; and often in the evenings the
choir boys of the Royal Chapel would assemble in his room, and he
and they sing together; or on other occasions he would summon his
musicians and play on the organ, or on one of the stringed
instruments of the day. Musical proficiency was a sure road to his
interest and regard.
In his position as heir to the Spanish dominions, it was natural
that Prince John’s life should stand more in the limelight of publicity
than his sisters’: but their education was in fact scarcely less
considered and planned than his. The Queen had always possessed
an intense admiration for classical learning; and it was one of
Ferdinand’s regrets that civil war had called him from the
schoolroom to the camp, when he could do little more than read and
write. He never understood Latin, the common language of cultured
Europe; but Isabel made time to study its grammar and composition
with Beatriz de Galindo, a famous teacher of her own sex, on whom
the Court had bestowed the appropriate nickname “La Latina.”
This course of education the Queen pursued with her usual
thoroughness and determination; and, if she did not achieve the true
scholar’s facility in translation and speech, she was at any rate able to
understand the orations of foreign ambassadors, and to interpret to
her husband the letters of the young Italian diplomat, Peter Martyr,
who took so lively an interest in her student’s career.