arXiv:2610.07465cs.DSOct 2026

Manuscript Offprint

arXiv:2610.07465

A Tardos-Type Algorithm for Separable Convex Quadratic Programming

Hanqing Li

Abstract

We give an exact algorithm for continuous separable convex quadratic programming with an integer equality matrix and nonnegative variables. The number of rational arithmetic operations and comparisons is polynomial in the dimensions and the encoding length of the constraint matrix, independently of the right-hand side, linear costs, and all nonnegative quadratic weights. Intermediate rational encodings are polynomial in the complete input. This yields a strongly polynomial algorithm for every integer matrix class with polynomially bounded entry encodings, including arbitrary matrices with entries in {0,±1}\{0, \pm1\}. The local solver compresses a quadratic objective on an integer box and solves only the compressed continuous problem. Two-sided proximity on boxes with rational bounds transfers its solution to a nearby original optimum; integer optima are used only in the proof. A single linear program supplies an error bound and a dual potential, while tight-coordinate revelation and fixed feasible anchors ensure termination and control encoding lengths. An explicit lifting extends the result to convex piecewise quadratic functions of signed integer affine features, with operation counts independent of breakpoints and objective coefficients. Applications include continuous multicommodity flow with shared capacities and piecewise quadratic costs of aggregate congestion.

1 Introduction

Consider the continuous optimization problem

min⁡{Φ(x):Ax=b, x≥0},Φ(x)=12xTQx+cTx,(1)\min\{\Phi(x):Ax=b,\ x\geq0\},\qquad\Phi(x)=\tfrac{1}{2}x^{T}Qx+c^{T}x, \tag{1}

where A∈Zr×mA \in \mathbb{Z}^{r \times m}, b∈Qrb \in \mathbb{Q}^r, c∈Qmc \in \mathbb{Q}^m, and Q=diag(q)Q = \text{diag}(q) for q∈Q≥0mq \in \mathbb{Q}_{\geq 0}^m. All variables are real. We seek an exact optimum and a certificate, rather than an approximation whose complexity depends on a prescribed accuracy.

Tardos's algorithm for linear programming has an arithmetic operation count depending only on the integer constraint matrix and its dimensions, independently of the right-hand side and linear costs [9]. Our main result gives the same form of coefficient independence for a separable convex quadratic objective, including its quadratic weights.

Theorem 1.1. There is an algorithm for (1) using poly(r,m,⟨A⟩)\text{poly}(r, m, \langle A \rangle) basic rational arithmetic operations and comparisons, independently of the encoding lengths of b, c, q. It returns an exact optimal primal-dual pair, a certificate of infeasibility, or a direction certifying unboundedness. Every intermediate rational number has encoding length polynomial in the complete input.

Here ⟨A⟩\langle A\rangle denotes the binary encoding length of the integer matrix. The weights may be zero or arbitrarily small positive rationals, and no total-unimodularity or fixed-rank assumption is imposed. For arbitrary integer matrices, the theorem gives a matrix-dependent arithmetic bound. For any matrix class whose entry encoding lengths are bounded by a fixed polynomial in the dimensions, it gives a strongly polynomial algorithm: the operation count is polynomial in the dimensions, and intermediate encodings are polynomial in the full input. In particular, this applies to every {0,±1}\{0, \pm1\} matrix, including non-unimodular matrices.

The same guarantee extends to a larger, explicitly represented objective class. Let B∈Zp×mB \in \mathbb{Z}^{p \times m} have arbitrary signs, and let fjf_j be univariate convex piecewise quadratic functions with rational data, each finite and continuous on a nonempty closed interval, possibly unbounded, and equal to +∞+ \infty outside that interval. If their total number of pieces is KK, we can solve

min⁡{cTx+∑j=1pfj((Bx)j−aj):Ax=b,x≥0}(2)\min\left\{c^{T}x+\sum_{j=1}^{p}f_{j}((Bx)_{j}-a_{j}):Ax=b,x\geq0\right\} \tag{2}

