Multigrid absolute value preconditioning

Similar documents
Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Preconditioned Locally Minimal Residual Method for Computing Interior Eigenpairs of Symmetric Operators

AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 23: GMRES and Other Krylov Subspace Methods; Preconditioning

1. Fast Iterative Solvers of SLE

PRECONDITIONED ITERATIVE METHODS FOR LINEAR SYSTEMS, EIGENVALUE AND SINGULAR VALUE PROBLEMS. Eugene Vecharynski. M.S., Belarus State University, 2006

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Spectral analysis of complex shifted-laplace preconditioners for the Helmholtz equation

Chapter 7 Iterative Techniques in Matrix Algebra

Algebraic Multigrid as Solvers and as Preconditioner

Preface to the Second Edition. Preface to the First Edition

A decade of fast and robust Helmholtz solvers

Computational Linear Algebra

Adaptive algebraic multigrid methods in lattice computations

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU

Kasetsart University Workshop. Multigrid methods: An introduction

9.1 Preconditioned Krylov Subspace Methods

Stabilization and Acceleration of Algebraic Multigrid Method

The Conjugate Gradient Method

Solving PDEs with Multigrid Methods p.1

Iterative Methods for Sparse Linear Systems

Iterative Helmholtz Solvers

Contents. Preface... xi. Introduction...

Multigrid Methods and their application in CFD

An improved two-grid preconditioner for the solution of three-dimensional Helmholtz problems in heterogeneous media

A Domain Decomposition Based Jacobi-Davidson Algorithm for Quantum Dot Simulation

Summary of Iterative Methods for Non-symmetric Linear Equations That Are Related to the Conjugate Gradient (CG) Method

Algebraic Multigrid Preconditioners for Computing Stationary Distributions of Markov Processes

Lecture 11: CMSC 878R/AMSC698R. Iterative Methods An introduction. Outline. Inverse, LU decomposition, Cholesky, SVD, etc.

AMS526: Numerical Analysis I (Numerical Linear Algebra)

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

Lecture 18 Classical Iterative Methods

Iterative Methods and Multigrid

A Jacobi Davidson Method with a Multigrid Solver for the Hermitian Wilson-Dirac Operator

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Domain decomposition on different levels of the Jacobi-Davidson method

Lab 1: Iterative Methods for Solving Linear Systems

An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84

FEM and sparse linear system solving

Linear Solvers. Andrew Hazel

Krylov Space Solvers

Numerical Methods I Non-Square and Sparse Linear Systems

Is there life after the Lanczos method? What is LOBPCG?

Chebyshev semi-iteration in Preconditioning

Fast solvers for steady incompressible flow

Iterative methods for Linear System of Equations. Joint Advanced Student School (JASS-2009)

Motivation: Sparse matrices and numerical PDE's

Iterative Methods for Solving A x = b

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

Bootstrap AMG. Kailai Xu. July 12, Stanford University

On complex shifted Laplace preconditioners for the vector Helmholtz equation

6.4 Krylov Subspaces and Conjugate Gradients

Department of Computer Science, University of Illinois at Urbana-Champaign

Robust solution of Poisson-like problems with aggregation-based AMG

A parameter tuning technique of a weighted Jacobi-type preconditioner and its application to supernova simulations

A PRECONDITIONER FOR THE HELMHOLTZ EQUATION WITH PERFECTLY MATCHED LAYER

Numerical Programming I (for CSE)

ON A ROBUST ITERATIVE METHOD FOR HETEROGENEOUS HELMHOLTZ PROBLEMS FOR GEOPHYSICS APPLICATIONS

Iterative methods for Linear System

Fast Iterative Solution of Saddle Point Problems

Iterative Methods for Linear Systems of Equations

Aggregation-based algebraic multigrid

Chapter 3 Transformations

CONVERGENCE BOUNDS FOR PRECONDITIONED GMRES USING ELEMENT-BY-ELEMENT ESTIMATES OF THE FIELD OF VALUES

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

M.A. Botchev. September 5, 2014

Solving Large Nonlinear Sparse Systems

INTRODUCTION TO MULTIGRID METHODS

Linear Algebra Massoud Malek

The amount of work to construct each new guess from the previous one should be a small multiple of the number of nonzeros in A.

Multigrid and Domain Decomposition Methods for Electrostatics Problems

THEORETICAL AND NUMERICAL COMPARISON OF PROJECTION METHODS DERIVED FROM DEFLATION, DOMAIN DECOMPOSITION AND MULTIGRID METHODS

Solving Sparse Linear Systems: Iterative methods

Solving Sparse Linear Systems: Iterative methods

