← Latest papers
🔢 mathematics

An augmented Lagrangian algorithm for constrained nonlinear least-squares

This paper presents a globally convergent augmented Lagrangian algorithm for solving constrained nonlinear least-squares problems with mixed linear and nonlinear constraints, which employs gradient projection for subproblems and structured Hessian approximations.

Original authors: Pierre Borie, Fabian Bastin, Stéphane Dellacherie

Published 2026-07-14
📖 6 min read🧠 Deep dive

Original authors: Pierre Borie, Fabian Bastin, Stéphane Dellacherie

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to find the perfect spot to set up a giant, wobbly tent. You want the tent to fit a specific shape (the "least-squares" part, meaning you want to minimize the gaps between your tent poles and the ideal shape), but you also have strict rules: the tent must stay within a fenced-in yard, and certain poles must touch specific trees or rocks (the "constraints").

This is exactly the problem Pierre Borie, Fabian Bastin, and Stéphane Dellacherie tackled in their paper. They built a new algorithm called TRAULLS (Trust Region Augmented nonLinear Least-squares Solver) to solve these tricky "constrained nonlinear least-squares" puzzles.

Here is how their method works, broken down into a story you can picture.

The Two-Part Strategy: The Penalty Box and the Fence

Most old-school methods try to solve the shape problem and the fence problem at the same time, which is like trying to juggle while walking a tightrope. The authors' approach is smarter. They split the job into two layers:

  1. The Fence (Linear Constraints): The rules about the yard boundaries and the trees are "linear." Think of these as a rigid, unchangeable fence. The algorithm handles these directly, like a robot that knows exactly how to slide along a wall without crossing it.
  2. The Penalty Box (Nonlinear Constraints): The tricky part is the "wobbly" shape of the tent. If the tent doesn't match the ideal shape, the algorithm doesn't just ignore it; it puts the tent in a "penalty box." Every time the tent is the wrong shape, the algorithm adds a huge "fine" to the score. This is called the Augmented Lagrangian.

The algorithm plays a game of "hot and cold." It tries to find the best spot inside the fence while minimizing the fines. If the tent is still too wobbly (the fine is too high), the algorithm increases the size of the fine for the next round, forcing the tent to snap into the right shape.

The "Step" Dance: Cauchy and the Subspace

Once the algorithm decides to take a step toward a better spot, it doesn't just guess. It uses a two-step dance:

  • The Cauchy Step: First, it takes a quick, cautious step downhill. It's like looking at the slope and taking a safe step in the direction that feels steepest. This guarantees the algorithm never gets stuck or goes backward.
  • The Subspace Minimization: After that safe step, it looks deeper. It explores a specific "tunnel" (a subspace) defined by the rules it's currently touching. It uses a special tool called Projected Conjugate Gradient to zoom in on the best spot within that tunnel.

The Secret Sauce: The "Structured" Hessian

Here is where the paper gets really clever. To know which way is "down," the algorithm needs a map of the terrain, called the Hessian.

  • The Old Way: Some methods use a rough map (Gauss-Newton) that assumes the ground is flat. This is fast but can be wrong if the ground is bumpy.
  • The "Full" Way: Other methods try to draw the entire bumpy ground perfectly. This is accurate but takes so much memory and time that it crashes computers with too many variables.

The authors' innovation is a Structured Quasi-Newton update. Imagine you have a sketch of the ground. Instead of redrawing the whole thing every time, you only update the parts that changed, using a special rule (the SR1 update) that respects the unique "sum-of-squares" nature of the problem.

  • They tested a "Hybrid" strategy: If the ground looks flat, they use the fast sketch. If it looks bumpy, they switch to the detailed update.
  • The Result: In their tests on 79 different problems (ranging from 2 to 1000 variables), this Hybrid SR1 approach was the most robust. It didn't just work; it handled the "bumpy" problems better than the standard sketch and was more reliable than other complex methods.

What They Found (and What They Didn't)

The authors ran their algorithm on a computer (a Mac mini with an M4 processor) and compared it to two other famous solvers: IPOPT and Percival.

  • The Speed: In terms of raw time, their new solver (TRAULLS) was a close second to IPOPT. IPOPT was slightly faster on the easiest problems, but as the problems got harder, the gap closed.
  • The Efficiency: IPOPT was the champion at saving "residual evaluations" (checking the tent shape). This is because IPOPT uses exact, heavy-duty math for every step. TRAULLS, however, was much better than Percival (another Augmented Lagrangian solver) and comparable to IPOPT on many metrics.
  • The Winner: The paper suggests that for this specific type of problem, using the Hybrid SR1 update is the best overall strategy. It strikes a perfect balance between speed and accuracy.

What They Ruled Out

The paper explicitly argues against using the "full" Hessian (the perfect map) for large problems. They show that calculating the full second-order terms takes too much time and storage, making it impractical for problems with many variables. They also showed that the simple "Gauss-Newton" sketch (ignoring the bumps) isn't accurate enough on its own for problems where the "tent" is far from the ideal shape.

How Sure Are They?

The authors are very confident in their results, but they are careful with their words.

  • They proved mathematically that their method will eventually find a solution (global convergence) under certain standard assumptions.
  • They measured the performance through numerical experiments on 79 specific problem instances.
  • They do not claim it is the fastest solver in the entire universe. They admit that for massive problems (where the number of variables is huge), their method hits a wall because the "structured" map still requires storing a dense matrix. They suggest that a "limited-memory" version would be needed for those giant cases, but they didn't build that yet.

In short, TRAULLS is a new, clever way to solve complex fitting problems with rules. It uses a "penalty box" to handle the hard rules and a "smart sketch" to navigate the terrain, proving in simulations that it's a strong, reliable contender for solving these mathematical puzzles.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →