Approximation Algorithms for Product Query Optimization
Mac\'eo Ottavy, Avijeet Ghosh, Pascal Koiran, Alantha Newman, Fran\c{c}ois Schwarzentruber, Blair D. Sullivan, St\'ephan Thomass\'e
Key points
From the paper's conclusion- We show that using the optimal solution to the well-known product partition problem does not always lead to an optimal plan, but we establish connections between the product partition and multiplication ordering problems.
Abstract
We study database query optimization for Cartesian products. This problem is equivalent to finding an optimal plan for multiplying non-negative integers. We call this problem multiplication ordering. We show that the problem has an FPTAS when the cost of a plan is the sum of all intermediate products; both in the case when the overall final product is counted and when it is not. We show that using the optimal solution to the well-known product partition problem does not always lead to an optimal plan, but we establish connections between the product partition and multiplication ordering problems. Finally, we prove that multiplication ordering is in PTIME (resp. \NP-complete) when integers are powers of a same base where the exponents are written in unary (resp. in binary).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Truly Sub-$3^n$ Min-Sum Subset Convolution and Join OrderingarXiv · 2026
- A short proof of a range-relative FPTAS for polynomial integer optimization over bounded polyhedraarXiv · 2026
- Mixed-integer programming formulations for the quadratic bin packing problem: linearization, hybridization, and enhancementsarXiv · 2026
- Yannakakis + : Practical Acyclic Query Evaluation with Theoretical GuaranteesACM Transactions on Database Systems · 2026
- Dual-Slack Frontier Matching: Parallel Approximate Maximum-Product MatchingarXiv · 2026
- Approximation Algorithms for Right-Hand-Side Parametric Linear Programming ProblemsarXiv · 2026