liveBook · Manning

Permutation-based genetic algorithm

As explained in Optimization Algorithms: AI techniques for design, planning, and control problems

A genetic algorithm that represents candidate solutions as permutations of discrete elements.

A permutation-based genetic algorithm solves combinatorial optimization problems by representing each candidate as an ordered sequence of distinct elements. It is useful when order, adjacency, resources, or time constraints determine solution quality. section 8.3

Typical applications include:

  • Traveling salesman and vehicle routing problems, where adjacency and travel distance matter. section 8.3
  • Sports tournament and job scheduling, where the sequence of events affects resource or time usage. section 8.3
  • Ride-sharing scheduling, where ordering helps allocate vehicles and drivers efficiently. section 8.3

A tour as a permutation

For an eight-city traveling salesman problem, a candidate tour can be represented as [1, 2, 3, 4, 5, 6, 7, 8]. Specialized crossover and mutation operators preserve validity by keeping every city exactly once. section 8.3

Crossover mainly exploits useful genetic material from parent solutions, while mutation can support exploration or exploitation depending on its rate and step size. Crossover is generally assigned a relatively high rate and mutation a low rate. section 8.9

How Optimization Algorithms: AI techniques for design, planning, and control problems covers it

How deep it goes
Defines valid permutation encoding and operator purpose, while deferring detailed crossover and mutation methods.
Examples
Uses an eight-city traveling salesman tour, vehicle routing, ride-sharing, sports tournaments, and job scheduling.
How it connects
Connects genetic algorithms with combinatorial optimization, crossover, mutation, routing, and scheduling.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Optimization Algorithms: AI techniques for design, planning, and control problems. The section links point to the parts of the book it draws on.