Skip to main content
QUICK REVIEW

[Paper Review] Scheduling with a processing time oracle

Fanny Dufossé, Christoph Dürr|arXiv (Cornell University)|May 7, 2020
Scheduling and Optimization AlgorithmsEngineering15 references19 citations
TL;DR

This paper studies a single-machine scheduling problem where job processing times are either short (p) or long (p+x), but initially unknown; an algorithm must query a processing time oracle (at a cost of one time unit per query) to reveal values. The goal is to minimize the competitive ratio—the ratio of the schedule cost to the optimal cost with full information. The authors present optimal polynomial-time algorithms for both adaptive and non-adaptive models using a two-phase strategy: test jobs first, then schedule them obliviously, achieving minimal competitive ratios through dynamic programming and boundary path computation on a grid of possible outcomes.

ABSTRACT

In this paper we study a single machine scheduling problem with the objective of minimizing the sum of completion times. Each of the given jobs is either short or long. However the processing times are initially hidden to the algorithm, but can be tested. This is done by executing a processing time oracle, which reveals the processing time of a given job. Each test occupies a time unit in the schedule, therefore the algorithm must decide for which jobs it will call the processing time oracle. The objective value of the resulting schedule is compared with the objective value of an optimal schedule, which is computed using full information. The resulting competitive ratio measures the price of hidden processing times, and the goal is to design an algorithm with minimal competitive ratio. Two models are studied in this paper. In the non-adaptive model, the algorithm needs to decide beforehand which jobs to test, and which jobs to execute untested. However in the adaptive model, the algorithm can make these decisions adaptively depending on the outcomes of the job tests. In both models we provide optimal polynomial time algorithms following a two-phase strategy, which consist of a first phase where jobs are tested, and a second phase where jobs are executed obliviously. Experiments give strong evidence that optimal algorithms have this structure. Proving this property is left as an open problem.

Motivation & Objective

  • To design an algorithm that minimizes the competitive ratio in single-machine scheduling when job processing times are hidden and revealed only via costly oracle queries.
  • To compare the performance of adaptive and non-adaptive strategies, where adaptive algorithms can decide which jobs to test based on prior outcomes.
  • To determine the optimal number of jobs to test in order to minimize the sum of completion times relative to the optimal schedule with full information.
  • To prove or disprove that optimal algorithms follow a two-phase structure: test jobs first, then schedule them without further queries.

Proposed method

  • The problem is modeled as a competitive analysis framework where the competitive ratio is the cost of the algorithm’s schedule divided by the cost of the optimal schedule with full information.
  • A two-phase strategy is assumed: first, test a subset of jobs; second, schedule all jobs (tested and untested) without further queries, based on the revealed information.
  • A grid-based dynamic programming approach is used to compute the optimal strategy, where each cell (c,d) represents c tested short jobs and d tested long jobs.
  • The algorithm computes the boundary path of the grid where the competitive ratio is minimized, using a procedure that marks cells and iteratively improves the stop ratio R*.
  • For the adaptive model, the algorithm uses an optimal adversary strategy to compute the minimal competitive ratio, and the optimal algorithm follows this path.
  • Experiments are conducted on up to n=10 jobs with uniformly sampled p and x values to validate the two-phase structure and the performance of the algorithm.

Experimental results

Research questions

  • RQ1What is the minimal competitive ratio achievable in the adaptive and non-adaptive models for single-machine scheduling with hidden processing times?
  • RQ2Does every optimal algorithm follow a two-phase strategy—testing jobs first, then scheduling them obliviously—regardless of adaptivity?
  • RQ3How does the gain of adaptivity (difference between non-adaptive and adaptive competitive ratios) vary with p and x?
  • RQ4Can the optimal strategy be computed efficiently, and what is the time complexity of the proposed algorithm?
  • RQ5Is the two-phase structure optimal even in the adaptive model, or are there exceptions where more complex strategies outperform it?

Key findings

  • The proposed algorithms achieve the minimal competitive ratio in both adaptive and non-adaptive models using a two-phase strategy, with time complexity O(n³) in theory and O(n²) in practice.
  • Experiments on up to 10 jobs found no counterexample to the two-phase conjecture, providing strong empirical evidence for its optimality.
  • The gain of adaptivity is small—around 2%—indicating that adaptive decisions offer limited improvement over non-adaptive strategies in this setting.
  • The competitive ratio increases with larger x (difference between short and long jobs) and smaller p (short job duration), and tends to 1 as p increases.
  • In the adaptive model, while most equilibrium schedules follow the (Tx)* (Tp)* (Ex)* (Ep)* pattern, some exceptions exist for larger n, suggesting no simple structure can be exploited for further optimization.
  • The algorithmic strategy in the non-adaptive model shows connected regions in (x,p) space where the number of tests is constant, whereas in the adaptive model, such regions are disconnected, indicating more complex decision boundaries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.