Optimal location of a single service center of certain types