Separable Convex Optimization with Nested Lower and Upper Constraints

Thibaut Vidal, Daniel Gribel, Patrick Jaillet

Abstract

We study a convex resource allocation problem in which lower and upper bounds are imposed on partial sums of allocations. This model is linked to a large range of applications, including production planning, speed optimization, stratified sampling, support vector machines, portfolio management, and telecommunications. We propose an efficient gradient-free divide-and-conquer algorithm, which uses monotonicity arguments to generate valid bounds from the recursive calls, and eliminate linking constraints based on the information from sub-problems. This algorithm does not need strict convexity or differentiability. It produces an $ε$-approximate solution for the continuous problem in $\mathcal{O}(n \log m \log \frac{n B}ε)$ time and an integer solution in $\mathcal{O}(n \log m \log B)$ time, where $n$ is the number of decision variables, $m$ is the number of constraints, and $B$ is the resource bound. A complexity of $\mathcal{O}(n \log m)$ is also achieved for the linear and quadratic cases. These are the best complexities known to date for this important problem class. Our experimental analyses confirm the good performance of the method, which produces optimal solutions for problems with up to 1,000,000 variables in a few seconds. Promising applications to the support vector ordinal regression problem are also investigated.

Introduction

The Resource Allocation Problem (RAP) is a fundamental optimization challenge where a finite resource must be distributed across $n$ activities to minimize a total cost function. While the basic RAP is well-understood, many practical scenarios—ranging from ship speed optimization to inventory management—require "nested" constraints. These constraints impose lower and upper bounds on the cumulative sums of the decision variables, representing limits on partial resource consumption over time or across stages.

Historically, algorithms could efficiently handle either lower or upper nested bounds, but managing both simultaneously introduced significant computational complexity. This paper introduces the Monotonic Decomposition Algorithm (MDA), a gradient-free divide-and-conquer approach that achieves state-of-the-art performance for this class of problems, resolving a long-standing open question regarding the complexity of quadratic nested resource allocation.

The Monotonic Decomposition Algorithm (MDA)

The MDA operates on a divide-and-conquer principle, recursively partitioning the set of nested constraints. The algorithm's efficiency stems from three primary pillars:

  1. Monotonicity Property: The authors demonstrate that the optimal solution to the sub-problems is monotonic with respect to the total resource bound. As the available resource increases, the optimal allocation for each variable non-decreases (or stays the same).
  2. Constraint Elimination: By solving four specific sub-problems at each level of the recursion, the algorithm identifies tight lower and upper bounds for each variable. These bounds effectively "absorb" the nested constraints, simplifying the sub-problems into standard Resource Allocation Problems (RAPs) without nested sums.
  3. Gradient-Free Execution: MDA does not require differentiability or strict convexity. It relies on an "oracle" to evaluate the objective function, making it robust for a wide variety of cost functions, including linear, quadratic, and non-differentiable convex functions.

To handle continuous variables with high precision, the algorithm utilizes a proximity theorem. It scales the continuous problem, solves it as an integer problem, and maps the result back to the continuous domain, ensuring an $ε$-approximate solution.

Theoretical Contributions and Complexity

A major highlight of this research is the achievement of the best complexities known to date for the Resource Allocation Problem with Nested Constraints (RAP-NC). Specifically, the authors prove that for quadratic and linear objectives, the problem can be solved in $\mathcal{O}(n \log m)$ time, resolving a complexity question that has remained open since 2011.

For general convex objectives, the algorithm achieves:

  • Integer Solutions: $\mathcal{O}(n \log m \log B)$
  • Continuous Solutions: $\mathcal{O}(n \log m \log \frac{n B}{ε})$

Where $n$ is the number of variables, $m$ is the number of constraints, and $B$ is the resource bound. These results demonstrate that the nested structure ($J_i \subset J_{i+1}$) can be exploited to solve large-scale problems that were previously computationally prohibitive.

Experimental Evaluation

The MDA was tested against synthetic benchmarks and real-world datasets. In synthetic tests involving up to 1,000,000 variables, the algorithm demonstrated remarkable speed:

  • Linear cases: Solved in approximately 3 seconds.
  • General convex cases: Solved in 30 to 50 seconds (tested on quartic, cubic, and inverse objective functions).

When compared to MOSEK, a state-of-the-art commercial interior-point solver, MDA was between 16 and 28,000 times faster. While MOSEK struggled to solve problems beyond 5,000 variables within an hour, MDA handled a million variables with ease. The algorithm's utility was further validated using Support Vector Ordinal Regression (SVOREX) tasks across eight standard datasets (e.g., Abalone, Census, Machine CPU), where MDA served as an efficient projection step for non-separable problems.

Conclusion

The Monotonic Decomposition Algorithm provides a highly efficient, scalable solution for separable convex optimization with nested constraints. By exploiting the chain-like structure of these constraints and the monotonicity of optimal solutions, MDA bypasses the limitations of traditional gradient-based or interior-point solvers. Future research may extend this framework to tree-structured constraints and explore the intersection of multiple nested constraint sets.

Summary updated

BibTeX
@article{vidal2017separable,
  author = {Thibaut Vidal and Daniel Gribel and Patrick Jaillet},
  title = {{Separable Convex Optimization with Nested Lower and Upper Constraints}},
  journal = {INFORMS J. Optim.},
  year = {2017},
}
Figure