arxiv: v4 [math.na] 1 Sep 2018

Multilevel low-rank approximation preconditioners Yousef Saad Department of Computer Science and Engineering University of Minnesota

A fast method for the solution of the Helmholtz equation

On solving linear systems arising from Shishkin mesh discretizations

Spectral element agglomerate AMGe

An efficient multigrid solver based on aggregation

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Scientific Computing: An Introductory Survey

Optimal Left and Right Additive Schwarz Preconditioning for Minimal Residual Methods with Euclidean and Energy Norms

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit VII Sparse Matrix

STEEPEST DESCENT AND CONJUGATE GRADIENT METHODS WITH VARIABLE PRECONDITIONING

1. Introduction. In this work we consider the solution of finite-dimensional constrained optimization problems of the form

Aggregation Algorithms for K-cycle Aggregation Multigrid for Markov Chains

EFFICIENT MULTIGRID BASED SOLVERS FOR ISOGEOMETRIC ANALYSIS

Solving Ax = b, an overview. Program

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

Multigrid and Iterative Strategies for Optimal Control Problems

Efficient Solvers for the Navier Stokes Equations in Rotation Form

A SHORT NOTE COMPARING MULTIGRID AND DOMAIN DECOMPOSITION FOR PROTEIN MODELING EQUATIONS

A New Multilevel Smoothing Method for Wavelet-Based Algebraic Multigrid Poisson Problem Solver

Multigrid Method for 2D Helmholtz Equation using Higher Order Finite Difference Scheme Accelerated by Krylov Subspace

SOLVING SPARSE LINEAR SYSTEMS OF EQUATIONS. Chao Yang Computational Research Division Lawrence Berkeley National Laboratory Berkeley, CA, USA

Key words. preconditioned conjugate gradient method, saddle point problems, optimal control of PDEs, control and state constraints, multigrid method

A STUDY OF MULTIGRID SMOOTHERS USED IN COMPRESSIBLE CFD BASED ON THE CONVECTION DIFFUSION EQUATION

Newton s Method and Efficient, Robust Variants

Research Article Some Generalizations and Modifications of Iterative Methods for Solving Large Sparse Symmetric Indefinite Linear Systems

3D Space Charge Routines: The Software Package MOEVE and FFT Compared

Transcription:

