The paper
Algorithms for mate selection
- Authors
- R.K. Shepherd, B.P. Kinghorn
- Published
- 1999
- In
- Proc. Assoc. Advmt. Anim. Breed. Genet. 13
- Collection
- AAABG proceedings
- Listed on the old library
- 25 January 2012

In this summary
- Why selection and mating need to be solved together
- Two very different kinds of mating problem
- Searching for the best mating plan: four approaches compared
- Evolutionary algorithms and mate selection algorithms for complex indexes
- What makes an evolutionary algorithm work well for mating decisions
- What this means for applying mate selection algorithms on the ground
- Sources and further reading
- Questions
Why selection and mating need to be solved together#
Breeding programs have traditionally treated two decisions separately: which animals to select as parents, and then which selected animals to mate to which. The paper argues these are really one decision problem. Choosing parents without thinking about how they will be paired can waste genetic potential or create unwanted inbreeding, while planning matings only after selection has already fixed the parent list limits what mating can achieve.
The authors describe a combined approach called mate selection, in which who gets used as a parent and who they are mated to are decided at the same time. The tool for doing this is what they call a Mate Selection Index, or MSI, a single figure meant to capture net economic merit arising from a particular set of mating decisions. Once an MSI has been defined for a breeding objective, the practical problem becomes finding, out of an enormous number of possibilities, the mating plan that gives the highest MSI value.
This matters for commercial breeding because modern genetic evaluation already produces estimated breeding values, coancestry information and other data on large numbers of animals. The question the paper sets out to answer is not what information to use, but how to search through the possible ways of combining that information into actual mating decisions without the search itself becoming the limiting step.
Two very different kinds of mating problem#
The paper separates mate selection problems into two scenarios. In the first, the value of any single mating can be worked out on its own, independent of what other matings are chosen elsewhere in the plan. A straightforward example is where a mating's value is the average estimated breeding value of the sire and dam, plus maternal and breed effects expressed in the progeny. Here the total value of a mating plan is just the sum of the values of each individual pairing.
The second scenario is harder. Here the value of one mating cannot be calculated without knowing the rest of the mating set, because some components of the index only make sense across the whole group of matings. The paper gives the example of an MSI, described by Kinghorn and colleagues in 1999, that combines mean progeny genetic merit with mean progeny inbreeding and mean coancestry of all parents; the coancestry component needs the entire mating set to be calculated, so no single mating's contribution can be pulled out on its own.
A further scenario of this harder type is Look Ahead Mate Selection, or LAMS, described in earlier work by the same authors, which projects forward over a number of generations at predicted future progeny, including future crossbred matings that depend on today's choices. Because tomorrow's value depends on today's whole mating set, LAMS can only be evaluated for a complete plan, never for one mating in isolation. This distinction between the two scenarios decides which algorithm can realistically be applied.
Searching for the best mating plan: four approaches compared#
Complete enumeration, trying every possible mating set and keeping the best, is ruled out immediately by the scale of the problem already described, since a livestock enterprise working through tens of millions of combinations is not realistic.
Where the simpler, first scenario applies, Linear Programming can be used instead. A value matrix is built showing the worth of every possible male-female pairing, and the task becomes finding the combination of pairings that maximises total value within resource and logistical limits, provided those limits can be written as linear relationships. The paper notes that Jansen and Wilton showed mate selection could be set up as a transportation problem, a more efficient special form of linear programming, finding the optimal mating set in an order of iterations tied to the number of males and females involved; for fifteen males and fifteen females that figure works out to 625.
For the harder scenario, where matings cannot be valued separately, the paper describes the exchange algorithm, evaluated by Kinghorn and Shepherd in 1994. It starts from a reasonable mating set and tests swaps of accepted pairings for unaccepted ones, keeping any swap that raises the MSI, until no further single swap helps. The authors note this method is not guaranteed to reach the true optimum, that its chance of finding the optimum falls as the number of matings grows, and that it slows markedly as the breeding population gets larger, since starting from an already optimal set still requires a fixed, sometimes large, number of MSI evaluations before the algorithm can confirm no swap improves it.

