Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-vsgnj Total loading time: 0 Render date: 2024-07-19T14:22:48.800Z Has data issue: false hasContentIssue false

11 - Facility Location and k-Means Clustering

Published online by Cambridge University Press:  07 May 2024

Rahul Vaze
Affiliation:
Tata Institute of Fundamental Research, Mumbai, India
Get access

Summary

Introduction

In this section, we consider two related combinatorial online problems that have wide applications in the area of operations research and machine learning, called the facility location problem, and the k-clustering problem. With the facility location problem, requests arrive sequentially whose locations belong to a metric space. On the arrival of a new request, the decision to be made is whether to assign this request to any one of the currently open facilities or open a new facility. The cost of assigning a request to an open facility is equal to the distance between the location of the request and the location of the open facility, while opening a new facility incurs a fixed cost. The cost of an online algorithm is the sum of the costs of all requests plus the total facility opening cost, and the objective is to find online algorithms to minimize the competitive ratio.

The facility location problem is a rich object and captures important problems such as: where to install charging stations for electric vehicles with routing and infrastructure costs. In this chapter, we first derive lower bounds on the competitive ratios of both deterministic and randomized algorithms, and show that the best competitive ratio possible for any online algorithm is at least, where n is the number of requests. On the positive side, we present a randomized algorithm whose competitive ratio is at most O(log n). We also consider a secretarial input setting where the order of arrival of requests is uniformly random, for which the same randomized algorithm is at most 8-competitive. A deterministic algorithm with a competitive ratio of at most O(log n) is also established for a more general setting, where the facility-opening cost depends on the location.

Next, we consider a related problem called the k-clustering problem, where requests arrive online and the objective is to partition the set of requests into at most k-clusters that minimizes the total cost defined as follows. The cost of each cluster is the distance of all requests that belong to the cluster from its centroid (called the centre), and the total cost is the sum of the cost of all the clusters. The k-clustering problem essentially models the classification problem, a fundamental object in machine learning.

Type
Chapter
Information
Online Algorithms , pp. 217 - 246
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×