Packing Under Convex Quadratic Constraints

Max Klimm, Marc E. Pfetsch, Rico Raber, Martin SkutellaMath. Program 2020 · DOI

TL;DR

This paper tackles the challenging problem of packing items under convex quadratic constraints, a generalization of the classic knapsack problem. The authors prove this problem is hard to approximate and introduce several novel algorithms, including a golden ratio-based approach and a greedy strategy, achieving constant-factor approximations. They also explore applications in mechanism design and provide a computational study.

What Problem Does This Paper Address?

The paper focuses on a class of optimization problems known as "packing problems with convex quadratic knapsack constraints." Imagine you have a set of items, each with a profit, and you want to select a subset of these items to maximize total profit. However, instead of a simple sum of item "weights" being below a budget (like in the standard knapsack problem), the constraint here is more complex: the sum of products of pairs of item "weights" (scaled by a quadratic matrix) must be below a budget. This quadratic constraint arises in various real-world scenarios, such as optimizing gas flow in pipeline networks or managing battery capacity in mobile devices. The core challenge is that these problems are NP-hard, meaning finding the absolute best solution is computationally infeasible for large instances, necessitating the development of approximation algorithms.

Methods

The authors propose three main algorithmic techniques:

  • Golden Ratio Approximation: This algorithm involves solving a convex relaxation of the problem, then transforming the solution to satisfy a non-convex relaxation. A key property leveraged is that any solution to this non-convex relaxation can be modified to have at most one fractional component without decreasing the objective value. This, combined with a partial enumeration strategy, yields a $\phi$-approximation, where $\phi$ is the golden ratio.
  • Greedy Strategy: A more straightforward greedy approach is presented. It iteratively selects items that offer the best profit-to-weight gain ratio. To improve its performance, this greedy algorithm is also combined with partial enumeration, leading to a $(1 - \sqrt{3}/e)$-approximation.
  • Randomized Rounding: For a more general version of the problem with multiple convex quadratic constraints, a randomized rounding approach is introduced. This involves solving a convex relaxation and then using the resulting probabilities to randomly select items. This method, also enhanced with partial enumeration, provides a constant-factor approximation.

Additionally, the paper explores how the first two strategies can be combined to create a "monotone algorithm" suitable for mechanism design, leading to a strategyproof mechanism.

Datasets

The paper uses instances from the GasLib library, specifically the Gaslib-134 instance, to test their algorithms. These instances are derived from real-world gas transport networks and are used to evaluate the empirical performance of the proposed algorithms.

Key Insights and Ideas

  • APX-Hardness: The paper proves that these packing problems are APX-hard, meaning there's a fundamental limit to how well we can approximate the optimal solution in polynomial time. This highlights the importance of developing good approximation algorithms.
  • Convex Relaxation Power: The effectiveness of solving a relaxed version of the problem (where integer constraints are relaxed to continuous ones) as a stepping stone to finding good approximate solutions is a recurring theme.
  • Non-Convexity Handling: A significant contribution is the development of techniques to handle the non-convexity that arises from the quadratic constraints, particularly by transforming solutions to have at most one fractional variable.
  • Mechanism Design Connection: The paper demonstrates a direct link between these optimization problems and mechanism design, showing how to create strategyproof mechanisms for scenarios where agents have private information (like willingness to pay).

Key Results

  • Golden Ratio Algorithm: Achieves a $\phi$-approximation for the single convex quadratic constraint problem.
  • Greedy Algorithm: Provides a $(1 - \sqrt{3}/e)$-approximation for the single constraint problem.
  • Randomized Rounding: Offers a constant-factor approximation for the multiple convex quadratic constraint problem.
  • Monotone Algorithm: A strategyproof mechanism with a constant welfare guarantee is developed.
  • APX-Hardness Proof: The problem is proven to be NP-hard to approximate within a factor of $1+\epsilon$ for any $\epsilon > 0$.
  • Computational Study: Empirical results show that the greedy algorithm, while theoretically not the best, performs well in practice and is significantly faster than the other algorithms. The golden ratio algorithm's performance can be highly variable.

Limitations and Future Work

  • Approximation Ratios: While constant-factor approximations are achieved, the specific ratios are not always the tightest possible. The paper suggests that further improvements might be possible.
  • Monotonicity for Greedy: The greedy algorithm, in its basic form, is not monotone, which limits its direct application in strategyproof mechanism design without further modifications.
  • Generalization: The paper focuses on symmetric positive semi-definite matrices $W$. Extending the results to more general quadratic forms could be a future direction.
  • Computational Study: While the study provides valuable insights, it's limited to a specific instance (GasLib-134) and a limited number of scenarios. Exploring a wider range of instances and problem sizes would be beneficial.

Summary updated

Abstract

We consider a general class of binary packing problems with a convex quadratic knapsack constraint. We prove that these problems are APX-hard to approximate and present constant-factor approximation algorithms based upon three different algorithmic techniques: (1) a rounding technique tailored to a convex relaxation in conjunction with a non-convex relaxation whose approximation ratio equals the golden ratio; (2) a greedy strategy; (3) a randomized rounding method leading to an approximation algorithm for the more general case with multiple convex quadratic constraints. We further show that a combination of the first two strategies can be used to yield a monotone algorithm leading to a strategyproof mechanism for a game-theoretic variant of the problem. Finally, we present a computational study of the empirical approximation of the three algorithms for problem instances arising in the context of real-world gas transport networks.
BibTeX
@inproceedings{klimm2020packing,
  author = {Max Klimm and Marc E. Pfetsch and Rico Raber and Martin Skutella},
  title = {{Packing Under Convex Quadratic Constraints}},
  booktitle = {Math. Program},
  year = {2020},
  doi = {10.1007/978-3-030-45771-6\_21},
}
Figure