Saved in:
Bibliographic Details
Main Author: Sharma, Eklavya
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.04738
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909595461484544
author Sharma, Eklavya
author_facet Sharma, Eklavya
contents Given an approximation algorithm $A$, we want to find the input with the worst approximation ratio, i.e., the input for which $A$'s output's objective value is the worst possible compared to the optimal solution's objective value. Such hard examples shed light on the approximation algorithm's weaknesses, and could help us design better approximation algorithms. When the inputs are discrete (e.g., unweighted graphs), one can find hard examples for small input sizes using brute-force enumeration. However, it's not obvious how to do this when the input space is continuous, as in makespan minimization or bin packing. We develop a technique for finding small hard examples for a large class of approximation algorithms. Our algorithm works by constructing a decision tree representation of the approximation algorithm and then running a linear program for each leaf node of the decision tree. We implement our technique in Python, and demonstrate it on the longest-processing-time (LPT) heuristic for makespan minimization.
format Preprint
id arxiv_https___arxiv_org_abs_2504_04738
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automating the Search for Small Hard Examples to Approximation Algorithms
Sharma, Eklavya
Data Structures and Algorithms
Given an approximation algorithm $A$, we want to find the input with the worst approximation ratio, i.e., the input for which $A$'s output's objective value is the worst possible compared to the optimal solution's objective value. Such hard examples shed light on the approximation algorithm's weaknesses, and could help us design better approximation algorithms. When the inputs are discrete (e.g., unweighted graphs), one can find hard examples for small input sizes using brute-force enumeration. However, it's not obvious how to do this when the input space is continuous, as in makespan minimization or bin packing. We develop a technique for finding small hard examples for a large class of approximation algorithms. Our algorithm works by constructing a decision tree representation of the approximation algorithm and then running a linear program for each leaf node of the decision tree. We implement our technique in Python, and demonstrate it on the longest-processing-time (LPT) heuristic for makespan minimization.
title Automating the Search for Small Hard Examples to Approximation Algorithms
topic Data Structures and Algorithms
url https://arxiv.org/abs/2504.04738