A method for solving to optimality uncapacitated location problems