scieee AI-readable full text Open interactive document viewer

Implicit ODE solvers with good local error control for the transient analysis of Markov models

Suñé, Víctor,Carrasco, Juan A.

Abstract

Obtaining the transient probability distribution vector of a continuous-time Markov chain (CTMC) using an implicit ordinary differential equation (ODE) solver tends to be advantageous in terms of run-time computational cost when the product of the maximum output rate of the CTMC and the largest time of interest is large. In this paper, we show that when applied to the transient analysis of CTMCs, many implicit ODE solvers are such that the linear systems involved in their steps can be solved by using iterative methods with strict control of the 1-norm of the error. This allows the development of implementations of those ODE solvers for the transient analysis of CTMCs that can be more efficient and more accurate than more standard implementations.

Full text

Implicit ODE Solvers with Good Local Error Control for the Transient Analysis of Markov Models V´ıctor Su˜n´e∗Juan Antonio Carrasco† September 14, 2016 Abstract Obtaining the transient probability distribution vector of a continuous-time Markov chain (CTMC) using an implicit ordinary differential equation (ODE) solver tends to be advantageous in terms of run-time computational cost when the product of the maximum output rate of the CTMC and the largest time of interest is large. In this paper, we show that when applied to the transient analysis of CTMCs, many implicit ODE solvers are such that the linear systems involved in their steps can be solved by using iterative methods with strict control of the 1-norm of the error. This allows the development of implementations of those ODE solvers for the transient analysis of CTMCs that can be more efficient and more accurate than more standard implementations. Keywords Implicit ODE solvers; continuous-time Markov chains; transient analysis. 1 Introduction Consider a finite continuous-time Markov chain (CTMC) X={X(t); t≥0}with infinitesimal generator. The state space of Xwill be denoted by Ω = {1,...,m}, its initial probability distribution (column) vector by p0, and the transpose of its infinitesimal generator by Q= (qi,j)1≤i,j≤m, i.e., qi,j,i6=j, will denote the transition rate from state jto state iand |qi,i|=−qi,i =Pm j=1 j6=iqj,i will denote the output rate from state i. In this paper, we will be concerned with the computation of the transient probability distribution vector of X,p(t)=(P[X(t) = i])1≤i≤m,t≥0, when Qis large and sparse. When Qis large, the only practical methods to compute p(t) are uniformization (also called randomization) [1, 2], uniformization-based methods (see, e.g., [3], [4], [5]), the Krylov-based method described in [6], and formulating p(t) as the solution of an initial value problem (IVP) for the Kolmogorov system of ordinary differential equations (ODEs) and solving the IVP using an ODE solver. When qt 1, where q= max1≤i≤m|qi,i|, this latter alternative can be very attractive from the point of view of run-time computational cost. The IVP to be solved is    dp(t) dt=Q p(t), t ≥0, p(0) = p0. (1) That IVP is stable because, using the Gershgorin circle theorem [7], which states that the eigenvalues of QT, which are the same as those of Q, lie in the union of the mdiscs in the complex plane with centers qi,i ≤0 and radii Pm j=1 j6=i|qj,i|=|qi,i|, it turns out that the eigenvalues of Qdifferent ∗Departament d’Enginyeria Electr`onica, Universitat Polit`ecnica de Catalunya. C. Colom, 1, 08222 Terrassa, Catalonia (Spain). Email address: [email protected]. †Departament d’Enginyeria Electr`onica, Universitat Polit`ecnica de Catalunya. Av. Diagonal, 647, planta 9, 08028 Barcelona, Catalonia (Spain). Email address: [email protected]. 1 from 0 have negative real part. As in [8], we will say that the IVP (1) is stiff if qt 1. That such a stiffness criterion is reasonable is argued in [8] as follows. For each distinct eigenvalue λj of Q, component iof p(t), 1 ≤i≤m, will include a factor of the form Pmj−1 k=0 ci,j,ktkeλjt, where mjdenotes the multiplicity of λjand the ci,j,k are appropriate constants. Consequently, when maxj|λj|t1, we can expect p(t) to have components with large relative variation in the time interval [0, t), making the IVP (1) stiff. But, again by the Gershgorin circle theorem, maxj|λj| is bounded from above by kQk1= 2q. Therefore, if qt 1, it is reasonable to expect the IVP (1) to be stiff. For an ODE solver applied to the solution of the IVP (1) to be effective when the IVP is stiff, the ODE solver should be implicit and, preferably, A-stable [9]. In this paper, we will consider the use of implicit ODE solvers to solve the IVP (1). Several papers have considered the use of implicit ODE solvers for solving the IVP (1) [8, 10, 11, 12, 13, 14, 15, 16]. In [8], the performance of TR-BDF2 [17], an L-stable [18] linear two-step implicit ODE solver, was analyzed. The conclusions were that the run-time computational cost of TR-BDF2 was lower than the run-time computational cost of both uniformization and the explicit ODE solver RKF45 [19], but that, being only a second-order method, it required a small step size to achieve high accuracies. In [10], TR-BDF2 and a third-order L-stable implicit Runge-Kutta ODE solver (IRK3) were compared between them and with several uniformization variants. The conclusions were that both TR-BDF2 and IRK3 were preferable to the uniformization variants and that when the required accuracy was high, the run-time computational cost of IRK3 was lower than that of TR-BDF2. The performances of TR-BDF2 and IRK3 were analyzed in [11] for the case in which Xis nearly completely decomposable [20], with the conclusion that those implicit ODE solvers should be implemented exploiting the near complete decomposability of X. In [12], the performance of IRK3 was analyzed when Xis acyclic so that Qcan be put into lower triangular form and the linear system involved in each step of the method can be solved very efficiently using direct methods. The conclusions were that IRK3 could be highly accurate and that its run-time computational cost was lower than the run-time computational cost of a uniformization variant and lower than the run-time computational cost of an improved version of an specific method for the transient analysis of acyclic CTMCs [21]. In [13], it was proposed to combine RKF45 and either TR-BDF2 or IRK3 in such a way that RKF45 is used up to some intermediate time and the other method is used from that point on. The result was a significant reduction in run-time computational cost compared with any of the ODE solvers used in isolation. In [14], the performance of several ODE solvers was analyzed (implicit Euler [22], trapezoidal rule [22], 2-stage Radau IIA [18, 23], 2-stage Gauss [24], a singly diagonally implicit Runge-Kutta ODE solver of order two with two stages, and another one of order three with two stages) with the conclusion that the trapezoidal rule implemented using extrapolation, which gives a fourth-order implicit method, was a good alternative. In [15], it was proposed to combine uniformization and TR-BDF2 in such a way that uniformization is used up to some intermediate time and TR-BDF2 is used from that point on with significant reductions in run-time computational cost compared with TRB-BDF2 and uniformization. Finally, in [16] some of the ODE solvers in the VODPK package [25] were compared with uniformization and with the Krylov-based method described in [6], with the conclusion that for kQkt > 500, the Krylov-based method and a variant of the implicit ODE solver based on backward differentiation formulae (BDFs) with variable coefficients available in the package had a run-time computational cost lower than that of uniformization. Applied to the IVP (1), an ODE solver produces approximations pn,n= 0,1,..., to p(tn) at a set of time points tnstarting from t0= 0 and p0=p0. Step n≥1 spans the solution from t=tn−1to t=tnand has step size hn=tn−tn−1. If the ODE solver is implicit, computing the approximation pn,n= 1,2,..., requires solving one or more linear systems of equations with matrices related to Q. In the case of the implicit ODE solvers considered in [8, 10, 11, 12, 13, 14, 15, 16], the linear systems were solved by using iterative methods including Gauss-Seidel (GS) [26], a mixture of Jacobi [26] and GS, successive overrelaxation (SOR) [26], and a variant of restarted GMRES [27]. The convergence of some of those methods was only analyzed in [14], where it was noted that the Jacobi method was guaranteed to converge for some of the implicit ODE solvers considered. At the best of the authors’ knowledge, the impact of the errors with which the linear systems are solved has never been explicitly analyzed. It is clear, 2 however, that if those errors are large, they can affect adversely not only the accuracy but also the run-time computational cost of the ODE solvers. Roughly speaking, the reason is that those errors may introduce significant spurious components in the computed solution associated with eigenvalues of Qof large absolute value, which are the ones that will limit most the step size and, then, to reduce to an acceptable level the impact of those spurious components in the error of the computed solution, the ODE solver may be forced to take steps smaller than the ones it would take if those errors were absent. The errors introduced in the solution of the linear systems will be referred to as step approximation errors. To clarify, the local error at step nof the ODE solver, en=pn−eQhnpn−1, has three components. The first component, called here the inherent local error, reflects the inherent error of the approximation formula underlying the ODE solver and is in=p+ n−eQhnpn−1, where p+ nis pncomputed exactly. The second component, which is the one that we call step approximation error, reflects the error introduced by solving the linear systems using iterative and, hence, inexact methods. Formally, that error is sn=b pn−p+ n, where b pnis pn computed by solving the linear systems using iterative methods, ignoring the impact of round-off errors. The third component of the local error collects the impact of round-off errors on pn. The 1-norm is a convenient norm for measuring and controlling local error components for the IVP (1). The reason is that (eQτ)T= eQTτ,τ≥0, being a stochastic matrix, we have keQτk1= 1, τ≥0, implying that, measured in the 1-norm, local errors will not be amplified as they propagate through the solution to define the global error. Therefore, according to the discussion in the previous paragraph, it is convenient that ksnk1,n= 0,1, . . . , be small enough. But, ksnk1will be determined by the stopping criterion of the iterative method with which the involved linear systems are solved and unless there exists strict control of ksnk1, any reasonable implementation of the ODE solver will have to use heuristic stopping criteria trying to guarantee that ksnk1are indeed small enough. If such criteria are optimistic, in the sense that the actual ksnk1are larger than the intended ones, the ODE solver may be forced to take smaller steps than necessary, impacting adversely the run-time computational cost of the ODE solver. On the contrary, if the stopping criteria are pessimistic, the number of required iterations in the solution of the linear systems can be larger than necessary, again impacting adversely the run-time computational cost of the ODE solver. In conclusion, having strict control of the step approximation errors can be convenient from the point of view of both the quality of control of the error and the run-time computational cost of the ODE solver. In this paper, we show that when applied to the IVP (1), many implicit ODE solvers are such that, using a known upper bound for the ∞-norm of the inverse of a strictly diagonally dominant matrix, the properties of the matrix Qallow to adapt some classes of iterative methods to solve the linear systems with strict control of the 1-norm of the step approximation error. Using some of the adapted iterative methods, we will describe an implementation with strict control of the 1-norm of the step approximation error of an implicit ODE solver based on BDFs with variable coefficients and will show, using numerical experiments, that that implementation can be more efficient and more accurate than a reasonable standard implementation. The rest of the paper is organized as follows. In Section 2, we show how two classes of iterative methods to solve linear systems can be modified to provide strict error control when applied to linear systems with strictly diagonally dominant matrices. In Section 3, we identify three classes of implicit ODE solvers that when applied to the IVP (1), the properties of the matrix Qallow to solve the linear systems involved in each step by using iterative methods with the modifications discussed in Section 2 with strict control of the 1-norm of the step approximation error. In Section 4, we review an implicit ODE solver based on BDFs with variable coefficients when applied to the IVP (1) and describe two implementations of that ODE solver: An implementation that provides strict control of the 1-norm of the step approximation error and a reasonable standard implementation that does not provide such a control. In Section 5, we compare the performance of the implementation of VBDF with strict control of the 1-norm of the step approximation error with that of the standard implementation. Finally, Section 6 presents the conclusions. The online supplement collects the mathematical proofs of some theoretical results used in the paper. 3 2 Strictly Diagonally Dominant Matrices and Iterative Methods Assume we want to solve the linear system Vx =u,(2) where V= (vi,j)1≤i,j≤nis a real or complex nonsingular matrix of dimension n. This section shows how iterative methods that produce the residual after each iteration or after a predefined number of iterations and splitting-based iterative methods can be modified to provide strict control of the error of the solution of (2), ignoring the impact of round-off errors. Iterative methods producing the residual after each iteration or after a predefined number of iterations include well-known Krylov subspace methods such as restarted GMRES, CGS [28], the implementation of QMR described in [29], and Bi-CGSTAB [30]. Splitting-based iterative methods include GS, Jacobi, and SOR. In all those iterative methods, iterates x(l),l= 0,1,2, . . . are obtained which should converge to the solution of the linear system. We will say that Vis strictly row diagonally dominant (SRDD) if |vi,i|>Pn j=1 j6=i|vi,j|, 1 ≤i≤n. This collects the usual notion of a strictly diagonally dominant matrix. Similarly, Vwill be said to be strictly column diagonally dominant (SCDD) if |vi,i|>Pn j=1 j6=i|vj,i|, 1 ≤i≤n. Note that, using the Gershgorin circle theorem [7] and the fact that a matrix and its transpose have the same eigenvalues, both SRDD and SCDD matrices are nonsingular, since the union of the corresponding Gershgorin circles does not include the origin. The following proposition collects several results that can be easily obtained from a well-known result on the ∞-norm of the inverse of an SRDD matrix [31, 32]. Proposition 1. Consider the linear system (2) and let ybe an arbitrary vector of dimension n. Then: 1. If Vis SRDD, kV−1k∞≤1 min1≤i≤n{|vi,i|−Pn j=1 j6=i|vi,j|} . 2. If Vis SCDD, kV−1k1≤1 min1≤i≤n{|vi,i|−Pn j=1 j6=i|vj,i|} . 3. If Vis SRDD, kx−yk∞≤ku−Vyk∞ min1≤i≤n{|vi,i|−Pn j=1 j6=i|vi,j|} . 4. If Vis SCDD, kx−yk1≤ku−Vyk1 min1≤i≤n{|vi,i|−Pn j=1 j6=i|vj,i|} . Proof. See the online supplement. Consider the application to the solution of (2) of iterative methods that produce the residual, u−Vx(l), after each iteration or after a predefined number of iterations. The following theorem, which is an almost direct consequence of Proposition 1, specifies when to stop the iterations to provide strict control of the ∞-norm or the 1-norm of the error. Theorem 1. Let δ > 0and consider the application to the solution of (2) of an iterative method that produces the residual after each iteration or after a predefined number of iterations. If the 4 matrix Vis SRDD, to guarantee, if the method is successful, kx−x(l)k∞≤δ,l≥0, it suffices to stop the method when the residual satisfies ku−Vx(l)k∞≤δmin 1≤i≤nn|vi,i|− n X j=1 j6=i |vi,j|o, and, if the matrix Vis SCDD, to guarantee, if the method is successful, kx−x(l)k1≤δ,l≥0, it suffices to stop the method when the residual satisfies ku−Vx(l)k1≤δmin 1≤i≤nn|vi,i|− n X j=1 j6=i |vj,i|o. Proof. See the online supplement. Often, restarted GMRES, CGS, QMR, and Bi-CGSTAB use preconditioning to speed up their convergence. Preconditioning means replacing the linear system (2) by the equivalent one M−1 1VM−1 2y=M−1 1u,y=M2x, where M1and M2are the left- and right-preconditioner. In practice, it is not necessary to use both preconditioners. Theorem 1 also holds for the particular case of right-preconditioned methods, i.e., when M1is an identity matrix, which still produce the true residual. Splitting-based iterative methods are based on an splitting of V,V=M−N, and are defined by the recurrence x(l+1) =M−1Nx(l)+M−1u.(3) With the decomposition V=D+L+U, where Dis the diagonal of V,Lis the strict lower part of V, and Uis the strict upper part of V, Jacobi is obtained for M=Dand N=−(L+U), GS for M=D+Land N=−U, and SOR with relaxation parameter ωfor M=D/ω +Land N= ((1 −ω)/ω)D−U. Strict diagonal dominance by rows of the matrix Vensures convergence of Jacobi and convergence of SOR for 0 < ω < 2/(1 + ρJ), where ρJdenotes the spectral radius of the Jacobi iteration matrix −D−1(L+U) [33]. From [34], strict diagonal dominance by columns of the matrix Valso ensures convergence of Jacobi. Finally, strict diagonal dominance by rows or by columns of the matrix Vensures convergence of GS [34]. Consider the application to the solution of (2) of splitting-based iterative methods. The following theorem specifies when to stop the iterations to provide strict control of the ∞-norm or the 1-norm of the error. Theorem 2. Let δ > 0and consider the application to the solution of (2) of an splitting-based method defined by (3). If the matrix Vis SRDD, to guarantee, if the method is successful, kx− x(l)k∞≤δ,l≥1, it suffices to stop the method when kx(l)−x(l−1)k∞≤δ min1≤i≤n{|vi,i|−Pn j=1 j6=i|vi,j|} kNk∞ , and, if the matrix Vis SCDD, to guarantee, if the method is successful, kx−x(l)k1≤δ,l≥1, it suffices to stop the method when kx(l)−x(l−1)k1≤δ min1≤i≤n{|vi,i|−Pn j=1 j6=i|vj,i|} kNk1 . Proof. See the online supplement. 5 3 Strict Control of the Step Approximation Error This section will identify three classes of implicit ODE solvers such that when applied to the IVP (1), ignoring the impact of round-off errors, the properties of the matrix Qallow to solve the linear systems involved in each step by using iterative methods with strict control of the 1-norm of the step approximation error. Before identifying the classes, we need to describe briefly implicit Runge-Kutta (IRK) ODE solvers and linearly implicit Runge-Kutta (LIRK) ODE solvers (also called Rosenbrock ODE solvers). A step of an s-stage IRK ODE solver applied to the IVP (1) is defined by pn=pn−1+hn s X j=1 bjQ gj, n = 1,2, . . . , where the stage vectors gi,k= 1, . . . , s, are the solution to the m×s-dimensional linear system gi=pn−1+pn−1+hn s X j=1 ai,jQ gj, i = 1,...,s. The real quantities ai,j,bj, 1 ≤i, j ≤s, are coefficients of the IRK ODE solver and at least one coefficient ai,j,j≥i, is nonzero. Let A= (ai,j)1≤i,j≤sand b= (bi)1≤i≤s. Also, let ⊗denote the Kronecker product, let 1kdenote an all-ones vector of dimension k, and let Indenote an identity matrix of dimension n. In practice [22], it is more convenient to introduce the vectors zi=gi−pn−1,1≤i≤s , and z= (z1T,...,zsT)Tand formulate the IRK ODE solver as (Is⊗Im−hnA⊗Q)z=hn(A 1s)⊗(Q pn−1),(4) pn=pn−1+hn(bT⊗Im)(Is⊗Q)z+1s⊗(Qpn−1).(5) If the matrix Ais invertible, we have, from (4), (A−1⊗Im)z=hn(Is⊗Q)z+1s⊗(Qpn−1) and, therefore, denoting dT= (d1, . . . , ds) = bTA−1, (5) is equivalent to the more convenient expression pn=pn−1+ (dT⊗Im)z.(6) For the IVP (1), a step of an s-stage LIRK ODE solver is defined by pn=pn−1+ s X j=1 βjηj, n = 1,2, . . . , where the vectors ηi,i= 1, . . . , s are the solution to the m×s-dimensional linear system ηi=hnQpn−1+hnQi−1 X j=1 (αi,j +γi,j)ηj+γi,iηi, i = 1,...,s. The real quantities αi,j,βi,γi,k, 1 ≤i≤s, 1 ≤j≤i−1, 1 ≤k≤i, are the coefficients of the LIRK ODE solver. Let Θ= (θi,j)1≤i,j≤s= (γi,j +αi,j)1≤i,j≤s. If Θis invertible, then, denoting Θ−1= (θ(−1) i,j )1≤i,j≤sand defining ω= (ω1T,...,ωsT)T= (Θ⊗Im)(η1T,...,ηsT)T, the method is more conveniently formulated as (Θ−1⊗Im)ω=Is⊗(hnQpn−1)+(Is⊗hnQ)ω,(7) pn=pn−1+(β1, . . . , βs)Θ−1⊗Imω=pn−1+ s X k=1 s X j=k βjθ(−1) j,k ωk.(8) 6 We claim that when applied to the IVP (1), the following three classes of implicit ODE solvers are such that the linear systems involved in each step can be solved by using iterative methods with strict control of the 1-norm of the step approximation error: 1. Implicit ODE solvers for which pnis the solution to a linear system of the form (a(n)Im−Q)pn=un, n = 1,2, . . . , (9) where a(n)>0 for all n. 2. IRK ODE solvers such that either ai,j = 0 for all j > i (such ODE solvers are called diagonally implicit Runge-Kutta —DIRK— ODE solvers ), a1,1≥0, and ai,i >0 for all i≥2, or else the matrix Ais invertible and the eigenvalues of A−1are all distinct and have positive real part. 3. LIRK ODE solvers with γi,i >0 for all i. To justify the claim, we will need the following two results. The first one states that under certain conditions, a matrix of the form (χ+ j ω)Im−ξQ, where χ,ω,ξare real quantities and j = √−1, is SCDD. The second result will be needed to justify the claim in the case of DIRK and LIRK ODE solvers. Proposition 2. Let χ,ω,ξbe real quantities satisfying χ ξ > 0, or χ= 0,ω6= 0. Then, the possibly complex matrix V= (vi,j)1≤i,j≤m= (χ+ j ω)Im−ξQis SCDD and min 1≤i≤m|vi,i|− m X j=1 j6=i |vj,i|=|χ+ j ω+ξq|−|ξ|q . Proof. See the online supplement. Proposition 3. Let nbe a positive integer, let χk,j ,ξk,j,1≤k, j ≤n, be real quantities such that χk,kξk,k >0, and consider the sets of vectors {xk,1≤k≤n: (χk,kIm−ξk,kQ)xk= uk+Pk−1 j=1 (ξk,jQ+χk,jIm)xj},{e x∗ k,1≤k≤n}, and {x∗ k,1≤k≤n: (χk,kIm−ξk,kQ)x∗ k= uk+Pk−1 j=1 (ξk,jQ+χk,jIm)e x∗ j}, where uk,1≤k≤n, are real vectors. Then, kxk−e x∗ kk1≤ k−1 X j=1 2|ξk,j |min nq |χk,k|,1 |ξk,k|o+|χk,j| |χk,k|kxj−e x∗ jk1+kx∗ k−e x∗ kk1,1≤k≤n . Proof. See the online supplement. We will now justify that the linear systems involved in each of the three classes of ODE solvers previously mentioned can be solved by using iterative methods with strict control of the 1-norm of the step approximation error. 3.1 Class 1 This class includes the implicit ODE solvers for which pnis the solution to (9) with a(n)>0, n= 1,2, . . . . By Proposition 2 with χ=a(n), ω= 0, and ξ= 1, it follows that the matrix V= (vi,j)1≤i,j≤m=a(n)Im−Qis SCDD and that min1≤i≤m{|vi,i|−Pm j=1 j6=i|vj,i|} =|a(n)+q|−q=a(n). Therefore, given ε > 0, if the linear system (9) is solved using iterative methods that produce the residual after each iteration or after a predefined number of iterations, with stopping criterion kun−(a(n)Im−Q)p(l) nk1≤ε a(n), l ≥0,(10) 7 or is solved using splitting-based iterative methods defined by (3) with x=pn,M−N=a(n)Im− Q, and u=un, with stopping criterion kp(l) n−p(l−1) nk1≤εa(n) kNk1 , l ≥1,(11) by Theorems 1 and 2 with δ=εand min1≤i≤m{|vi,i|−Pm j=1 j6=i|vj,i|} =a(n) we will have ksnk1≤ε, i.e., strict control of the 1-norm of the step approximation error.1 3.2 Class 2 This class includes DIRK ODE solvers with a1,1≥0, and ai,i >0 for all i≥2 and IRK ODE solvers such that the matrix Ais invertible and the eigenvalues of A−1are all distinct and have positive real part. Consider first an s-stage DIRK ODE solver with ai,i >0, 1 ≤i≤s. In this case, the m×sdimensional linear system (4) can be split into a set of scoupled linear systems of dimension m each, 1 hnak,k Im−Qzk=1 ak,k k X j=1 ak,jQpn−1+ k−1 X j=1 ak,j ak,k Qzj, k = 1,...,s. These linear systems can be solved for increasing values of kstarting at k= 1. This implies that the linear systems actually dealt with will be 1 hnak,k Im−Qz∗ k=1 ak,k k X j=1 ak,jQpn−1+ k−1 X j=1 ak,j ak,k Qe z∗ j, k = 1,...,s, (12) where e z∗ k, 1 ≤k≤s, denotes the computed approximation for z∗ k. Let V= (vi,j)1≤i,j≤m= (1/(hnak,k))Im−Q. By Proposition 2 with χ= 1/(hnak,k), ω= 0, and ξ= 1, it follows that the matrix Vis SCDD and that min1≤i≤m{|vi,i| − Pm j=1 j6=i|vj,i|} =|1/(hnak,k) + q|− q= 1/(hnak,k). Therefore, if the kth linear system (12) is solved using iterative methods that produce the residual after each iteration or after a predefined number of iterations, with stopping criterion w w w w 1 ak,k k X j=1 ak,jQpn−1+ k−1 X j=1 ak,j ak,k Qe z∗ j−1 hnak,k Im−Qz∗(l) kw w w w1≤δ1 hnak,k , l ≥0,(13) for some δ > 0, or is solved using splitting-based iterative methods defined by (3) with x=z∗ k, M−N= (1/(hnak,k))Im−Q, and u= (1/ak,k)(Pk j=1 ak,j)Qpn−1+Pk−1 j=1 (ak,j/ak,k)Qe z∗ j, with stopping criterion kz∗(l) k−z∗(l−1) kk1≤δ1 hnak,kkNk1 , l ≥1,(14) for some δ > 0, by Theorems 1 and 2 with min1≤i≤m{|vi,i| − Pm j=1 j6=i|vj,i|} = 1/(hnak,k), we will have kz∗ k−e z∗ kk1≤δ. Then, by Proposition 3 with xk=zk,χk,k = 1/(hnak,k), ξk,k = 1, uk= (1/(ak,k))(Pk j=1 ak,j)Qpn−1,ξk,j =ak,j/ak,k, 1 ≤j≤k−1, χk,j = 0, 1 ≤j≤k−1, e x∗ k=e z∗ k,x∗ k=z∗ k, and n=s, it follows that kzk−e z∗ kk1≤ k−1 X j=1 2|ak,j | ak,k min nqhnak,k,1oνj(δ) + δ=νk(δ), k = 1,...,s. Now, since Ais invertible because, as assumed, ai,i >0, 1 ≤i≤s, we can compute pnusing (6) with zkreplaced by the approximation e z∗ k, incurring a step approximation error snthat will satisfy 1Note that, since we are ignoring the impact of round-off errors, we have, in terms of the notation introduced in Section 1, b pn=p(l) n,p+ n=pnand, therefore, sn=b pn−p+ n=p(l) n−pn. 8 ksnk1≤Ps k=1|dk|kzk−e z∗ kk1≤Ps k=1|dk|νk(δ). Therefore, given some ε > 0, taking for δin (13), (14) the value of xthat satisfies Ps k=1|dk|νk(x) = εwill result in ksnk1≤ε, i.e., strict control of the 1-norm of the step approximation error. Consider next an s-stage DIRK ODE solver with a1,1= 0 and ai,i >0, 2 ≤i≤s. In this case, the m×s-dimensional linear system (4) can be split into z1= (0,...,0)Tand the set of s−1 coupled linear systems 1 hnak,k Im−Qzk=1 ak,k k X j=1 ak,jQpn−1+ k−1 X j=2 ak,j ak,k Qzj, k = 2,...,s. Those linear systems can be solved for increasing values of kstarting at k= 2. This implies that the linear systems actually dealt with will be 1 hnak+1,k+1 Im−Qz∗ k+1 =1 ak+1,k+1 k+1 X j=1 ak+1,jQpn−1+ k−1 X j=1 ak+1,j+1 ak+1,k+1 Qe z∗ j+1, k = 1, . . . , s−1, (15) where e z∗ k, 2 ≤k≤s, denotes the computed approximation for z∗ k. We have already argued that the matrix V= (vi,j)1≤i,j≤m= (1/(hnak+1,k+1))Im−Qis SCDD and that min1≤i≤m{|vi,i| − Pm j=1 j6=i|vj,i|} = 1/(hnak+1,k+1). Consequently, if the kth linear system (15) is solved using iterative methods that produce the residual after each iteration or after a predefined number of iterations, with stopping criterion w w w w 1 ak+1,k+1 k+1 X j=1 ak+1,jQpn−1+ k−1 X j=1 ak+1,j+1 ak+1,k+1 Qe z∗ j+1 −1 hnak+1,k+1 Im−Qz∗(l) k+1w w w w1 ≤δ1 hnak+1,k+1 , l ≥0,(16) for some δ > 0, or is solved using splitting-based iterative methods defined by (3) with x=z∗ k+1,M−N= (1/(hnak+1,k+1))Im−Q, and u= (1/ak+1,k+1)(Pk+1 j=1 ak+1,j)Qpn−1+ Pk−1 j=1 (ak+1,j+1/ak+1,k+1)Qe z∗ j+1, with stopping criterion kz∗(l) k+1 −z∗(l−1) k+1 k1≤δ1 hnak+1,k+1kNk1 , l ≥1,(17) for some δ > 0, by Theorems 1 and 2 with min1≤i≤m{|vi,i| − Pm j=1 j6=i|vj,i|} = 1/(hnak+1,k+1), we will have kz∗ k+1 −e z∗ k+1k1≤δ. Therefore, by Proposition 3 with xk=zk+1,χk,k = 1/(hnak+1,k+1), ξk,k = 1, uk= (1/(ak+1,k+1))(Pk+1 j=1 ak+1,j)Qpn−1,ξk,j =ak+1,j+1/ak+1,k+1, 1 ≤j≤k−1, χk,j = 0, 1 ≤j≤k−1, e x∗ k=e z∗ k+1,x∗ k=z∗ k+1, and n=s−1, it follows that kzk+1 −e z∗ k+1k1≤ k−1 X j=1 2|ak+1,j+1| ak+1,k+1 min nqhnak+1,k+1,1oνj+1(δ) + δ =νk+1(δ), k = 1, . . . , s −1. Now, denoting A0= (ai,j)2≤i,j≤s,z0= (z2T,...,zsT)Tand recalling that z1= (0,...,0)T, we have, by (4), (Is−1⊗Im−hnA0⊗Q)z0=hn(A01s−1)⊗(Q pn−1)+(a2,1, . . . , as,1)T⊗(Q pn−1), which, since the matrix A0is invertible because, as assumed, ai,i >0, 2 ≤i≤s, implies ((A0)−1⊗Im)z0=hn(Is−1⊗Q)z0+1s−1⊗(Qpn−1) + (A0)−1(a2,1, . . . , as,1)T⊗(Qpn−1). 9 1 2 34 8 σ ω ξξψϕ µ λ ϕ ξ ϕ ϕ ϕ 7 5 6 10−310−1101103105107 t(h) 10−12 10−10 10−8 10−6 10−4 10−2 100 p[1](t) p[2](t) p[3](t) p[4](t) p[5](t) p[6](t) p[7](t) p[8](t) Figure 1: Left: State diagram of the CTMC model of one component of the first example (λ= 2×10−6h−1,µ= 1 h−1,ξ= 10−2h−1,ω= 10 h−1,ψ= 5 h−1,ϕ= 10−6h−1,σ= 10−8h−1); right: Probabilities p[i](t), 1 ≤i≤8, as a function of tin double logarithmic scale for the first example. computation of p(t) for t∈ T ={10−3,10−2,...,108}h. Therefore, for the largest value of twe consider, we have qt = 7.505 ×109. The second example is the CTMC model of a system consisting of six identical, independent components whose infinitesimal generator has real eigenvalues only. The state of each component is modeled by the CTMC with the state diagram shown in Figure 2, left. For this example, Qis a matrix of dimension 15 625 with 390 625 nonnull entries and q= 6.0012 h−1. The eigenvalues of the infinitesimal generator of each component are, up to the sixth digit, 0 h−1,−1.04000 ×10−4h−1 −2.03000 ×10−4h−1,−5.00210 ×10−1h−1, and −1.00021 h−1. Consequently, the two smallest (in absolute value) eigenvalues of Qare 0 h−1and −1.04000 ×10−4h−1and the largest one is 6×(−1.00021) h−1. The initial probability distribution vector is one for the state in which each component is in state 5 and zero for the remaining states. To illustrate how p(t) varies with t, in Figure 2, right we plot the evolution of p[i](t), for 1 ≤i≤5. For this example, we target the computation of p(t) for t∈ T. Therefore, for the largest value of twe consider, we have qt = 6.0012 ×108, so this example is less stiff than the first one. To compare the implementation with strict control of the 1-norm of the step approximation error with the standard implementation, for each example we obtained p(t), t∈ T, by computing with high accuracy using the Maple (TM) software [43] the probability vector, pcomp(t), of the CTMC of one component and using the well-known fact that for a CTMC model of a system made up of cidentical, independent components, we have p(t) = Nc i=1 pcomp(t). Next, we computed the approximate solution pn,tn=t∈ T, with tol = 10−4,10−5,...,10−12, using the implementations and measured, for each value of tol, the accuracy, defined as maxt∈T ,tn=tkp(t)−pnk1, and the corresponding cumulative computing time to obtain pn,tn=t∈ T. The results are given in Figures 3 and 4. As we can see, the implementation of VBDF with strict control of the 1-norm of the step approximation error is more efficient than the standard implementation, in the sense of being able to achieve the same accuracy in less computing time. That reduction in computing time is more noticeable for not too tight local error tolerances. We also observe that the implementation of VBDF with strict control of the 1-norm of the step approximation error provides a better control of the global error, in the sense of yielding an accuracy maxt∈T ,tn=tkp(t)−pnk1that is closer to tol. To better appreciate this fact, in Figures 5 and 6 we give, for each example, the accuracy as a function of tol. As it can be seen, the accuracy yielded by the implementation of VBDF with strict control of the 1-norm of the step approximation error is never worse than that of the standard 16 5 3 4 1 2 µ ωξ ωξ ξ ω λλ λ λ λ µµ µ µ µ µ λλ 10−310−1101103105 t(h) 10−12 10−10 10−8 10−6 10−4 10−2 100 p[1](t) p[2](t) p[3](t) p[4](t) p[5](t) Figure 2: Left: State diagram of the CTMC model of one component of the second example (λ= 1 ×10−6h−1,µ= 1 ×10−4h−1,ω= 5 ×10−6h−1,ξ= 5 ×10−1h−1); right: Probabilities p[i](t), 1 ≤i≤5, as a function of tin double logarithmic scale for the second example. 10−11 10−10 10−9 10−8 10−7 10−6 10−5 10−4 10−3 10−2 maxt∈T,tn=tkp(t)−pnk1 102 40 50 60 70 80 90 120 140 160 200 240 280 computing time (s) (10−4)(10−5) (10−6) (10−7) (10−8) (10−9) (10−10) (10−11) (10−12) (10−4)(10−5)(10−6) (10−7)(10−8) (10−9) (10−10) (10−11) (10−12) strict standard Figure 3: First example: Cumulative computing time to obtain pn,tn=t∈ T, as a function of the accuracy maxt∈T ,tn=tkp(t)−pnk1for the implementation of VBDF with strict control of the 1-norm of the step approximation error (strict) and the standard implementation (standard). (Next to each point it is given, between parenthesis, the corresponding value of the local error tolerance tol.) 17 10−11 10−10 10−9 10−8 10−7 10−6 10−5 10−4 10−3 maxt∈T,tn=tkp(t)−pnk1 101 4 5 6 7 8 15 20 25 30 40 50 60 70 computing time (s) (10−4) (10−5) (10−6) (10−7) (10−8) (10−9) (10−10) (10−11) (10−12) (10−4) (10−5) (10−6) (10−7) (10−8) (10−9) (10−10) (10−11) (10−12) strict standard Figure 4: Second example: Cumulative computing time to obtain pn,tn=t∈ T, as a function of the accuracy maxt∈T ,tn=tkp(t)−pnk1for the implementation of VBDF with strict control of the 1-norm of the step approximation error (strict) and the standard implementation (standard). (Next to each point it is given, between parenthesis, the corresponding value of the local error tolerance tol.) 10−12 10−11 10−10 10−9 10−8 10−7 10−6 10−5 10−4 tol 10−10 10−8 10−6 10−4 10−2 maxt∈T,tn=tkp(t)−pnk1 strict standard Figure 5: First example: Accuracy maxt∈T ,tn=tkp(t)−pnk1as a function of the local error tolerance tol for the implementation of VBDF with strict control of the 1-norm of the step approximation error (strict) and the standard implementation (standard). (The dashed line corresponds to maxt∈T ,tn=tkp(t)−pnk1=tol.) 18 10−12 10−11 10−10 10−9 10−8 10−7 10−6 10−5 10−4 tol 10−12 10−10 10−8 10−6 10−4 maxt∈T,tn=tkp(t)−pnk1 strict standard Figure 6: Second example: Accuracy maxt∈T ,tn=tkp(t)−pnk1as a function of the local error tolerance tol for the implementation of VBDF with strict control of the 1-norm of the step approximation error (strict) and the standard implementation (standard). (The dashed line corresponds to maxt∈T ,tn=tkp(t)−pnk1=tol.) implementation and can be noticeably better for not too tight local error tolerances. 6 Conclusions This paper has identified three classes of implicit ODE solvers such that when applied to the transient analysis of CTMCs, each step can be computed using iterative methods to solve the involved linear systems with strict control of the 1-norm of the step approximation error. Based on these results, an implementation of VBDF with strict control of the 1-norm of the step approximation error has been developed. Using two examples covering two representative scenarios (one in which the spectrum of Qincludes real and complex eigenvalues and another in which all the eigenvalues of Qare real), it has been shown that the implementation with strict control of the 1-norm of the step approximation error can be more efficient and more accurate than a reasonable standard implementation. References [1] Winfried K. Grassmann. Transient solutions in Markovian queueing systems. Computers & Operations Research, 4(1):47–53, 1977. [2] Donald Gross and Douglas R Miller. The randomization technique as a modeling tool and solution procedure for transient Markov processes. Operations Research, 32(2):343–361, 1984. [3] Aad P. A. van Moorsel and William H. Sanders. Adaptive uniformization. Stochastic Models, 10(3):619–647, 1994. [4] Aad P. A. Van Moorsel and William H. Sanders. Transient solution of Markov models by combining adaptive and standard uniformization. Reliability, IEEE Transactions on, 46(3):430– 440, 1997. 19 [5] Roger B. Sidje, Kevin Burrage, and Shev MacNamara. Inexact uniformization method for computing transient distributions of Markov chains. SIAM Journal on Scientific Computing, 29(6):2562–2580, 2007. [6] Roger B. Sidje. Expokit: a software package for computing matrix exponentials. ACM Transactions on Mathematical Software, 24(1):130–156, 1998. [7] Semyon Aranovich Gershgorin. Uber die abgrenzung der eigenwerte einer matrix. Bulletin of the Russian Academy of Sciences-Mathematical series, (6):749–754, 1931. [8] Andrew Reibman and Kishor Trivedi. Numerical transient analysis of Markov models. Computers & Operations Research, 15(1):19–36, 1988. [9] Germund G. Dahlquist. A special stability problem for linear multistep methods. BIT Numerical Mathematics, 3(1):27–43, 1963. [10] Manish Malhotra, Jogesh K. Muppala, and Kishor S. Trivedi. Stiffness-tolerant methods for transient analysis of stiff Markov chains. Microelectronics Reliability, 34(11):1825–1841, 1994. [11] J¨urgen Dunkel and Harald Stahl. On the transient analysis of stiff Markov chains. In Dependable Computing for Critical Applications 3, pages 137–160. Springer, 1993. [12] Cristoph Lindemann, Manish Malhotra, and Kishor S. Trivedi. Numerical methods for reliability evaluation of Markov closed fault-tolerant systems. IEEE Transactions on Reliability, 44(4):694–704, 1995. [13] Manish Malhotra. A computationally efficient technique for transient analysis of repairable Markovian systems. Performance Evaluation, 24:311–331, 1995. [14] B. Tombuyses and J. Devoogth. Solving Markovian systems of O.D.E. for availability and reliability calculations. Reliability Engineering and System Safety, 48:47–55, 1995. [15] Manish Malhotra. An efficient stiffness-insensitive method for transient analysis of Markov availability models. IEEE Transactions on Reliability, 45(3):426–428, 1996. [16] Roger B. Sidje and William J. Stewart. A numerical study of large sparse matrix exponentials arising in Markov chains. Computational Statistics & Data Analysis, 29(3):345–368, 1999. [17] Randolph E. Bank, William M. Coughran, Wolfgang Fichtner, Eric H. Grosse, Donald J. Rose, and R. Kent Smith. Transient simulation of silicon devices and circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 4(4):436–451, 1985. [18] Byron L. Ehle. On Pad´e approximations to the exponential function and A-stable methods for the numerical solution of initial value problems. Technical Report CSRR 2010, Univ. of Waterloo, Dept. AACS, 1969. [19] E. Fehlberg. Klassische Runge-Kutta-formeln vierter und niedrigerer ordnung mit schrittweiten-kontrolle und ihre anwendung auf wrmeleitungsprobleme. Computing, 6(1-2):61– 71, 1970. [20] P. J. Curtois. Decomposability : queueing and computer system applications. Academic Press, 1977. [21] Raymond A Maire, Andrew L Reibman, and Kishor S Trivedi. Transient analysis of acyclic Markov chains. Performance Evaluation, 7(3):175–194, 1987. [22] E. Hairer and G. Wanner. Solving Ordinary Differential Equations II: Stiff and Differential- Algebraic Problems, 2nd revised edition. Springer, 1996. [23] Owe Axelsson. A class of A-stable methods. BIT Numerical Mathematics, 9(3):185–199, 1969. 20 [24] John C. Butcher. Implicit Runge-Kutta processes. Mathematics of Computation, 18(85):50– 64, 1964. [25] George D. Byrne. Pragmatic experiments with Krylov methods in the stiff ODE setting. In J. R. Cash and I. Gladwell, editors, Computational Ordinary Differential Equations, pages 323–356. Oxford University Press, 1992. [26] Richard S. Varga. Matrix iterative analysis, volume 27 of Springer Series in Computational Mathematics. Springer, 2009. [27] Youcef Saad and Martin H. Schultz. GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM Journal on scientific and statistical computing, 7(3):856–869, 1986. [28] Peter Sonneveld. CGS, a fast Lanczos-type solver for nonsymmetric linear systems. SIAM Journal on Scientific and Statistical Computing, 10(1):36–52, 1989. [29] R. Barrett, M. Berry, T. F. Chan, J. Demmel, J. Donato, J. Dongarra, V. Eijkhout, R. Pozo, C. Romine, and H. Van der Vorst. Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods, 2nd Edition. SIAM, Philadelphia, PA, 1994. [30] H. A. van der Vorst. Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems. SIAM Journal on Scientific and Statistical Computing, 13(2):631–644, 1992. [31] J. H. Ahlberg and E. N. Nilson. Convergence properties of the spline fit. Journal of the Society for Industrial and Applied Mathematics, 11(1):95–104, 1963. [32] J. M. Varah. A lower bound for the smallest singular value of a matrix. Linear Algebra and its Applications, 11:3–5, 1975. [33] Richard S Varga. On recurring theorems on diagonal dominance. Linear Algebra and its Applications, 13(1):1–9, 1976. [34] Roberto Bagnara. A unified proof for the convergence of Jacobi and Gauss-Seidel methods. SIAM review, 37(1):93–97, 1995. [35] M. E. Hosea and L. F. Shampine. Analysis and implementation of TR-BDF2. Applied Numerical Mathematics, 20(1):21–37, 1996. [36] George D. Byrne and Alan C. Hindmarsh. A polyalgorithm for the numerical solution of ordinary differential equations. ACM Transactions on Mathematical Software, 1(1):71–96, 1975. [37] C. William Gear. Numerical initial value problems in ordinary differential equations. Prentice Hall, 1971. [38] Kenneth R Jackson and Ron Sacks-Davis. An alternative implementation of variable step-size multistep formulas for stiff ODEs. ACM Transactions on Mathematical Software, 6(3):295– 318, 1980. [39] Yousef Saad. ILUT: A dual threshold incomplete LU factorization. Numerical linear algebra with applications, 1(4):387–402, 1994. [40] A. C. Hindmarsh, P. N. Brown, K. E. Grant, S. L. Lee, R. Serban, D. E. Shumaker, and C. S. Woodward. SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers. ACM Transactions on Mathematical Software, 31(3):363–396, 2004. [41] Richard M. Stallman and the GCC Developer Community. Using the GNU Compiler Collection. For GCC version 4.4.7. Free Software Foundation, 2012. 21 [42] IEEE Computer Society. IEEE Std 754-1985 Standard for Binary Floating-Point Arithmetic, 1985. [43] Maple 15. Maplesoft, a division of Waterloo Maple Inc., Waterloo, Ontario., 2011. 22 Online Supplement of “Implicit ODE Solvers with Good Local Error Control for the Transient Analysis of Markov Models” V´ıctor Su˜n´e Juan Antonio Carrasco September 14, 2016 1 Proof of Proposition 1 Case 1 follows from [1, 2]. If the matrix Vis SCDD, the matrix VTis SRDD and, then, from case 1, kV−1k1=k(V−1)Tk∞=k(VT)−1k∞≤1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} , which is case 2. For case 3, using case 1, kx−yk∞=kV−1u−V−1Vyk∞ =kV−1(u−Vy)k∞ ≤ kV−1k∞ku−Vyk∞ ≤ku−Vyk∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} . Finally, for case 4, using case 2, kx−yk1=kV−1u−V−1Vyk1 =kV−1(u−Vy)k1 ≤ kV−1k1ku−Vyk1 ≤ku−Vyk1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} . 2 Proof of Theorem 1 If the matrix Vis SRDD, by case 3 of Proposition 1 with y=x(l), kx−x(l)k∞≤ku−Vx(l)k∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} ≤ δmin1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j}| =δ , and, if the matrix Vis SCDD, by case 4 of Proposition 1 with y=x(l), kx−x(l)k1≤ku−Vx(l)k1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} ≤ δmin1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} =δ . 1 3 Proof of Theorem 2 Assume l≥1. Using V=M−Nand (3) x(l)=M−1Nx(l−1) +M−1u, we obtain u−Vx(l)=u−(M−N)x(l) =u−Mx(l)+Nx(l) =u−M(M−1Nx(l−1) +M−1u) + Nx(l) =u−Nx(l−1) −u+Nx(l) =N(x(l)−x(l−1)).(34) Then, if the matrix Vis SRDD, when the method is stopped we have, using (34) and case 3 of Proposition 1 with y=x(l), kx−x(l)k∞≤ku−Vx(l)k∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} =kN(x(l)−x(l−1))k∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} ≤kNk∞kx(l)−x(l−1)k∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} ≤ kNk∞δmin1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|}/kNk∞ min1≤i≤n{|vi,i| − Pn j=1 j6=i|vi,j|} =δ , and, if the matrix Vis SCDD, when the method is stopped we have, using (34) and case 4 of Proposition 1 with y=x(l), kx−x(l)k1≤ku−Vx(l)k1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} =kN(x(l)−x(l−1))k1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} ≤kNk1kx(l)−x(l−1)k1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} ≤ kNk1δmin1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|}/kNk1 min1≤i≤n{|vi,i| − Pn j=1 j6=i|vj,i|} =δ . 4 Proof of Proposition 2 Clearly, vi,i =χ+ jω−ξqi,i =χ+ jω+ξ|qi,i|and vi,j =−ξqi,j,i6=j. Then, using the fact that |qi,i|=Pm j=1 j6=iqj,i and that, as assumed, χ ξ > 0, or χ= 0, ω6= 0, |vi,i|=χ+ jω+ξ|qi,i|>|ξ||qi,i|=|ξ| m X j=1 j6=i qj,i = m X j=1 j6=i |vj,i|,(35) 2 implying that the matrix is SCDD. The equality asserted by the proposition can be justified as follows. Since (35) |vi,i| − Pm j=1 j6=i|vj,i|=|χ+ jω+ξ|qi,i|| − |ξ||qi,i|, min 1≤i≤m|vi,i| − m X j=1 j6=i |vj,i|= min 1≤i≤m|χ+ jω+ξ|qi,i|| − |ξ||qi,i|. Therefore, if ξ > 0, min 1≤i≤m|vi,i| − m X j=1 j6=i |vj,i|= min 1≤i≤m (|χ+ jω+ξ|qi,i|| − ξ|qi,i|) = |χ+ jω+ξq| − ξq , (36) because, for xreal, the function |χ+ jω+x| − xis (non-strictly) decreasing on xand, for ξ > 0, max1≤i≤mξ|qi,i|=ξq. Similarly, if ξ≤0, min 1≤i≤m|vi,i| − m X j=1 j6=i |vj,i|= min 1≤i≤m (|χ+ jω+ξ|qi,i|| +ξ|qi,i|) = |χ+ jω+ξq|+ξq (37) because, for xreal, the function |χ+ jω+x|+xis (non-strictly) increasing on xand, for ξ≤0, min1≤i≤mξ|qi,i|=ξq. Finally, combining (36), (37), min 1≤i≤m|vi,i| − m X j=1 j6=i |vj,i|=|χ+ jω+ξq|−|ξ|q . 5 Proof of Proposition 3 Assume 1 ≤k≤n. We start by noting that the vectors xkand x∗ kare well-defined because, from Proposition 2 with χ=χk,k,ω= 0, and ξ=ξk,k, it follows that the matrix Vk=χk,kIm−ξk,kQ is SCDD and, consequently, nonsingular. Besides, also from that proposition, min1≤i≤m{|vi,i| − Pm j=1 j6=i|vj,i|} =|χk,k +ξk,kq|−|ξk,k|q=|χk,k|. Therefore, by case 2 of Proposition 1, kV−1 kk1≤1 |χk,k|.(38) We can now prove the inequality asserted by the proposition. We have Vkxk=uk+ k−1 X j=1 (ξk,jQ+χk,j Im)xj, Vkx∗ k=uk+ k−1 X j=1 (ξk,jQ+χk,j Im)e x∗ j. Therefore, xk−x∗ k=V−1 kuk+ k−1 X j=1 (ξk,jQ+χk,j Im)xj−V−1 kuk+ k−1 X j=1 (ξk,jQ+χk,j Im)e x∗ j =V−1 kQ k−1 X j=1 ξk,j(xj−e x∗ j) + V−1 k k−1 X j=1 χk,j(xj−e x∗ j), which implies kxk−e x∗ kk1=kxk−x∗ k+x∗ k−e x∗ kk1 3