A Study on Two Geometric Location Problems