2 The constrained active signature method
In this section, we extend the ASM proposed in [8] to problems of the form (CALOP). Due to the additional equality and inequality constraints, the set of feasible points could be empty. Throughout, we assume that this is not the case such that the iteration can start with a feasible point. Subsequently, feasibility is maintained, that is, the derived algorithm is a feasible point method. If no feasible starting point is given from the application context, one can calculate such a starting point with a Phase-I-like method known from linear optimization (cf. [18, Chapter 16]).
2.1 The algorithm
Within an iteration, first a search direction is calculated as described in the following first paragraph. Then a step size is calculated as explained in the second paragraph. The third paragraph discusses the optimality condition. Based on these three main components, the entire algorithm is stated in the last paragraph of this subsection.
Computing a descent direction
To find a local minimum, the basic idea is to optimize a penalized version of the objective function on the polyhedra as defined by the signature vectors switching from one polyhedron to the next in an appropriate way. For this purpose, we add a quadratic penalty term with a positive definite matrix to the target function ensuring that there exists a minimizer on each polyhedron. Fixing one signature vector , we obtain from (CALOP) the restricted optimization problem
with and . Here, a fixed Q allows to apply CASM also for a broader range of problems. For example, when considering LASSO problems, the quadratic part of the LASSO problem can be coded using the matrix Q. For the unconstrained case, this approach was considered in [8]. Due to the fixed-signature vector, this optimization problem is smooth with a quadratic objective function and linear constraints. Applying standard KKT theory with Lagrange multipliers , , , and , we obtain the following necessary optimality conditions:
The optimization problem (7.2) could be solved using a standard QP method. However, we want to exploit the structure provided by the signature vector as an additional feature. Thus, multiplying Equation (7.3b) by Σ from the right and using Equation (7.3f) yield
Due to the complementarity condition , this inequality must hold as an equality. Hence, it follows that
Thus, with and denoting the projection onto the inactive inequality constraints, we get the linear system
where forces the active inequalities to vanish. The matrix Ω in the right lower corner ensures that ν is zero for the inactive inequality constraints. Due to the assumption that a feasible starting point exists, Equation (7.5) always has a solution, which does not necessarily have to be unique. Denoting such a solution by , we define for the current iterate x and z the directions toward the next iterate as
If , one has due to the assumed abs-linear form. For and , it follows from Equations (7.5) and (7.2e) that x and z satisfy the KKT conditions for the optimization task (7.2), that is, x is optimal on the current polyhedron defined by σ a situation denoted by feasible signature optimal.
Computing a step size β
For the solution of Equation (7.5), we check if is still valid and that the inequality constraints of Equation (7.3) still hold to ensure feasibility. For this purpose, we calculate two step sizes. First, we consider the step length from the current x in the direction to a possible kink, that is, a sign change in one component of z, given by
If , the first index for which the minimum is attained is denoted by . For , there exists a blocking kink. For it follows for also that . Thus, for σ with , one has . Hence, must hold. Second, we consider the step length from the current x in direction to a possible blocking inequality constraint . This step size is given by
where , , and l denotes the lth component of H and , respectively. If , is set to the smallest index for which the minimum is attained. For , there exists a blocking inequality constraint, that is, the solution is not feasible. Therefore, the new iterate should be chosen such that the th components of and drop to zero in comparison to and ω, respectively. Setting changes the optimality system (7.3) and a new solution of Equation (7.5) has to be computed. If , then we have and the iterate is still contained in , that is, is still valid. Since all inactive constraints are encoded in ω, one must have . The actual step size is determined as
where the upper bound 1 on β ensures with the update that the next iterate is still feasible for the optimization task (7.2) and the current σ. As can be seen, the case corresponds to the activation of a kink or inequality constraint, respectively. We will refer to this situation as a restriction of σ or ω, respectively. If , one has for the new iterate that and . In this case, is called signature stationary since the two signature vectors are kept.
Checking the optimality
If is signature stationary on the current polyhedron , one has to check whether is a minimizer of (CALOP). If this is the case, the iteration stops. Otherwise, the optimization continues in one of the neighboring polyhedra with , where
Such a can be decomposed into where . Replacing Σ in the optimality conditions (7.3) by the corresponding and using , most of the relations are still fulfilled by , and λ. Just Equation (7.4) changes in that it has as many new nontrivial component as γ, which can be written as
where . This condition is violated if and only if there exists at least one index k such that satisfies
which represented the strongest condition. In addition, we must check whether any of the components , of the Lagrange multiplier ν associated with the inequality constraints is negative. If does not hold, we choose the component for which is most violated and drop the corresponding constraint. Hence, the associated entry of ω is set to −1 relaxing ω. If holds, the current iterate is feasible signature optimal. Then we check the optimality condition given by Equation (7.10). If Equation (7.10) is not fulfilled for at least one index k, the current point is not a minimizer of (CALOP) and we leave a kink by relaxing σ setting the corresponding entry to a nonzero value via .
The overall algorithm
Putting everything together, one obtains Algorithm 7.1 consisting of three parts: The computation of the search direction (cf. line 2), the determination of the step size and in case of blocking kinks and/or inequality constraints the restriction of σ and/or ω, respectively (cf. lines 3–6) and the verification of optimality and the relaxation of kinks or constraints if required (cf. lines 7–15). As can be seen from line 2 of Algorithm 7.1, in each iteration of CASM one system of linear equations, (see Equation (7.5)) has to be solved. The dimension of this system depends on the dimensions n, s, m, and p, that is, the number of variables, the number of kinks, as well as the number of equality and inequality constraints, respectively. The numerical examples in Section 3 serve as an illustration for this complexity. Depending on the software used, properties such as the block structure (see also [13, Lemma 4.9]) or sparsity can be exploited to reduce to overall computational effort. In the applications considered so far, the matrices occurring in (CALOP) are usually very sparse. The complexity of the remaining steps is negligible.

