New Parameter of CG-Method with Exact Line Search for Unconstraint Optimization

Abstract

In this paper, a new CG method has been introduced to solve nonlinear equations systems. This method achieved the conditions of descent and global convergence, using the exact line search. The numerical results were good compared to other methods in terms of the number of iterations and the number of functions evaluation.

Share and Cite:

Hady, M. and Younis, M. (2020) New Parameter of CG-Method with Exact Line Search for Unconstraint Optimization. Open Access Library Journal, 7, 1-8. doi: 10.4236/oalib.1106236.

1. Introduction

The conjugate gradient method is one of the important ways to find the minimum value of a function for unconstrained optimization.

The conjugate gradient method is widespread because its requirements are a small memory. Unconstrained optimization problem can be expressed as follows:

min x R n f ( x ) (1)

where f : R n R is a continuous and derivative function. The CG method generates frequent updates in this format.

x k + 1 = x k + α k d k , k = 1 , 2 , 3 , 4 (2)

where xk is the current iteration point, α k > 0 is the positive step size using the “exact line search” as shown by the following:

α k = min α > 0 f ( x k + α k d k ) (3)

and dk is the search direction, which we get as follows:

d k = { g k for k = 0 g k + β k d k 1 for k 1 (4)

where k is integer and that gk is the gradient of the function f(x) and that βk is the coefficient of the conjugate gradient associated with the function f(x) at the point xk.

Some of the known conjugation methods are:

β k F R = g k T g k g k 1 2 , β k P R = g k T ( g k g k 1 ) g k 1 2

β k H S = g k T ( g k g k 1 ) ( g k g k 1 ) T d k 1 , β k D Y = g k T g k ( g k g k 1 ) T d k 1

β k L s = g k T ( g k g k 1 ) g k 1 T d k 1 , β k C D = g k T g k d k 1 T g k 1

The coefficient gradient coefficient β k R is a numerical constant, which determines the difference in different CG methods when g k 1 , g k denote the gradient of a function f(x) at points x k 1 , x k , respectively.

The above methods are known as:

Fletcher and Reeves (FR) [1] , Polka and Ribiere (PR) [2] , Hestenes and Steifel (HS) [3] , Dai and Yuan (DY) [4] , Liu and Story (LS) [5] , Conjugate Descent (CD) by Fletcher [6] .

These aforementioned methods behave strictly convex quadratic functions in a behavior that is completely different from what they do in non-quadratic general functions. In any case, most of these methods examine the properties of universal approach in the field of conjugated gradient.

However, in recent years, there have been many attempts that have been directed towards building new formulas for CG methods with good numerical performance and achieving the characteristics of global convergence.

2. The New Conjugate Gradient and Its Algorithm

It is well known that the methods of numerical optimization are iterative methods and there is no specific method suitable for all types of problems. Each method has its advantages and new features as well as some of the characteristics that are not good and are efficient for some types of problems and not efficient for other types of problems.

The new coefficient of gradient is

β k M E = g k T g k ( g k + d k 1 ) T d k 1 (5)

New method algorithm

Step (1): Set ϵ > 0 , d 0 = g 0 , k = 0 and choose an initial value X0

Step (2): Calculate β M E from (5)

Step (3): Calculate d k = g k + β k M E d k 1

In the case if g k = 0 , stop

Step (4): Calculate α k = min α > 0 f ( x k + α d k )

Step (5): Calculate the new point with the following iterative formula:

x k + 1 = x k + α k d k (6)

Step (6): Test if it is

f ( x k + 1 ) < f (xk)

And also

g k ϵ Stop

Otherwise, go to step (1) with k = k + 1

The coefficient β k is chosen in such a way that d k + 1 is G-conjugate to d 0 , d 1 , d 2 , , d k .

Lemma (1)

In the conjugate direction algorithm

g k + 1 T d i = 0 for all k , 0 k n 1 and 0 i k .

Proposition: In the conjugate gradient algorithm the direction d 0 , d 1 , , d n 1 are G-conjugate.

Proof: By using induction

We first show

d 0 T G d 1 = 0

d 0 T G d 1 = d 0 T G ( g 1 + β 1 d 0 ) = d 0 T G g 1 + β 1 d 0 T G d 0

by ELS

= β 1 d 0 T ( g 1 g 0 ) α 0 when α 0 in (3)

= β 1 d 0 T g 0 α 0

= g 1 T g 1 ( g 1 + d 0 ) T d 0 d 0 T g 0 α 0 by Lemma (1) and ELS we get =zero

Now we assume that d k 1 T G d k = 0 is correct. And we prove that d k T G d k + 1 = 0

d k T G d k + 1 = d k T G ( g k + 1 + β k + 1 d k ) = d k T G g k + 1 + β k + 1 d k T G d k = β k + 1 d k T ( g k + 1 g k ) α k when α k in ( 3 ) = β k + 1 d k T g k α k = g k + 1 T g k + 1 ( g k + 1 + d k ) T d k d k T g k α k

By Lemma (1) and ELS we get d k T G d k + 1 = 0 .

The fulfillment of the descent condition g k T d k < 0 .

The new method is shown as follows:

g k T d k = g k T g k + β M g k T d k 1

By ELS, we get

g k T d k = g k T g k = g k 2 < 0

So g k T d k < 0 .

Thus the descent condition is held.

3. Global Convergence

An analysis of the overall convergence using the Exact Line search (ELS) demonstrates according to the following hypotheses:

1) In the neighborhood N of L the function f(x) is continuous, derivative, bound and defined at the level set L = { x , f ( x ) f ( x 0 ) } , when x0 is an initial point.

2) The gradient is Lipschitz condition when there is a constant number L > 0 so that

