Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-nr4z6 Total loading time: 0 Render date: 2024-06-06T12:46:44.252Z Has data issue: false hasContentIssue false

7 - Secretary Problem

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 chapter, we encounter another canonical online problem (called the secretary problem), where items (secretaries) arrive sequentially, and the objective is to select the best item (hire the best secretary); however, the selecting (hiring) decision has to be made right after the item is presented (secretary is interviewed). Moreover, once an item is selected (secretary is hired), the process stops, and no more items are presented (secretaries are interviewed), while if an item is not selected (secretary is not hired), then that item (secretary) cannot be selected later in hindsight.

Secretary problem captures the basic limitation of online algorithms: its limited view of the input and the requirement to make decisions after observing partial inputs that cannot be changed in the future. The secretary problem is trivial in the offline setting but turns out to be quite difficult in the online setting. In this chapter, we will first show that in the adversarial input setting, the competitive ratio of any online algorithm is unbounded. Thus, a randomized input setting called the secretarial input is considered, where the value or rank of items can be chosen adversarially; however, the order of arrival of items is uniformly random. Under the secretarial input, we present the optimal online algorithm that belongs to the class of algorithms that observes a constant fraction of the total number of items and builds a threshold using that; thereafter it selects the earliest arriving item whose value is more than the threshold. The optimal competitive ratio turns out to be 1/e for a large number of items. We also consider the natural generalization of the secretary problem, called the k-secretary, where multiple items are allowed to be selected.

The basic decision question encountered in the secretary or the k-secretary problem is faced in many real-life situations such as selling a house, accepting a marriage proposal, business opportunity needing massive investment, university admissions with acceptance deadlines, and many others.

Problem Formulation

Let the set of items be I with item i ∈ I having value v(i). Without loss of generality, we will assume that all items have distinct values, i.e., v(i) ≠ v( j) for ij. We are interested in selecting the item i* with the largest value in I, i.e.,

Type
Chapter
Information
Online Algorithms , pp. 119 - 138
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.

  • Secretary Problem
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.008
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.

  • Secretary Problem
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.008
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.

  • Secretary Problem
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.008
Available formats
×