Why do we call it "Relaxing" an edge?

Eric G picture Eric G · May 25, 2012 · Viewed 9.1k times · Source

In Dijkstra's shortest path algorithm and others, to examine an edge to see if it offers a better path to a node is referred to as relaxing the edge. Why is it called relaxing?

Answer

Charlie Martin picture Charlie Martin · May 25, 2012

In general mathematically, relaxation is making a change that reduces constraints. When the Dijkstra algorithm examines an edge, it removes an edge from the pool, thereby reducing the number of constraints.

It's not horribly useful terminology, but think how cool you'll sound saying it.