Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

NSGA-II

Also known as Non-dominated Sorting Genetic Algorithm II

optimization evolutionary-planning

NSGA-II searches for the Pareto front of a problem with several objectives: the solutions where no objective can improve without another getting worse. A solution dominates another if it is no worse in every objective and better in at least one; front 1 is the set that no solution dominates, front 2 is dominated only by front 1, and so on, and inside a front a large crowding distance is preferred, so the front stays spread out. Each generation breeds N offspring from parents picked by binary tournaments on rank and crowding, merges them with the N parents, and keeps the best N by front and then by crowding, so good solutions are never lost (elitism). Constraints use Deb's constrained domination: a feasible solution beats an infeasible one, and of two infeasible ones the smaller violation wins. It has no convergence guarantee; for three or more objectives the crate offers NSGA-III.

Pseudocode

algorithm NSGA-II(f, n)input: objectives f with a constraint violation, population size noutput: the first front of the final populationP ← n random genomes, evaluatedrepeatrank, crowd ← rank-and-crowd(P)Q ← ∅while |Q| < n doa ← tournament(P, rank, crowd)             ▷ lower rank wins, then larger crowdingb ← tournament(P, rank, crowd)Q ← Q ∪ evaluate(mutate(crossover(a, b)))P ← environmental-selection(P ∪ Q, n)until the budget is spentreturn first front of Pfunction environmental-selection(R, n)S ← ∅for each front F_k in non-dominated-sort(R) do    ▷ by constrained dominationif |S| + |F_k| ≤ n thenS ← S ∪ F_kelsed ← crowding-distance(F_k)S ← S ∪ the n − |S| members of F_k with the largest dreturn Sreturn S

In the crates

  • evolutionary-planning

    Elitist multi-objective search by fast non-dominated sorting and crowding distance, with Deb's constrained domination.

    Nsga2

Lineage

Comes from

Nothing on this site.

Led to

NSGA-III builds on it

Papers

  1. A fast and elitist multiobjective genetic algorithm: NSGA-II K. Deb, A. Pratap, S. Agarwal, T. Meyarivan · 2002· IEEE Transactions on Evolutionary Computation introduces doi 10.1109/4235.996017