Expected Cost Analysis of Online Facility Assignment on Regular Polygons
Md Rawha Siddiqi Riad, Md Manzurul Hasan
TL;DR
The paper addresses the online facility assignment problem in a geometric setting where facilities at the vertices of a regular polygon each have unit capacity and customers arrive on edges uniformly at random. It develops a recursive integral framework for the expected total cost, $V(S)$, and provides exact solutions for small $n$ via dynamic programming, complemented by Monte Carlo methods for larger instances. Key contributions include the rigorous recurrence, a Monte Carlo interpretation, and structural insights, accompanied by computational results up to $n=12$ and a detailed square ($n=4$) worked example that yields $V_4=71/32$. The work delivers a foundational probabilistic approach for online geometric assignment, offering practical algorithms for moderate-sized polygons and a basis for extending to more complex geometries and arrival models.
Abstract
This paper analyzes the online facility assignment problem in a geometric setting where facilities with unit capacity are positioned at the vertices of a regular $n$-gon. Customers arrive sequentially at uniformly random positions along the edges. They must be assigned immediately to the nearest available facility, with ties broken by coin toss. The sequential nature and unknown future arrivals require a probabilistic analysis of the expected assignment cost. Our main contribution is a recursive characterization of the expected cost: for any occupancy state $S$, the expected remaining cost $V(S)$ equals the average over all edge positions of the immediate assignment cost plus the expected future cost after assignment. We prove that this integral equation can calculate a solution and provide the expected value for small $n$ ($n = 3, 4, 5$). For larger values of $n$ and expected cost, we develop efficient numerical methods, including a discretized dynamic programming approach and Monte Carlo simulation. The work establishes a fundamental probabilistic approach for online assignment in polygonal environments.
