NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Line-Search Filter Differential Dynamic Programming for Optimal Control with Nonlinear Equality Constraints

Ming Xu, Stephen Jay Gould, Iman Shames · DOI

Abstract: We present FilterDDP, a differential dynamic programming algorithm for solving discrete-time, optimal control problems (OCPs) with nonlinear equality constraints. Unlike prior methods based on merit functions or the augmented Lagrangian class of algorithms, FilterDDP uses a step filter in conjunction with a line search to handle equality constraints. We identify two important design choices for the step filter criteria which lead to robust numerical performance: 1) we use the Lagrangian instead of the cost in the step acceptance criterion and, 2) in the backward pass, we perturb the value function Hessian. Both choices are rigorously justified, for 2) in particular by a formal proof of local quadratic convergence. In addition to providing a primal-dual interior point extension for handling OCPs with both equality and inequality constraints, we validate FilterDDP on three contact implicit trajectory optimisation problems which arise in robotics.

Introduction

Discrete-time optimal control problems (OCPs) are foundational in robotics for tasks like legged locomotion, autonomous driving, and manipulation. Differential Dynamic Programming (DDP) is a highly popular algorithm for solving these OCPs because it is computationally efficient and naturally provides a feedback control policy.

However, extending DDP to handle nonlinear equality constraints remains a relatively underexplored challenge. These constraints are essential for modeling complex physical interactions, such as contact-implicit planning or inverse dynamics. Most existing constrained DDP solvers rely on Augmented Lagrangian (AL) methods, which use adaptive penalties to enforce constraints but offer limited formal convergence guarantees. The authors tackle this gap by adapting a more rigorous framework—the line-search filter method used in general nonlinear programming solvers like IPOPT—into the DDP ecosystem.

Methodology

FilterDDP builds upon the standard DDP algorithm but introduces several key innovations to handle constraints:

  • Line-Search Filter: Instead of combining the objective cost and constraint violations into a single penalty function, FilterDDP treats them separately. It maintains a "filter" (a taboo region) and only accepts a new trial step if it sufficiently decreases either the Lagrangian (the cost adjusted for constraints) or the constraint violation.
  • Lagrangian Step Acceptance: Unlike prior non-AL DDP methods that use the raw cost function for step acceptance, FilterDDP uses the Lagrangian. The authors show this is analogous to the well-known Armijo condition in unconstrained optimization.
  • Backward Pass Perturbations: In the backward pass, the algorithm replaces the value function gradient with an estimated dual variable of the dynamics constraints and perturbs the value function Hessian.
  • Primal-Dual Interior Point Extension: To handle inequality constraints (like joint limits or friction cones), the authors extend FilterDDP using a primal-dual interior point method, which is numerically better conditioned than standard barrier methods.

Experimental Setup

The authors evaluated their algorithm on 300 simulated OCPs derived from three challenging contact-implicit motion planning tasks in robotics:

  1. Cartpole Swing-Up with Coulomb Friction: 100 variations with different masses, lengths, and friction coefficients.
  2. Acrobot Swing-Up with Joint Limits: 100 variations with different link lengths.
  3. Non-Prehensile Manipulation: 100 variations of a robotic pusher sliding a block to a goal while avoiding an obstacle.

Results

FilterDDP demonstrates superior performance in both speed and reliability compared to established baselines.

Performance comparison across three robotics tasks: (a-c) success rates over iterations and (d) average wall-clock time per iteration.
  • Speed: FilterDDP is significantly faster per iteration than the industry-standard IPOPT solver. It required only 37–55% of the wall-clock time per iteration compared to standard IPOPT.
  • Reliability: FilterDDP achieved success rates comparable to IPOPT but often required fewer iterations.
  • Outperforming AL-DDP: Compared to ProxDDP (a state-of-the-art Augmented Lagrangian DDP solver), FilterDDP was vastly superior. ProxDDP completely failed to solve the acrobot task and required significantly higher iteration counts on the other tasks.

Key Insights

A central contribution of this work is the theoretical grounding of the filter approach within the DDP framework.

Empirical evidence of local quadratic convergence for FilterDDP across multiple problem instances.
  • Convergence Proof: The authors provide a formal mathematical proof that substituting the value function gradient for the dynamics' dual variable in the backward pass is required to achieve local quadratic convergence. Empirical plots of iteration errors confirm this behavior in practice.
  • Filter Robustness: The filter method provides a more robust way to navigate the trade-off between minimizing cost and satisfying constraints compared to standard penalty-based methods.

Limitations and Future Work

While FilterDDP shows strong local convergence, formally establishing global convergence remains an open challenge. The authors plan to scale FilterDDP to high-dimensional locomotion problems on physical legged robots by integrating efficient rigid-body dynamics libraries.

Summary updated

BibTeX
@misc{xu2025line,
  author = {Ming Xu and Stephen Jay Gould and Iman Shames},
  title = {{Line-Search Filter Differential Dynamic Programming for Optimal Control with Nonlinear Equality Constraints}},
  year = {2025},
  eprint = {2504.08278},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.08278},
}
Figure