Successive convexification

Successive convexification (often abbreviated SCvx) is an iterative sequential convex programming (SCP) methodology in optimal control and trajectory optimization for solving optimal control problems with nonlinear dynamics, aerodynamic forces, non-convex state and obstacle constraints, and state-triggered constraints. Developed by Behçet Açıkmeşe and collaborators—including Yuanqi Mao, Michael Szmuk, Taylor P. Reynolds, Danylo Malyuta, and Marco Pavone—the framework extends the computational reliability of convex optimization to problems that cannot be solved in a single convex relaxation via lossless convexification.

At each iteration, successive convexification linearizes the nonlinear dynamics and non-convex constraints around a reference trajectory from the preceding iteration, augments the linearized equations with penalized virtual control buffer variables to prevent artificial infeasibility, and enforces trust region bounds to prevent artificial unboundedness. The resulting sequence of finite-dimensional second-order cone programs (SOCPs) can be solved in polynomial time per iteration on embedded processors and is backed by theoretical guarantees of convergence to a Karush–Kuhn–Tucker (KKT) stationary point of the original nonlinear problem. Successive convexification has been widely adopted for real-time six-degree-of-freedom (6-DoF) powered descent guidance in reusable rockets and planetary landers, autonomous space rendezvous, and robotic motion planning.

Background and motivation

In aerospace guidance, navigation, and control (GNC) and autonomous robotics, trajectory generation requires computing a state and control history that minimizes a performance index (such as propellant consumption or time of flight) while satisfying vehicle dynamics and operational constraints. For vehicles modeled with three-degree-of-freedom (3-DoF) point-mass translational dynamics in a uniform gravitational field, lossless convexification (LCvx) proves that non-convex control magnitude bounds (such as nonzero minimum engine thrust) and thrust-pointing constraints can be relaxed exactly into a single SOCP.

However, many high-fidelity trajectory optimization problems contain sources of non-convexity that violate the structural assumptions required for a single-shot lossless relaxation:

General-purpose nonlinear programming (NLP) methods, such as sequential quadratic programming (SQP) or nonlinear interior-point methods, can struggle with high computational overhead, sensitivity to initial guesses, and a lack of deterministic runtime bounds suitable for safety-critical flight computers. Successive convexification addresses these challenges by retaining any existing convex structure (including losslessly convexified control constraints) directly while iteratively approximating only the remaining non-convex terms within a regulated exact-penalty trust-region framework.

Mathematical formulation

Consider a continuous-time optimal control problem over a normalized horizon t∈[0,1] (where physical time is scaled by a free or fixed final time σ=tf) with state vector x(t)∈ℝnx and control vector u(t)∈ℝnu:

minx,u,σJ(x,u,σ)=ϕ(x(1),σ)+∫01L(x(t),u(t),σ)dt

subject to nonlinear system dynamics, non-convex inequality path constraints, and convex state and control constraint sets 𝒳 and 𝒰:

x˙(t)=f(x(t),u(t),σ),s(x(t),u(t),σ)≤0,x(t)∈𝒳,u(t)∈𝒰,

together with prescribed boundary conditions at t=0 and t=1.

Linearization and discretization

At iteration k, the nonlinear dynamics f and non-convex path constraints s are approximated via a first-order Taylor series expansion around the previous iteration's reference trajectory (x¯(k),u¯(k),σ¯(k)). Defining the Jacobians A(t)=∂f/∂x, B(t)=∂f/∂u, and F(t)=∂f/∂σ evaluated along the reference trajectory, the continuous-time linearized dynamics are discretized over N temporal grid nodes 0=t1<t2<⋯<tN=1 using exact integration of the state transition matrix under a first-order-hold (FOH) or zero-order-hold (ZOH) control interpolation:

xi+1=Aixi+Bi−ui+Bi+ui+1+Fiσ+ri+Eiνi,i=1,…,N−1,

where ri is a residual term arising from linearization and νi∈ℝnν is an auxiliary virtual control vector weighted by matrix Ei. Similarly, the linearized non-convex path constraints at each node are relaxed with non-negative virtual buffer slack variables ζi≥0:

s(x¯i(k),u¯i(k),σ¯(k))+Ci(xi−x¯i(k))+Di(ui−u¯i(k))+Gi(σ−σ¯(k))≤ζi.

