A Simple First-Order Algorithm for Full-Rank Equality Constrained Optimization

Serge Gratton, Philippe L. TointarXiv 2025 · DOI

Abstract

A very simple first-order algorithm is proposed for solving nonlinear optimization problems with deterministic nonlinear equality constraints. This algorithm adaptively selects steps in the plane tangent to the constraints or steps that reduce infeasibility, without using a merit function or filter. The tangent steps are based on the AdaGrad method for unconstrained minimization. The objective function is never evaluated by the algorithm, making it suitable for noisy problems. Its worst-case evaluation complexity is analyzed, yielding a global convergence rate in $O(1/\sqrt{k})$, which matches the best known rate of first-order methods for unconstrained problems. Numerical experiments are presented suggesting that the performance of the algorithm is comparable to that of first-order methods for unconstrained problems, and that its reliability is remarkably stable in the presence of noise on the gradient.

Introduction

In modern optimization, particularly within the realms of deep learning and large-scale stochastic modeling, evaluating the exact objective function or its gradient is often computationally prohibitive or inherently noisy. While first-order methods like AdaGrad and Adam have become the standard for unconstrained noisy problems, handling nonlinear equality constraints—defined as $c(x) = 0$—remains a significant challenge.

Traditional constrained optimization techniques, such as trust-funnel or filter methods, typically rely on a "merit function" to balance objective minimization against constraint satisfaction. These merit functions require frequent evaluations of the objective function to verify progress. In noisy environments, these evaluations become unreliable, often leading to algorithmic failure. This paper introduces ADSWITCH, a robust, first-order algorithm designed to handle nonlinear equality constraints without ever requiring the evaluation of the objective function itself.

The ADSWITCH Algorithm

ADSWITCH (Adaptive Switching) belongs to a class of "Objective-Function-Free Optimization" (OFFO) algorithms. The method simplifies the traditional optimization pipeline by decomposing the problem into two distinct, alternating phases:

  1. Tangential Steps: These steps aim to minimize the objective function by moving within the nullspace of the constraint's Jacobian. ADSWITCH utilizes an AdaGrad-based approach for these steps, relying solely on the gradient of the objective function.
  2. Normal Steps: These steps focus on reducing "infeasibility"—the degree to which the current point violates the equality constraints. This is achieved through a regularized Gauss-Newton step, moving mostly orthogonal to the constraint surface.

The Switching Mechanism

Unlike complex heuristics that use filters or penalty parameters, ADSWITCH employs a remarkably simple switching condition. At each iteration, the algorithm compares the magnitude of the constraint violation to the size of the projected gradient. If the violation is sufficiently small, the algorithm performs a tangential step to optimize the objective; otherwise, it prioritizes a normal step to restore feasibility. This binary logic eliminates the need for the complex parameter tuning and bookkeeping associated with traditional merit functions.

Theoretical Convergence

A key contribution of this work is the theoretical analysis of ADSWITCH’s efficiency. The authors demonstrate that the algorithm achieves a worst-case global evaluation complexity of $O(1/\sqrt{k})$. This result is significant because it matches the best-known theoretical rate for first-order methods on unconstrained problems, suggesting that the addition of nonlinear equality constraints does not inherently degrade the theoretical convergence speed of first-order solvers.

Numerical Results and Noise Robustness

The algorithm was rigorously tested using a subset of 71 problems from the CUTEst (Constrained and Unconstrained Testing Environment with safe threads) collection.

Deterministic Performance

In noiseless environments, ADSWITCH successfully solved 81% of the test problems within a limit of 100,000 iterations. While its speed is occasionally limited by the underlying AdaGrad mechanism—which can struggle with ill-conditioned surfaces—its reliability in finding feasible optima is high.

Resilience to Gradient Noise

The primary advantage of ADSWITCH is its performance under stochastic conditions. The authors introduced relative Gaussian noise to the gradients at levels of 5%, 15%, 25%, and 50%. Remarkably, even with 50% relative noise—a level where the gradient information is extremely degraded—ADSWITCH successfully solved 51 out of 71 problems. This represents only a minor decrease from the 61 problems solved at the 5% noise level, highlighting the algorithm's extreme stability in environments where objective function evaluations are unavailable or unreliable.

Conclusion and Future Directions

ADSWITCH provides a simple yet powerful framework for constrained optimization that is uniquely suited for noisy, gradient-only environments. By bypassing the need for merit functions, it offers a level of robustness that traditional methods lack.

Future research will focus on expanding the theoretical framework to include rank-deficient Jacobians and extending the algorithm to handle inequality constraints ($c(x) \leq 0$). Additionally, the authors suggest that replacing the tangential AdaGrad step with more modern optimizers like Adam could further enhance practical convergence speeds.

Summary updated

BibTeX
@misc{gratton2025simple,
  author = {Serge Gratton and Philippe L. Toint},
  title = {{A Simple First-Order Algorithm for Full-Rank Equality Constrained Optimization}},
  year = {2025},
  eprint = {2510.16390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.16390},
}
Figure