Flexible two-echelon location routing