Distributed optimization techniques for range localization in networked systems