MAGMA: Multiplier-Augmented Geometric Motion Algorithm
Solving optimal control problems for high-dimensional mechanical systems subject to constraints remains challenging due to nonlinear dynamics and non-convex feasible sets. This paper introduces MAGMA(Multiplier-Augmented Geometric Motion Algorithm), an Affine Geometric Heat Flow (AGHF)-based trajectory optimizer that incorporates an augmented Lagrangian framework solved via a primal-dual flow.
From the abstract. Our summary is in progress.
Full paper
MAGMA: Multiplier-Augmented Geometric Motion Algorithm
Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2610.21852 (PDF).
Abstract
Solving optimal control problems for high-dimensional mechanical systems subject to constraints remains challenging due to nonlinear dynamics and non-convex feasible sets. This paper introduces MAGMA(Multiplier–Augmented Geometric Motion Algorithm), an Affine Geometric Heat Flow (AGHF)–based trajectory optimizer that incorporates an augmented Lagrangian framework solved via a primal–dual flow. A theoretical characterization of the primal-dual AGHF is provided, establishing that MAGMA is a gradient flow on an appropriately defined energy. MAGMA is validated across a variety of challenging trajectory generation problems with obstacles, state limits, and actuation limits. Comparative evaluations against state-of-the-art solvers demonstrate that MAGMA achieves high quality solutions with significantly reduced tuning effort on the hardest problems.
Index Terms:
Optimal Control; Path Planning and Motion Control; Robotics.
I Introduction
For practical deployment, an optimal control algorithm must satisfy several requirements: (1) computational efficiency for online or near real-time planning, (2) scalability to high-dimensional systems, (3) compatibility with nonlinear constraints, and (4) reliable convergence from a wide range of initializations. Existing optimal control methods struggle to simultaneously satisfy these criteria.
Existing methods can be grouped into Dynamic Programming (DP) and Variational methods. DP-based approaches leverage Bellman’s Principle to compute optimal policies. Global approaches that solve the Hamilton–Jacobi–Bellman (HJB) PDE provide strong optimality guarantees, but require discretizing the entire state space, rendering them intractable beyond moderate dimensions [1]. Local variants such as Differential Dynamic Programming (DDP) [2] improve scalability, but suffer from poor convergence when initialized far from the optimum and require careful treatment of inequality constraints. Variational methods provide an alternative route. Direct methods such as collocation-based nonlinear programming [3, 4] can incorporate complex constraints, but incur high computation times and exhibit sensitivity to discretization and initialization. Parameterized approaches such as [5] improve robustness and speed, but still struggle with convergence.
One can also perform trajectory optimization by computing the solution to the Affine Geometric Heat Flow (AGHF) PDE [6]. AGHF evolves an initial, potentially infeasible trajectory toward dynamic feasibility by minimizing control effort over a two-dimensional domain, enabling scalability beyond HJB-based approaches. More recent implementations [7, 8] demonstrate that AGHF-based solvers can rapidly produce trajectories for high-dimensional systems. However, these methods rely on penalty and barrier formulations to enforce constraints, leading to two key limitations: (i) hyperparameter tuning to balance task costs and feasibility and (ii) degraded convergence when constraints compete with the objective. A recent formulation of the AGHF [9] casts the problem as a primal-dual flow by introducing Lagrange multipliers associated with the equality constraints. This remedies the shortcomings of penalty and barrier functions while enforcing constraints. However, this formulation has only been demonstrated for kinematic constraints and while considering just a single type of cost function.
The key observation underlying our approach is that the AGHF can be identified as a gradient flow in an appropriate function space. This identification allows classical augmented Lagrangian primal-dual schemes to be lifted directly to the AGHF setting. Building on this idea, this paper introduces the Multiplier-Augmented Geometric Motion Algorithm (MAGMA), a new AGHF-based trajectory optimization framework that incorporates an augmented Lagrangian structure solved via an augmented primal–dual geometric flow. Unlike penalty-driven AGHF variants, MAGMA automatically balances constraint satisfaction and optimality by evolving primal and dual variables. In contrast to Kim and Park [9], MAGMA considers arbitrary nonlinear constraints and cost functions.
The primary contributions of this paper are: (i) a theoretical connection between gradient flows and the AGHF, and (ii) a formulation (MAGMA) of an augmented primal-dual flow based on the AGHF for nonlinear constraints. All code is made available at https://github.com/roahmlab/MAGMA.
II Preliminaries
This section provides background on constrained optimization and describes the optimal control problem of interest in the remainder of this paper.
II-A Constrained Optimization
This subsection briefly formulates a constrained optimization problem that encompasses our Optimal Control Problem (OCP) of interest. This is done to formulate a necessary condition for optimality that our subsequent numerical implementation can leverage.
Consider the following constrained optimization problem:
\displaystyle\underset{x\in X}{\text{min}}\mathcal{A}(x)\text{ s.t. }G(x)\in K\subset Xwhere X is a Banach space, \mathcal{A}:X\rightarrow\mathbb{R}, G:X\rightarrow X, K a convex and closed set and with the feasible set \mathcal{F}:=\{x\in X:G(x)\in K\}, which need not be convex when G is nonlinear.
We next describe a necessary condition for optimality for the constrained optimization problem:
Theorem 1
(Corollary 4.21 [10], Theorem 8.15 [11]) Consider the constrained optimization problem in (1), let X be a Hilbert space, let \mathcal{F}\subset X be nonempty and closed, and let \mathcal{A}:X\to\bar{\mathbb{R}} be proper, convex and lower semi-continuous, where \bar{\mathbb{R}}=\mathbb{R}\cup\{-\infty,\infty\}. If \bar{x} solves (1) then
\displaystyle 0\in\partial\mathcal{A}(\bar{x})+N_{\mathcal{F}}(\bar{x})where \partial\mathcal{A}(\bar{x}) denotes the subdifferential of \mathcal{A} at \bar{x} and N_{\mathcal{F}}(\bar{x}) denotes the normal cone to the set \mathcal{F} at \bar{x} as defined in Lemma 4.8 [10].
One could also state the necessary conditions for optimality using the KKT conditions:
Theorem 2
(KKT conditions in Hilbert spaces, Theorem 3.27 [12]) Let \bar{x} be a local solution of (1), where X is assumed to be a Hilbert space, at which \mathcal{A}:X\to\mathbb{R} and G:X\to X are continuously Fréchet differentiable. Assume that Robinson’s constraint qualification is satisfied at \bar{x} [12, Definition 3.16]. Then there exist a Lagrange multiplier \bar{\lambda}\in X such that the Karush-Kuhn-Tucker for (1) in a Hilbert space
\displaystyle\mathcal{A}^{\prime}(\bar{x})+G^{\prime}(\bar{x})^{*}\bar{\lambda}=0, \\ \displaystyle G(\bar{x})\in K, \\ \displaystyle\bar{\lambda}\in N_{K}(G(\bar{x}))are satisfied, where \mathcal{A}^{\prime}(\bar{x})\in X^{*} denotes the Frećhet differential of \mathcal{A} at \bar{x} [12, Definition 3.1] and G^{\prime}(\bar{x})^{*} denotes the adjoint operator of the Frećhet differential of G at \bar{x}.
II-B The Optimal Control Problem
The objective of this paper is to develop an algorithm to construct a trajectory beginning from some user-specified initial state \mathtt{x}_{0}\in\mathbb{R}^{2n}, and ending in some user-specified terminal condition \mathtt{x}_{f} while satisfying dynamics and inequality constraints for all t\in[0,T], while minimizing a cost function. The trajectory design problem can be posed as the following constrained optimization problem that we denote as the optimal control problem (OCP):
\displaystyle\inf_{u\in L^{2}}\quad \\ \displaystyle\int_{0}^{T}c(\mathtt{x}(t),u(t))~dt \\ \displaystyle\dot{\mathtt{x}}(t)=F_{d}(\mathtt{x}(t))+F(\mathtt{x}(t))u(t),\;\forall t\in[0,T], \\ \displaystyle g(\mathtt{x}(t),\dot{\mathtt{x}}(t))\leq 0\quad\;\forall t\in[0,T], \\ \displaystyle\mathtt{x}(0)=\mathtt{x}_{0}, \\ \displaystyle\mathtt{x}(T)=\mathtt{x}_{f}where u(t)\in\mathbb{R}^{m} and L^{2} denotes the space of square integrable functions. (4b) describes the dynamics constraint, g(\mathtt{x}(t))\in\mathbb{R}^{n_{c}} in (4c) describes the inequality constraints, and (4d) and (4e) describe the boundary conditions. Input constraints can be incorporated according to [8]. To ensure the convergence of the AGHF PDE, we make the following assumption on the differentiability and smoothness of the system dynamics and existence of a feasible solution:
Assumption 3
Both F_{d} and F are C^{2}, Lipschitz continuous, and F has constant rank almost everywhere in \mathbb{R}^{n}. Additionally, we assume the existence of a feasible solution to the motion planning problem for the system.
Note if a particular \mathtt{x} satisfies each of the constraints in the (OCP), then we call \mathtt{x} a feasible trajectory of the (OCP).
III Gradient Flows in Hilbert Spaces
This section builds a gradient flow in Hilbert spaces and shows that equilibrium points of this gradient flow satisfy the KKT-conditions in Theorem 2. Subsequent sections leverage this theory to formulate a variant of the AGHF PDE and to prove that it converges to points that satisfy the KKT condition. This section adopts the notation introduced in (1). Denote the evolution “time” of the gradient flow by s. The curve at time s is denoted by x(s)\in X and its velocity by x^{\prime}(s)=\frac{dx(s)}{ds}.
III-A Primal Flow
We begin by defining the Hilbert Gradient, which is used to formulate the subsequent gradient flows:
Definition 4 (Hilbert Gradient)
Let \mathcal{A}:X\to\mathbb{R} be a functional. Assume that \mathcal{A} is Fréchet differentiable denoted by \delta\mathcal{A}(x)\in X^{*}. The Hilbert Gradient of \mathcal{A} at x is the element \nabla\mathcal{A}(x)\in X satisfying
\displaystyle\delta\mathcal{A}(x)[h]=\langle\nabla\mathcal{A}(x),h\rangle_{X}\quad\forall\,h\in X.Using this definition, we can formulate a primal flow:
Definition 5 (Primal Flow)
Let \mathcal{A}:X\rightarrow\mathbb{R} be a Fréchet differentiable functional. The primal flow associated with the constrained optimization problem in (1) is the differential inclusion
\displaystyle-x^{\prime}(s)\in\nabla\mathcal{A}(x(s))+N_{\mathcal{F}}(x(s)),\quad x(0)\in\mathcal{F},where \nabla\mathcal{A}(x(s))\in X denotes the Hilbert Gradient of \mathcal{A} at x(s).
One can then prove that Equilibria of the primal flow satisfy a necessary condition for optimality:
Lemma 6 (Equilibria and first-order optimality)
Let \bar{x}\in\mathcal{F}. Assume \mathcal{A} is Fréchet differentiable at \bar{x} If \bar{x} is an equilibrium of the primal flow (6), i.e.,
0\in\nabla\mathcal{A}(\bar{x})+N_{\mathcal{F}}(\bar{x}),then \bar{x} satisfies the first-order optimality condition of Theorem 1.
Proof:
If \mathcal{A} is Fréchet differentiable then the subdifferential has a single element \partial\mathcal{A}(\bar{x})=\{\nabla A(\bar{x})\}. By applying the Riesz Representation Theorem [13, Theorem 8.47] one can identify elements of the dual with its representatives and hence one obtains (2). ∎∎
III-B Augmented Primal-Dual Flow
This subsection presents an augmented primal-dual gradient flow. To simplify the exposition in this subsection, we restrict to equality constraints, which corresponds to setting K=\{0_{X}\} in (1), where 0_{X} denotes the origin in X. The constraint G(x)\in K then reduces to G(x)=0_{X}. Note, that in subsequent sections we illustrate how we can consider equality or inequality constraints within (OCP).
Definition 7
Assume \mathcal{A},G are Fréchet differentiable. The augmented primal-dual flow is the differential equation:
\displaystyle x^{\prime}(s) \\ \displaystyle=-(\nabla\mathcal{A}(x(s))+\nabla G(x(s))^{*}\lambda(s)+ \\ \displaystyle\hskip 28.45274pt\frac{p}{2}\nabla(||G(x)||^{2})), \\ \displaystyle\lambda^{\prime}(s) \\ \displaystyle=G(x(s))where \mathbb{R}\ni p\geq 0 is a user selected scalar parameter.
Lemma 8 (Equilibrium points are KKT points)
If (\bar{x},\bar{\lambda})\in X\times X is an equilibrium point of the dynamical system (8b), (8c) then it satisfies the KKT conditions (3a)-(3c).
Proof:
Plugging in the equilibrium into (8c), we see that (9) corresponds to (3b):
G(\bar{x})\in\{0_{X}\}=K.Now we focus on showing (3a). Replacing the equilibrium into (8b), we obtain
0=\nabla\mathcal{A}(\bar{x})+\nabla G(\bar{x})^{*}\bar{\lambda}+\frac{p}{2}\nabla(\|G(\bar{x})\|^{2}).Computing the Hilbert Gradient of the penalty term in (10) we obtain
\tfrac{p}{2}\nabla\!\left(\|G(x)\|^{2}\right)\bigg|_{x=\bar{x}}=p\,\nabla G(\bar{x})^{*}G(\bar{x})=0,where we have used (9). Then, replacing (11) into (10) yields (3a) at the equilibrium point:
\nabla\mathcal{A}(\bar{x})+\nabla G(\bar{x})^{*}\bar{\lambda}=0.Finally, we verify (3c). Because K=\{0_{X}\} is a linear subspace, its normal cone at any point is the whole space:
N_{K}(G(\bar{x}))=N_{\{0_{X}\}}(0_{X})=X.Hence \bar{\lambda}\in X=N_{K}(G(\bar{x})) holds, establishing (3c). Therefore (\bar{x},\bar{\lambda}) satisfies the KKT conditions (3a)–(3c). ∎∎
IV The Affine Geometric Heat Flow (AGHF) Partial Differential Equation
This section summarizes the background knowledge and theory of the AGHF. A more detailed treatment of the subjects discussed here can be found in [6, 14, 15].
IV-A Homotopies and the AGHF
Consider a homotopy: x:[0,T]\times[0,s_{max}]\to\mathbb{R}^{2N}, that is twice differentiable with respect to its first argument and differentiable with respect to its second argument. Define the Action Functional:
\mathcal{A}(x_{s})=\int_{0}^{T}L(x_{s}(t),\dot{x}_{s}(t))dt.Using these definitions, one can define the AGHF PDE:
Definition 9
The Affine Geometric Heat Flow is the parabolic Partial Differential Equation:
\displaystyle\frac{\partial x}{\partial s}(t,s)=M^{-1}(x(t,s))\bigg( \\ \displaystyle\frac{d}{dt}\frac{\partial L}{\partial\dot{x}_{s}}(x_{s}(t),\dot{x}_{s}(t)) \\ \displaystyle-\frac{\partial L}{\partial x_{s}}(x_{s}(t),\dot{x}_{s}(t))\bigg)with the following boundary conditions:
\displaystyle x_{s}(0) \\ \displaystyle=\mathtt{x}_{0},\quad\forall s\in[0,s_{max}] \\ \displaystyle x_{s}(T) \\ \displaystyle=\mathtt{x}_{f},\quad\forall s\in[0,s_{max}]and where M(x(t,s))\succeq 0.
When solving the AGHF PDE, one begins by specifying an initial curve x_{init}:[0,T]\to\mathbb{R}^{2N} and setting it such that x_{0}=x_{init}. As the AGHF PDE evolves forward in s, one can prove that the action functional is monotonically decreasing [7, 16]. In addition, if during that evolution the AGHF converges to a curve where the right hand side of the AGHF PDE is equal to 0, then one has found a curve that extremizes the action functional. Such a curve is called a steady state solution.
The AGHF stated in Definition 9 is in fact a gradient flow:
Lemma 10 (AGHF - Primal Gradient Flow)
The AGHF (15) is the negative Hilbert Gradient (Definition 4) of the action functional (14):
\frac{\partial x}{\partial s}(t,s)=-\nabla\mathcal{A}(x_{s})(t),which is an unconstrained primal-dual flow with \lambda\equiv 0 as in Definition 7.
Proof:
Fix s and suppose x_{s}(0),x_{s}(T) are held fixed. Compute the Fréchet Derivative of \mathcal{A} at x_{s} in a direction h\in X satisfying h(0)=h(T)=0. Integration by parts yields the Euler–Lagrange expression
\begin{split}\delta\mathcal{A}(x_{s})[h]=\int_{0}^{T}\Bigl(&\frac{\partial L}{\partial x_{s}}(x_{s}(t),\dot{x}_{s}(t))\\
&-\frac{d}{dt}\frac{\partial L}{\partial\dot{x}_{s}}(x_{s}(t),\dot{x}_{s}(t))\Bigr)^{T}h(t)\,dt\end{split}Introducing the weighted inner product \langle a,b\rangle_{M}:=\int_{0}^{T}a(t)^{T}\allowbreak M(x(t,s))\,b(t)\,dt, we identify the Hilbert gradient (Definition 4) as the unique element \nabla\mathcal{A}(x_{s})\in X satisfying \delta\mathcal{A}(x_{s})[h]=\langle\nabla\mathcal{A}(x_{s}),\,h\rangle_{M} for all admissible h. Comparing the two expressions gives the desired result. ∎∎
IV-B Ensuring the AGHF coincides with the (OCP)
To ensure that the action functional being minimized coincides with the (OCP) in (4), we must design L carefully. First, define the Lagrangian as:
\displaystyle L(x_{s}(t),\dot{x}_{s}(t)) \\ \displaystyle=\left(\dot{x}_{s}(t)-F_{d}(x_{s}(t))\right)^{T}J(x_{s}(t)) \\ \displaystyle\quad\cdot\left(\dot{x}_{s}(t)-F_{d}(x_{s}(t))\right)where J:\mathbb{R}^{2N}\to\mathbb{R}^{2N\times 2N} is a user-specified matrix.
Now, if we assume c(x(t),u(t))=\|u(t)\|^{2} in (4), then we can design J by applying [6, Theorem 1]. For a general cost function one can follow [8, Definition 6].
Under Assumption 3, [6, Theorem 1] specifies a control extraction procedure and establishes that under mild conditions the resulting trajectory is arbitrarily close to a feasible trajectory of (OCP). In fact, [6, Theorem 1] provides an explicit bound quantifying this closeness. We omit these details here for space reasons.
V The Augmented Lagrangian Affine Geometric Heat Flow
This section extends the AGHF equation presented in Definition 9 to handle constraints. Note that Lemma 10 allows us to interpret the AGHF as a Gradient Flow. We use Definition 7 to construct an augmented primal-dual AGHF. Building upon the AGHF framework established in Section IV, define a modified Lagrangian that incorporates constraint information:
\displaystyle L^{\prime}(x_{s}(t),\dot{x}_{s}(t),\mu_{s}(t)) \\ \displaystyle=L(x_{s}(t),\dot{x}_{s}(t)) \\ \displaystyle+\mu_{s}(t)^{T}W(g(x_{s}(t))) \\ \displaystyle\quad+\frac{p}{2}\|W(g(x_{s}(t)))\|_{2}^{2},where \mathbb{R}\ni p>0 represents the scalar penalty parameter, g(x_{s}(t))\in\mathbb{R}^{n_{c}} with n_{c} the number of constraints and the function W is applied element-wise. In the case of equality constraints, W is the identity and in the case of inequality constraints let W(g(x_{s}(t)))=\max(0,g(x_{s}(t))). Let W^{c_{\text{cons}}} denote the smooth approximation of W for inequality constraints.
By adapting Definition 7, one can build the following:
Definition 11
(MAGMA) The augmented primal-dual AGHF is a partial differential equation that is defined as:
\displaystyle\frac{\partial x}{\partial s}(t,s) \\ \displaystyle=M^{-1}(x(t,s))\bigg(\frac{d}{dt}\frac{\partial L^{\prime}}{\partial\dot{x}_{s}}(x_{s}(t),\dot{x}_{s}(t),\mu_{s}(t)) \\ \displaystyle\quad-\frac{\partial L^{\prime}}{\partial x_{s}}(x_{s}(t),\dot{x}_{s}(t),\mu_{s}(t))\bigg) \\ \displaystyle\frac{\partial\mu_{s}(t)}{\partial s} \\ \displaystyle=\frac{\partial L^{\prime}}{\partial\mu_{s}}(x_{s}(t),\dot{x}_{s}(t),\mu_{s}(t)) \\ \displaystyle x_{s}(0) \\ \displaystyle=\mathtt{x}_{0},\quad\forall s\in[0,s_{max}] \\ \displaystyle x_{s}(T) \\ \displaystyle=\mathtt{x}_{f},\quad\forall s\in[0,s_{max}] \\ M(x(t,s))\succeq 0VI Experiments and Results
This section evaluates the speed and performance of MAGMA on a variety of constrained optimization problems. All code describing the implementation from this section is available at https://github.com/roahmlab/MAGMA.
VI-A Implementation of MAGMA
The numerical implementation of MAGMA follows the pseudo-spectral method-of-lines approach adopted in [7] which is summarized in Section V. To evaluate the derivatives of W in (22a) and (22b), we approximate it by a smooth function W(y)\approx W^{c_{\text{cons}}}(y)=y\cdot S(y) where the activation function is defined by:
S(y)=\frac{1}{2}+\frac{1}{2}\tanh(c_{\text{cons}}\cdot y)where c_{\text{cons}} is a hyper-parameter that determines how fast S(y) transitions from 0 to 1.
VI-B Experimental Setup
We compare MAGMA to the DDP method Aligator [17] and the AGHF-based methods BLAZE and PHLAME [8] which use a penalty based formulation to handle constraints. In all the problems, we enforce input constraints and state constraints and in problems with obstacles we also enforce obstacle avoidance constraints. All the experiments were run on an Ubuntu 22.04 machine with an AMD EPYC 7742 64-Core @ 256x 2.25GHz CPU.
VI-B1 Selection of Parameters
For the BLAZE and PHLAME baselines, we adopt the parameter configurations reported in [8]. In contrast, MAGMA does not require extensive hyperparameter tuning. A single reasonable choice of the penalty coefficients was sufficient to obtain all reported results; no grid search or parameter sweep was performed. To ensure fair comparison across methods, all experiments use a common initial guess x_{init} as was described in [8].
VI-B2 Evaluating Success or Failure
Each numerical method under evaluation produces an open-loop control signal u^{*}:[0,T]\to\mathbb{R}^{m} along with the corresponding state trajectory x^{*}:[0,T]\to\mathbb{R}^{2N}. A key question is whether the robot can faithfully execute these computed solutions during physical operation. To address this and properly account for integration errors, we evaluate constraint satisfaction by simulating forward dynamics under a feedback controller:
u_{fb}(t)=u^{*}(t)+k_{p}(x^{*}_{P1}(t)-q(t))+k_{v}(x^{*}_{P2}(t)-\dot{q}(t)),with gains k_{p}=k_{v}=100 applied uniformly across all experiments, where q(t) and \dot{q}(t) denote the instantaneous robot position and velocity. We propagate the system dynamics using (24) and then assess both tracking performance and constraint compliance. We adopt this approach mirroring what is done in real-world deployments.
A trial qualifies as successful in obstacle-free scenarios when two conditions hold: the infinity norm between the forward-integrated terminal state and x_{f} falls below \epsilon=0.05, and all state values throughout the trajectory stay within ±0.5 of their specified bounds. For scenarios involving obstacles, success additionally requires that joint positions sampled at \Delta t=10^{-2}s intervals avoid collision with all obstacle regions at every joint frame, assuming buffered obstacles by 0.1 cm. Note that when solving the obstacle constraints, all methods are implemented with a 0.1 cm buffer (obstacles are grown by 0.1 cm) to provide a small safety margin during trajectory execution.
VI-C Kinova Gen3 Sphere Obstacle Avoidance
This section compares MAGMA, BLAZE [8], PHLAME [7] and Aligator [17] in solving the (OCP) in multiple scenarios with sphere obstacles.
In all these experiments we design x_{init} to be in collision. This allows us to investigate how effective the proposed method is in handling unfeasible initial guesses.
We evaluate each method on 6 randomly generated scenarios, each containing either 5 or 10 obstacles. In all cases, the obstacles are placed randomly and the initial guess x_{init} is constructed to be in collision. We gave a 60s time budget to be able to generate a trajectory. Being unable to generate the trajectory within that time or not satisfying the earlier success criteria from Section VI-B2 is counted as an unsuccessful trial. Table I summarizes the results. Videos illustrating the performance of the various algorithms can be found at https://roahmlab.github.io/MAGMASite/. MAGMA achieves 100% success rate.
VI-D Kinova Gen3 Hard Task-Based Scenarios
This section compares MAGMA, PHLAME [7], Aligator and BLAZE under a similar setup as the previous subsection, with two key differences. First, obstacles are now cuboids arranged to resemble more task-oriented scenarios for manipulators that would be deployed in domestic and industrial settings. These scenarios involve actions such as reaching into shelves, retracting arms out of shelves and under shelves, and placing items in confined bins, reflecting real-world manipulation tasks. Figure 1 depicts Scenario 2 comparing the solution of the different methods and Figure 2 depicts the solution of MAGMA for Scenario 7. Second, the time limit for each method is extended to 120s to accommodate scenarios with a greater number of obstacles. For these experiments each method must generate a 2-second long trajectory, which is a relatively short time to execute many of these scenarios due to how far the robot must move. This time constraint forces the methods to produce dynamic solutions while simultaneously satisfying state and input constraints, as well as obstacle avoidance, making the scenarios challenging. A trial is considered unsuccessful if a method fails to generate a trajectory within the allotted time or does not satisfy the earlier success criteria from Section VI-B2.
Table I summarizes the performance of the three optimal control algorithms for the 8 different realistic scenarios. MAGMA demonstrates a higher success rate, completing 100% of trials.
VII Conclusion
This paper introduces MAGMA, a trajectory optimization framework that combines an augmented Lagrangian formulation with the Affine Geometric Heat Flow to address constrained optimal control problems. By leveraging an augmented primal–dual gradient flow, the proposed method reduces reliance on manual penalty tuning while providing a systematic mechanism for balancing feasibility and optimality. To do this, the paper establishes a connection between gradient flows and KKT conditions in Hilbert Spaces, and demonstrates through experiments on high-dimensional robotic systems that the method achieves competitive robustness, accuracy, and computational performance relative to existing approaches.