minimization, metric graphs, rearrangement, NLS