A parametric approach for solving convex quadratic optimization with indicators over trees
Abstract This paper investigates convex quadratic optimization problems involving n indicator variables, each associated with a continuous variable, particularly focusing on scenarios where the matrix Q defining the quadratic term is positive definite and its sparsity pattern corresponds to the adjacency matrix of a tree graph. We introduce a graph-based dynamic programming algorithm that solves this problem in time and memory complexity of $$\mathcal {O}(n^2)$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msup> <mml:mi>n</mml:mi> <mml:mn>2</mml:mn> </mml:msup> <mml:mo>)</mml:mo> </mml:mrow> </mml:math> . Central to our algorithm is a precise parametric characterization of the cost function across various nodes of the graph corresponding to distinct variables. Our computational experiments conducted on both synthetic and real-world datasets demonstrate the superior performance of our proposed algorithm compared to existing algorithms and state-of-the-art mixed-integer optimization solvers. An important application of our algorithm is in the real-time inference of Gaussian hidden Markov models from data affected by outlier noise. Using a real on-body accelerometer dataset, we solve instances of this problem with over 30,000 variables in under a minute, and its online variant within milliseconds on a standard computer. A Python implementation of our algorithm is available at https://github.com/aareshfb/Tree-Parametric-Algorithm.git .
Authors
- Si̇mge Küçükyavuz (ORCID: https://orcid.org/0000-0001-6548-9378)
- Salar Fattahi (ORCID: https://orcid.org/0000-0001-7986-3148)
- Andrés Gómez (ORCID: https://orcid.org/0000-0003-3668-0653)
- Aaresh Bhathena
Institutions
- Northwestern University (US)
- University of Southern California (US)
- University of Michigan (US)
Publication Details
- Journal
- Mathematical Programming
- Published
- 2025-05-02
- DOI
- https://doi.org/10.1007/s10107-025-02222-3
- Citations
- 1
- Primary Topic
- Advanced Optimization Algorithms Research
- Type
- article
- Field-Weighted Citation Impact
- 2.63
Funders
- National Science Foundation
- Office of Naval Research
- Division of Mathematical Sciences
- Division of Computing and Communication Foundations
- Air Force Office of Scientific Research