g ( x ) g ( y ) L x y , for all x , y N

According to these assumptions we have the following taken by Zoutendijk [7] .

Lemma 2: Assuming assumption 1) is correct, we consider the conjugate regression methods formulated in formula (3), where dk is the descent search direction, α k fulfills the exact line search of the minimization rules, so the following condition defined by the Zoutendijk condition is held:

k = 0 ( g k T d k ) 2 d k 2 < (7)

From Lemma (2), we can obtain a convergence theorem of the conjugate gradient CG method using

β k M E = g k T g k ( g k + d k 1 ) T d k 1 (8)

Theorem 1: Suppose that the assumption 1) is satisfied. Consider every CG method in the form (4), where α k is obtained by the exact minimization rules. Then either

lim k g k = 0 or k = 0 ( g k T d k ) 2 d k 2 < (9)

Proof. By contradiction, if theorem 1 is not true, there exists a constant c > 0 such that

g k c (10)

d k = g k + β k d k 1

d k + g k = β k d k 1

Squaring both sides

d k 2 + 2 g k T d k + g k 2 = | β k | 2 d k 1 2

d k 2 = | β k | 2 d k 1 2 2 g k T d k g k 2 (11)

But g k T d k = c g k 2 .

Dividing both sides of (11) by ( g k T d k ) 2 given

d k 2 ( g k T d k ) 2 = | β k | 2 d k 1 2 ( g k T d k ) 2 2 g k T d k ( g k T d k ) 2 g k 2 ( g k T d k ) 2 | β k | 2 g k 1 2 ( g k T d k ) 2 + 1 g k 2 { g k T g k ( g k + d k 1 ) T d k 1 } 2 d k 1 2 ( g k T d k ) 2 + 1 g k 2 { g k 2 g k T d k 1 + d k 1 2 } 2 d k 1 2 ( g k 2 ) 2 + 1 g k 2 g k 4 d k 1 4 d k 1 2 g k 4 + 1 g k 2 1 d k 1 2 + 1 g k 2 (12)

But note that 1 d 0 2 = 1 g 0 2 , then from (12) we get

g k 2 ( g k T d k ) 2 1 g k 1 2 + 1 g k 2 i = 0 k 1 g i 2

( g k T d k ) 2 d k 2 c 2 k (13)

From (10) and (13) we get

k = 0 ( g k T d k ) 2 d k 2 =

This contradicts the Zoutendijk condition in lemma (2) which completes the proof. □

4. Numerical Results

In this section we consider the numerical solution for this research. The conjugate gradient method of ME, Dai and Yuan, and Fletcher and Reeves were tested. Some test problems considered in Andrei [8] . We are selected based on the number of iteration and number of function evaluation (Table 1 and Table 2).

Table 1. Comparison of the algorithms for n = 100.

Table 2. Comparison of the algorithms for n = 1000.

5. Conclusion

A new kind of parameter in the conjugate gradient method for large scale unconstrained optimization problems is proposed. Numerical results are detected that the new method is superior in practice with competitive DY and FR methods.

A List of Test Function

F1 Extended Trigonometric Function.

F2 Diagonal 2 function.

F3 Extended Tridiagonal −1 function.

F4 Extended Three Exponential Terms.

F5 Generalized PSC1 function.

F6 Extended PSC1 Function.

F7 Extended Block Diagonal BD1 function.

F8 Extended Quadratic Penalty QP1 function.

F9 Extended Tridiagonal −2 function.

F10 Nondquar (CUTE).

F11 DIXMAANC (CUTE).

F12 DIXMAANE (CUTE).

F13 EDENSCH function (CUTE).

F14 STAIRCASE S1/F52 VARDIM function (CUTE).

F15 ENGVAL1 (CUTE).

F16 DENSCHNA (CUTE).

F17 DENSCHNB (CUTE).

F18 DIGGSB1 (CUTE).

F19 Diagonal 7.

F20 SINCOS.

F21 HIMMELBG (CUTE).

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Fletcher, R. and Reeves, C.M. (1964) Function Minimization by Conjugate Gradients. The Computer Journal, 7, 149-154. https://doi.org/10.1093/comjnl/7.2.149
[2] Polak, E. and Ribiere, G. (1969) Note sur la convergence de méthodes de directions conjuguées. ESAIM: Mathematical Modelling and Numerical Analysis-Modélisation Mathématique et Analyse Numérique, 3, 35-43. https://doi.org/10.1051/m2an/196903R100351
[3] Hestenes, M.R. and Stiefel, E. (1952) Methods of Conjugate Gradients for Solving Linear Systems. Journal of Research National Bureau Standards, 49, 409-436.
https://doi.org/10.6028/jres.049.044
[4] Dai, Y.-H. and Yuan, Y. (1999) A Nonlinear Conjugate Gradient Method with a Strong Global Convergence Property. SIAM Journal on Optimization, 10, 177-182.
https://doi.org/10.1137/S1052623497318992
[5] Liu, Y. and Storey, C. (1991) Efficient Generalized Conjugate Gradient Algorithms, Part 1: Theory. Journal of Optimization Theory and Applications, 69, 129-137.
https://doi.org/10.1007/BF00940464
[6] Fletcher, R. (1987) Practical Methods of Optimization, Vol. 1, Unconstrained Optimization. Wiley, New York.
[7] Sun, J. and Zhang, J. (2001) Global Convergence of Conjugate Gradient Methods without Line Search. Annals of Operations Research, 103, 161-173.
https://doi.org/10.1023/A:1012903105391
[8] Andrei, N. (2008) An Unconstrained Optimization Test Functions Collection. Advanced Modeling and Optimization, 10, 147-161.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.