Skip to main content
QUICK REVIEW

[Paper Review] Online and Offline Greedy Algorithms for Routing with Switching Costs

Roy Schwartz, Mohit Singh|arXiv (Cornell University)|May 7, 2019
Complexity and Algorithms in GraphsComputer Science20 references5 citations
TL;DR

This paper presents a hybrid offline greedy and randomized rounding algorithm that achieves a (1−1/e−ϵ)-approximation for circuit switch scheduling with switching delays, and reduces the online variant to the offline problem to obtain a bi-criteria (e−1)/(2e−1)−ϵ competitive ratio with O(δ/ϵ) extra time, overcoming unbounded integrality gaps in standard LP relaxations.

ABSTRACT

Motivated by the use of high speed circuit switches in large scale data centers, we consider the problem of circuit switch scheduling. In this problem we are given demands between pairs of servers and the goal is to schedule at every time step a matching between the servers while maximizing the total satisfied demand over time. The crux of this scheduling problem is that once one shifts from one matching to a different one a fixed delay $δ$ is incurred during which no data can be transmitted. For the offline version of the problem we present a $(1-\frac{1}{e}-ε)$ approximation ratio (for any constant $ε>0$). Since the natural linear programming relaxation for the problem has an unbounded integrality gap, we adopt a hybrid approach that combines the combinatorial greedy with randomized rounding of a different suitable linear program. For the online version of the problem we present a (bi-criteria) $ ((e-1)/(2e-1)-ε)$-competitive ratio (for any constant $ε>0$ ) that exceeds time by an additive factor of $O(\fracδε)$. We note that no uni-criteria online algorithm is possible. Surprisingly, we obtain the result by reducing the online version to the offline one.

Motivation & Objective

  • To design efficient offline and online algorithms for circuit switch scheduling under fixed switching delays, a key challenge in high-speed data center networks.
  • To overcome the unbounded integrality gap of standard linear programming relaxations for this problem.
  • To provide provable approximation guarantees for both offline and online variants, despite the complexity introduced by switching delays.
  • To establish a reduction from the online problem to the offline problem, enabling bi-criteria competitive algorithms.
  • To achieve nearly optimal approximation ratios despite the ground set size being exponential due to all possible matchings and durations.

Proposed method

  • A hybrid algorithm combines combinatorial greedy selection with randomized rounding of a specially designed linear program to handle the unbounded integrality gap of standard relaxations.
  • For the offline case, the algorithm adapts based on the ratio of switching delay δ to time window W, using greedy when δ ≪ W and rounding otherwise.
  • For the online case, the time horizon is partitioned into blocks of size kδ, and the algorithm runs an offline solver on each block’s cumulative demand.
  • The online algorithm uses a bi-criteria guarantee, allowing a time window larger than optimal by O(δ/ϵ), which is necessary due to the impossibility of uni-criteria online algorithms.
  • The analysis relies on inductive reasoning over blocks, using a coefficient γ to bound the approximation ratio, optimized via a trade-off between β (offline performance) and k (block size).
  • A key technical component is the construction of a modified optimal schedule that accounts for data not sent in the first block, enabling inductive bounds on performance.

Experimental results

Research questions

  • RQ1Can a (1−1/e−ϵ)-approximation be achieved for the offline circuit switch scheduling problem despite an unbounded integrality gap in standard LP relaxations?
  • RQ2Is it possible to design an online algorithm for circuit switch scheduling with switching delays that achieves a constant competitive ratio?
  • RQ3Can the online problem be reduced to the offline problem while maintaining a near-optimal approximation ratio?
  • RQ4What is the minimal time overhead required for online algorithms to achieve a constant competitive ratio in this setting?
  • RQ5How does the performance degrade as the switching delay δ increases relative to the time window W?

Key findings

  • The paper achieves a (1−1/e−ϵ)-approximation for the offline circuit switch scheduling problem using a hybrid greedy and randomized rounding approach.
  • The offline algorithm overcomes the unbounded integrality gap of standard LP relaxations by using a specialized linear program and combinatorial techniques.
  • For the online variant, a bi-criteria (e−1)/(2e−1)−ϵ competitive ratio is achieved, with an additive time overhead of O(δ/ϵ).
  • The reduction from online to offline allows the online algorithm to inherit the offline approximation guarantee, with a controlled loss due to time expansion.
  • The analysis proves that the coefficient γ in the competitive ratio is optimized as γ = β / (1 + (1−2/k)β), where β is the offline approximation factor.
  • The result shows that no uni-criteria online algorithm is possible, justifying the use of bi-criteria approximation in this setting.

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.