|国家预印本平台
首页|Automating the Search for Small Hard Examples to Approximation Algorithms

Automating the Search for Small Hard Examples to Approximation Algorithms

Automating the Search for Small Hard Examples to Approximation Algorithms

来源:Arxiv_logoArxiv
英文摘要

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.

Eklavya Sharma

计算技术、计算机技术

Eklavya Sharma.Automating the Search for Small Hard Examples to Approximation Algorithms[EB/OL].(2025-04-07)[2025-06-22].https://arxiv.org/abs/2504.04738.点此复制

评论