1 as per the algorithm. Hence, the probability that
there is no directed path purchased by the algorithm
in Step 2 feasible for u, for a single i, is:
∏
e∈Q
(1 − f
e
) ≤ e
−
∑
e∈Q
f
e
≤
1
e
Next, we calculate the probability for all i: 1 ≤
i ≤ 2
d
logn
e
and imply the following. The probability
that there is no directed path purchased by the algo-
rithm in Step 2 feasible for u is at most
1
n
2
.
Thus, the algorithm purchases a smallest weighted
path from the request node to u with probability at
most
1
n
2
. Clearly, this path is upper bounded by Opt,
since it is a smallest weighted path.
Since the total number of clients is at most n, we
have that:
C
S
2
≤ n ·
Opt
n
2
Hence, the theorem below follows.
Theorem 1. There is an O(log mlog n)-competitive
randomized algorithm for the Online Non-metric Fa-
cility Location with Service-Quality Costs problem
(Non-metric OFL-SQC), where m is the number of
potential facility locations, and n is the number of
clients.
8 CONCLUDING THOUGHTS
In this paper, we have initiated the service-quality
costs model by addressing the non-metric variant of
Online Facility Location. A next step would be to
investigate the metric variant in which facilities and
clients are assumed to reside in the metric space.
A next research direction is to explore other ways
to express service-quality costs. In our model, the ser-
vice quality of a facility is expressed as a fixed cost,
given to the algorithm, and does not change over time.
It could be that this quality improves over time and
it would be interesting to add this dynamics into the
model and study its effect in the competitive ratio of
the algorithms.
Our adversary assumes the algorithm has no
knowledge at all about the future input portions. One
may want to investigate, for instance, other types of
adversary and probability distributions for the client
arrival.
We have assumed in our model that a client ar-
rives exactly once and this assumption is used in the
analysis of the proposed algorithm. In real-world sce-
narios, one client may appear in more than one group,
and a different approach would be needed to solve this
variant of the problem.
Finally, it is always interesting to observe how the
algorithm performs in simulated or real-world envi-
ronments. This would give us a better understanding
about the performance of the algorithm in average-
case scenarios, thus complementing our worst-case
scenario analysis.
REFERENCES
Alon, N., Awerbuch, B., Azar, Y., Buchbinder, N., and
Naor, J. (2006). A general approach to online net-
work optimization problems. ACM Transactions on
Algorithms (TALG), 2(4):640–660.
Alon, N., Awerbuch, B., Azar, Y., Buchbinder, N., and
Naor, J. (2009). The online set cover problem. SIAM
Journal on Computing, 39(2):361–370.
Anagnostopoulos, A., Bent, R., Upfal, E., and Van Henten-
ryck, P. (2004). A simple and deterministic competi-
tive algorithm for online facility location. Information
and Computation, 194(2):175–202.
Borodin, A. and El-Yaniv, R. (2005). Online computation
and competitive analysis. cambridge university press.
Drezner, Z. and Hamacher, H. W. (2004). Facility location:
applications and theory. Springer Science & Business
Media.
Fotakis, D. (2008). On the competitive ratio for online fa-
cility location. Algorithmica, 50(1):1–57.
Hamann, H., Markarian, C., auf der Heide, F. M., and
Wahby, M. (2018). Pick, pack, & survive: Charg-
ing robots in a modern warehouse based on online
connected dominating sets. In Ito, H., Leonardi,
S., Pagli, L., and Prencipe, G., editors, 9th Inter-
national Conference on Fun with Algorithms, FUN
2018, June 13-15, 2018, La Maddalena, Italy, volume
100 of LIPIcs, pages 22:1–22:13. Schloss Dagstuhl -
Leibniz-Zentrum f
¨
ur Informatik.
Korman, S. (2005). On the use of randomization in the on-
line set cover problem. Master’s thesis, Weizmann In-
stitute of Science, Israel.
Markarian, C. (2018). An optimal algorithm for online
prize-collecting node-weighted steiner forest. In Il-
iopoulos, C. S., Leong, H. W., and Sung, W., editors,
Combinatorial Algorithms - 29th International Work-
shop, IWOCA 2018, Singapore, July 16-19, 2018, Pro-
ceedings, volume 10979 of Lecture Notes in Computer
Science, pages 214–223. Springer.
Markarian, C. (2021). Online non-metric facility location
with service installation costs. In Filipe, J., Smi-
alek, M., Brodsky, A., and Hammoudi, S., editors,
Proceedings of the 23rd International Conference on
Enterprise Information Systems, ICEIS 2021, Online
Streaming, April 26-28, 2021, Volume 1, pages 737–
743. SCITEPRESS.
Markarian, C. (2022). Online set cover with rated subsets.
In To appear in the Proceedings of the 24th Interna-
tional Conference on Enterprise Information Systems
(ICEIS), 2022, Online Streaming, April 25-27, 2022.
Online Non-metric Facility Location with Service-Quality Costs
621