Distributed optimisation techniques for wireless networks