3 Numerical results
We implemented Algorithm 7.1 in Matlab and illustrate its performance by means of three constrained PL test problems.
Example 7.6 (Constrained HUL).
In [12], Hiriart-Urruty and Lemaréchal considered the piecewise linear and convex function ,
To test our algorithm, we add the two constraints
and choose the feasible starting point . After reformulation of the max functions by means of the absolute value, this optimization problem requires the six switching variables and the target function
for example, one has , , , and .
Using Algorithm 7.1, 15 iterations are needed. Figure 7.1 shows a plot of the resulting kinks originating from the objective function (blue lines) and from the constraints (cyan blue lines). The inequality constraints are marked by the red lines and, therefore, the red area represents the feasible set. Finally, the iterates generated by Algorithm 7.1 are denoted by the black dots. In the plot, only 8 of the 15 iterations are marked. This is due to the fact that some of the iterations duplicate the point x when σ and ω are restricted or relaxed, that is, kinks or constraints are activated or deactivated.

Figure 7.1 Iterates generated by Algorithm 7.1 for Example 7.6.
Example 7.7 (Constrained Rosenbrock–Nesterov II).
According to [10], Nesterov suggested the Rosenbrock-like test function:
that is PL and nonconvex. It has the global minimizer and other Clarke stationary points none of which is a local minimizer [10]. From the literature [10], it is known that the starting point , , is particularly challenging, since the nonoptimal, stationary points tend to lie on the way to the only minimizer. In this paper, we consider constrained problems, therefore we add the PL constraint
Hence, there is an n-dimensional rhombus around the global minimizer, which is cut out of the . The remaining stationary points are still feasible and the minimizer is given by
For , the number of iterations required by CASM is shown in Table 7.1. The number of switches is given by . Hence, the number of visited polyhedra is much less than the total number of polyhedra given by . We also applied the MPBNGC solver [17] that implements a multiobjective proximal bundle method for nonconvex, nonsmooth, and generally constrained minimization. For , MPBNGC needed seven iterations, already for , the solver got stuck after seven iterations at a nonoptimal, stationary point. The same behavior was observed for larger values of n.
Table 7.1Number of iterations of CASM needed for Example 7.7 and different values of n.
| n | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| # | 2 | 5 | 14 | 27 | 64 | 117 | 238 | 439 | 856 | 1685 |
| n | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| # | 3382 | 6807 | 13592 | 26285 | 42994 | 82995 | 131096 | 262173 | 605342 | 1119907 |
Example 7.8.
Next, we consider a linear complementarity problem given by
for , , and . In [2], the linear complementarity problem (LCP) is formulated as a system of PL equations
where the minimum operator acts componentwise. In the same paper, the authors present an algorithm that can be viewed as a semismooth Newton method and show nonconvergence, for example, for M set to
Furthermore, they pointed out that the LCP has a unique solution for any if and only if M is a P-matrix, that is, M has positive principal minors for all nonempty . To solve (7.13) with CASM, we reformulate the LCP as
where as the vector with 1 in every component of appropriate dimension. For the starting point set to the first unit vector in as also proposed in [2], CASM needs five iterations in both cases, that is, for and , respectively, to reach the solution, that is, the zero vector of the appropriate dimension. In [2, Proposition 3.7], it is shown that the algorithm proposed in that paper does not converge but generates a circle of three and four reoccurring iterates, respectively, for these settings.