with poly(r,m,p,K,⟨A⟩,⟨B⟩)\text{poly}(r, m, p, K, \langle A \rangle, \langle B \rangle) operations, independently of the breakpoints, quadratic coefficients, slopes, and other numerical data. Theorem 9.3 gives the precise statement and a lifting proof. Derivative jumps and decreasing curvature between pieces are allowed.

Relation to earlier work. Granot and Skorin-Kapov extended the Tardos framework to strictly convex quadratic programming, eliminating dependence on the right-hand side and linear costs while retaining dependence on the quadratic matrix [5]. Végh gave a strongly polynomial algorithm for separable convex quadratic minimum-cost flow [10]. Theorem 1.1 removes dependence on the diagonal quadratic weights for arbitrary integer equality matrices, in the matrix-encoding sense of Tardos's linear-programming result.

The structural ingredients have substantial precedents. Frank–Tardos compression preserves signs of bounded integer linear forms [1]; its application to integer quadratic objectives was already studied by Granot and Skorin-Kapov [4]. Two-sided continuous–integer proximity for separable convex objectives is classical: Hochbaum and Shanthikumar’s Theorem 3.3 gives both directions for each specified optimum [7]; see also the quadratic proximity results in [6]. Circuit-based sensitivity for separable convex optimization under general linear constraints is developed in [3]. We give self-contained versions of the particular proximity and stability bounds needed below, including zero-curvature degeneracy.

Our outer algorithm follows the tight-coordinate revelation and trial-and-error organization of [10]. The independent-column invariant for revealed linear coordinates, their rerouting, tight-vector stability, and final linear recovery have network counterparts in that work. Its Section 7 also allows approximate error estimates. The algorithm here realizes this organization for general integer matrices using a compressed continuous quadratic program and an error LP whose constraint coefficients do not contain the quadratic weights.

The algorithmic combination. The central local construction centers a box at a feasible anchor and scales its equality constraints to Au = 0. Rounding the lower bounds inward gives a box with structurally bounded encoding and exactly the same integer points. Objective compression preserves all comparisons and ties on those points, and preserves nonnegative diagonal curvature. We then solve the compressed continuous QP. Two proximity steps connect its solution through a shared integer optimum to an original continuous optimum. No integer optimum is computed, and the weakly polynomial exact QP algorithm [8] sees only compressed data.

A single LP bounds the error within a factor equal to the number of positive-curvature coordinates and supplies a feasible dual potential. For each revealed set, a trial point and a feasible anchor are computed from the original input and held fixed. The resulting error value cannot remain positive.

through too many halvings without revealing a new coordinate. Rebuilding these quantities from the original data also controls intermediate encodings independently of previous local solutions.

The dependence on circuit magnitudes matters. Exact minimum-norm methods can have iteration bounds polynomial in the value of a circuit imbalance parameter [2]. Our circuit bound may be exponentially large, even for {0,±1}\{0, \pm1\} matrices, but enters the operation count only through its logarithm. For example, the equations xi−xi+1−xi+2=0x_i - x_{i+1} - x_{i+2} = 0 for 1≤i<r1 \leq i < r, together with xr−xr+1=0x_r - x_{r+1} = 0, define a full-row-rank {0,±1}\{0, \pm1\} matrix with a one-dimensional kernel. Its primitive circuit has coordinates (Fr+1,Fr,…,F2,F1)(F_{r+1}, F_r, \ldots, F_2, F_1), where F1=F2=1F_1 = F_2 = 1. Thus even this small-entry class can have exponentially large circuit coordinate ratios.

Sections 2–5 establish the structural tools, safe relaxations, and fixed anchors. Section 6 gives the local solver. Sections 7–8 prove progress, exact recovery, and both complexity bounds. Section 9 derives the piecewise quadratic extension and applications.