Hello! I wrote this text about optimization in a undirected graph:https://medium.com/@lorenzotinfena/minimize-the-sum-of-the-length-of-the-edges-in-a-graph-with-movable-vertices-7fb333c8fc0b There may be additionally a pyhton implementation right here:https://colab.research.google.com/github/LorenzoTinfena/BestSpiderWeb/blob/master/BestSpiderWeb.ipynb#scrollTo=21TDvVciKqsT Read More