Algorithm 7.1 Constrained active signature method (CASM).
2.2 Convergence analysis of CASM
First, we examine the question, whether CASM yields a monotone decreasing sequence of function values. Using standard assumptions, one can show that the solution of the saddle point system (7.5) yields a descent direction as defined above in Equation (7.6). Since the proof is rather technical without offering any additional benefit, we refer here to the corresponding Lemma 4.10 in the PhD thesis of T. Kreimeier [13]. Next, we reformulate the optimization problem (7.2) in that we minimize for a given point just along the direction . Furthermore, we consider only equality constraints and the active inequality constraints described by the projection , where collects the indices of the active inequality constraints at x. Then we obtain for
the optimization problem:
This optimization task comprises exactly the same constraints as the saddle point system (7.5). Hence, it will be used to show descent. Under additional regularity assumptions, the descent direction is even unique. For this purpose, we employ the following constraint qualification (cf. [11], [13]).
Definition 7.2 (LIKQ).
Let an optimization problem of the form (CALOP) and a signature vector be given. The Linear Independence Kink Qualification (LIKQ) holds at a feasible point if the active Jacobian
at has full row rank . Here, α denotes the active switching set .
Hence, LIKQ is very similar to the standard regularity condition LICQ for the smooth case in that it requires that the gradients of the active constraints must be linearly independent. For LIKQ, this additionally applies to the constraints related to the active kinks together with the active constraints.
Lemma 7.3.
Let be a solution of Equation (7.11) with . Suppose that the zero vector is no solution of Equation (7.11). Then is strictly decreasing along . If LIKQ holds, this direction is unique.
Proof.
The proof is rather technical; see [13, Lemma 4.11]. □
Proof.
Algorithm 7.1 prioritizes the multiplier ω of the inequality constraints; see line 8 versus line 11. Therefore, as long as the signature vector σ does not change, the proposed approach resembles an active set method to solve QPs. Furthermore, we always ensure a decrease in the target (see Lemma 7.3) and a step size . Such an approach determines a minimizer of problems with the structure (7.2) in finitely many steps; see, for example, [18, Chap. 16].
If the current iterate is a feasible signature stationary point of (7.2) for the currently active set of constraints, Algorithm 7.1 may change also the signature vector σ (see line 12) resulting in a change to a different polyhedron. Since there are only finitely many polyhedra and the value of the function value is consistently reduced, Algorithm 7.1 can modify the signature vector only finitely many times leading to a finite convergence of the overall algorithm. □
The last theorem considers the penalized version of the original optimization task (CALOP). Hence, when Algorithm 7.1 stops at a local minimizer of the penalized version in line 14, one has to verify that the current iterate is a minimizer of the original problem (CALOP). If this is not the case, one has to reduce the quadratic penalty term and start Algorithm 7.1 again. If (CALOP) has a minimizer and the influence of the penalty term is driven to zero in finitely many steps, this yields convergence to a minimizer of (CALOP) as proven next. In our numerical tests preformed so far, such a reduction was not necessary.
Proof.
See the proof of [13, Theorem 4.13]. □