Constrained piecewise linear optimization by an active signature method

Timo Kreimeier, Andrea Walther, Andreas GriewankOpenalex Unknown 2025 · OpenAlex

Abstract

This paper presents the Constrained Active Signature Method (CASM), a specialized algorithm for solving optimization problems where both the objective function and the constraints are continuous piecewise linear (PL). By leveraging the "abs-linear" representation of PL functions, CASM decomposes the search space into a finite number of polyhedral domains where the function behaves linearly. Unlike general-purpose nonsmooth solvers that treat objectives as black boxes, CASM explicitly navigates the geometric structure of the problem, ensuring finite convergence to local minimizers. Numerical experiments on challenging benchmarks, including the Rosenbrock-Nesterov II function and Linear Complementarity Problems (LCP), demonstrate that CASM outperforms state-of-the-art bundle methods and semismooth Newton methods in both robustness and efficiency.

Introduction

Many critical optimization tasks in modern engineering and machine learning—such as modeling gas networks or training ReLU-based neural networks—involve functions that are not differentiable. These "nonsmooth" problems are traditionally addressed using general-purpose tools like bundle methods or quasi-Newton methods. However, these approaches often struggle with the specific geometric complexities of piecewise linear (PL) functions, frequently failing to exploit the underlying structure or getting trapped at non-optimal stationary points.

While the Active Signature Method (ASM) was previously established for unconstrained PL problems, extending this framework to handle both equality and inequality constraints remained a significant challenge. This paper introduces the Constrained Active Signature Method (CASM), a feasible-point algorithm designed to navigate the "kinks" (points of non-differentiability) of constrained PL problems with mathematical rigor.

The Abs-Linear Framework and Signature Domains

The foundation of CASM lies in the abs-linear form, a mathematical representation that describes any continuous PL function using absolute value terms. This representation allows the algorithm to decompose the non-differentiable search space into a collection of polyhedra known as "signature domains."

Within each domain, the function's behavior is determined by a signature vector ($\sigma$), which tracks whether the current iterate lies on one side of a "kink" or the other. Inside a specific signature domain, the optimization problem simplifies into a smooth sub-problem. CASM exploits this by solving a restricted quadratic program (incorporating a small penalty term $Q$) to determine a descent direction that remains within the current domain or moves strategically into a neighboring one.

The CASM Algorithm

CASM operates through an active-set strategy, similar to those used in linear programming, but adapted for the complexities of nonsmooth transitions. The algorithm's mechanics include:

  1. Restricted Optimization: The algorithm identifies a descent direction by treating the current signature domain as a local linear environment.
  2. Active Set Management: CASM tracks which inequality constraints are currently active (at their boundary) and which "kinks" in the objective or constraints are being intersected.
  3. Domain Transitioning: When the algorithm reaches a boundary—either a constraint or a kink—it calculates an optimal step size $\beta$. It then updates the signature vector or the active set, effectively moving the iterate into the next adjacent polyhedral domain.

Because there are only a finite number of signature domains in any PL problem, and because the algorithm is designed to reduce the objective value at each step (or change the signature), CASM is guaranteed to achieve finite convergence to a local minimizer.

Experimental Results

The authors evaluated CASM against three distinct mathematical benchmarks designed to highlight the failures of traditional solvers:

  • Constrained Rosenbrock-Nesterov II: This non-convex, nonsmooth function is notorious for trapping solvers. CASM successfully reached the global minimizer for dimensions up to $n=20$. In comparison, the state-of-the-art bundle method solver (MPBNGC) failed even at $n=2$, stalling at non-optimal points.
  • Linear Complementarity Problems (LCP): In cases where standard semismooth Newton methods cycle indefinitely, CASM reached the solution in just 5 iterations.
  • Constrained HUL: On this convex PL function modified with PL constraints, CASM demonstrated high efficiency, converging in 15 iterations.

Discussion and Future Work

While CASM represents a significant advancement in nonsmooth optimization, it currently faces limitations regarding scalability. The reliance on a matrix-based representation of the function's structure makes it computationally expensive for "huge" problems, such as deep neural networks with millions of parameters. Additionally, as a feasible-point method, it requires a valid starting point, necessitating a "Phase-I" procedure if one is not readily available.

Future research will focus on applying CASM to large-scale industrial applications, such as gas network optimization involving thousands of constraints. The authors also suggest that parallelizing linear system solvers could significantly enhance the speed of step computations, potentially extending the method's reach to higher-dimensional problems.

Summary updated

BibTeX
@inproceedings{kreimeier2025constrained,
  author = {Timo Kreimeier and Andrea Walther and Andreas Griewank},
  title = {{Constrained piecewise linear optimization by an active signature method}},
  booktitle = {Openalex Unknown},
  year = {2025},
  doi = {10.1515/9783111376776-007},
}
Figure