Large-Scale Hierarchical Decision-Making in Robot Control via ADMM
Sparse hierarchical nonlinear programming (SH-NLP) based on the ℓ₀-norm provides a powerful framework for integrated, efficient hierarchical decision-making in robot kinematic control, for example in the presence of a large set of possible end-effector candidate locations. While Sequential Sparse Hierarchical Quadratic Programming (S-SHQP) with interior-point method based SHQP sub-problem solvers exploit the hierarchical, sparse structure of such problems, they are less amenable to effective warm-starting between subsequent, coherent control steps.
From the abstract. Our summary is in progress.
Full paper
Large-Scale Hierarchical Decision-Making in Robot Control via ADMM
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.11090 (PDF).
Abstract
Sparse hierarchical nonlinear programming (SH-NLP) based on the \ell_{0}-norm provides a powerful framework for integrated, efficient hierarchical decision-making in robot kinematic control, for example in the presence of a large set of possible end-effector candidate locations. While Sequential Sparse Hierarchical Quadratic Programming (S-SHQP) with interior-point method based SHQP sub-problem solvers exploit the hierarchical, sparse structure of such problems, they are less amenable to effective warm-starting between subsequent, coherent control steps. In this work, we formulate an Alternating Direction Method of Multipliers (ADMM) to efficiently solve related SHQP sub-problems. We introduce efficient substitutions for auxiliary variables representing \ell_{0}-norm surrogates. The solver efficiently handles separable decision functions by evaluating linear algebra expressions in the appropriate order. Results in large-scale kinematic and dynamic control show reduced computation times of up to 23.5% compared with a structure-exploiting interior-point method in low- to moderate-accuracy regimes. Furthermore, hierarchical decision-making is extended to whole-body dynamic control for humanoid walking, where the need for high-accuracy solutions is highlighted.
I Introduction
Hierarchical decision-making in robot control frequently requires selecting among a large number of candidate actions or locations while simultaneously satisfying whole-body kinematic and physical constraints of different priorities. Examples include selecting footholds [1], or activating only a subset of joints in highly redundant robotic systems [2], all while respecting higher or lower priority constraints [3]. Sparse hierarchical nonlinear programming (SH-NLP) [4] provides an attractive formulation for such problems, as discrete decisions can be embedded directly into continuous programs without explicitly introducing combinatorial decision variables.
SH-NLPs can be addressed by iteratively solving sparse hierarchical quadratic programs (SHQP), for example by the interior-point method (IPM) [4]. By exploiting the sparse hierarchical structure, a high degree of efficiency with linear dependency in the number of sparse candidate constraints can be achieved, unlike standard QP solvers with cubic dependency.
However, exploitable structure exists also between individual SHQP subproblems. Robot control typically consists of high-frequency updates with gradual changes between subsequent instances, for example similar sets of active and inactive inequality constraints. The IPM is less amenable to exploiting this additional sequential coherence through warm-starting.
The Alternating Direction Method of Multipliers (ADMM) [5] is a suitable candidate for such parametric programs [6], as its primal and dual can be effectively initialized from previous optimization instances. However, specialized solver formulations for SHQPs do not exist. This work aims to close this gap with the following main contributions:
- We derive a structure-exploiting ADMM solver for SHQPs which eliminates sparsity-related auxiliary variables for linear dependence on the number of decision candidates, while enabling warm-starting, unlike existing IPM based methods.
- For separable decision functions, we exploit their structure and implement computationally favorable linear algebra evaluations, which improves efficiency for large candidate sets.
- We evaluate the proposed solver on large-scale sparse programs and robot-control problems, isolating the effects of sparse structure, warm-starting, and separable decision-function evaluation. The results demonstrate reduced computation times over the structure-exploiting IPM [4] in low- to moderate-accuracy regimes.
- We investigate the extension of hierarchical decision-making from kinematic to dynamic robot control. The experiments demonstrate efficient drone control, while a humanoid walking experiment exposes the need for high-accuracy solutions, which is less suitable for first-order methods like ADMM.
The remainder of this paper is organized as follows. Sec. II reviews related work on optimization methods for hierarchical decision-making in robot control. Sec. III recalls the SHQP formulation arising within S-SHQP. Sec. IV derives the proposed efficient ADMM solver, and compares it with other SHQP solvers. Sec. V discusses equilibration and warm-starting, while Sec. VI outlines how structure in separable decision functions can be exploited. Sec. VII evaluates the computational performance and scalability of the proposed solver on numerical and robot control problems.
II Related Work
II-A Hierarchical Decision-Making in Robotics
Mixed-integer formulations provide a powerful tool for globally optimal decision-making in robot planning [7], but their combinatorial complexity can limit their applicability to large candidate sets and real-time control. Instead, sparsity-promoting continuous \ell_{1}-norm formulations have been efficiently applied to parsimonious kinematic control [8] and footstep selection [1]. However, these methods either rely on specialized algorithms like the simplex method or additional brute-force layers to achieve accurate sparsity.
The approach in [9] enhances the sparsity-promoting qualities of the \ell_{1}-norm by sequentially reweighting the linear objective according to a logarithm-based \ell_{0}-norm surrogate. The \ell_{0}-norm directly measures cardinality and therefore provides a natural representation of sparse decision-making, but needs to be smoothly approximated for continuous optimization. While [9] is limited to linear unconstrained problems, the approach has been extended to hierarchical nonlinear decision-making by incorporation within a SQP-type framework (Sequential Quadratic Programming [10]; from hereon referred to as Sequential Sparse Hierarchical Quadratic Programming (S-SHQP) [4]). The corresponding dedicated IPM exploits the sparse hierarchical structure of the SHQP sub-problems, resulting in linear computational complexity with the number of candidate constraints. However, warm-starting is not exploited, and the solver has only been applied to purely kinematic control scenarios.
This work addresses this gap and proposes an ADMM solver which can be effectively warm-started for the efficient repeated solution of subsequent SHQP subproblems. Furthermore, hierarchical decision-making is integrated within a humanoid whole-body controller under consideration of instantaneous robot dynamics.
II-B Parametric Quadratic Programming
Repeatedly solving closely related parametric optimization problems is fundamental to real-time robot control. Active-set methods like qpOASES [11] are well suited to exploit this similarity to accelerate subsequent optimizations, because the active set of a preceding QP often provides a good estimate for that of the subsequent problem in high-frequency control. However, active-set methods can suffer from issues like repeated constraint activation and deactivation (cycling) when constraints are linearly dependent, leading to long computation times.
Interior-point methods are numerically robust alternatives to the active-set method, for example by integrating proximal regularization which enables stable convergence even in the case of linearly dependent constraints [12]. An extension to SHQPs, which are a member of the broad class of QPs, has been proposed in [4]. Linear dependence on the number of decision candidates as in the unconstrained case [13] is maintained by efficient exploitation of the underlying sparse hierarchical structure introduced by \ell_{0}-norm surrogates.
Warm-starting interior-point methods is less direct than for active-set methods. Some techniques modify previous solutions to meet central feasibility conditions before restarting the method [14], which limits the direct use of a preceding solution.
II-C Alternating Direction Method of Multipliers (ADMM)
First-order methods such as ADMM update primal and dual variables through gradient and projection operations with factorization reuse at the cost of reduced accuracy, rather than repeatedly forming and factorizing KKT systems as required by second-order methods such as the IPM. Their computational efficiency can be further improved through effective warm-starting and by caching factorizations and other quantities which remain invariant across inner iterations [15] and consecutive control steps [6]. ADMM has been successfully deployed as an SQP subproblem solver for complex whole-body trajectory optimization, while efficiently exploiting temporal sparsity of optimal control problems [16].
In this work, we adapt the ADMM to the specific sparse and hierarchical structure of SHQPs in order to maintain linear dependency of the solver in the number of candidates in hierarchical decision-making.
III Background
III-A Sparse Hierarchical Nonlinear Programming for Hierarchical Decision-Making
\log [9] and fraction function surrogates [17] of the \ell_{0}-norm on squared decision functions d^{2} (see (1)).This work formulates a continuous optimization problem for hierarchical decision-making with a more aggressive sparsity promoting approximation of the \ell_{0}-norm with strong gradient decay [17] (see Fig. 2). This can be advantageous in the presence of a large number of candidates, when perpetual influence as seen for the logarithmic penalty \textstyle\sum\log(\tau_{d}^{+}\xi)[9, 4] is undesired. For completeness, and unlike the work in [4], we also consider \ell_{2}-norm objectives:
\displaystyle\min_{\chi,(\nu_{d})_{d\in{\mathbb{D}}_{l}},(\tau_{d})_{d\in{\mathbb{D}}_{l}},(\nu_{i})_{i\in{\mathbb{C}}_{l}}} \\ \displaystyle\sum_{d\in{\mathbb{D}}_{l}}\nolimits\frac{\tau_{d}}{\tau_{d}+\xi}+\left\|(\nu_{i})\right\|_{2}^{2} \\ \displaystyle\text{s.t.}\quad-\tau_{d^{-}}\leq\nu_{d^{\pm}}\leq\tau_{d^{+}} \\ \displaystyle,\quad d^{\pm}\in{\mathbb{D}}_{l}^{\pm},\quad l=1,\dots,p \\ \displaystyle f_{d/i/j/k}(\chi)\geqq\nu_{d/i/k}^{(*)},\quad \\ \displaystyle d/i/j/k\in{\mathbb{D}}_{l}/{\mathbb{C}}_{l}/\mathcal{I}_{\cup l-1}/\mathcal{A}_{\cup l-1}\chi\in\mathbb{R}^{n} is the optimization variable, for example representing the robot joint state. The functions f_{d/i/j/k}(\chi) denote nonlinear robot constraints associated with the index sets d\in{\mathbb{D}}_{l}, i\in{\mathbb{C}}_{l}, j\in\mathcal{I}_{\cup l-1}, or k\in\mathcal{A}_{\cup l-1}. Each scalar entry d in {\mathbb{D}}_{l} represents a decision candidate, for example a squared expression of kinematic translational reaching g(\chi) with a constant desired value g_{d} (see Sec. VI on how this separable structure can be exploited computationally)
\displaystyle f_{d}(\chi) \\ \displaystyle=\frac{1}{2}\left\|g(\chi)-g_{d}\right\|_{2}^{2},\qquad d\in\mathbb{D}_{l}The set {\mathbb{C}}_{l} contains least-squares tasks, while inactive or active tasks from higher priority levels are represented in {\mathcal{I}}_{\cup l-1}/{\mathcal{A}}_{\cup l-1}\coloneqq{\mathcal{I}}_{1}/{\mathcal{A}}_{1}\cup\cdots\cup{\mathcal{I}}_{l-1}/{\mathcal{A}}_{l-1}, respectively. These sets may include both equality and inequality constraints, collectively denoted by the relation \geqq.
The constraint sets {\mathbb{D}}_{l} and {\mathbb{C}}_{l} are associated with a slack variable \nu_{d/i}, which permits relaxation when exact satisfaction is not possible, for example when a task specifies an unreachable target. On each priority level l, the slack is optimized until the optimal one \nu_{d/i}^{*} is found, in which case the associated constraints enter the active set of the next level \mathcal{A}_{\cup l} with fixed optimal slack \nu_{k}^{*}. The auxiliary variable \tau_{d}, together with the appropriate bound constraint set {\mathbb{D}}_{l}^{\pm} on \nu_{d}, provides a smooth representation of the element-wise magnitude |\nu_{d}|. For compactness, parentheses denote the stacked vector of quantities indexed by a given set, for example (\nu_{d})_{d\in{\mathbb{D}}_{l}}=\begin{bmatrix}\nu_{d_{1}}&\nu_{d_{2}}&\cdots\end{bmatrix}^{T}\in\mathbb{R}^{|{\mathbb{D}}_{l}|}:
In the following, the explicit set memberships d\in{\mathbb{D}}_{l}, i\in{\mathbb{C}}_{l}, j\in{\mathcal{I}}_{\cup l-1}, and k\in{\mathcal{A}}_{\cup l-1} are omitted whenever they are clear from the context, for example (f_{d})\coloneqq(f_{d})_{d\in{\mathbb{D}}_{l}}.
III-B Sequential Sparse Hierarchical Quadratic Programming
S-HNLP is solved by iteratively solving SHQP subproblems [4] for the approximate step variables x^{(\iota)}, v^{(\iota)}, and t^{(\iota)}. The step x^{(\iota)} is subject to a trust region of radius \phi for globalization. In this work focusing on instantaneous robot control, the trust region is kept constant while a filter framework as in [18, 19] is omitted. SHQP is a constrained version of the reweighted majorization-minimization \ell_{1}-optimization problem of [9]:
\displaystyle\min_{{z_{l}},(v_{d}),({t_{d}}),({t_{i}})}\quad \\ \displaystyle\textstyle\sum_{d\in{\mathbb{D}}_{l}}\omega_{d}{t}_{d}+\left\|(v_{i})\right\|_{2}^{2}\quad l=1,\dots,p \\ \displaystyle{+0.5}(x_{l-1}^{*}+N_{l-1}z_{l})^{T}H_{l}(x_{l-1}^{*}+N_{l-1}{z}_{l}) \\ \displaystyle-{t}_{d^{-}}\leq{v}_{d^{\pm}}\leq{t}_{d^{+}},\qquad d^{\pm}\in{\mathbb{D}}_{l}^{\pm} \\ \displaystyle\widetilde{a}_{d}^{T}{{z}_{l}}-\breve{b}_{d}\geqq{v}_{d}\quad d\in{\mathbb{D}}_{l}, \\ \displaystyle\widetilde{a}_{i}^{T}{{z}_{l}}-\breve{b}_{i}\geqq{v}_{i}\quad i\in{\mathbb{C}}_{l} \\ \displaystyle\widetilde{a}_{j}^{T}{{z}_{l}}-\breve{b}_{j}\geq 0,\quad j\in\mathcal{I}_{\cup l-1} \\ \displaystyle|x_{l}|\leq\phiThe weights are defined as follows, with a small constant \xi\approx 1\cdot 10^{-4} which improves numerical robustness:
\omega_{d}=\xi/({{\tau}_{d}+\xi})^{2}>0The positive-definite hierarchical Lagrangian Hessian {H}_{l}\succ 0 [20] captures second-order terms of the constraints and objectives, while a_{d}=\nabla f_{d}(\chi^{(\iota)}) and b_{d}\coloneqq f_{d}(\chi^{(\iota)}) represent linearizations of S-HNLP at the current iterate \iota. Following the approaches in [21], [4], we introduced the change of variables: {x}_{l}={x}_{l-1}^{*}+N_{l-1}z_{l} with the overall primal solution: {x}^{*}=x_{p}. Here, x_{l-1}^{*} is the optimal primal of levels 1 to l-1, and N_{l-1}\in\mathbb{R}^{n\times n_{r}} is a nullspace basis of the vectors a_{k}\in\mathbb{R}^{n} (a_{k}^{T}N_{l-1}=0; N_{0}=I). A vector a_{d/i/j} or matrix A_{d/i/j} marked by \widetilde{A}_{d/i/j} represents the projected value \widetilde{A}_{d/i/j}\coloneqq A_{d/i/j}N_{l-1} (or \widetilde{H}_{l}\coloneqq N_{l-1}^{T}H_{l}N_{l-1}). The value \breve{b}_{d} denotes the nullspace projection offset from previous priority levels: \breve{b}_{d}\coloneqq b_{d}-a_{d}^{T}x_{l-1}^{*}. {z}_{l}\in\mathbb{R}^{n_{r}} is the projected primal of level l, with n_{r}<n for efficiency.
Below are the primal and dual residuals K_{\lambda_{\Lambda}} and K_{q_{l}} as the derivative K_{l}\coloneqq\nabla\mathcal{L}_{l} of the Lagrangian \mathcal{L}_{l} of a level l of SHQP [4]. For convenience, we define the placeholder \Lambda
\displaystyle\Lambda\in\{d^{\pm},d,i,j\}such that \lambda_{\Lambda} denotes the Lagrange multiplier associated with the corresponding constraint class. Specifically, \lambda_{\Lambda} represents \lambda_{d^{\pm}}, \lambda_{d}, \lambda_{i}, or \lambda_{j} for \Lambda=d^{\pm},d,i,j, respectively. Additionally, the constraint vectors \widetilde{a}_{d}, \widetilde{a}_{i}, and \widetilde{a}_{j} are stacked row-wise into the matrices \widetilde{A}_{d}, \widetilde{A}_{i}, and \widetilde{A}_{j}, according to their respective index sets \mathbb{D}_{l}, \mathbb{C}_{l}, and {\mathcal{I}}_{\cup l-1}. The \ell_{0}-norm auxiliary constraints {\mathbb{D}}_{l}^{\pm}, the inequality constraints in {\mathbb{D}}_{l} and {\mathbb{C}}_{l}, and {\mathcal{I}}_{\cup l-1} are relaxed by positive slack variables w_{\Lambda}\geq 0 (marked by checkered boxes):
\displaystyle K_{{\lambda_{l}}}\hskip 0.0pt=\begin{bmatrix}({t}_{d^{+}})-({v}_{d^{+}})-(w_{d^{+}})\\
({t}_{d^{-}})+({v}_{d^{-}})-(w_{d^{-}})\\
-\widetilde{A}_{d}{z}_{l}+(\breve{b}_{d})+({v}_{d})\hbox to32.27pt{\vbox to12.4pt{\pgfpicture\makeatletter\hbox{\hskip 16.13445pt\lower-6.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {
{{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@uncoloredpattern{6}{3.0pt}{3.0pt}{1.0}{0.0}{1.0}{0.0pt}{0.0pt}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-width=0.4pt} \lxSVG@drawpath@unclipped{M 4.29 0 L 0 4.29 M 0 0 L 4.29 4.29}{fill:none} \lxSVG@closescope }{0}\lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{
{}{}}}{
{}{}}
{{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}}
{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -22.05 -8.3 h 44.1 v 16.6 h -44.1 Z}{} \lx@inpgf@ignorespaces
\lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-14.93445pt}{-2.5pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -20.66 -3.46)} \pgfsys@hbox{60}\lxSVG@closescope }}}
\lxSVG@closescope }}}
}
\lxSVG@closescope {{
{}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}\\
-\widetilde{A}_{i}{z}_{l}+(\breve{b}_{i})+({v}_{i})\hbox to30.94pt{\vbox to12.4pt{\pgfpicture\makeatletter\hbox{\hskip 15.46765pt\lower-6.2pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {
{{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{
{}{}}}{
{}{}}
{{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}}
{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -21.13 -8.3 h 42.25 v 16.6 h -42.25 Z}{} \lx@inpgf@ignorespaces
\lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-14.26765pt}{-2.5pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -19.74 -3.46)} \pgfsys@hbox{60}\lxSVG@closescope }}}
\lxSVG@closescope }}}
}
\lxSVG@closescope {{
{}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}\\
-\widetilde{A}_{j}z_{l}+(\breve{b}_{j})+(w_{j})\end{bmatrix} \\ \displaystyle K_{{q_{l}}}\hskip 0.0pt=\begin{bmatrix}\widetilde{H}_{l}{z}_{l}\hskip 0.0pt+\hskip 0.0ptN_{l-1}^{T}{H}_{l}x_{l}\hskip 0.0pt-\widetilde{A}_{d}^{T}({\lambda}_{d})-\widetilde{A}_{i}^{T}({\lambda}_{i})\hskip 0.0pt-\hskip 0.0pt\widetilde{A}_{j}^{T}({\lambda}_{j})\\
({\lambda}_{d^{+}})\hskip 0.0pt-\hskip 0.0pt({\lambda}_{d^{-}})\hskip 0.0pt+\hskip 0.0pt({\lambda}_{d})\\
(\omega_{d})\hskip 0.0pt-\hskip 0.0pt({\lambda}_{d^{+}})\hskip 0.0pt-\hskip 0.0pt({\lambda}_{d^{-}})\\
({v}_{i})\hskip 0.0pt-\hskip 0.0pt({\lambda}_{i})\end{bmatrix}IV An ADMM for SHQP
ADMM solves problems of the following form [15]:
\displaystyle\min_{q_{l},s_{l},\hat{z}_{l}}\quad \\ \displaystyle\frac{1}{2}q_{l}^{T}{J}_{l}q_{l}+g_{l}^{T}q_{l}+\mathrm{I}_{+}(s_{l}) \\ \displaystyle B_{l}q_{l}+C_{l}s_{l}=c_{l},\quad z_{l}=\hat{z}_{l}Applying it to SHQP, we get the following variable and split variable vectors q_{l} and s_{l} (excluding \hat{z}_{l}):
\displaystyle q_{l} \\ \displaystyle\coloneqq\begin{bmatrix}z_{l}^{T}&(v_{d})^{T}&(t_{d})^{T}&(v_{i})^{T}\end{bmatrix}^{T} \\ \displaystyle s_{l} \\ \displaystyle\coloneqq\begin{bmatrix}(w_{d^{\pm}})^{T}&(w_{d})^{T}&(w_{i})^{T}&(w_{j})^{T}\end{bmatrix}^{T}The slack variables relax inequality constraints, while the operator \mathrm{I}_{+} projects them onto the set of positive numbers \mathcal{C}_{+}. The matrices and vectors are composed as:
\displaystyle{J}_{l} \displaystyle\coloneqq\begin{bmatrix}\widetilde{H}_{l}&0&0&0\\ 0&0&0&0\\ 0&0&0&0\\ 0&0&0&I\end{bmatrix},\quad g_{l}\coloneqq\begin{bmatrix}0\\ 0\\ (\omega_{d})\\ 0\end{bmatrix}
\displaystyle B_{l} \displaystyle=\begin{bmatrix}B_{d^{+}}\\ B_{d^{-}}\\ B_{d}\\ B_{i}\\ B_{j}\\ \end{bmatrix}\coloneqq\begin{bmatrix}0&-I&I&0\\ 0&I&I&0\\ \widetilde{A}_{d}&-I&0&0\\ \widetilde{A}_{i}&0&0&-I\\ \widetilde{A}_{j}&0&0&0\end{bmatrix},c_{l}=\begin{bmatrix}(c_{d^{+}})\\ (c_{d^{-}})\\ (c_{d})\\ (c_{i})\\ (c_{j})\end{bmatrix}\coloneqq\begin{bmatrix}0\\ 0\\ (\breve{b}_{d})\\ (\breve{b}_{i})\\ (\breve{b}_{j})\end{bmatrix}
\displaystyle C_{l} \displaystyle=\begin{bmatrix}C_{d^{+}}\\ C_{d^{-}}\\ C_{d}\\ C_{i}\\ C_{j}\\ \end{bmatrix}\coloneqq\begin{bmatrix}-I&0&0&0&0\\ 0&-I&0&0&0\\ 0&0&\hbox to7.58pt{\vbox to9.23pt{\pgfpicture\makeatletter\hbox{\hskip 3.79027pt\lower-4.61665pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} { {{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{ {}{}}}{ {}{}} {{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}} {\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -4.97 -6.11 h 9.94 v 12.22 h -9.94 Z}{} \lx@inpgf@ignorespaces \lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-2.59027pt}{-3.41666pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -3.58 -4.73)} \pgfsys@hbox{60}\lxSVG@closescope }}} \lxSVG@closescope }}} } \lxSVG@closescope {{ {}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}&0&0\\ 0&0&0&\hbox to7.58pt{\vbox to9.23pt{\pgfpicture\makeatletter\hbox{\hskip 3.79027pt\lower-4.61665pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} { {{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{ {}{}}}{ {}{}} {{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}} {\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -4.97 -6.11 h 9.94 v 12.22 h -9.94 Z}{} \lx@inpgf@ignorespaces \lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-2.59027pt}{-3.41666pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -3.58 -4.73)} \pgfsys@hbox{60}\lxSVG@closescope }}} \lxSVG@closescope }}} } \lxSVG@closescope {{ {}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}&0\\ 0&0&0&0&I\end{bmatrix}
The augmented Lagrangian \mathcal{L}_{l}^{\rho} of level l of (6) is:
\displaystyle\mathcal{L}_{l}^{\rho}(q_{l},s_{l},\hat{z}_{l},(\lambda_{\Lambda})) \\ \displaystyle=\frac{1}{2}q_{l}^{T}{J}_{l}q_{l}+g_{l}^{T}q_{l}+\mathrm{I}_{+}(s_{l})+\frac{\sigma}{2}\|z_{l}-\hat{z}_{l}\|^{2}_{2} \\ \displaystyle+\sum_{\Lambda\in\{d^{\pm},d,i,j\}}\frac{\rho_{\Lambda}}{2}\left\|B_{\Lambda}q_{l}+C_{\Lambda}s_{l}-(c_{\Lambda})+\frac{1}{\rho_{\Lambda}}(\lambda_{\Lambda})\right\|_{2}^{2}The parameters \sigma\approx 1\cdot 10^{-5} and \rho_{\Lambda}=\rho_{l}\overline{\rho}_{\Lambda} are the individual step-size parameters for each individual constraint z_{l}=\hat{z}_{l} and \Lambda\in\{d^{\pm},d,i,j\}. The component \rho_{l} is variable and its update rule is described in Sec. V-B, while \overline{\rho}_{\Lambda} are fixed hand-tuned values for each different constraint set in \Lambda (\overline{\rho}=100 for equalities, \overline{\rho}=1 for inequalities).
The ADMM computes the primal (see Sec. IV-A), the split variables (see Sec. IV-B), and the Lagrange multipliers (see Sec. IV-C) in alternating fashion. Once the alternating steps of level l have converged with \|K_{l}\|_{2}<\eta, the active constraint sets {\mathcal{A}}_{l^{*}} and {\mathcal{A}}_{l} corresponding to activity in {\mathbb{D}}_{l}, {\mathbb{C}}_{l}, and {\mathcal{I}}_{\cup l-1} are composed. The algorithm then continues with the ADMM of the next level l+1 projected into the nullspace N_{l} of the new active set {\mathcal{A}}_{\cup l}={\mathcal{A}}_{\cup l-1}\cup{\mathcal{A}}_{l}. The remaining inactive constraints are contained in the updated inactive set {\mathcal{I}}_{\cup l}. More details on convex hierarchical programming can be found in [22].
IV-A Primal update
The parenthesized superscript (+) (abbreviation for (\iota+1)) denotes values of the next ADMM iteration based on the values of the current one (\iota) (omitted for readability). The primal update follows from:
\displaystyle\nabla_{q_{l}^{(+)}}\mathcal{L}_{l}^{\rho}(q_{l}^{(+)},s_{l},\hat{z}_{l},(\lambda_{\Lambda})) \\ \displaystyle=\begin{bmatrix}\widetilde{H}_{l}+\sigma I\\
&0\\
&&0\\
&&&I\end{bmatrix}q_{l}^{(+)}+g_{l} \\ \displaystyle+\hskip-10.0pt\sum_{\Lambda\in\{d^{\pm},d,i,j\}}\hskip-15.0ptB_{\Lambda}^{T}\rho_{\Lambda}\left(B_{\Lambda}q_{l}^{(+)}+C_{\Lambda}s_{l}-(c_{\Lambda})+\frac{1}{\rho_{\Lambda}}(\lambda_{\Lambda})\right)\hskip-2.0pt=\hskip-2.0pt0This can be rewritten into the linear system:
\displaystyle K_{q}^{\rho}q_{l}^{(+)}=-k_{q}^{\rho}where:
\displaystyle K_{q}^{\rho}= \\ \displaystyle\begin{bmatrix}\widetilde{H}_{l}+\sigma I_{z}+M&P^{T}&0&L^{T}\\
P&S&0&0\\
0&0&R&0\\
L&0&0&Y\end{bmatrix}and:
\displaystyle M\coloneqq\rho_{d}\widetilde{A}_{d}^{T}\widetilde{A}_{d}+\rho_{i}\widetilde{A}_{i}^{T}\widetilde{A}_{i}+\rho_{j}\widetilde{A}_{j}^{T}\widetilde{A}_{j} \\ \displaystyle P\coloneqq-\rho_{d}\widetilde{A}_{d},\quad S\coloneqq\rho_{d}I+\rho_{d^{\pm}}2I,\quad R\coloneqq\rho_{d^{\pm}}2I \\ \displaystyle Y\coloneqq\rho_{i}I,\quad L\coloneqq-\rho_{i}\widetilde{A}_{i}The matrices S,R,Y\succ 0 are positive-definite and invertible. The overall matrix K_{q}^{\rho}\succ 0 is then positive-definite as well for \sigma>0 and positive-definite {H}_{l}\succ 0. Note that computing M is the most computationally demanding operation of the algorithm, but only needs to be done once, even in case of \rho_{l} updates due to the separable nature of \rho_{\Lambda}=\rho_{l}\overline{\rho}_{\Lambda}.
The right hand side k_{q_{l}}^{\rho} writes as:
\displaystyle k_{{z_{l}}}^{\rho}\hskip 0.0pt \\ \displaystyle=\textstyle\sum_{\Psi\in\{d,i,j\}}\rho_{\Psi}\widetilde{A}_{\Psi}^{T}\left(-(\breve{b}_{\Psi})+(w_{\Psi})+\frac{1}{\rho_{\Psi}}(\lambda_{\Psi})\right) \\ \displaystyle k_{{v}_{d}}^{\rho} \\ \displaystyle=\rho_{d}\left(\breve{b}_{d}\hbox to20.05pt{\vbox to8.21pt{\pgfpicture\makeatletter\hbox{\quad\lower-4.10277pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {
{{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{
{}{}}}{
{}{}}
{{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}}
{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -13.59 -5.4 h 27.19 v 10.8 h -27.19 Z}{} \lx@inpgf@ignorespaces
\lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-8.8233pt}{-1.40277pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -12.21 -1.94)} \pgfsys@hbox{60}\lxSVG@closescope }}}
\lxSVG@closescope }}}
}
\lxSVG@closescope {{
{}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}-\frac{1}{\rho_{d}}\lambda_{d}\right) \\ \displaystyle+\rho_{d^{\pm}}\left(w_{d^{+}}-w_{d^{-}}-\frac{1}{\rho_{d^{\pm}}}\lambda_{d^{+}}-\frac{1}{\rho_{d^{\pm}}}\lambda_{d^{-}}\right) \\ \displaystyle k_{{t}_{d}}^{\rho} \\ \displaystyle=\omega_{d}+\rho_{d^{\pm}}\left(-w_{d^{+}}-w_{d^{-}}+\frac{1}{\rho_{d^{\pm}}}\lambda_{d^{+}}+\frac{1}{\rho_{d^{\pm}}}\lambda_{d^{-}}\right) \\ \displaystyle k_{{v}_{i}}^{\rho} \\ \displaystyle=\rho_{i}\left(\breve{b}_{i}\hbox to18.71pt{\vbox to8.21pt{\pgfpicture\makeatletter\hbox{\hskip 9.3565pt\lower-4.10277pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {
{{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{
{}{}}}{
{}{}}
{{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}}
{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -12.67 -5.4 h 25.34 v 10.8 h -25.34 Z}{} \lx@inpgf@ignorespaces
\lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-8.15651pt}{-1.40277pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -11.29 -1.94)} \pgfsys@hbox{60}\lxSVG@closescope }}}
\lxSVG@closescope }}}
}
\lxSVG@closescope {{
{}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}-\frac{1}{\rho_{i}}\lambda_{i}\right)The vector (t_{d})^{(+)} can be directly computed by:
\displaystyle(t_{d})^{(+)} \\ \displaystyle=-R^{-1}(k_{t_{d}}^{\rho})Furthermore, the following substitutions of (v_{d})^{(+)} and (v_{i})^{(+)} in dependence of {z}_{l}^{(+)} can be computed by:
\displaystyle(v_{d})^{(+)} \\ \displaystyle=S^{-1}\left(-P{z}_{l}^{(+)}-(k_{{v}_{d}}^{\rho})\right) \\ \displaystyle(v_{i})^{(+)} \\ \displaystyle=Y^{-1}\left(-L{z}_{l}^{(+)}-(k_{{v}_{i}}^{\rho})\right)Finally, {z}_{l}^{(+)} is efficiently computed from:
\displaystyle K_{z}^{\rho}z_{l}^{(+)}=\left(PS^{-1}(k_{v_{d}}^{\rho})+L^{T}Y^{-1}(k_{v_{i}}^{\rho})-k_{z_{l}}^{\rho}\right)for example using a Cholesky decomposition of the normal-matrix K_{z_{l}}^{\rho}\in\mathbb{R}^{n_{r}\times n_{r}}:
\displaystyle K_{z_{l}}^{\rho}\coloneqq\left(\widetilde{H}_{l}+\sigma I_{z}+M-P^{T}S^{-1}P-L^{T}Y^{-1}L\right)IV-B Split variable update
The split variable update results from the condition (\Lambda\in\{d^{\pm},d,i,j\}):
\displaystyle\nabla_{s_{l}^{(+)},\hat{z}_{l}^{(+)}}\mathcal{L}_{l}^{\rho}(q_{l}^{(+)},s_{l}^{(+)},\hat{z}_{l}^{(+)},(\lambda_{d^{\pm}}),...) \\ \displaystyle= \\ \displaystyle\begin{bmatrix}\rho_{\Lambda}C_{\Lambda}^{T}C_{\Lambda}s_{l}^{(+)}+C_{\Lambda}^{T}\rho_{\Lambda}(B_{\Lambda}q_{l}^{(+)}-(c_{\Lambda})+\frac{1}{\rho_{\Lambda}}(\lambda_{\Lambda}))\\
\hat{z}_{l}^{(+)}-z_{l}^{(+)}\end{bmatrix}=0This leads to the updates \hat{z}_{l}^{(+)}=z_{l}^{(+)} and:
\displaystyle w_{d^{+}}^{(+)} \\ \displaystyle=v_{d^{+}}^{(+)}-{t}_{d^{+}}^{(+)}-\frac{1}{\rho_{d^{\pm}}}\lambda_{{d^{+}}} \\ \displaystyle w_{d^{-}}^{(+)} \\ \displaystyle=-v_{d^{-}}^{(+)}-{t}_{d^{-}}^{(+)}-\frac{1}{\rho_{d^{\pm}}}\lambda_{d^{-}} \\ \displaystyle w_{d/i}^{(+)} \\ \displaystyle=-\widetilde{A}_{d/i}z_{l}^{(+)}+v_{d/i}^{(+)}+\breve{b}_{d/i}-\frac{1}{\rho_{d/i}}\lambda_{d/i} \\ \displaystyle w_{j}^{(+)} \\ \displaystyle=-\widetilde{A}_{j}z_{l}^{(+)}+\breve{b}_{j}-\frac{1}{\rho_{j}}\lambda_{j}Finally, the operator \mathrm{I}_{+} is realized by:
\displaystyle w_{\Lambda}^{(+)}\leftarrow\max(0,w_{\Lambda}^{(+)})IV-C Dual update
The Lagrange multipliers are updated by dual ascent [5], which writes as (\Lambda\in\{{d^{\pm}},d,i,j\}):
\displaystyle(\lambda_{\Lambda})^{(+)}=(\lambda_{\Lambda})+\rho_{\Lambda}(B_{\Lambda}q_{l}^{(+)}+C_{\Lambda}s_{l}^{(+)}-c_{\Lambda})Specifically, this leads to the updates:
\displaystyle\lambda_{d^{+}}^{(+)} \\ \displaystyle=\lambda_{d^{+}}+\rho_{d^{\pm}}\left(-v_{d^{+}}^{(+)}+{t}_{d^{+}}^{(+)}+w_{d^{+}}^{(+)}\right) \\ \displaystyle\lambda_{d^{-}}^{(+)} \\ \displaystyle=\lambda_{d^{-}}+\rho_{d^{\pm}}\left(v_{d^{-}}^{(+)}+{t}_{d^{-}}^{(+)}+w_{d^{-}}^{(+)}\right) \\ \displaystyle\lambda_{d/i}^{(+)} \\ \displaystyle=\lambda_{d/i}+\rho_{d/i}\left(\widetilde{A}_{d/i}z_{l}^{(+)}-v_{d/i}^{(+)}\hbox to32.72pt{\vbox to15.33pt{\pgfpicture\makeatletter\hbox{\hskip 16.35858pt\lower-7.66724pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {
{{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {{}{}{{
{}{}}}{
{}{}}
{{}{{\lx@inpgf@ignorespaces}}}{{}{\lx@inpgf@ignorespaces}}{}{{}{\lx@inpgf@ignorespaces}}
{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setpatternuncolored@{6}{0.9}{0.9}{0.9} \lxSVG@begingroup@{stroke=#D9D9D9} {}\lxSVG@fillstroke\lxSVG@drawpath@unclipped{M -22.36 -10.33 h 44.72 v 20.66 h -44.72 Z}{} \lx@inpgf@ignorespaces
\lxSVG@closescope }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-15.15858pt}{-2.91168pt}\lxSVG@begingroup@{transform=matrix(1.0 0.0 0.0 1.0 -20.97 -4.03)} \pgfsys@hbox{60}\lxSVG@closescope }}}
\lxSVG@closescope }}}
}
\lxSVG@closescope {{
{}{}{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}-\breve{b}_{d/i}\right) \\ \displaystyle\lambda_{j}^{(+)} \\ \displaystyle=\lambda_{j}+\rho_{j}\left(\widetilde{A}_{j}z_{l}^{(+)}+w_{j}^{(+)}-\breve{b}_{j}\right)IV-D Computational comparison
- Primal variables
- n
- n
- n+2m
- n+2m
- n+2m
- KKT matrix dim. (22)
- n^{2}
- n^{2}
- (n+2m)^{2}
- (n+5m)^{2}
- a\times(n+2m)
- Matrix-vector ops.
- \mathcal{O}(\iota mn)
- \mathcal{O}(\iota mn)
- \mathcal{O}(\iota mn)
- \mathcal{O}(\iota mn)
- \mathcal{O}\!\left(\iota 3m(n+2m)\right)
- Normal-matrix eval. (22)
- \mathcal{O}(mn^{2})
- \mathcal{O}(\iota mn^{2})
- \mathcal{O}(mn^{2})
- –
- –
- Matrix factorization (21)
- \mathcal{O}(n^{3})
- \mathcal{O}(\iota n^{3})
- \mathcal{O}\!\left(\iota(n+2m)^{3}\right)
- \mathcal{O}\!\left((n+5m)^{3}\right)
- \mathcal{O}\!\left(a^{2}(n+2m)+\iota a(n+2m)\right)
- Back substitution (21)
- \mathcal{O}(\iota n^{2})
- \mathcal{O}(\iota n^{2})
- \mathcal{O}\!\left(\iota(n+2m)^{2}\right)
- \mathcal{O}\!\left(\iota(n+5m)^{2}\right)
- \mathcal{O}\!\left(\iota a(n+2m)\right)
- Total
- \mathbf{\mathcal{O}}\!\left(\mathbf{mn^{2}+n^{3}+}\iota\mathbf{n(m+n)}\right)
- \mathbf{\mathcal{O}}\!\left(\iota\left(\mathbf{mn^{2}+n^{3}}\right)\right)
- \mathbf{\mathcal{O}}\!\left(\iota\mathbf{(n+2m)^{3}}\right)
- \mathbf{\mathcal{O}}\!\left(\mathbf{(n+5m)^{3}}+\iota\mathbf{(n+5m)^{2}}\right)
- \mathbf{\mathcal{O}}\!\left(\mathbf{(n+2m)}\left(\mathbf{a^{2}}+\iota\mathbf{(m+a)}\right)\right)
Each iteration of our solver (referred to as \mathcal{N}ADM), \mathcal{N}IPM [4], PIQP [12], and OSQP [15] involves the sets of operations summarized in Tab. 1. Due to the lack of elimination of \ell_{0}-norm auxiliaries, the complexities of both PIQP and OSQP are strongly influenced by the number of constraints m\gg 1 (short of cubic due to sparse linear algebra implementations), which is typically large in decision-making. On the other hand, both \mathcal{N}ADM and \mathcal{N}IPM are linearly dependent on m, while \mathcal{N}ADM needs to conduct the expensive normal-matrix assembly (22) of order \mathcal{O}(mn^{2}) only once, even if there are step-size parameter \rho_{l} updates.
V Further ADMM components
V-A Equilibration
We apply Ruiz equilibration [23] for preconditioning in order to reduce the number of iterations \iota. Here, matrix rows and columns are iteratively scaled by their inverse square root maximum absolute value until they equal to 1. For QPs, it is suggested to scale the Lagrangian Hessian \mathcal{H}_{l}\coloneqq\nabla_{q_{l},\lambda_{l}}K_{l} [15]. In the specific case of SHQPs, this leads to the scaled matrix \overline{\mathcal{H}}_{l} (symmetry indicated by \star=(\cdot)^{T}; \Sigma is a diagonal matrix containing the scaling factors):
\displaystyle\overline{\mathcal{H}}_{l} \\ \displaystyle=\Sigma\mathcal{H}_{l}\Sigma= \\ \left[\begin{array}[]{lccccccccc}&{\color[rgb]{0.5,0.5,0.5}\overline{z}_{l}}&{\color[rgb]{0.5,0.5,0.5}(\overline{v}_{d})}&{\color[rgb]{0.5,0.5,0.5}(\overline{t}_{d})}&{\color[rgb]{0.5,0.5,0.5}(\overline{v}_{i})}&{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d^{+}})}&{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d^{-}})}&{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d})}&{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{i})}&{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{j})}\\
{\color[rgb]{0.5,0.5,0.5}\overline{z}_{l}}&\overline{\widetilde{H}}_{l}&&&&&&\star&\star&\star\\
{\color[rgb]{0.5,0.5,0.5}(\overline{v}_{d})}&&&&&\star&\star&\star&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{t}_{d})}&&&&&\star&\star\\
{\color[rgb]{0.5,0.5,0.5}(\overline{v}_{i})}&&&&D&&&&\star&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d^{+}})}&&-V^{+}&T^{+}&&&&&&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d^{-}})}&&V^{-}&T^{-}&&&&&&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{d})}&\overline{\widetilde{A}}_{d}&-E&&&&&&&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{i})}&\overline{\widetilde{A}}_{i}&&&-F&&&&&\\
{\color[rgb]{0.5,0.5,0.5}(\overline{\lambda}_{j})}&\overline{\widetilde{A}}_{j}&&&&&&&&\end{array}\right]Gray entries indicate the individual Hessian rows and columns as derivatives with respect to the given vector. Overlined matrices and vectors are the equilibrated equivalents of their original counterparts. The matrices E, F D, V^{\pm}, and T^{\pm} are scaled diagonal matrices.
In the following, we make an observation which leads to simplifications in the scaled version of \overline{K}_{q}^{\rho} (10), as off-diagonal elements of the form -\rho_{d^{\pm}}T^{+}V^{+}+\rho_{d^{\pm}}T^{-}V^{-} are canceled out. We use the operator \Gamma which returns a vector containing the maximum value of each row of a matrix, or of a row / column block (\cdot) of \overline{\mathcal{H}}_{l}.
Proposition 1
Throughout the Ruiz equilibration of \nabla^{2}_{q,\lambda}\mathcal{L}, it holds that E\leq 1 and therefore V^{\pm}=T^{\pm}=I.
Proof:
Initially, E=V^{\pm}=T^{\pm}=I, so \Gamma((\overline{v}_{d}))=\Gamma((\overline{\lambda}_{d^{\pm}}))=1 follow immediately. At the same time, \Gamma((\overline{\lambda}_{d}))\leq 1 since for any maximum row value \Gamma(\overline{\widetilde{A}}_{d})<1, we have that \Gamma(E)=1>\Gamma(\overline{\widetilde{A}}_{d}). We then clearly have E\leftarrow\diag(\sqrt{(\Gamma(\overline{\lambda}_{d}))})^{-1}E\diag(\sqrt{(\Gamma(\overline{v}_{d}))})^{-1}\leq 1. In the next Ruiz iteration, \Gamma((\overline{v}_{d}))=\Gamma((\overline{\lambda}_{d^{\pm}}))=1 still holds due to the unchanged V^{\pm}=T^{\pm}=I and E\leq 1. By induction over the Ruiz iterations, the claims follow. ∎
V-B Step-size parameter \rho_{l} updates
We update the step-size parameter \rho_{l} (initially, \rho_{l}=0.1) by the update rule presented in [15], where the operator \sum\|\cdot\|_{\infty} returns the absolute maximum value of all additive components in K_{\lambda_{l}} and K_{q_{l}}:
\displaystyle\rho_{l}\leftarrow\rho_{l}\sqrt{\frac{\|K_{\lambda_{l}}\|_{\infty}/\max\left(\sum\|K_{\lambda_{l}}\|_{\infty}\right)}{\|K_{q_{l}}\|_{\infty}/\max\left(\sum\|K_{q_{l}}\|_{\infty}\right)}}It balances reduction in the normalized primal and dual residuals K_{\lambda_{l}} and K_{q_{l}}, respectively. If \rho_{l} is updated, K_{z_{l}}^{\rho} (22) needs to be updated and re-factorized.
V-C Over-relaxation
In over-relaxed ADMM, the relaxed quantity B_{l}q_{l}^{(+)}\leftarrow\alpha B_{l}q_{l}^{(+)}-(1-\alpha)(C_{l}s_{l}-c_{l}) is used in the split-variable and dual-variable updates (Sec. IV-B and IV-C) in order to reduce the number of iterations \iota [24]. The parameter \alpha\in(0,2) is the over-relaxation parameter (typically \alpha=1.6 [15]).
V-D Warm-starting
Between problem instances, for each priority level l the previously found step-size parameter \rho_{l}^{-}, and the unscaled primal, split, and dual variables q_{l}^{-}, s_{l}^{-}, and \lambda_{\Lambda}^{-}, respectively, are stored. A level l is only warm-started if the current active and inactive constraint sets {\mathcal{A}}_{\cup l-1} and {\mathcal{I}}_{\cup l-1} are identical with the ones of the previous problem instance at that level {\mathcal{A}}_{\cup l-1}^{-} and {\mathcal{I}}_{\cup l-1}^{-}, while standard initialization is used otherwise.
VI Separable decision functions
The separable structure of decision functions f_{d}(\chi) of the form as in (1) can be exploited for computational gain. One row of the Jacobian J_{d} of f_{d}(\chi) writes as:
\displaystyle a_{d}^{T} \\ \displaystyle=\hat{g}_{d}^{T}G\quad\text{with}\quad\hat{g}_{d}\coloneqq g(\chi)-g_{d},\quad G\coloneqq\frac{\partial g(\chi)}{\partial\chi}We use \hat{G}\coloneqq\begin{bmatrix}\cdots&\hat{g}_{d}&\cdots\end{bmatrix}\in\mathbb{R}^{u\times|\mathbb{D}_{l}|}. Then, a matrix product evaluated in (11) can be rewritten to:
\displaystyle A_{d}^{T}A_{d} \\ \displaystyle=G^{T}\hat{G}\hat{G}^{T}GEvaluating this matrix naively by \widetilde{G}^{T}\widetilde{G} with \widetilde{G}=\hat{G}^{T}G is of order O(|\mathbb{D}_{l}|un+|\mathbb{D}_{l}|n^{2}), so the large factor |\mathbb{D}_{l}|\gg 1 is amplified by n^{2}. Instead, by first computing \hat{G}\hat{G}^{T}, the overall evaluation is of order O(|\mathbb{D}_{l}|u^{2}+un^{2}), where |\mathbb{D}_{l}| is amplified by only u^{2}. The factor u is typically small in robotics, for example u=3 for translational reaching.
VII Evaluation
We compare the proposed solver \mathcal{N}ADM (cold and warm) with \mathcal{N}IPM [4] and PIQP [12] (both no warm-start), and OSQP [15] and qpOASES [11] (both cold and warm). PIQP, OSQP, and qpOASES solve SHQP directly without eliminating the auxiliary variables (t_{d}) and the related constraints. Except for the walking scenario (Sec. VII-D), all solvers terminate at \|K_{l}\|_{\infty}<1\cdot 10^{-3}. Timings purely reflect the solve times, while problem setup / update times, … are excluded. The robot SHQPs are composed by Pinocchio [25], with PD controllers expressed in the velocity domain [20] (Sec. VII-C and Sec. VII-D). Evaluations are run on an Intel Core Ultra 9 185H CPU with 64 GB RAM.
VII-A Large-scale LPs
\mathcal{N}IPM on large-scale LPs with p=1, n=30, and |{\mathbb{D}}_{1}|=10,100,500,1\cdot 10^{3},...,5.3\cdot 10^{5} equality constraints.We first isolate the benefit of exploiting sparse structure over general-purpose solvers based on sparse linear algebra [12, 15], independently of hierarchical effects. For this, we solve large-scale linear programs (LPs) corresponding to the case of p=1 and H_{1}=0 in SHQP. Equality constraints are composed as randomized, dense matrices with n=30 and A_{d}\in\mathbb{R}^{|{\mathbb{D}}_{1}|\times n} (|{\mathbb{D}}_{1}|=10,100,500,1\cdot 10^{3},...,5.2\cdot 10^{5}, increment: 1000). For each |{\mathbb{D}}_{1}|, we repeatedly (10\times) solve slightly disturbed problems \widetilde{A}_{d}+B in order to simulate warm-starting, where B is a randomized dense matrix with elements in the range of 1\cdot 10^{-3}\|\widetilde{A}_{d}\|_{\infty}.
Figure 3 shows that the proposed warm-started solver \mathcal{N}ADM achieves a mean speedup of around 21.42\pm 14.91% with respect to \mathcal{N}IPM (123\pm 29 and 16\pm 1 iterations, 0.07\pm 0.05s and 0.09\pm 0.06s solve time over all runs for \mathcal{N}\hskip-2.0ptADM and \mathcal{N}IPM, respectively). On the contrary, the reference solvers PIQP and OSQP are between one to two orders of magnitude slower. qpOASES is significantly slower due to its dense linear algebra implementation, but exhibits a significant drop in active-set changes (typically 0 to 3 iterations) after the initial cold solve. While PIQP does not possess explicit warm-starting functionality, its iteration count is low at 3\pm 0.4 iterations, which emphasizes the need to exploit the structure of sparse programs. PIQP, OSQP, and qpOASES could only be evaluated up to 3.6\cdot 10^{5} constraints due to their increased memory requirements (2\times variables and 3\times more constraints) as no elimination of the sparse auxiliaries takes place.
VII-B Humanoid inverse kinematic control
- \underline{1}
- Vel. lim. / trust region
- 2
- |\dot{\mathcal{Q}}|\leq 0.01
- \underline{2}
- Angle lim.
- 2
- \underline{{\mathcal{Q}}}\leq{\mathcal{Q}}\leq\overline{{\mathcal{Q}}}
- \underline{3}
- Stance
- 2
- f_{\text{LF/RF/LH}}=\nu_{\text{LF/RF/LH}}
- \underline{4}
- Coll. av.
- 2
- f_{\text{coll}}(\mathcal{Q})\geq\nu_{\text{coll}}
- \underline{5}
- Goal DM
- 0
- \|f_{\text{RH}}-f_{\text{RH},d}\|_{2}^{2}=\nu_{\text{RH},d}
Here, we evaluate warm-starting and the linear algebra implementation for separable decision functions as outlined in Sec. VI. A simulation is designed where the velocity controlled humanoid robot Unitree G1 \chi=\mathbb{R}^{29} needs to touch as many as possible passing objects out of 500.
Figure 4 shows that after 200 iterations of warm-starting \mathcal{N}ADM (maximum solve time: 4.1 ms, \mathcal{N}IPM: 3.0 ms), the solver reaches a steady level of around 1.3\pm 0.3 ms (\mathcal{N}IPM: 1.6\pm 0.1), with \mathcal{N}ADM being 23.5% faster than \mathcal{N}IPM over all control iterations. \mathcal{N}ADM (Sec. VI) and \mathcal{N}IPM (Sec. VI), which exploit the structure of the decision functions according to Sec. VI, improve the solve time per control iteration by 10% and 12% over their baselines, respectively.
VII-C Drone control
- \underline{1}
- Vel. lim. / trust region
- 2
- |\dot{\mathcal{Q}}|\leq 0.01
- \underline{2}
- Force lim.
- 2
- \underline{\mathcal{F}}\leq\mathcal{F}\leq\overline{\mathcal{F}}
- \underline{3}
- Coll. av.
- 2
- f_{\text{coll}}(\mathcal{Q})\geq\nu_{\text{coll}}
- \underline{4}
- Dynamics
- 2
- f_{\text{dyn}}(\mathcal{Q})=\nu_{\text{dyn}}
- \underline{5}
- Goal DM
- 0
- \|\mathcal{P}-P_{d}\|_{2}^{2}=\nu_{d}
- \underline{6}
- Goal tracking
- 2
- f_{\text{Drone}}(\mathcal{Q})-\mathcal{P}=\nu_{i}
- \mathcal{N}ADM
- 44.3\pm 69.7
- 0.24\pm 0.18
- 0.33
- \mathcal{N}IPM [4]
- 74.7\pm 6.0
- 0.67\pm 0.10
- 0.75
- PIQP [12]
- 64.0\pm 3.6
- 0.86\pm 0.09
- 0.97
- OSQP [15]
- 254.8\pm 541.5
- 0.38\pm 0.52
- 0.34
- qpOASES [11]
- 3.5\pm 42.9
- 9.39\pm 19.32
- 9.16
In this example, we create an SH-NLP with p=6 and n=9 for navigation of a drone with linear dynamics f_{dyn} through an obstacle course to choose one of 100 targets (see Fig. 5). The problem is solved with an instantaneous controller with \Delta t=20 ms. The drone is described by \chi=[\mathcal{P},\mathcal{Q},\mathcal{F}], where \mathcal{P}\in\mathbb{R}^{3} is the current goal location, \mathcal{Q}\in\mathbb{R}^{3} is the current drone translation [4], and \mathcal{F}\in\mathbb{R}^{3} is the control force. Since the drone is controlled via a proportional-derivative (PD) controller expressed in the velocity domain [20], imposing the decision-making directly on acceleration commands is less effective and does not accurately reflect the true decision-making error to the physical target. Instead, the decision-making is imposed on a separate goal position \mathcal{P} which chooses one of the goal locations P_{d}. The goal location is then realized by a PD controller on the last priority level. Further constraints on velocities (max 0.5 m/s), control forces (6 N and 18 N max. horizontal and vertical), and collision avoidance complete the hierarchy.
Figure 6 and Tab. 4 show how \mathcal{N}ADM is warm-started very effectively, where in many iterations the controller applies the same control \mathcal{F} in subsequent iterations. In contrast, warm-started OSQP still requires around 200 iterations, while qpOASES reaches steady-state after around 24 control iterations.
VII-D Humanoid whole-body control for walking over stepping stones
- \underline{1}
- Angle lim. / Vel. lim.
- 2
- \underline{\mathcal{Q}}\leq\mathcal{Q}\leq\overline{\mathcal{Q}}, |\dot{\mathcal{P}}|\leq 0.01 / |\dot{\mathcal{Q}}|\leq 0.01
- \underline{2}
- Torque lim.
- 2
- \underline{\mathcal{T}}\leq\mathcal{T}\leq\overline{\mathcal{T}}
- \underline{3}
- Dynamics
- 2
- f_{\text{dyn}}(\mathcal{Q})=\nu_{\text{dyn}}
- \underline{4}
- Wrench cone
- 2
- f_{\text{wc}}(\gamma)\geq\nu_{\text{wc}}
- \underline{5}
- Stance-foot
- 2
- f_{\text{LF/RF}}(\mathcal{Q})=\nu_{\text{LF/RF}}
- \underline{6}
- Coll. av.
- 2
- f_{\text{coll}}(\mathcal{Q})\geq\nu_{\text{coll}}
- \underline{7}
- DCM / upright torso
- 2
- f_{\text{stab}}(\mathcal{Q},\dot{\mathcal{Q}})\geq\nu_{\text{stab}}
- \underline{8}
- Goal DM
- 0
- \|\mathcal{P}-P_{d}\|_{2}^{2}=\nu_{d}
- \underline{9}
- Swing-foot
- 2
- f_{\text{LF/RF}}(\mathcal{P},\mathcal{Q})=\nu_{\text{LF/RF}}
- \underline{10}
- Regularization
- 2
- \chi=\nu_{i}
In this experiment, we demonstrate the integration of hierarchical decision-making within a dynamic humanoid walking controller see Fig. 1. Both the left and right feet have to make a decision on a candidate set of |{\mathbb{D}}_{8}|=200 stepping stones to step on next, while the other foot is fixed on the previously chosen stepping stone. Whole-body dynamics, joint torque limits, 6D contact wrench conditions, collision avoidance, and DCM stability constraints [26] complete the hierarchy given in Tab. 5. The variable vector \chi\in\mathbb{R}^{67} is composed of the goal location \mathcal{P}\in\mathbb{R}^{3}, joint velocities \dot{\mathcal{Q}}\in\mathbb{R}^{29}, joint torques \mathcal{T}\in\mathbb{R}^{23}, and left and right foot contact wrenches \gamma\in\mathbb{R}^{12}.
The problem can only be faithfully solved under high-accuracy settings (\|K_{l}\|_{\infty}<1\cdot 10^{-12}), which is less suitable for first-order methods like \mathcal{N}ADM and OSQP. \mathcal{N}ADM’s maximum iteration count is set to 1\cdot 10^{5}, making its computation time of 880.7\pm 413.5 ms per control iteration not competitive with \mathcal{N}IPM’s and PIQP’s runtime of 19.8\pm 2.7 ms and 66.9\pm 8.1 ms, respectively. This highlights the existence of problem classes which require high-accuracy solution regimes.
VIII Conclusion
In this work, we have presented an ADMM solver for hierarchical decision-making control, which effectively exploits temporal similarities between nonlinear solver subproblems. Evaluation shows that in low- to moderate-accuracy regimes, the solver achieves speedups of up to 23.5% over the structure-exploiting IPM [4]. At the same time, complex scenarios like humanoid walking expose the limitations of ADMM based solvers when high-accuracy solutions are required.
IX Acknowledgments
This work was supported by the RDF-24-02-060 XJTLU Research Development Fund.