Evolutionary algorithms and mate selection algorithms for complex indexes#
The most promising approach described in the paper borrows an idea from biological evolution. A population of candidate mating plans is scored against a fitness measure such as the MSI, then bred into new generations using operators such as recombination and mutation, under a logic of survival of the fittest.
Hayes and colleagues, in 1997, applied one form of this approach, called a Genetic Algorithm, to small mate allocation problems and found that although its performance improved sharply as the population of candidate solutions grew, it remained far too slow for industry-scale use. A different method, Differential Evolution, adapted for mate selection by Kinghorn and Shepherd in 1999, is reported in the paper as having worked successfully in industry applications, though the authors are careful to say whether it will suit every possible MSI remains an open question.
The paper itself raises a note of caution here, observing that just as different species evolve to suit different ecological niches, different evolutionary algorithms may turn out to be needed for mate selection indexes that differ substantially from one another. In other words, the authors do not present Differential Evolution as a universal answer, but as the stronger option found so far for the applications they describe.
What makes an evolutionary algorithm work well for mating decisions#
The paper sets out several features it considers desirable in an evolutionary algorithm applied to mate selection. First, the steps used to generate new candidate mating plans should only ever produce plans that satisfy the constraints of the problem. The Genetic Algorithm of Hayes and colleagues sometimes generated infeasible offspring solutions, which then had to be discarded or patched up, wasting computing time or distorting the resulting plan away from its parents. Differential Evolution, as adapted by Kinghorn and Shepherd, always produces feasible solutions, which the paper treats as an advantage.
Second, because the value of a mating plan can depend on non-additive genetic effects, the paper argues that candidate solutions should be chosen for further breeding based on the fitness of their resulting offspring plans, something the Differential Evolution approach does but the earlier Genetic Algorithm did not. Third, drawing an analogy with Wright's Shifting Balance Theory, the authors suggest that several smaller populations of candidate solutions evolving somewhat independently, especially if run on parallel computing hardware, may work better than one large population when non-additivity is present.
A further suggestion is to monitor diversity among candidate solutions as the algorithm runs, and increase the rate of mutation when diversity drops. The idea is that a population of candidate plans will first climb toward a good solution, and once it has settled near a peak with low diversity, extra mutation can push it to explore other parts of the range of possible mating plans rather than settling for a local optimum.

What this means for applying mate selection algorithms on the ground#
The paper's overall judgement is that the usefulness of mate selection grows as the issues and information fed into the index become more complex, and that the algorithm chosen has to be capable of handling that complexity directly within the MSI rather than working around it. It reports that progress on efficient algorithms had been made over the fifteen years before publication, with evolutionary algorithms showing the most promise among the methods discussed.
The authors note a practical trade-off: evolutionary algorithms, like the biological process they imitate, tend to need many generations of computation to reach good answers, meaning long run times. They point out that this cost is being eased by faster processors, by parallel computing architectures, and by algorithms tailored more closely to particular types of MSI, rather than by any single breakthrough.
Looking ahead, the paper argues that further development of efficient group mate selection procedures will be needed for large populations, and that such development is a prerequisite for implementing schemes such as Look Ahead Mate Selection, since LAMS needs one evolutionary algorithm driving another across future generations. The authors close by tying this computational demand to the genetic effects, heterosis and effects at individual genes that do not behave additively, for which LAMS offers its greatest benefit over simpler methods. A separate item in this index, titled mate selection algorithms tackle breeding decisions, is by the same authors and dated 2001, and this summary sits within the collections for AAABG conference proceedings and the Association for the Advancement of Animal Breeding and Genetics.
Sources and further reading#
- The paper at AAABG proceedings (aaabg.org), free PDF
- AAABG proceedings online: the association's own site, where its proceedings are free to read
- Animal Genetics and Breeding Unit
Questions#
What is a Mate Selection Index?
It is a single score the paper describes for a whole set of proposed matings, built to reflect net economic merit from both selection and mating decisions together. Depending on the breeding objective it can include mean progeny merit, inbreeding and coancestry components, with some components only calculable once the whole mating set is known.
Why can't breeders just test every possible mating combination?
The paper shows the numbers become unworkable very quickly.
When is Linear Programming a suitable tool for mate selection?
The paper explains that Linear Programming works when the value of each individual mating can be calculated on its own, independent of the rest of the mating set, and when all resource and logistical constraints can be expressed as linear relationships, as shown by Jansen and Wilton's transportation-problem formulation.
What is Look Ahead Mate Selection, or LAMS?
LAMS is a mate selection approach, described in earlier work by the same authors, that projects forward over several generations at predicted future progeny, including future crossbred matings. Because future outcomes depend on today's whole mating set, the paper notes LAMS is most useful where non-additive genetic effects such as heterosis matter.
Written by the Livestock Library team from the published paper by R.K. Shepherd and B.P. Kinghorn (1999), and released on 1 November 2026. It is our account of the research in our own words, not the paper itself. For anything you plan to act on, read the original.
Are you an author or publisher of this paper? If something here is wrong, or you would like it changed or removed, tell us and we will fix it.