Multigrid absolute value preconditioning Eugene Vecharynski 1 Andrew Knyazev 2 (speaker) 1 Department of Computer Science and Engineering University of Minnesota 2 Department of Mathematical and Statistical Sciences University of Colorado Denver FIFTEENTH COPPER MOUNTAIN CONFERENCE ON MULTIGRID METHODS (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 1 / 18

Acknowledgements Department of Mathematical and Statistical Sciences University of Colorado Denver Lynn Bateman Memorial Fellowship NSF DMS 0612751 Copper Multigrid 2011 Organizing Committee The results presented here are partially based on the PhD thesis of the first co-author, defended at the University of Colorado Denver, under the supervision of the second co-author, in December 2010. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 2 / 18

Outline Brief intro: iterative methods, SPD and non-spd preconditioning An ideal SPD preconditioner for a symmetric indefinite linear system Absolute value preconditioning. Definition Absolute value preconditioners for linear systems with strictly (block) diagonally dominant matrices MG absolute value preconditioner for a model problem. Numerical examples Conclusions (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 3 / 18

Symmetric indefinite linear systems We consider a nonsingular linear system Ax = b, A = A R n n. Several origins of the problem Mixed finite element discretizations of PDEs in fluid and solid mechanics, acoustics Inner steps of interior point methods in linear and nonlinear optimization Solution of the correction equation in the Jacobi-Davidson method for a symmetric eigenvalue problem General setting Large problem size, ill-conditioned Sparse matrices or matrix-free environment Direct methods are inapplicable. Iterate! Use of preconditioners to improve the convergence (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 4 / 18

How to solve a symmetric indefinite linear system? What iterative method shall we use to approximate the solution of Ax = b, A = A? Let T be a preconditioner. Consider the preconditioned linear system TAx = Tb. T is symmetric indefinite (e.g., T A 1 ) or nonsymmetric. TA is generally nonsymmetric in any inner product. The symmetry is lost: no short recurrence and complicated convergence properties. Possible solution techniques: GMRES, BiCG, QMR, etc. T is symmetric positive definite (SPD). TA is symmetric in the T 1 -based inner product; (x, y) T 1 = (x, T 1 y). The symmetry is preserved: optimal short-term recurrent schemes, e.g., PMINRES PMINRES convergence speed is guaranteed by the positive and negative spectrum of TA (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 5 / 18

The Preconditioned Minimal Residual method Let T be an SPD preconditioner. The Preconditioned Minimal Residual method, at step i, constructs an approximation x (i) to the solution of system Ax = b of the form x (i) x (0) + K i (TA, Tr (0)), such that the residual vector r (i) = b Ax (i) satisfies the optimality condition r (i) T = min u AK i(ta,tr (0) ) r (0) u T, where K i ( TA, Tr (0) ) = span { Tr (0), (TA)Tr (0),..., (TA) i 1 Tr (0)} is the i-dimensional preconditioned Krylov subspace, x (0) is the initial guess. Stable implementation: The PMINRES algorithm (Paige, Saunders, 1975). Question: How do we define the SPD preconditioner T? (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 6 / 18

Matrix absolute value For a given matrix A, its polar decomposition is A = U A, where A = A A and U is unitary. Let A be real indefinite symmetric and nonsingular, than the matrix absolute value A is also nonsingular and U is the matrix sign of A, having only two distinct eigenvalues ±1. Given the eigenvalue decomposition, A = V ΛV, where V is an orthogonal matrix of eigenvectors and Λ = diag{λ j } is a diagonal matrix of the corresponding eigenvalues of A, we can compute the matrix absolute value of A as A = V Λ V, Λ = diag{ λ j }. the matrix sign of A as sign(a) = V sign(λ)v, sign(λ) = diag {sign(λ j )}. The polar decomposition of a symmetric matrix can be written as A = A sign(a) = sign(a) A. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 7 / 18

Inverse of the matrix absolute value as an ideal SPD preconditioner Let T = A 1. The preconditioned linear system TAx = Tb is sign(a)x = A 1 b. The matrix TA = sign(a) has only two distinct eigenvalues: 1 and 1. The Preconditioned Minimal Residual method converges to the exact solution in at most two steps (cannot go any quicker!). T = A 1 is an ideal SPD preconditioner for a symmetric indefinite linear system Construction of the exact A 1 is generally prohibitively expensive Construct T to attain a relatively small norm T A 1. Can, in principle, be done, by approximating the action of a matrix function f (A) = A 1 on a vector using A-based Krylov subspaces. Typically still too costly. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 8 / 18

Absolute value preconditioning Our idea: Construct a practical SPD preconditioner T as spectrally equivalent to the ideal preconditioner A 1. Let us define δ 1 δ 0 > 0 as δ 0 (v, T 1 v) (v, A v) δ 1 (v, T 1 v), v R n, where A is the nonsingular symmetric indefinite coefficient matrix for a linear system Ax = b, we want to solve. We call T an absolute value preconditioner if the ratio δ 1 /δ 0 1, which bounds the spectral condition number of the matrix T A, is reasonably small. For mesh problems, the ratio is independent of the mesh size. It does not have to be close to one! The ratio δ 1 /δ 0 1 measures the quality of the absolute value preconditioner T in terms of the convergence speed of the Preconditioned Minimal Residual method. At the same time, the costs of the construction and application of T should preferably be similar to the costs of the matrix-vector multiplication of the coefficient matrix A. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 9 / 18

Spectrally equivalent absolute value preconditioning Theorem Let us be given a symmetric indefinite A R n n, an SPD T R n n, and constants δ 1 δ 0 > 0, such that δ 0 (v, T 1 v) (v, A v) δ 1 (v, T 1 v), v R n. Then all the eigenvalues of TA are located in the union of two intervals [ δ 1, δ 0 ] [δ 0, δ 1 ]. Interestingly, the converse does not hold! Is the idea of absolute value preconditioning crazy enough to be practical? Remember, that neither A 1, nor A are available to us. How do we construct efficient absolute value preconditioning? (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 10 / 18

Absolute value preconditioners for strictly (block) diagonally dominant matrices Matrix A = {A ij } R n n, i, j = 1,..., s, is strictly block diagonally dominant if ( A 1 ii ) 1 s > A ij, i = 1,..., s. j=1 j i Theorem Let A be a strictly block diagonally dominant symmetric indefinite matrix, such that δ ( A 1 ii ) 1 s A ij, i = 1,..., s, j=1 j i for a fixed δ [0, 1). Let T = diag { A 11 1, A 22 1,..., A ss 1}. Then all the eigenvalues of the matrix TA are located in the union of intervals {y R : y + 1 δ} {y R : y 1 δ}. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 11 / 18

Absolute value preconditioning for a model problem Consider the shifted Laplacian equation on a unit square with Dirichlet boundary conditions and a relatively small shift value, u(x, y) c 2 u(x, y) = f (x, y), (x, y) Ω = (0, 1) (0, 1) u Γ = 0. The discretization of the boundary value problem using a standard 5-point FD stencil on a uniform mesh leads to the linear system (L c 2 I )x = b. The shifted negative discrete Laplace operator L c 2 I is symmetric and indefinite. We assume it to be nonsingular The preconditioner T is intended to be spectrally equivalent to L c 2 I 1 Use a geometric MG approach to construct w = Tr We have no proof, only numerical results (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 12 / 18

Two-grid absolute value preconditioner for the model problem Algorithm (Two-grid absolute value preconditioner) Input r, output w = Tr. 1 Pre-smoothing. Apply ν pre-smoothing steps, w (i+1) = w (i) + M 1 (r Lw (i) ), i = 0,..., ν 1, w (0) = 0. This step results in the pre-smoothed vector w pre = w (ν), ν 1. 2 Coarse grid correction. Restrict r Lw pre to the coarse grid (R), multiply it by LH c 2 I H 1, prolongate to the fine grid (P), and add to w pre, w cgc = w pre + P LH c 2 I H 1 R (r Lw pre ). 3 Post-smoothing. Apply ν post-smoothing steps, w (i+1) = w (i) + M (r Lw (i) ), i = 0,..., ν 1, w (0) = w cgc. Return w = w (ν). (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 13 / 18

MG absolute value preconditioner for the model problem The resulting preconditioner T is SPD under mild assumptions on the smoother, restriction and prolongation In practice, we use the MG extension of the two-grid algorithm ( V-cycle ) Compare our MG absolute value preconditioner with the preconditioner based on the inverse of the Laplacian (A. Bayliss, C. Goldstein, E. Turkel, 1983) In our numerical tests Standard coarsening scheme. The coarsest grid is of the mesh size 2 4, and the finest grid is of the mesh size 2 7 Full weighting for the restriction and piecewise multilinear interpolation for the prolongation The smoother: ω-damped Jacobi, ω = 4/5 (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 14 / 18

MG absolute value preconditioner for the model problem: a fixed mesh, different shifts Shift value c 2 = 100 (6 negative eigenvalues) Shift value c 2 = 200 (13 negative eigenvalues) Euclidean norm of residual 10 5 10 0 10 5 No Prec. Laplace AVP MG JAC(1) AVP MG JAC(2) 0 10 20 30 40 Iteration number Euclidean norm of residual 10 5 10 0 10 5 No Prec. Laplace AVP MG JAC(1) AVP MG JAC(2) 0 20 40 60 Iteration number Shift value c 2 = 300 (19 negative eigenvalues) Shift value c 2 = 400 (26 negative eigenvalues) Euclidean norm of residual 10 5 10 0 10 5 No Prec. Laplace AVP MG JAC(1) AVP MG JAC(2) 0 10 20 30 40 50 Iteration number Euclidean norm of residual 10 5 10 0 10 5 No Prec. Laplace AVP MG JAC(1) AVP MG JAC(2) 0 10 20 30 40 50 Iteration number (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 15 / 18

MG absolute value preconditioner for the model problem: mesh-independent convergence Number of steps performed to achieve the decrease by the factor 10 8 in the error norm. h = 2 7 h = 2 8 h = 2 9 h = 2 10 c 2 = 100 15 14 14 14 c 2 = 200 21 21 21 21 c 2 = 300 31 32 32 30 c 2 = 400 40 39 40 40 Table: Mesh-independent convergence of PMINRES with the MG absolute value preconditioner (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 16 / 18

MG absolute value preconditioner for the model problem: the influence of the course-grid size Number of iterations Performance of the MG absolute value preconditioners 180 160 140 120 100 80 60 40 20 Coarse problem size 225 Coarse problem size 961 0 200 400 600 800 1000 Shift value c 2 Figure: Performance of the MG absolute value preconditioners for the model problem with different shift values. The problem size n = (2 7 1) 2 1.6 10 4. The number of negative eigenvalues varies from 0 to 75. The initial error norm is decreased by 10 8. (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 17 / 18

Conclusions, current and future work Conclusions 1 Introduced (SPD) absolute value preconditioning for symmetric indefinite linear systems 2 Constructed several examples of efficient absolute value preconditioning 3 Good results for the shifted Laplacian with a relatively small shift value Current and future work Absolute value preconditioning for nonsymmetric linear systems, eigenvalue and singular value problems Algebraic multilevel absolute value preconditioning We are looking for collaborators experts in practical parallel preconditioning, to try our absolute value preconditioning ideas in established preconditioning software packages. Thank you! (Copper Multigrid 2011) Multigrid absolute value preconditioning 1 April, 2011 18 / 18