integration of bound constraints in a recursive multilevel trust … · 2016. 3. 15. · m. mouffe...

24
Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion Integration of bound constraints in a recursive multilevel trust-region algorithm M. Mouffe CERFACS, Toulouse 10th October 2007 joint work with S. Gratton Ph. L. Toint CERFACS, Toulouse FUNDP, Namur S. Gratton, M. Mouffe, Ph. L. Toint 1/23 Integration of bound constraints in a recursive multilevel trust-region algorithm

Upload: others

Post on 01-Feb-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Integration of bound constraints in a recursivemultilevel trust-region algorithm

    M. MouffeCERFACS, Toulouse

    10th October 2007

    joint work with

    S. Gratton Ph. L. TointCERFACS, Toulouse FUNDP, Namur

    S. Gratton, M. Mouffe, Ph. L. Toint 1/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Outline

    I Introduction

    Multilevel trust-region algorithm

    Bound constraints

    Conclusion and perspectives

    S. Gratton, M. Mouffe, Ph. L. Toint 2/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Trust-region mechanism[ A. Conn, N. Gould and Ph. L. Toint, 2000 ]

    I Define a model mk of the objective function f

    I Define a trust region where the model is supposed to represent wellthe objective function

    I Compute a step (TR subproblem)I inside the TR (in Euclidean or infinite norm)I that sufficiently reduces mk

    I Step acceptance and TR radius ∆ update related to the ratio

    f (xk+1)− f (xk)mk(xk+1)−mk(xk)

    I Refuse the step and shrink the TR when the ratio is smallerthan a constant

    I Accept the step and possibly enlarge the TR when the ratio islarge enough

    S. Gratton, M. Mouffe, Ph. L. Toint 3/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Why multigrid

    I Solution based on discretization :High accuracy ⇒ computational cost

    I Use of coarse grids :

    1. find a good starting point2. solve a subproblem (e.g. the TR subproblem)

    I Well-known for solving SPD linear systems resulting of thediscretization of a continuous problem[ W. Briggs, V.E. Henson and S. McCormick, 2000 ]

    I Nonlinear systems[ W. Hackbuch and A. Reusken, 1989 ]

    S. Gratton, M. Mouffe, Ph. L. Toint 4/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Outline

    Introduction

    I Multilevel trust-region algorithm

    Bound constraints

    Conclusion and perspectives

    S. Gratton, M. Mouffe, Ph. L. Toint 5/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Multigrid

    I Suppose you have a set of discretizations of the objectivefunction f :

    {fi}ri=0with fr = f .

    I Define transfert operators :

    Ri : IRni → IRni−1 Restriction

    Pi : IRni−1 → IRni Prolongation

    I Use coarser levels of discretization to :

    1. Find a good starting point2. Solve the TR subproblem

    S. Gratton, M. Mouffe, Ph. L. Toint 6/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Full multilevel scheme (FMG) :Combination of mesh refinement and V-cycles

    0

    0

    0

    0 * * * * *

    *

    *

    *

    *

    *

    **

    *

    *0

    0

    0

    0

    S. Gratton, M. Mouffe, Ph. L. Toint 7/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Outline

    Introduction

    Multilevel trust-region algorithm

    I Bound constraints

    Conclusion and perspectives

    S. Gratton, M. Mouffe, Ph. L. Toint 8/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Theoretical point of view

    Starting from RMTR :

    I Adapt the criticality measure

    I Ensure sufficient decrease at smoothing iterates

    I Ensure step properties :

    1. Trust region2. Feasibility

    for iterates computed on a coarser level

    Convergence

    S. Gratton, M. Mouffe, Ph. L. Toint 9/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    First adapt like the classical TR method

    I Use of an infinity norm trust region

    I Criticality measure :

    ||∇x fi ,k(xi ,k)|| ⇒ χi ,k = | minxi,k + d ∈ C||d||∞ ≤ 1

    ∇x fi ,k(xi ,k)Td |

    [ A. Conn, N. Gould and Ph. L. Toint, 2000 ]

    I Sufficient decrease :

    mi,k(xi,k+1)−mi,k(xi,k) ≥ κχi,k min[χi,kβi,k

    ,∆i,k , 1

    ]I Stopping criterion : χi,k ≤ ε (i fine)I Descent condition : χi−1 > κgχi (i − 1 coarse)

    S. Gratton, M. Mouffe, Ph. L. Toint 10/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Zoom on the coarse step computation

    *0

    k

    l l+1

    k+1i

    i−1level

    level

    It is sufficient that si ,k = Psi−1,∗

    I lays inside the TR (bounded violation)

    I is feasible with respect to bound constraints

    [ S. Gratton, M. Mouffe, Ph. L. Toint, M. WeberMendonça, 2007 ]

    S. Gratton, M. Mouffe, Ph. L. Toint 11/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Step inside the TR

    I Coarse trust region definition :

    1. Use R on the upper TR2. Local independant TR3. Intersect to define the “working” TR

    I Consequence :1. and 3. ⇒ The prolongation of the coarse step is inside amultiplicative constant of the TR

    S. Gratton, M. Mouffe, Ph. L. Toint 12/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Possible treatments of the coarse bounds

    1. Linearly constrained problem

    2. Simple restriction of the bounds

    3. Adapt E. Gelman and J. Mandel’s definition

    4. Add a security layer to 3.

    5. ...

    S. Gratton, M. Mouffe, Ph. L. Toint 13/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    1. Linearly constrained problem

    l ≤ Pr ...Pi si ,k ≤ u

    I Risk : Expensive to solve even on a coarser level

    I Recursive idea is lost

    I Maintain bound constrained nature of the problem at all levels

    S. Gratton, M. Mouffe, Ph. L. Toint 14/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    2. Simple restriction of the fine bounds

    I Definition : li−1 = Rli and ui−1 = Rui

    I Possibility to have infeasible iterates :

    PRl � l or PRu � u

    1 2 3 4 5 6 7 8 9−1

    −0.5

    0

    0.5

    1

    1.5

    2

    1 2 3 4 5 6 7 8 9−1

    −0.5

    0

    0.5

    1

    1.5

    2

    Fine bounds

    restricted coarse boundsProlongation of the simply

    S. Gratton, M. Mouffe, Ph. L. Toint 15/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    2. Simple restriction of the fine bounds

    I Solution : projection of the infeasible iterate on the finebounds

    I Need to check sufficient decrease

    I Risk : many rejections of coarse steps

    I Strategies to limit the length of the coarse step

    S. Gratton, M. Mouffe, Ph. L. Toint 16/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    3. Adaptation of Gelman & Mandel’s definition

    I Definition :

    [lr−1]j = [Rrxr ,k ]j + max

    t = 1, . . . , nr[Pr ]tj > 0

    [l − xr ,k ]t

    [ur−1]j = [Rrxr ,k ]j + mint = 1, . . . , nr

    [Pr ]tj > 0

    [u − xr ,k ]t

    [ E. Gelman and J. Mandel, 1990 ]

    1 2 3 4 5 6 7 8 9−1

    −0.5

    0

    0.5

    1

    1.5

    2

    1 2 3 4 5 6 7 8 9−1

    −0.5

    0

    0.5

    1

    1.5

    2

    Fine bounds

    Prolongation of theGM coarse bounds

    I Generalization to P negative and ||P||∞ > 1

    S. Gratton, M. Mouffe, Ph. L. Toint 17/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    3. Adaptation of Gelman & Mandel’s definition

    I NO infeasible iterates⇒ Convergence

    I BUT avoid too restrictive steps⇒ Authorize controled infeasibility

    I Define a security layer around the GM coarse set of constraints

    I BUT checking the sufficient decrease condition remains costly

    S. Gratton, M. Mouffe, Ph. L. Toint 18/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Active constraints identification

    I Constraint activation at the uppest levelTheory OK

    I Try to adapt other identification techniques :I LBFGSB

    [ R. H. Byrd, P. Lu, J. Nocedal and C. Y. Zhu, 1995 ]I ASA

    [ W. W. Hager and H. Zhang, 2006 ]I ASTRAL

    [ L. Xu and J. V. Burke, 2007 ]I Expansion step

    [ M. Domoradova and Z. Dostal, 2007 ]

    S. Gratton, M. Mouffe, Ph. L. Toint 19/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Minimal surface problem

    Solve

    minu

    ∫ ba

    ∫ ba

    √1 + u2x + u

    2ydxdy

    Boundary conditions :{r0 = r2 = x(1− x)r1 = r3 = 0

    Constraints : lb = 2 if4(b−a)

    9 ≤ x ≤5(b−a)

    90 otherwise

    ub = ∞

    Variables : ≈ 106

    S. Gratton, M. Mouffe, Ph. L. Toint 20/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Results

    Mesh Refinement RMTR∞Nb iter 4009 125

    Nb eval f 1551 146

    Nb eval g 1547 142

    Nb eval H 40 24

    1 23 4

    5

    02

    460

    1

    2

    solution at level 1 (converged)

    05

    10

    05

    100

    1

    2

    solution at level 2 (end of cycle)

    0 510 15

    20

    010

    200

    1

    2

    solution at level 3 (end of cycle)

    0 1020 30

    40

    020

    400

    1

    2

    solution at level 4 (end of cycle)

    0 2040 60

    80

    050

    1000

    1

    2

    solution at level 5 (end of cycle)

    050

    100150

    050

    100150

    0

    1

    2

    solution at level 6 (converged)

    S. Gratton, M. Mouffe, Ph. L. Toint 21/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Outline

    Introduction

    Multilevel trust-region algorithm

    Bound constraints

    I Conclusion and perspectives

    S. Gratton, M. Mouffe, Ph. L. Toint 22/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Conclusion

    I RMTR has become a bound constrained solver

    I Convergence theory

    I Good results with Matlab code

    I Adaptation to Fortran (with D. Tomanos, FUNDP, Namur,Belgium)

    I Looking forward to integrating usual bound managementtechniques in RMTR

    S. Gratton, M. Mouffe, Ph. L. Toint 23/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

  • Introduction Multilevel trust-region algorithm (RMTR) Bound contraints Conclusion

    Thank you !

    S. Gratton, M. Mouffe, Ph. L. Toint 24/23

    Integration of bound constraints in a recursive multilevel trust-region algorithm

    IntroductionMultilevel trust-region algorithm (RMTR)Bound contraintsConclusion