Top Banner
. . Preconditioner Updates for Solving Sequences of Linear Systems arising in inexact methods for optimization. Stefania Bellavia Universit` a degli Studi di Firenze Based on works with Valentina De Simone, Daniela di Serafino, Benedetta Morini, Margherita Porcelli Numerical Methods for Large-Scale Nonlinear Problems and Their Applications, ICERM Providence, RI, USA, Aug. 31- Sept. 4, 2015 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53

Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

Aug 17, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

.

......

Preconditioner Updates for Solving Sequences of LinearSystems arising in inexact methods for optimization.

Stefania BellaviaUniversita degli Studi di Firenze

Based on works with Valentina De Simone,Daniela di Serafino, Benedetta Morini, Margherita Porcelli

Numerical Methods for Large-Scale Nonlinear Problems and TheirApplications, ICERM Providence, RI, USA, Aug. 31- Sept. 4, 2015

................ ..................... ..................... ..................... .....

...... ................

Page 2: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Introduction

Outline

Consider the problem of preconditioning a sequence of linear systems

Akx = bk , k = 1, . . .

where Ak ∈ Rn×n are nonsingular indefinite sparse matrices.

Computing preconditioners P1, P2, . . ., for individual systemsseparately can be very expensive.

Reduction of the cost can be achieved by sharing some of thecomputational effort among subsequent linear systems.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 2 / 35

Page 3: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Introduction

Updating strategies

Given a preconditioner Pseed for some seed matrix Aseed of thesequence, updated preconditioners for subsequent matrices Ak arecomputed at a low computational cost.

Minimum requirement: Updates must be able to preconditionsequences of slowly varying systems. A periodical or dynamic refreshof the seed preconditioner may be necessary.

Expected behaviour in terms of linear solver iterations: to be inbetween the frozen and the recomputed preconditioner.

Updating procedures for two classes of systems:

nonsymmetric linear systems arising in Newton-Krylov methods(nearly-matrix free preconditioning strategies);

KKT systems arising in Interior Point methods.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 3 / 35

Page 4: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Introduction

Updating strategies

Given a preconditioner Pseed for some seed matrix Aseed of thesequence, updated preconditioners for subsequent matrices Ak arecomputed at a low computational cost.

Minimum requirement: Updates must be able to preconditionsequences of slowly varying systems. A periodical or dynamic refreshof the seed preconditioner may be necessary.

Expected behaviour in terms of linear solver iterations: to be inbetween the frozen and the recomputed preconditioner.

Updating procedures for two classes of systems:

nonsymmetric linear systems arising in Newton-Krylov methods(nearly-matrix free preconditioning strategies);

KKT systems arising in Interior Point methods.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 3 / 35

Page 5: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Sequences of systems in Newton-Krylov methods

F (x) = 0

F : Rn → Rn continuously differentiable, J Jacobian matrix of F .

Sequence of Newton equations

J(xk)s = −F (xk), k = 0, 1, . . .

By continuity, J(xk) varies slowly if the iterates are close enough.

Ak = J(xk),

Akv provided by an operator or approximated by finite-differences, i.e.

Akv ≃ F (xk + ϵv)− F (xk)

ϵ∥v∥ϵ > 0. (1)

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 4 / 35

Page 6: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Preconditioning & Matrix-free setting

Unpreconditioned Newton-Krylov methods are matrix-free.

But a truly matrix-free setting is lost when an algebraic preconditioneris used.

A preconditioning strategy is classified as nearly matrix-free if it liesclose to a true matrix-free settings. Specifically, if

only a few full matrices are formed;for preconditioning most of the systems of the sequence, matrices thatare reduced in complexity with respect to the full A′

ks are required.matrix-vector product approximations by finite differences can be used.

[Knoll, Keyes 2004]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 5 / 35

Page 7: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Preconditioning & Matrix-free setting c.ed

Let G be the function that, evaluated at v ∈ IRn, provides the product ofAk times v .

G separable: computing one component of G costs about an n-th partof the full function evaluation.

G separable: The cost of evaluating a selected entry of Ak

corresponds approximately to the n-th part of the cost of performingone matrix-vector product.

Newton-Krylov: G can be the finite-differences operator, G isseparable whenever the nonlinear function itself is separable.

Nearly matrix-free strategy whenever G is separable and only selectedentries of the current matrix Ak are required.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 6 / 35

Page 8: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Updating frameworks in literature

Limited-memory Quasi-Newton preconditioners:

symmetric positive definite (SPD) matrices and nonsymmetric matricesarising in Newton methods: [Morales, Nocedal 2000], [Bergamaschi, Bru, Martinez,

Putti 2006], [Gratton, Sartenaer, Tshimanga 2011], [Gower, Gondzio 2014].

Recycled Krylov information preconditioners:

symmetric and nonsymmetric matrices: [Carpentieri, Duff, Giraud 2003], [Knoll,

Keyes, 2004], [Parks, de Sturler, Mackey, Jhonson, Maiti, 2006], [Loghin, Ruiz, Tohuami

2006], [Giraud, Gratton, Martin, 2007], [Fasano, Roma 2013], [Soodhalter, Szyld, Xue,

2014].

Incremental ILU preconditioners:

nonsymmetric matrices: [Calgaro, Chehab, Saad 2010].

Updates of factorized preconditioners:

SPD matrices and nonsymmetric matrices: [Meurant 2001], [Benzi, Bertaccini

2003], [Duintjer Tebbens, Tuma 2007, 2010], [B., Bertaccini, Morini 2011], [B., De

Simone, di Serafino, Morini 2011-2015],[B., Morini, Porcelli 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 7 / 35

Page 9: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Updating frameworks in literature

Limited-memory Quasi-Newton preconditioners:

symmetric positive definite (SPD) matrices and nonsymmetric matricesarising in Newton methods: [Morales, Nocedal 2000], [Bergamaschi, Bru, Martinez,

Putti 2006], [Gratton, Sartenaer, Tshimanga 2011], [Gower, Gondzio 2014].

Recycled Krylov information preconditioners:

symmetric and nonsymmetric matrices: [Carpentieri, Duff, Giraud 2003], [Knoll,

Keyes, 2004], [Parks, de Sturler, Mackey, Jhonson, Maiti, 2006], [Loghin, Ruiz, Tohuami

2006], [Giraud, Gratton, Martin, 2007], [Fasano, Roma 2013], [Soodhalter, Szyld, Xue,

2014].

Incremental ILU preconditioners:

nonsymmetric matrices: [Calgaro, Chehab, Saad 2010].

Updates of factorized preconditioners:

SPD matrices and nonsymmetric matrices: [Meurant 2001], [Benzi, Bertaccini

2003], [Duintjer Tebbens, Tuma 2007, 2010], [B., Bertaccini, Morini 2011], [B., De

Simone, di Serafino, Morini 2011-2015],[B., Morini, Porcelli 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 7 / 35

Page 10: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Updating frameworks in literature

Limited-memory Quasi-Newton preconditioners:

symmetric positive definite (SPD) matrices and nonsymmetric matricesarising in Newton methods: [Morales, Nocedal 2000], [Bergamaschi, Bru, Martinez,

Putti 2006], [Gratton, Sartenaer, Tshimanga 2011], [Gower, Gondzio 2014].

Recycled Krylov information preconditioners:

symmetric and nonsymmetric matrices: [Carpentieri, Duff, Giraud 2003], [Knoll,

Keyes, 2004], [Parks, de Sturler, Mackey, Jhonson, Maiti, 2006], [Loghin, Ruiz, Tohuami

2006], [Giraud, Gratton, Martin, 2007], [Fasano, Roma 2013], [Soodhalter, Szyld, Xue,

2014].

Incremental ILU preconditioners:

nonsymmetric matrices: [Calgaro, Chehab, Saad 2010].

Updates of factorized preconditioners:

SPD matrices and nonsymmetric matrices: [Meurant 2001], [Benzi, Bertaccini

2003], [Duintjer Tebbens, Tuma 2007, 2010], [B., Bertaccini, Morini 2011], [B., De

Simone, di Serafino, Morini 2011-2015],[B., Morini, Porcelli 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 7 / 35

Page 11: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Approximate updates of factorized preconditioners

Consider two linear systems

Aseedx = b, Akx = bk

and let Pseed = LDU ≈ Aseed .

It follows

Ak = Aseed + (Ak −Aseed) ≈ L(D + L−1(Ak −Aseed)U−1︸ ︷︷ ︸

ideal update

)U

The ideal update of the middle-term is costly:

the difference matrix Ak −Aseed should be formed;

in general the ideal update is dense and its factorization is impractical.

Form an approximate and cheap update.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 8 / 35

Page 12: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Update of LDU factorizations [Duintjer Tebbens, Tuma 2007, 2010]

Ideal updated preconditioner for Ak :

Ak ≈ L(D + L−1(Ak −Aseed)U−1︸ ︷︷ ︸)U

The approximate updated preconditioner is obtained as follows:...1 Neglect either L−1 or U−1 (closeness of L or U to the identitymatrix):

Ak ≈ L(D + (Ak −Aseed)U−1 )U

Ak ≈ L(D + L−1(Ak −Aseed) )U

...2 Use only a triangular part of the current matrix Ak :

Pk = L(DU + triu(Ak −Aseed))

Pk = (LD + tril(Ak −Aseed) )U

Pk is factorized. This approach is not suitable for symmetric matrices.Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 9 / 35

Page 13: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Banded approximate factors

Ideal updated preconditioner for Ak :

Ak ≈ L(D + L−1(Ak −Aseed)U−1︸ ︷︷ ︸)U

The approximate updated preconditioner is obtained as follows:...1 Let f (M) = band(M, kl , ku), be the banded approximation of M withkl lower and ku upper diagonals.

...2 Let

Ek = f (Ak −Aseed), Fk = f (L−1 Ek U−1),

andPk = L (D + Fk)U.

[Benzi, Golub 1999], [Benzi, Bertaccini 2003], [B., Bertaccini, Morini 2011], [B., Morini, Porcelli

2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 10 / 35

Page 14: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Motivation: matrices where the entries of the inverse tend to zero awayfrom the main diagonal.

banded SPD and indefinite matrices [Demko, Moss, Smith 1984][Meurant 1992];

nonsymmetric block tridiagonal matrices [Nabben 1999];

matrices h(A) with A symm and banded and h analytic [Benzi, Golub 99].

2D Nonlinear Convection diffusion problem. Sparsity pattern (on the left) and wireframe mesh

(on the right) of the inverses of the L and U factors obtained from the ILU factorization of the

Jacobian at the null vector (n = 400)Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 11 / 35

Page 15: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Small bandwidth values kl and ku are viable.

Only selected elements of Ak are required: nearly matrix-freestrategies.

Forming/approximating L−1 and U−1:

Use the Approximate INVerse (AINV) preconditioner [Benzi, Meyer, Tuma

1996], [Benzi, Tuma 1998],[B.,Morini,Bertaccini, 2011]

Use banded approximation of L−1 and U−1, computable without theneeed of a complete inversion of L and U.[B., Morini, Porcelli 2014]

The application of the preconditioner requires the solution of onebanded linear system.

The computationally most convenient approximations Ek and Fk arediagonal (kl = ku = 0).

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 12 / 35

Page 16: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Diagonally Updated ILU (DU ILU)

Assume kl = ku = 0, Let Pseed = LDU.

...1 Consider

Ak ≈ L(D + L−1(Ak −Aseed)U−1︸ ︷︷ ︸)U ≃ LDU + diag(Ak −Aseed)︸ ︷︷ ︸

Σk=diag(σk11,...,σ

knn)

...2 Form the approximate factorization Pk = LkDkUk for LDU +Σk.

......

Dk = D +Σk ,

Lk = eye(n), off (Lk) = off (L)Zk

Uk = eye(n), off (Uk) = Zkoff (U)

Zk = diag(zk11, . . . , zknn), zkii =

|dii ||dii |+ |σk

ii |, i = 1, . . . , n

Generalization of [B., De Simone, di Serafino, Morini 2012].Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 13 / 35

Page 17: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Properties of DU ilu

Scaling matrix Zk = diag(zk11, . . . , zknn):

zkii =|dii |

|dii |+ |σkii |, i = 1, . . . , n,

Since zkii ∈ (0, 1], the conditioning of Lk and Uk is at least as good asthe conditioning of L and U respectively [Lemeire 1975]. The sparsitypattern of L and U is preserved.

The preconditioner mimics the behavior of the matrix LDU +Σk :

off (Lk) and off (Uk) decrease in absolute value as the entries of Σk

increase, i.e. when the diagonal of LDU +Σk tends to dominate overthe remaining entries.If the entries of Σk are small then LDU +Σk is close to LDU and Zk isclose to the identity matrix.

[B., Morini, Porcelli 2014],[B.,Porcelli, 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 14 / 35

Page 18: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Properties of DU ilu

Scaling matrix Zk = diag(zk11, . . . , zknn):

zkii =|dii |

|dii |+ |σkii |, i = 1, . . . , n,

Since zkii ∈ (0, 1], the conditioning of Lk and Uk is at least as good asthe conditioning of L and U respectively [Lemeire 1975]. The sparsitypattern of L and U is preserved.

The preconditioner mimics the behavior of the matrix LDU +Σk :

off (Lk) and off (Uk) decrease in absolute value as the entries of Σk

increase, i.e. when the diagonal of LDU +Σk tends to dominate overthe remaining entries.

If the entries of Σk are small then LDU +Σk is close to LDU and Zk isclose to the identity matrix.

[B., Morini, Porcelli 2014],[B.,Porcelli, 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 14 / 35

Page 19: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Properties of DU ilu

Scaling matrix Zk = diag(zk11, . . . , zknn):

zkii =|dii |

|dii |+ |σkii |, i = 1, . . . , n,

Since zkii ∈ (0, 1], the conditioning of Lk and Uk is at least as good asthe conditioning of L and U respectively [Lemeire 1975]. The sparsitypattern of L and U is preserved.

The preconditioner mimics the behavior of the matrix LDU +Σk :

off (Lk) and off (Uk) decrease in absolute value as the entries of Σk

increase, i.e. when the diagonal of LDU +Σk tends to dominate overthe remaining entries.If the entries of Σk are small then LDU +Σk is close to LDU and Zk isclose to the identity matrix.

[B., Morini, Porcelli 2014],[B.,Porcelli, 2014]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 14 / 35

Page 20: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Preconditioner updates in Newton-Krylov methods

Properties of DU ilu (c.ed)

Quality of DU ilu preconditioner

∥Ak −Pk∥ ≤ ∥Aseed − Pseed∥+ ∥off (Ak −Aseed)∥+ c∥Σk∥

The upper bound depends on

∥Aseed − Pseed∥: quality of the seed preconditioner;

∥off (Ak −Aseed)∥: information discarded in the update;

∥off (Ak −Aseed)∥ and ∥Σk∥ small for slowly varying sequences.

In order to form Σk , diag(Ak) is needed.

If G is the finite-differences operator and it is separable then formingΣk amounts to one F -evaluation.

The update computational overhead is low.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 15 / 35

Page 21: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Numerical illustration

Comparison with Recomputed and Frozen preconditioner

5 10 15 20 25 30 35 40 450

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1Linear iterations performance profile

FreezeUpdateRecomp

2 4 6 8 10 12 140

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1CPU time performance profile

FreezeUpdateRecomp

Performance profile in terms of linear iterations (left) and execution time(right)

Linesearch Newton-BiCGSTAB, LImax = 400, dimension from n = 6400 to62500, for a total of 22 test problems.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 16 / 35

Page 22: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Numerical illustration

nonlinear iterations0 2 4 6 8 10 12 14

linea

r it

erat

ions

0

50

100

150

200

250

300

350

400

LI_updatedLI_Frozen

Nonlinear Convection-Diffusion problem with n = 22500 and Re = 500:comparison, in terms of LI between the Frozen and the Updated strategy.

The seed preconditioner has never been recomputed.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 17 / 35

Page 23: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Sequences of KKT matrices

Sequences of KKT matrices

Let Ak be the KKT matrix of the form

Ak =

[Q +Θ

(1)k AT

A −Θ(2)k

]with

Q ∈ Rn×n symmetric positive semidefinite,

A ∈ Rm×n, 0 < m ≤ n, full rank

Θ(1)k ∈ Rn×n diagonal SPD,

Θ(2)k ∈ Rm×m diagonal positive semidefinite.

This matrix arises at the kth iteration of an IP method for the convex QP problem

minimize1

2xTQx + cT x ,

s. t. A1x − s = b1, A2x = b2, x + v = u, (x , s, v) ≥ 0,

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 18 / 35

Page 24: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Sequences of KKT matrices

Constraint Preconditioners (CPs)

Pk =

[Hk AT

A −Θ(2)k

]

Hk “simple” symmetric approximation to Q +Θ(1)k ; here

Hk = diag(Q +Θ(1)k ), [Benzi, Golub, Liesen 2005]

Factorization of CP Factorize the negative Schur complement Sk of Hk in Ak

Sk = AH−1k AT +Θ

(2)k = LkDkL

Tk Cholesky-like factorization

and let

Pk =

[In 0

AH−1k Im

] [Hk 00 −Sk

] [In H−1

k AT

0 Im

]=

[In 0

AH−1k Lk

] [Hk 00 −Dk

] [In H−1

k AT

0 LTk

],

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 19 / 35

Page 25: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Inexact CPs

In large-scale problems, the factorization of CPs may still account for a large partof the cost of the IP iterations.

Approximations of CPs: based on approximate factorizations of the Schurcomplement or on sparse approximations of A[Luksan, Vlcek, 1998], [Perugia, Simoncini 2000], [Durazzi, Ruggiero 2002],

[Bergamaschi, Gondzio, Venturin, Zilli, 2007].

No exploitation of CPs for previous matrices in the sequence.

Our focus is on inexact CPs of the form

(Pk)inex =

[In 0

AH−1k Im

] [Hk 00 −(Sk)inex

] [In H−1

k AT

0 Im

]where

(Sk)inex is a SPD matrix;(Sk)inex is computationally cheaper than Sk .

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 20 / 35

Page 26: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Inexact CPs

In large-scale problems, the factorization of CPs may still account for a large partof the cost of the IP iterations.

Approximations of CPs: based on approximate factorizations of the Schurcomplement or on sparse approximations of A[Luksan, Vlcek, 1998], [Perugia, Simoncini 2000], [Durazzi, Ruggiero 2002],

[Bergamaschi, Gondzio, Venturin, Zilli, 2007].

No exploitation of CPs for previous matrices in the sequence.

Our focus is on inexact CPs of the form

(Pk)inex =

[In 0

AH−1k Im

] [Hk 00 −(Sk)inex

] [In H−1

k AT

0 Im

]where

(Sk)inex is a SPD matrix;(Sk)inex is computationally cheaper than Sk .

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 20 / 35

Page 27: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Inexact CPs built by updating

...1 Given

Aseed =

[Q +Θ

(1)seed AT

A −Θ(2)seed

]

Sseed = AH−1AT +Θ(2)seed = LDLT

Pseed =

[In 0

AH−1 Im

] [H 00 −Sseed

] [In H−1AT

0 Im

]seed CP

...2 Let

A =

[Q +Θ(1) AT

A −Θ(2)

], G = diag(Q +Θ(1))

S = AG−1AT +Θ(2)

Form an inexact CP where S is replaced by a SPD matrix obtained byupdating Sseed .

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 21 / 35

Page 28: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Updating CPs: our strategy

Given the KKT matrix Aseed and the corresponding CP Pseed :

Pseed =

[In 0

AH−1 Im

] [H 00 −Sseed

] [In H AT

0 Im

]Sseed = AH−1AT +Θ

(2)seed = LDLT

build an updated preconditioner for a subsequent KKT matrix A as follows:.

......

Pupd =

[In 0

AG−1 Im

] [G 00 −Supd

] [In G−1AT

0 Im

]Supd = factorized update of Sseed that approximates S = AG−1AT +Θ(2)

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 22 / 35

Page 29: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Updating CPs: our strategy (cont’d)

The real and imag parts of the eigs of P−1updA are bounded in terms of the

eigs of S−1updS .

Goal: define an approximation Supd to S such that

“good” and easily-computable bounds on the eigs of S−1updS can be

obtained.

the factorization of Supd can be obtained by a low-cost update of theLDLT factorization of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 23 / 35

Page 30: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Defining Supd (Θ(2),Θ(2)seed = 0 for simplicity)

Sseed = AH−1AT , S = AG−1AT

.

...... Supd = AJ−1AT

= A(H−1 + K )AT = AH−1AT + AK AT

J diagonal positive definite

K diagonal with only q < n nonzero entries

K principal submatrix of K containing these nonzero entries,A corresponding columns of A

Results:

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1),

for small q, Supd is a low-rank correction of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 24 / 35

Page 31: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Defining Supd (Θ(2),Θ(2)seed = 0 for simplicity)

Sseed = AH−1AT , S = AG−1AT

.

...... Supd = AJ−1AT

= A(H−1 + K )AT = AH−1AT + AK AT

J diagonal positive definite

K diagonal with only q < n nonzero entries

K principal submatrix of K containing these nonzero entries,A corresponding columns of A

Results:

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1),

for small q, Supd is a low-rank correction of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 24 / 35

Page 32: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Defining Supd (Θ(2),Θ(2)seed = 0 for simplicity)

Sseed = AH−1AT , S = AG−1AT

.

...... Supd = AJ−1AT = A(H−1 + K )AT

= AH−1AT + AK AT

J diagonal positive definite

K diagonal with only q < n nonzero entries

K principal submatrix of K containing these nonzero entries,A corresponding columns of A

Results:

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1),

for small q, Supd is a low-rank correction of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 24 / 35

Page 33: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Defining Supd (Θ(2),Θ(2)seed = 0 for simplicity)

Sseed = AH−1AT , S = AG−1AT

.

...... Supd = AJ−1AT = A(H−1 + K )AT = AH−1AT + AK AT

J diagonal positive definite

K diagonal with only q < n nonzero entries

K principal submatrix of K containing these nonzero entries,A corresponding columns of A

Results:

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1),

for small q, Supd is a low-rank correction of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 24 / 35

Page 34: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Defining Supd (Θ(2),Θ(2)seed = 0 for simplicity)

Sseed = AH−1AT , S = AG−1AT

.

...... Supd = AJ−1AT = A(H−1 + K )AT = AH−1AT + AK AT

J diagonal positive definite

K diagonal with only q < n nonzero entries

K principal submatrix of K containing these nonzero entries,A corresponding columns of A

Results:

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1),

for small q, Supd is a low-rank correction of Sseed

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 24 / 35

Page 35: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (Sseed = AH−1AT , S = AG−1AT , Supd = AJ−1AT )

Let λi = λi (HG−1) and assume λ1 ≤ λ2 ≤ . . . ≤ λn.

Choose q1 and q2 integers such that q = q1 + q2 ≤ n and set

Γ= indices i corresponding to the q1 largest λi > 1q2 smallest λi < 1

Set

Jii =

Gii , if i ∈ ΓHii , otherwise

Then

λmin(JG−1) = min

1,minj /∈ΓHjj/Gjj

= min 1, λq2+1

λmax(JG−1) = max

1,maxj /∈ΓHjj/Gjj

= max 1, λn−q1

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 25 / 35

Page 36: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (Sseed = AH−1AT , S = AG−1AT , Supd = AJ−1AT )

Let λi = λi (HG−1) and assume λ1 ≤ λ2 ≤ . . . ≤ λn.

Choose q1 and q2 integers such that q = q1 + q2 ≤ n and set

Γ= indices i corresponding to the q1 largest λi > 1q2 smallest λi < 1

Set

Jii =

Gii , if i ∈ ΓHii , otherwise

Then

λmin(JG−1) = min

1,minj /∈ΓHjj/Gjj

= min 1, λq2+1

λmax(JG−1) = max

1,maxj /∈ΓHjj/Gjj

= max 1, λn−q1

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 25 / 35

Page 37: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (Sseed = AH−1AT , S = AG−1AT , Supd = AJ−1AT )

Let λi = λi (HG−1) and assume λ1 ≤ λ2 ≤ . . . ≤ λn.

Choose q1 and q2 integers such that q = q1 + q2 ≤ n and set

Γ= indices i corresponding to the q1 largest λi > 1q2 smallest λi < 1

Set

Jii =

Gii , if i ∈ ΓHii , otherwise

Then

λmin(JG−1) = min

1,minj /∈ΓHjj/Gjj

= min 1, λq2+1

λmax(JG−1) = max

1,maxj /∈ΓHjj/Gjj

= max 1, λn−q1

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 25 / 35

Page 38: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......

min 1, λq2+1 = λmin(JG−1) ≤

λ(S−1updS)

≤ λmax(JG−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤ λq2+1 ≤ · · · ≤ λn−q1 ≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 39: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......

min 1, λq2+1 = λmin(JG−1) ≤

λ(S−1updS)

≤ λmax(JG−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤ λq2+1 ≤ · · · ≤ λn−q1 ≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 40: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......

min 1, λq2+1 =

λmin(JG−1) ≤ λ(S−1

updS) ≤ λmax(JG−1)

= max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤ λq2+1 ≤ · · · ≤ λn−q1 ≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 41: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......min 1, λq2+1 = λmin(JG

−1) ≤ λ(S−1updS) ≤ λmax(JG

−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤ λq2+1 ≤ · · · ≤ λn−q1 ≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 42: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......min 1, λq2+1 = λmin(JG

−1) ≤ λ(S−1updS) ≤ λmax(JG

−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤ λq2+1 ≤ · · · ≤ λn−q1 ≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 43: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......min 1, λq2+1 = λmin(JG

−1) ≤ λ(S−1updS) ≤ λmax(JG

−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤

λq2+1 ≤ · · · ≤ λn−q1

≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 44: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Choosing J (cont’d)

.

......min 1, λq2+1 = λmin(JG

−1) ≤ λ(S−1updS) ≤ λmax(JG

−1) = max 1, λn−q1

λ1 ≤ · · · ≤ λq2 ≤

λq2+1 ≤ · · · ≤ λn−q1

≤ λn−q1+1 ≤ · · · ≤ λn

The more λq2+1(HG−1) and λn−q1(HG

−1) are separated from λq2(HG−1)

and λn−q1+1(H)G−1)

the better the bounds on the eigenvalues of S−1updS are

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 26 / 35

Page 45: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Computing the factorization of Supd

Supd = Sseed + AKAT = LDLT + AK AT

Kii = G−1ii − H−1

ii , if i ∈ Γ, Kii = 0 otherwise.

AK AT has rank q = q1 + q2 and, if q ≪ n, the factorization

Supd = LupdDupdLTupd

can be computed at low cost by a rank-q update of Sseed = LDLT

Efficient algorithms/software available ( [Gill, Golub, Murray & Saunders,

1974; Davis & Hager, 1999, 2001, 2009])

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 27 / 35

Page 46: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Spectra of A,P−1recA,P−1

updA CVXQP1 (n=1000,m=500), q1=q2=25

−5.6 2e+7 4e+7 6e+7 8e+7 10e+7−1

−0.5

0

0.5

1x 10

−3

Re(λ)

Im(λ

)

spectrum of M

0 0.5 1 1.5 2−1

−0.5

0

0.5

1x 10

−3

Re(λ)

Im(λ

)

spectrum of P−1M

2.9e−3 1 2 3−1

−0.5

0

0.5

1

Re(λ)

Im(λ

)

spectrum of Pupd−1 M (q

1= q

2= 25)

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 28 / 35

Page 47: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Numerical results

Updating strategy integrated into the Fortran IP solver PRQP (Potential Reduction solver for Quadratic Programming) [Cafieri,

D’Apuzzo, De Simone, di Serafino, Toraldo, 2007-2010])

Solution of KKT systems by SQMR

Sparse LDLT and low-rank update of Schur complement byCHOLMOD [Davis, Hager, 2009]

Adaptive criterion for choosing when to recompute Prec (based ontime and iterations)

Convex quadratic problems from CUTEst

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 29 / 35

Page 48: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Numerical results (extremely sparse Schur complement)

Prec Pupd (q=50) Pupd (q=100)

Problemn,m

nnz(S) IPits its time IPits its time IPits its time

CVXQP120000, 10000

6797616 209 2.07e+0 16 335 2.55e+0 16 323 2.49e+0

CVXQP320000, 15000

15594235 523 8.04e+0 35 755 8.86e+0 35 757 8.90e+0

STCQP216385, 8190

11466012 226 1.46e+0 12 235 1.43e+0 12 235 1.43e+0

CVXQP1-M20000, 10000

6797626 1015 7.65e+0 26 1812 1.21e+1 26 1845 1.22e+1

CVXQP3-M15000, 11250

15594230 1261 1.47e+1 30 2073 2.11e+1 30 2135 2.18e+1

MOSARQP122500, 20000

25716616 66 4.68e+0 16 189 4.83e+0 16 215 5.21e+0

QPBAND50000, 25000

2500012 757 7.13e+0 12 1600 1.43e+1 12 1599 1.37e+1

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 30 / 35

Page 49: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Numerical results (less sparse Schur complement)

Prec Pupd (q=50) Pupd (q=100)

Problemn,m

nnz(S) IPits its time IPits its time IPits its time

CVXQP1-D20000, 10000

24049415 239 2.95e+2 15 616 9.91e+1 15 602 1.03e+2

CVXQP3-D20000, 15000

54229615 192 1.03e+3 15 526 4.40e+2 15 481 4.55e+2

CVXQP3-D220000, 15000

22439615 288 9.95e+1 17 819 5.26e+1 17 802 5.46e+1

STCQP2-D16385, 81905003908

12 238 6.08e+2 12 262 1.22+2 12 262 1.22e+2

CVXQP1-M-D20000, 10000

24049428 1090 5.85e+2 28 3665 3.23e+2 27 3514 3.24e+2

CVXQP3-M-D20000, 15000

54229625 910 1.93e+3 25 3416 8.89e+2 25 3317 9.07e+2

CVXQP3-M-D220000, 15000

22439625 822 1.66e+2 25 2645 1.33e+2 25 2148 1.25e+2

MOSARQP1-D22500, 20000

57321624 93 4.94e+1 22 599 3.00e+1 22 440 2.78e+1

QPBAND-D50000, 25000

14998811 717 1.06e+3 11 2619 4.36e+2 11 2612 4.51e+2

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 31 / 35

Page 50: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Numerical results: some details (problem CVXQP3-D)

Prec Pupd (q=50)

IP it its Tfact Tsolve Tsum its Tprec Tsolve Tsum

1 30 5.18e+0 1.19e+0 6.37e+0 30 5.24e+0 1.18e+0 6.42e+0

2 12 5.16e+0 4.87e-1 5.65e+0 14 5.52e-1 5.54e-1 1.11e+0

3 8 5.16e+0 3.40e-1 5.50e+0 15 5.49e-1 6.01e-1 1.15e+0

4 5 5.12e+0 2.24e-1 5.35e+0 13 5.11e-1 5.29e-1 1.04e+0

5 5 5.14e+0 2.27e-1 5.37e+0 36 5.52e-1 1.37e+0 1.92e+0

6 8 5.16e+0 3.37e-1 5.50e+0 48 6.00e-1 1.79e+0 2.39e+0

7 10 5.15e+0 4.15e-1 5.57e+0 10 5.24e+0 4.17e-1 5.66e+0

8 12 5.16e+0 4.93e-1 5.65e+0 15 1.56e-1 5.89e-1 7.45e-1

9 14 5.13e+0 5.61e-1 5.70e+0 22 2.76e-1 8.39e-1 1.11e+0

10 14 5.18e+0 5.58e-1 5.74e+0 41 4.82e-1 1.54e+0 2.02e+0

11 16 5.14e+0 6.33e-1 5.78e+0 78 4.90e-1 2.90e+0 3.39e+0

12 17 5.17e+0 6.68e-1 5.83e+0 139 4.66e-1 5.09e+0 5.56e+0

13 19 5.14e+0 7.40e-1 5.88e+0 19 5.25e+0 7.44e-1 5.99e+0

14 21 5.15e+0 8.11e-1 5.97e+0 31 1.95e-1 1.16e+0 1.36e+0

15 24 5.15e+0 9.24e-1 6.08e+0 62 4.68e-1 2.32e+0 2.79e+0

16 26 5.13e+0 1.39e+0 6.51e+0 86 4.72e-1 3.17e+0 3.64e+0

17 47 5.27e+0 1.76e+0 7.03e+0 160 4.61e-1 5.83e+0 6.29e+0

288 8.77e+1 1.18e+1 9.95e+1 819 2.20e+1 3.06e+1 5.26e+1

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 32 / 35

Page 51: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

More details on the updating technique described so far in

B., Bertaccini, Morini, Nonsymmetric preconditioner updates in Newton-Krylov methodsfor nonlinear systems, SIAM J. Sci. Comput., 2011.

B., Morini, Porcelli, New updates of incomplete LU factorizations and applications tolarge nonlinear systems, Optimization Methods and Software, 2014.

B., De Simone, di Serafino, Morini, Updating constraint preconditioners for KKT systemsin quadratic programming via low-rank corrections, SIAM J. Opt., to appear

B., De Simone, di Serafino, Morini, On the update of constraint preconditioners forregularized KKT systems, 2015, submittedhttp://www.optimization-online.org/DB HTML/2014/03/4283.html

Thank you for your attention!

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 33 / 35

Page 52: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

Application of DU ilu to Newton-Krylov methods +linesearch

Implementation in a nearly matrix-free manner, diag(Jk) is computedby finite differences.

Safeguard against the risk of singular or nearly singular middle factorsDk in the updated preconditioners,

If singularity is detected ⇒ breakdownIf

mini=1,...,n

|(Dk)ii | ≤ τ∥Jseed∥1,

for some small positive τ ⇒ preconditioner from the previous Newtoniteration is frozen.

[Bellavia, Bertaccini, M. 2011]

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 34 / 35

Page 53: Preconditioner Updates for Solving Sequences of Linear ... · Preconditioner Updates for Solving Sequences of Linear

..........

.....

.....................................................................

.....

......

.....

.....

.

Updating constraint preconditioners

2D Nonlinear Convection diffusion problem

The two-dimensional nonlinear convection-diffusion model problem has theform,

−∆u + Re u(ux + uy ) = f (x , y) in Ω = [0, 1]× [0, 1],

u = 0 in ∂Ω,

where f (x , y) = 2000x(1− x)y(1− y), and Re is the Reynolds number.We discretized this problem using second order centered finite differenceson a uniform m ×m grid.

Stefania Bellavia Preconditioner updates ICERM Workshop, Sept. 2015 35 / 35