I have a problem which can be rephrased in this way.
Suppose $G = (V,E)$ is a digraph (directed graph) and for each $v \in V$ we denote with $\delta^+(v)$ the number of outgoing edges of the vertex $v$.
I'm looking for a way to swap the edges (so $(i,j) \in E$ would become $(j,i)$) so that $\max_{v,w \in V} |\delta^+(v) - \delta^+(w)|$ is minimized.
Does this problem have a name in literature?