Distribution network optimisation for an active network management system