Virtual control and artificial infeasibility

A well-known failure mode of naive sequential linearization is artificial infeasibility: linearizing nonlinear equality or inequality constraints around an unrefined reference trajectory (particularly in early iterations) can produce an empty feasible set for the linearized subproblem even when the underlying nonlinear problem is feasible.

Successive convexification eliminates artificial infeasibility by introducing the unconstrained virtual control input νi and virtual buffer ζi. Provided Ei has full row rank, any state transition can be bridged by a sufficiently large virtual control, guaranteeing that every convex subproblem remains feasible regardless of the reference trajectory. To drive the virtual terms to zero as the iterations progress so that the final trajectory satisfies the true physics, SCvx augments the convex objective with an exact penalty term using a large penalty weight λ>0 and a vector norm (typically the ℓ1, ℓ2, or ℓ∞ norm):

Jpen=λ∑i=1N−1‖Eiνi‖1+λ∑i=1N‖ζi‖1.

Because the ℓ1 and ℓ2 norms are nonsmooth at the origin, an exact penalty formulation guarantees that for any finite penalty weight λ exceeding a theoretical threshold determined by the dual multipliers, stationary solutions of the penalized problem satisfy νi=0 and ζi=0 exactly.

Trust regions and artificial unboundedness

Because the first-order Taylor expansion is accurate only within a local neighborhood of the reference trajectory (x¯(k),u¯(k),σ¯(k)), minimizing the linearized objective without step-size restrictions can cause the optimizer to take large excursions where the linear approximation breaks down—a phenomenon termed artificial unboundedness.

To prevent artificial unboundedness, SCvx imposes a hard trust region constraint (or, in the closely related Penalized Trust Region variant, a soft quadratic objective penalty) bounding the deviation from the reference trajectory:

‖xi−x¯i(k)‖q+‖ui−u¯i(k)‖q≤η(k),i=1,…,N,

where η(k)>0 is the trust-region radius at iteration k. After solving the convex subproblem to obtain a candidate iterate (x∗,u∗,σ∗), the algorithm evaluates the nonlinear exact-penalty cost defect ΔJ(k) against the linearized model's predicted cost reduction ΔL(k) via the accuracy ratio

ρ(k)=ΔJ(k)ΔL(k)=J~(x¯(k),u¯(k),σ¯(k))−J~(x∗,u∗,σ∗)J~(x¯(k),u¯(k),σ¯(k))−L(x∗,u∗,σ∗).

If ρ(k) falls below an acceptance threshold ρ0>0, the step is rejected and re-solved with a contracted trust-region radius η(k)←η(k)/βsh. Otherwise, the candidate trajectory is accepted as (x¯(k+1),u¯(k+1),σ¯(k+1)), and η(k+1) is either shrunk, held constant, or expanded according to how closely ρ(k) approaches unity.

Convergence guarantees and GuSTO

Because all linearized constraints, second-order cone control constraints, trust-region bounds, and norm penalties are convex, each SCvx iteration reduces to a finite-dimensional SOCP. In 2016–2018, Mao, Szmuk, Dueri, Xu, and Açıkmeşe proved that when the nonlinear functions have Lipschitz-continuous derivatives and the Linear Independence Constraint Qualification (LICQ) holds, the SCvx trust-region sequence converges globally from an arbitrary initial guess to a stationary point of the exact penalty function; if that point has zero virtual control (ν=0,ζ=0), it satisfies the KKT first-order optimality conditions of the original discretized non-convex optimal control problem. With second-order correction steps, the asymptotic convergence rate is superlinear.

In 2019, Riccardo Bonalli, Abhishek Cauligi, Andrew Bylard, and Marco Pavone at Stanford University introduced GuSTO (Guaranteed Sequential Trajectory Optimization), a continuous-time SCP variant that places state constraints and trust-region penalties in the objective and leverages Pontryagin's maximum principle to prove that the converged solution satisfies the continuous-time necessary conditions for optimality. In 2022, Malyuta, Reynolds, Szmuk, Lew, Bonalli, Pavone, and Açıkmeşe published a unified tutorial in IEEE Control Systems Magazine systematically comparing lossless convexification, SCvx, and GuSTO, which received the 2023 IEEE Control Systems Magazine Outstanding Paper Award.

