The Misra & Gries edge coloring algorithm is a polynomial time algorithm in graph theory that finds an edge coloring of any simple graph. The coloring produced uses at most Δ + 1 {\displaystyle \Delta +1} colors, where Δ {\displaystyle \Delta } is the maximum degree of the graph. This is optimal for some graphs, and it uses at most one color more than optimal for all others. The existence of such a coloring is guaranteed by Vizing's theorem.
It was first published by Jayadev Misra and David Gries in 1992. It is a simplification of a prior algorithm by Béla Bollobás.
This algorithm is the fastest known almost-optimal algorithm for edge coloring, executing in O ( | E | | V | ) {\displaystyle O(|E||V|)} time. A faster time bound of O ( | E | | V | log | V | ) {\displaystyle O\left(|E|{\sqrt {|V|\log |V|}}\right)} was claimed in a 1985 technical report by Gabow et al., but this has never been published.
In general, optimal edge coloring is NP-complete, so it is very unlikely that a polynomial time algorithm exists. There are however exponential time exact edge coloring algorithms that give an optimal solution.