Extensions

Six-degree-of-freedom attitude-coupled guidance

While early convex powered-descent algorithms treated the vehicle as a 3-DoF point mass, Szmuk and Açıkmeşe extended SCvx in 2018 to full 6-DoF rigid-body rocket landing by coupling translational dynamics with unit-quaternion attitude kinematics and Euler rotational dynamics. In 2020, Taylor P. Reynolds, Michael Szmuk, Danylo Malyuta, Mehran Mesbahi, Behçet Açıkmeşe, and John M. Carson III formulated a dual quaternion 6-DoF successive convexification algorithm that represents coupled rigid-body position and attitude in a unified eight-dimensional algebraic framework, enabling natural enforcement of coupled line-of-sight and glide-slope constraints.

State-triggered constraints

Many aerospace maneuvers involve conditional operational constraints—such as enforcing a maximum speed only below a certain altitude, activating a terrain-sensor line-of-sight cone only when within range of a landing pad, or restricting attitude rate only during a specific flight phase. Traditionally, logical implications of the form

g(x(t))<0⟹c(x(t),u(t))≤0

(where g is a trigger function and c is a constraint function) required binary decision variables and computationally expensive mixed-integer programming. Szmuk, Reynolds, and Açıkmeşe introduced state-triggered constraints (STCs), reformulating the logical implication as an equivalent continuous non-convex inequality:

h(x(t),u(t))≜−min⁡(0,g(x(t)))⋅c(x(t),u(t))≤0.

When g(x)≥0, the trigger is inactive and h(x,u)=0≤0 is trivially satisfied; when g(x)<0, −min⁡(0,g(x))>0 and the inequality forces c(x,u)≤0. By smoothly approximating or linearizing h(x,u) around the reference trajectory within each SCvx iteration, conditional logic is embedded directly into the SOCP subproblems without integer variables.

Continuous-time constraint satisfaction

Standard direct discretization methods enforce path constraints s(x(ti),u(ti))≤0 only at discrete temporal grid points ti, allowing the continuous-time trajectory between nodes to violate safety bounds (such as colliding with an obstacle corner or exceeding structural limits inter-sample) unless a dense grid is used. Later extensions of successive convexification by Purnanand Elango, Behçet Açıkmeşe, and colleagues reformulate path constraints as integrated continuous-time penalty functionals:

∫titi+1max⁡(0,s(x(t),u(t)))2dt=0,

augmenting the state vector with the constraint-violation integral so that enforcing nodal equality guarantees strict continuous-time constraint satisfaction across the entire horizon [0,tf] even on coarse temporal grids.

Applications

Rocket and planetary powered-descent guidance

Successive convexification was matured for flight under NASA's Safe and Precise Landing – Integrated Capabilities Evolution (SPLICE) program in collaboration between the University of Washington Autonomous Controls Laboratory, NASA Johnson Space Center, Draper Laboratory, and Blue Origin, including flight experiments aboard Blue Origin's New Shepard suborbital vehicle. In 2023, Abhinav G. Kamath, Purnanand Elango, Skye Mceowen, Yue Yu, John M. Carson III, Mehran Mesbahi, and Behçet Açıkmeşe paired dual-quaternion 6-DoF successive convexification with a customized first-order proportional-integral projected gradient (PIPG) solver, demonstrating sub-second onboard convergence for 6-DoF powered-descent guidance on flight-representative processors and receiving the 2023 AIAA Guidance, Navigation, and Control Best Paper Award.

Spacecraft rendezvous, cislunar flight, and robotics

Beyond planetary landing, SCvx and GuSTO have been applied to autonomous spacecraft rendezvous and proximity operations—incorporating thruster plume-avoidance cones, docking-corridor keep-in zones, and mixed-integer operational rules via state-triggered constraints—as well as multi-body cislunar transfer and orbital rendezvous trajectories. In robotics and autonomous aviation, the methodology has been used for obstacle-avoiding motion planning of quadrotors, free-flying space robots (such as NASA's Astrobee), autonomous ground vehicles, and hypersonic atmospheric entry vehicles. Open-source reference implementations of SCvx, GuSTO, and Penalized Trust Region algorithms are distributed in the Julia package `SCPToolbox.jl`.

See also