Abstract
A system of simultaneous multi-variable nonlinear equations can be solved by Newton’s method with local q-quadratic convergence if the Jacobian is analytically available. If this is not the case, then quasi-Newton methods with local q-superlinear convergence give solutions by approximating the Jacobian in some way. Unfortunately, the quasi-Newton condition (Secant equation) does not completely specify the Jacobian approximate in multi-dimensional cases, so its full-rank update is not possible with classic variants of the method. The suggested new iteration strategy (“T-Secant”) allows for a full-rank update of the Jacobian approximate in each iteration by determining two independent approximates for the solution. They are used to generate a set of new independent trial approximates; then, the Jacobian approximate can be fully updated. It is shown that the T-Secant approximate is in the vicinity of the classic quasi-Newton approximate, providing that the solution is evenly surrounded by the new trial approximates. The suggested procedure increases the superlinear convergence of the Secant method to super-quadratic and the quadratic convergence of the Newton method to cubic in one-dimensional cases. In multi-dimensional cases, the Broyden-type efficiency (mean convergence rate) of the suggested method is an order higher than the efficiency of other classic low-rank-update quasi-Newton methods, as shown by numerical examples on a Rosenbrock-type test function with up to 1000 variables. The geometrical representation (hyperbolic approximation) in single-variable cases helps explain the basic operations, and a vector-space description is also given in multi-variable cases.
1. Introduction
It is a common task in numerous disciplines (e.g., physics, chemistry, biology, economics, robotics, and engineering, social, and medical sciences) to construct a mathematical model with some parameters for an observed system which gives an observable response to an observable external effect. The unknown parameters of the mathematical model are determined so that the difference between the observed and the simulated system responses of the mathematical model for the same external effect is minimized (see e.g., [1,2,3,4,5,6,7,8,9,10,11]). This problem leads to finding the zero of a residual function (difference between observed and simulated responses). The rapidly accelerating computational tools and the increasing complexity of mathematical models with more and more efficient numerical algorithms provide a chance for better understanding and control of the surrounding nature.
As referenced above, root-finding methods are essential for solving a great class of numerical problems, such as data fitting problems with sampled data () and adjustable parameters () with . This leads to the problem of least-squares solving of an over-determined system of nonlinear equations,
( and ()), where the solution minimizes the difference
between the data and a computational model function . The system of simultaneous multi-variable nonlinear Equation (1) can be solved by Newton’s method when the derivatives of are available analytically and a new iterate,
that follows can be determined, where is the function value and is the Jacobian matrix of at in the iteration step. Newton’s method is one of the most widely used algorithm, with very attractive theoretical and practical properties and with some limitations. The computational costs of Newton’s method is high, since the Jacobian and the solution to the linear system (3) must be computed at each iteration. In many cases, explicit formulae for the function are not available ( can be a residual function between a system model response and an observation of that system response) and the Jacobian can only be approximated. The classic Newton’s method can be modified in many different ways. The partial derivatives of the Jacobian may be replaced by suitable difference quotients (discretized Newton iteration, see [12,13]),
, with additional function value evaluations, where is the Cartesian unit vector. However, it is difficult to choose the stepsize . If any is too large, then Expression (4) can be a bad approximation to the Jacobian, so the iteration converges much more slowly if it converges at all. On the other hand, if any is too small, then , and cancellations can occur which reduce the accuracy of the difference quotients (4) (see [14]). The suggested procedure (“T-Secant”) may resemble the discretized Newton iteration, but it uses a systematic procedure to determine suitable stepsizes for the Jacobian approximates. Another modification is the inexact Newton approach, where the nonlinear equation is solved by an iterative linear solver (see [15,16,17]).
It is well-known that the local convergence of Newton’s method is q-quadratic if the initial trial approximate is close enough to the solution , is non-singular, and satisfies the Lipschitz condition
for all close enough to . However, in many cases, the function is not an analytical function, the partial derivatives are not known, and Newton’s method cannot be applied. Quasi-Newton methods are defined as the generalization of Equation (3) as
and
where
is the iteration step length and is expected to be the approximate to the Jacobian matrix without computing derivatives in most cases. The new iterate is then given as
and is updated to according to the specific quasi-Newton method. Martinez [18] has made a thorough survey on practical quasi-Newton methods. The iterative methods of the form (6) that satisfy the equation
for all are called “quasi-Newton” methods, and Equation (10) is called the fundamental equation of quasi-Newton methods (“quasi-Newton condition” or “secant equation”). However, the quasi-Newton condition does not uniquely specify the updated Jacobian approximate , and further constraints are needed. Different methods offer their own specific solution. One new quasi-Newton approximate will never allow for a full-rank update of because it is an matrix and only components can be determined from the Secant equation, making it an under-determined system of equations for the elements if .
The suggested new strategy is based on Wolfe’s [19] formulation of a generalized Secant method. The function
is locally replaced by linear interpolation through interpolation base points , . The variables and the function values are separated into two equations and an auxiliary variable is introduced. Then the Jacobian approximate matrix is split into a variable difference and a function value difference matrix, and the zero of the interpolation plane is determined from the quasi-Newton condition (7) as
where
The auxiliary variable is determined from the second row of Equation (12), and the new quasi-Newton approximate comes from the first row of this equation. Popper [20] made further generalization for functions
and suggested the use of a pseudo-inverse solution for the over-determined system of linear equations (where is the number of unknowns and is the number of function values). The auxiliary variable is determined from the second row of Equation (12) as
where stands for the pseudo-inverse, and the new quasi-Newton approximate comes from the first row of this equation as
The new iteration continues with new base points , . Details are given in Section 3.
Ortega and Rheinboldt [12] stated that a necessary condition of convergence is that the interpolation base points should be linearly independent and they have to be “in general position” through the whole iteration process. Experiences show that the low-rank update procedures often lead to a dead end because this condition is not satisfied. The purpose of the suggested new iteration strategy is to determine linearly independent base points providing that the Ortega and Rheinboldt condition is satisfied. The basic idea of the procedure is that another new approximate is determined from the previous approximate and a new system of linearly independent base points is generated. The basic equations of the Wolfe–Popper formulation (Equation (12)) were modified as
where
and
The auxiliary variable is determined from the second row of Equation (17) as
and the new quasi-Newton approximate comes from the first row of Equation (17) as
. The details of the proposed new strategy (“T-Secant method”) are given in Section 4. It is different from the traditional Secant method in that all interpolation base points and are updated in each iteration (full-rank update), providing new base points and for the next iteration. The key idea of the method is very simple. The function value (that can be determined from the new Secant approximate ) measures the “distance” of the approximate from the root (if , then the distance is zero and ). The T-Secant method uses this information so that the basic equations of the Secant method are modified by a scaling transformation , and an additional new estimate is determined. Then, the new approximates and are used to construct the new interpolation base points and .
The T-Secant procedure has been worked out for solving multi-variable problems. It can also be applied for solving single-variable ones, however. The geometrical representation of the latter provides a good view with which to explain the mechanism of the procedure as shown in Section 5. It is a surprising result that the T-Secant modification corresponds to a hyperbolic function
the zero of which gives the second approximate in the single-variable case. A vector space interpretation is also given for the multvariable case in this section.
The general formulations of the proposed method are given in Section 6 and compared with the basic formula of classic quasi-Newton methods. It follows from Equation (16) that
where
is the Jacobian approximate of the traditional Secant method. It follows from the first and second rows of Equation (17) of the T-Secant method and from the Definition (25) of that
is the modified Secant equation, where
It is well known that the single-variable Secant method has asymptotic convergence for sufficiently good initial approximates and if does not vanish in and is continuous at least in a neighborhood of the zero . The super-linear convergence property has been proved in different ways, and it is known that the order of convergence is (where is the golden ratio). The convergence order of the proposed method is determined in Section 7, and it is shown that it has super-quadratic convergence with rate in the single variable case. It is also shown for the multi-variable case in this section that the second approximate will always be in the vicinity of the classic Secant approximate , providing that the solution will evenly be surrounded by the new trial approximates and matrix will be well-conditioned.
A step-by-step algorithm is given in Section 8, and the results of numerical tests with a Rosenbrock-type test function demonstrates the stability of the proposed strategy in Section 9 for up to 1000 unknown variables. The Broyden-type efficiency (mean convergence rate) of the proposed method is studied in a multi-variable case in Section 10, and it is compared with other classic rank-one update and line-search methods on the basis of available test data. It is shown in Section 11 how the new procedure can be used to improve the convergence of other classic multi-variable root finding methods (Newton–Raphson and Broyden methods). Concluding remarks are summarized in Section 12. Among others, the method has been used for the identification of vibrating mechanical systems (foundation pile driving [21,22], percussive drilling [23]) and found to be very stable and efficient even in cases with a large number of unknowns.
The proposed method needs function value evaluations in each iteration, and it is not using the derivative information of the function like the Newton–Raphson method is doing. On the other hand, it needs more function evaluations than the traditional secant method needs in each iteration. However, this is an apparent disadvantage, as the convergence rate considerably increases (). Furthermore, the stability and the efficiency of the procedure has been greatly improved.
2. Notations
Vectors and matrices are denoted by bold-face letters. Subscripts refer to components of vectors and matrices; superscripts and refer to interpolation base points. Notations and are introduced so as to be able to clearly distinguish between the two new approximates and . Vectors and matrices may also be given by their general elements. Δ refers to a difference of two elements. and denote unknown quantities. and denote function values and matrices. , , , and denote multiplier scalars, vectors, and matrices. , , and denote approximate error. is iteration counter, is convergence rate, and is termination criterion. is the number of unknowns, is the number of function values, and , , , and l are running indexes of matrix columns and rows. Superscripts and refer to the traditional Secant method and to the proposed T-Secant method, receptively.
3. Secant Method
The history of the Secant method in single-variable cases is several thousands of years old, its origin was found in ancient times. The idea of finding the scalar root of a scalar nonlinear function
by successive local replacement of the function by linear interpolation (secant line) gives a simple and efficient numerical procedure. It has the advantage that it does not need the calculation of function derivatives, it only uses function values, and the order of asymptotic convergence is super-linear with a convergence of rate .
The function is locally replaced by linear interpolation (secant line) through interpolation base points and , and the zero of the Secant line is determined as an approximate to the zero of the function. The next iteration continues with new base points, selected from available old ones. Wolfe [19] extended the scalar procedure to multidimensional
and Popper [20] made a further generalization
and suggested use of pseudo-inverse solution for the over-determined system of linear equations (where is the number of unknowns and is the number of function values).
The zero of the nonlinear function has to be found, where and . Let be the initial trial for the zero , and let the function be linearly interpolated through interpolation base points and and be approximated/replaced by the interpolation “plane” near . One of the key ideas of the suggested numerical procedure is that interpolation base points are constructed by individually incrementing the coordinates of the initial trial by an “initial trial increment” value as
or in vector form as
where is the Cartesian unit vector, as shown in Figure 1.
Figure 1.
Formulation of a new set of base vectors : , , , and interpolation base points , , and from new approximate and from new trial increment (iteration stepsize) .
It follows from this special construction of the initial trials that for and for providing that
is the “initial trial increment vector”. Let
. Any point on the dimensional interpolation plane can be expressed as
where
, is a vector with scalar multipliers , and as a consequence of Equation (32),
is a diagonal matrix that has great computational advantage. It also follows from Definition (34) that
Let be the zero of the n-dimensional interpolation plane with interpolation base points and in the iteration. Then, it follows from the zero condition that
and from the second row of Equation (35) that
and the vector of multipliers can be expressed as
where stands for the pseudo-inverse. Let
be the iteration stepsize of the Secant method; then, it follows from the first row of Equation (35) and from Equation (42) that
and from Definition (43), it follows that
and the new Secant approximate can be expressed from Equation (44) as
A new base point can than be determined for the next iteration. In a single-variable case with interpolation base points and , Equation (42) will have the form
and the new Secant approximate
can be determined according to Equation (46). The procedure then continues with new interpolation base points and .
4. T-Secant Method
4.1. Single-Variable Case
The T-Secant method is different from the traditional Secant method in the way that all interpolation base points and are updated in each iteration, providing new base points and for the next iteration. The key idea of the method is very simple. The function value (that can be determined from the new Secant approximate ) measures the “distance” of the approximate from the root (if , then the distance is zero and ). The T-Secant method uses this information to determine another approximate . In a single-variable case with interpolation base points and , the basic equation
of the Secant method (Equation (41) in multi-variable case) is modified by a factor
that expresses the “improvement rate” of the new approximate to the original approximate , providing the T-Secant-modified basic equation
Then, the T-Secant multiplier
can be determined. The other basic equation
of the Secant method (Equation (44) in multi-variable case) with iteration stepsize
is also modified in a similar way to that in the case of Equations (49) and (51) by a factor
that expresses the “improvement rate” of the new “T-Secant stepsize” to the previous “secant stepsize” , providing a new basic equation
from which
and
By re-ordering Equation (58), the T-Secant approximate
can be determined, and it is used to update the original interpolation base point to . The new iteration will then continue with new base points and . Note that it follows from Equations (52), (53), and (59) that
4.2. Multi-Variable Case
In the multi-variable case with interpolation base points and , the basic equations of the Secant method (Equations (41) and (44)) are modified as
and
Then, a vector-based equation can be formulated, as in case of the traditional Secant method (see Equation (35)), in a the following form:
where and are defined in (36) and (37), is a function with zero at , and the diagonal transformation matrix in the iteration is
with and sub-diagonals, where
and is approximated with the assumption and according to the conditions and as
, , where . The vector of T-Secant multipliers
can be determined from Equation (61), where stands for the pseudo-inverse ( has already been calculated when was determined from Equation (42)). The element of the new approximate can be expressed from the row of Equation (62):
and the T-Secant approximate can be expressed as
where and . Then, the next iteration continues with the new trial increment vector (iteration stepsize)
and with new interpolation base points . Figure 1 shows the formulation of a set of new base vectors from and in the case.
Let the ratio of constants and be introduced as
Then, it follows from Equations (42), (44), (68), (70), and (71) that the element of the new trial increment vector is
The basic equations in single-variable and multi-variable cases are summarized in Table 1.
Table 1.
Summary of the basic equations (single- and multi-variable cases).
5. Geometry
5.1. Single-Variable Case
The T-Secant procedure has been worked out for solving multi-variable problems. It can also be applied for solving single-variable ones, however. The geometrical representation of the latter gives a good view with which to explain the mechanism of the procedure.
Find the scalar root of a nonlinear function , where and . Let the function be linearly interpolated through initial base points and , providing a “secant” line as shown on Figure 2, where and are the corresponding function values. An arbitrary point of the Secant can be expressed as
where is a scalar multiplier. Let a new approximate be the root of the Secant and let
be the iteration stepsize. It follows from condition
and from the second row of Equation (74) that
and the scalar multiplier can be determined as
From the first row of Equation (74), the iteration stepsize is given as
and the new approximate can be expressed as
A new base point (see Figure 2) can then be determined for the next iteration. Two out of the three available base points are used for the next iteration by omitting either or in the case of the traditional secant method. The decision is not obvious and it may cause the iteration to unstable and/or not converge to the solution. Instead, an additional new approximate is determined by the T-Secant procedure as a root of the function near the first Secant approximate , and iteration continues with new base points and . An arbitrary point of the function can be expressed as
where the transformation scalars for and at are
Then, it follows from condition
and from the second row of Equation (81) that
and
The new approximate can then be expressed from the first row of Equation (81) as
The new base point (see Figure 2) can then be determined. Interpolation base points and are used for the next iteration. The scalar multiplier can be expressed from Equation (86) as
By substituting it into the second row of Equation (81) and changing to , it turns into a hyperbolic function
with vertical and horizontal asymptotes and , where
and the root of the function will be in the vicinity of in “appropriate distance”, which is regulated by the function value (see Figure 2). This virtue of the T-Secant procedure is that it ensures an automatic mechanism for having base vectors in general positions through the whole iteration process, providing a stable and efficient numerical performance.
Figure 2.
Geometrical representation of the Secant method in asingle-variable case: (A) classic Secant method; (B) T-Secant modification.
5.2. Multi-Variable Case
Find the root of a nonlinear function , where and . Let the function be linearly interpolated through base points and in the space ( space) in the iteration as shown on Figure 3, where , given a set of approximates and
in the space ( space) with , where is the Cartesian unit vector. Let the expression
represent the linear combination of column vectors
in the space ( space) with column index, and with row index, and the expression
represents the same linear combination of column vectors
with column index, and with row index. The linear combination is determined from Equation (42) in step (see Figure 3), providing a new approximate
for the solution , and the corresponding vector is also determined in step (see Figure 3). The column vectors of are then modified by a non-uniform scaling transformation,
and a new linear combination is determined from Equation (68) in step (see Figure 3), providing a new approximate for the solution with elements
A new set of approximates and
() can then be generated with iteration stepsize
for the next iteration.
Figure 3.
Vector space description of the T-Secant method in the multi-variable case ().
5.3. Single-Variable Example
An example is given with function , where and
with root . Figure 4 and Table 2 summarize the results of the first two iterations (left: is the zero of , is the zero of ; right: is the zero of , is the zero of ). Iterations were made with initial approximates and , providing (). The first Secant approximate is found as the zero of the first Secant , and the first T-Secant appropriate is found as the zero of the first hyperbola function (Figure 4, left). Iteration then goes on () with new interpolation base points and providing , and new approximates and are found as the zeros of the second Secant and the second hyperbola function and , respectively (Figure 4, right). The next iteration () will then continue with interpolation base point and and with . The iterated values of and are also indicated in the diagrams. Further diagrams for this example are shown in Section 7.3.
Table 2.
T-Secant iteration results with and (see also Figure 4 for ).
6. General Formulations
Re-ordering Equation (44) gives the general equation
of the Secant method. The initial trials are constructed according to Equation (32), providing that is a diagonal matrix with elements . Let the Jacobean approximate of the secant-method be defined as
, , and
Then, Equation (100) simplifies as
and
The element of the new approximate in the iteration will then be
. It follows from the first row of Equation (63) of the T-Secant method, from Equation (61) and from the Definition (103) of , that the iteration stepsize is
and
Let the modified Jacobean approximate of the T-Secant method be defined as
and in condensed form with general matrix elements (without the index):
, , and
Equations (107) and (108) then can be re-written as
and
in a similar form as in case of the traditional Secant method (Equations (105) and (104)). The element of the second new approximate in the iteration will then be
where , and . Note that the T-Secant modification of the Jacobean approximate (102) is made with multipliers
to the difference quantities and . The basic equations of the Secant method and the T-Secant method are summarized in Table 3; rows 1–4 are the elements (matrix ) of the basic equations, rows 5–6 are the explicit basic equations, row 7 depicts the Jacobean-type matrices, and rows 8–9 are the general formulations of the basic equations.
Table 3.
Summary of the multi-variable Secant and T-Secant methods basic equations.
7. Convergence
7.1. Single-Variable Case
As was shown in Section 4 (Equation (60)), the iteration stepsize of the second new approximate is
The Secant method is super-linear convergent, so the new approximate is expected to be a much better approximate to the solution then the previous one (). Thus,
and
is expected to be a “small positive number”. It means that the T-Secant approximate will always be in the vicinity of the classic Secant approximate , and the approximate errors of the new approximates will be of a similar order, providing that the solution will be evenly surrounded by the two new trial approximates and .
7.2. Convergence Rate
It is well known that the single-variable Secant method has asymptotic convergence for sufficiently good initial approximates and if does not vanish in and is continuous at least in a neighborhood of the zero . The super-linear convergence property has been proved in different waysm and it is known that the order of convergence with asymptotic error constant
The order of convergence of the T-Secant method is determined in this section. Let be the iteration counter and the approximate error be defined in the iteration as
It follows from Equation (48) and from Definition (121) that the error of the new Secant approximate can be expressed as
It follows from the mean value theorem that the first factor of the right side of Equation (122) can be replaced with , where , if is continuously differentiable on and . Let the function be approximated around the root by a second order Taylor series expansion as
where in the remainder term. Since , it follows from Equation (123) that
Substituting this expression to Equation (122), and since , we obtain
and
If the series converges to , then and with increasing iteration counter , and
It follows from Equation (59) with Definition (121) and from the mean value theorem (with , if is continuously differentiable on ), that
and the error of the T-Secant approximate can be expressed as
With the Taylor-series expansion (123) for and , where and in the remainder term, we obtain
where
and . If the series converges to , then, with increasing iteration counter , , , , and , , it implies that
and . Substituting (Equation (130)) into Equation (125) gives
and re-arranging
with converges to , , and the above equation simplifies as
This means that depends on and , and by assuming an asymptotic convergence, a power law relationship
can be established, where is the asymptotic error constant and is the convergence rate, also called the “convergence order” of the iterative method. It also follows from Equation (136), that
and
Let be introduced for simplifying purposes; then, it follows from Equations (133), (136)–(138) that
where and are constants and, if the series converges to , with increasing iteration, counter , . Taking the logarithms of both sides of Equation (139) and dividing by gives
If series converges to , then, with increasing iteration, they counter , , and
and Equation (140) simplifies as
with root (convergence rate of the T-Secant method):
where is the convergence rate of the traditional Secant method, and is the well-known golden ratio. It follows from Equation (140) that the actual values of of depend on the approximate error . Convergence rates were determined for different values and are shown in Figure 5. The upper bound at is also indicated (horizontal dashed red line).
Figure 5.
convergence rate variation with decreasing (dashed red lines indicate level, where is the convergence rate of the traditional Secant method).
7.3. Single-Variable Example
An example is given for demonstration purposes with a single-variable test function (99) with root . Iterations were made with initial approximates and , and the convergence rates , , and were determined for the traditional Secant method (Table 4, Figure 6), for the Newton–Raphson method (Table 5, Figure 7), and for the T-Secant method (Table 6, Figure 8), respectively. The cumulative number of function values () and derivative function values () calculations are also indicated in the tables. Calculated convergence rates agree well with theoretical values , and . Figure 9 summarizes the results of iterations with three different methods (Secant, Newton–Raphson, and T-Secant). Two groups of graphs show the absolute approximate error decrease and the calculated convergence rates for the three compared methods. Results demonstrate that the convergence rate of the T-Secant method is higher than the convergence rate of the Newton–Raphson method.
Table 4.
Secant method iteration and computed convergence rate, (see Figure 6).
Table 5.
Newton method iteration and computed convergence rate, (see Figure 7).
Table 6.
T-Secant method iteration and computed convergence rate, (see Figure 8).
Figure 9.
Absolute approximate error decrease (dashed lines) and computed convergence rates () (solid lines) of different methods (Broyden (brown line), Secant (black lines), Newton–Raphson (blue lines), and T-Secant (red lines) method).
7.4. Multi-Variable Convergence
Matrix (see Equation (102)) corresponds to a divided difference approximation of the Jacobian. It is known (e.g., from Dennis-Schnabel [13]) that these values give a second-order approximation of the derivative in the midpoint. When considering Newton’s iteration, it is assumed that the Jacobian has inverted in a neighborhood of . If that condition holds, then there is a chance that the approximate Jacobian has also inverted in the same neighborhood.
It is known that the Secant method is locally q-super-linear convergent, so the new approximate is expected to be a much better approximate to the solution then the previous approximate . Thus,
and the diagonal elements
of the transformation matrix are expected to be “small numbers”. It follows from Equations (68), (70), (73), and (147) that
and
(see Figure 10). This means that the T-Secant approximate will always be in the vicinity of the classic Secant approximate and the approximate errors of the new approximates will be of similar order, providing that the solution will be evenly surrounded by the new trial approximates and , and that matrix will be well-conditioned.
Figure 10.
Geometrical representation of the T-Secant method convergence in multi-variable case (analogous to the convergence proof figure Dennis-Schnabel [13], p. 180).
8. Algorithm
Let be the iteration counter, be the error bound for termination criterion, and
be the approximate error vector of approximate in the iteration with elements . Let the scalar approximate error
be defined, where is the Euclidean norm, and let the iteration be terminated when
holds. Let be the initial trial and be the trial increment (iteration stepsize) in the iteration. Choose and as lower and upper bounds for and let and be lower bounds for and , respectively.
- Initial stepLet and let the initial trial and the initial trial increment be given. Calculate the corresponding function values and assume that .
- Step 1: Generate a set of additional initial trials (interpolation base points)and evaluate function values .
- Step 3: If <, then terminate iteration; otherwise, continue with Step 4.
- Step 5: Let the new initial trial beand the new initial trial increment (iteration stepsize) beand continue iteration with Step 1.
Iteration constants are necessary in order to avoid division by zero and to avoid computed values being near numerical precision. If is the number of necessary iterations for satisfying the termination criterion , and is the number of unknowns to be determined, then the T-Secant method needs function evaluations in each iteration, as well as
function evaluations to reach the desired termination criterion. depends on many circumstances, such as the nature of the function , termination criteria ( or others), and the distance of the initial trial from the solution and from the iteration constants .
9. Numerical Tests Results
9.1. Rosenbrock Test Function
A variant of the Rosenbrock function [24] has been used to test the numerical performance of the suggested method. The global minimum of the function
has to be determined, where and . has exactly one minimum for at and exactly two minima for , i.e., a global minimum of all and a local minimum near . The sum of squares will be minimum when all terms are zero, such that the minimization of the function is equivalent to finding the zero of a function , where , , and
. For , the function has exactly one global minimum and has some local minima with some , with for all other unknowns. The results were obtained by least squares solving of the simultaneous system of nonlinear equations via the T-Secant method.
9.2. , and Examples
In case the case of , the iterations terminated after function evaluations ( iterations) in most cases. is a linear function, and the first T-Secant iteration finds the exact value of in one step; then, also becomes linear. The exact value of was then determined in one additional step.
Let and , and . Let , and
. The number of necessary function evaluations varied between 20 and 36 within iterations for different initial trials . Iteration results are summarized in Table 7 and in Figure 11 with initial trial . Termination criterion was satisfied after iterations with function evaluations.
Table 7.
Iteration results: , , .
Figure 11.
Variables and absolute approximate errors variation for initial trial .
Let and . Calculations were made with different, manually constructed initial trials . Figure 12 (Left) shows the variation of for initial trial (2.0 −1.5 −2.5 1.5 −1.2 3.0 −3.5 2.5 −2.0 3.5). Iterations terminated after function evaluations ( iterations) for the condition. Table 8 shows a set of further initial trials for numerical tests. Test “3” failed, probably due to the large distance from the global optimal solution. Test “4” found a local zero = . Figure 12 (Right) summarizes the results of numerical tests “1–6”. The graphs show the iteration paths in the plane. The graphs have an initial part, where the variation of seems “chaotic”, while below and , the iterations run on similar paths.
Figure 12.
Variation of for through iterations with and . The absolute approximate errors and the function variation through iterations for different initial trials (see Table 8).
Table 8.
Initial trial vectors , .
9.3. Large Examples
A series of numerical tests has been performed with a large number of unknown variables. The values of the initial trials were generated as
where “” is a random real number (), and are parameters regulating the size and location of the interval in which the initial trial values are expected to vary. is the known global optimal solution. Table 9 shows the results of T-Secant iterations with and with initial trials (). Figure 13 (Left) shows the variation of variables through T-Secant iterations. The iteration counter value is indicated below the graphs. Figure 13 (Right) shows the decrease in the approximate error , with the iteration counter indication below the graphs. Table 10 shows the results of iterations with and initial trials (). Figure 14 summarizes the results of numerical tests with a large number of unknowns . The norm of the approximate error decrease is shown, and the number of function value evaluations is indicated for and for initial trials (solid line) and (dashed line).
Table 9.
Iteration results (, , ) with initial trials (dashed blue line on Figure 14).
Figure 13.
Variation of variables through iterations. Decrease in approximate error through iterations, (with iteration counter value indication below the graphs).
Table 10.
Iteration results () with initial trials (solid green line on Figure 14).
Figure 14.
Number of function evaluations for (blue), (red), and (green) with initial trials (solid line) and (dashed line).
10. Efficiency
10.1. Single-Variable Case
The efficiency of an algorithm relates to the amount of computational resources used by the algorithm. For better efficiency, it is desirable to minimize resource usage. An algorithm is considered efficient if its resource consumption (computational cost) is below some acceptable level (it runs in a reasonable amount of time or space on an available computer). The efficiency of an algorithm for the solution of nonlinear equations is thoroughly discussed by Traub [25] as follows. Let be the order of the iteration sequence such that for the approximate errors , there exists a nonzero constant (asymptotic error constant) for which
A natural measure of the information used by an algorithm is the “informational usage” , which is defined as the number of new pieces of information (values of the function and its derivatives) required per iteration (called “horner” by Ostrowski [26]). Then, the efficiency of the algorithm within one iteration can be measured by the “informational efficiency”:
An alternative definition of efficiency is
called the “efficiency index” by Ostrowski [26]. Another measure of efficiency, called “computational efficiency”, takes into account the “cost” of calculating different derivatives. The concept of informational efficiency () and the efficiency index () do not take into account the cost of evaluating and its derivatives, nor do they take into account the total number of pieces of information needed to achieve a certain accuracy in the root of the function. If is composed of elementary functions, then the derivatives are also composed of elementary functions; thus, the cost of evaluating the derivatives is merely the cost of combining the elementary functions. Table 11 compares the efficiencies of classic (secant, Newton) and improved algorithms (T-Secant, T-Newton).
Table 11.
Efficiencies of classic and improved algorithms.
10.2. Multi-Variable Case
Very limited data are available to compare the performance of the T-Secant method with other methods, especially in cases with a large number of unknowns. Broyden [27] suggested the mean convergence rate
as a measure of efficiency of an algorithm for solving a particular problem, where is the total number of function evaluations, is the initial trial, and is the last trial for the solution when the termination criteria is satisfied after iterations. is the Euclidean norm of . Efficiency results were given by Broyden [27] for the Rosenbrock function for and for . The calculated convergence rates for the two Broyden method variants [27], for the Powell’s method [28], for the adaptive coordinate descent method [29] m and for the Nelder–Mead simplex method [30] were compared with the calculated values for the T-Secant method in Table 12. Rows 1–5 are data from referenced papers, rows 6–8 are T-Secant results with the referenced initial trials, and rows 9–15 are calculated data for .
Table 12.
Calculated values of the mean convergence rates ( and ) for the Rosenbrock function
(: a substitute value was used when ).
Results show that the mean convergence rate (Equation (165)) for is much higher for the T-Secant method () than for the other listed methods (); however, it is obvious that the mean convergence rate values decrease rapidly with increasing values (more unknowns need more function evaluations). A modified convergence rate
can be used as an independent measure of efficiency (see Table 12). The values of and are at least 10 times larger for the T-Secant method than for the referenced classic methods for (see Table 12). Note that the efficiency measures ( and ) are also dependant on the initial conditions (distance of the initial trial set from the optimal solution, termination criterion). Results from a large number of numerical tests indicate an average value of around , with standard deviation for the T-Secant method even for large values. It has to be noted that if the value of is zero, then the mean convergence rates ( and ) are not countable (zero in the denominator). A substitute value was used when iterations ended with in the sample examples.
11. Discussions
11.1. General
The suggested procedure needs the usual approximate to be determined by any of a classic quasi-Newton iterative methods (Wolfe–Popper–Secant, Broyden, etc.). By using the “information” , an additional and independent approximate is determined, which provides the possibility for a full-rank update of the approximate derivatives ( for Secant or for Broyden). Results and experience show that the suggested procedure considerably accelerates the convergence and the efficiency of the classic methods, and the full-rank update technique increases the stability of the iterative procedure. In multi-variable-case, it follows from Equation (107) that
and in explicit form after re-arrangement:
Then, the element of the new approximate can be expressed from the row of the above equation as
The mechanism of the procedure resembles to the mechanism of an engine’s turbocharger that is powered by the flow of exhaust gases (analogous to or ).
11.2. Newton Method
Matrix in the general formula (104) gives a direct connection between the Secant and Newton methods, as differences go to differentials,
where is the Jacobian matrix of the function () with and column and with row indexes, respectively. It follows from formula (111) of matrix that the suggested full-rank update procedure can also be applied to the Newton method as
where is the modified Jacobian matrix of the “T-Newton” method. In the single-variable case, with approximate in the iteration, with function value and with derivative function value , the new Newton–Raphson approximate can be expressed as
and the iteration stepsize is
with the hyperbolic function (Equation (88))
where
( is replaced by ), the new “T-Newton” approximate is
( is again replaced by ), similar to Equation (59) in case of the T-secant method. It can be seen from Table 13 and Table 14 that the convergence rate is be improved from to . In the multi-variable case, it follows from Equation (107) ( is replaced by ) that
and in explicit form after re-arrangement:
Then, the element of the new “T-Newton” approximate can be expressed from the row of the above equation as
similar to Equation (70) in case of the T-Secant method. Thus, the “hyperbolic” approximation accelerates the convergence of the Newton=-Raphson method by only one additional function evaluation.
Table 13.
Newton method iteration and computed convergence rate, .
Table 14.
T-Newton method iteration and computed convergence rate, (see Figure 15).
11.3. Broyden’s Method
Broyden’s method is a special case of the Secant method. In the single-variable case, the derivative of the function is approximated as
in the iteration step, and with
it is simplified as
The next Broyden-approximate is then determined as
The convergence can similarly be improved by the new hyperbolic approximation procedure as in cases of the Secant and Newton methods. An additional new approximate
can be determined, and the iteration continues with this value. Figure 16 demonstrates the effect of the hyperbolic approximation applied to the classic Broyden method. Not surprisingly, the convergence rate will be improved from to , as in case of the Secant method. In the multi-variable case, the element of the new the “T-Broyden” approximate can be expressed as
similar to Equation (179) for the T-Newton method with replaced by . The new approximate to the Jacobian matrix can then be fully updated in a similar way as it was in the case of the T-Secant method.
Figure 16.
Broyden () and T-Broyden () iterations with test function (99) with initial approximates .
12. Conclusions
A completely new iteration strategy has been worked out for solving simultaneous nonlinear equations:
, and (). It replaces the Jacobian matrix with finite-difference approximations. The stepsize was determined as the difference between two new approximates
and with elements
as
The first one is a classic quasi-Newton approximate with stepsize , while the second one was determined from a hyperbolic approximation governed by and , such that the classic Secant equation
was modified by a non-uniform scaling transformation
with diagonal elements , as
where
. It was shown that the new stepsize is much smaller than the stepsize of the classic quasi-Newton approximate, providing that will always be in the vicinity of . Having two new approximates, a set of new independent trial approximates and was constructed (see Equation (32)), providing that the new trial approximates are always in general positions, ensuring the stable behavior of the iteration. According to the geometrical representation in the single-variable case, the suggested procedure corresponds to finding the root of a hyperbolic function with vertical and horizontal asymptotes and . It was shown in Section 7 that the suggested method has super-quadratic convergence with a rate of (where is the well-known golden ratio) in the single-variable case.
The suggested method needs two function evaluations in each iteration in single-variable cases and evaluations in multi-variable cases. The efficiency of the proposed method was studied in Section 10 in the multi-variable case and compared with other classic low-rank-update and line-search methods on the basis of available data. The results show that the efficiency of the suggested full-rank-update procedure is considerably better than the efficiency of the other referenced methods. A Rosenbrock test function (Equations (158) and (159)) with up to variables was used to demonstrate this efficiency in Section 9.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Acknowledgments
A considerable part of the research work was conducted between the years 1988 and 1992 at the Technical University of Budapest (Hungary), at the TNO-BOUW Structural Division (The Netherlands), and at the Technical High-school of Lulea (Sweden). This work has been sponsored by the Technical University of Budapest (Hungary), by the Hungarian Academy of Sciences (Hungary), by TNO-BOUW (The Netherlands), by Sandvik Rock Tools (Sweden), by CP Test a/s (Denmark), and by Óbuda University (Hungary). The valuable discussions and personal support from Géza Petrasovits, György Popper, Peter Middendorp, Rikard Skov, Bengt Lundberg, Mario Martinez, and Csaba Hegedűs are greatly appreciated.
Conflicts of Interest
The author declares no conflict of interest.
References
- Rüth, B.; Uekermann, B.; Mehl, M.; Birken, P.; Monge, A.; Bungartz, H.-J. Quasi-Newton waveform iteration for partitioned surface-coupled multiphysics applications. Int. J. Numer. Methods Eng. 2021, 122, 5236–5257. [Google Scholar] [CrossRef] [Scilit]
- Barnafi, N.A.; Pavarino, L.F.; Scacchi, S. Parallel inexact Newton-Krylov and quasi-Newton solvers for nonlinear elasticity. Comput. Methods Appl. Mech. Engrg. 2022, 400, 115557. [Google Scholar] [CrossRef] [Scilit]
- Ryu, J.; Jae, M. A quantification methodology of Seismic Probabilistic Safety Assessment for nuclear power plant. Ann. Nucl. Energy 2021, 159, 108296. [Google Scholar] [CrossRef] [Scilit]
- Yahaya, M.M.; Kumam, P.; Awwal, A.M.; Aji, S. A structured quasi-Newton algorithm with nonmonotone search strategy for structured NLS problems and its application in robotic motion control. J. Comput. Appl. Math. 2021, 395, 113582. [Google Scholar] [CrossRef] [Scilit]
- Schröter, M.; Sauer, O. Quasi-Newton Algorithms for Medical Image Registration. In Proceedings of the World Congress on Medical Physics and Biomedical Engineering, Munich, Germany, 7–12 September 2009; Dössel, O., Schlegel, W.C., Eds.; IFMBE Proceedings. Springer: Berlin/Heidelberg, Germany, 2019; Volume 25/4. [Google Scholar] [CrossRef] [Scilit]
- Ludwig, A. The Gauss–Seidel–quasi-Newton method: A hybrid algorithm for solving dynamic economic models. J. Econ. Dyn. Control. 2007, 31, 1610–1632. [Google Scholar] [CrossRef] [Scilit]
- Wülfingen, G.B. On some advantages of the application of Newton’s method for the solution of nonlinear economic models. In Proceedings of the IFAC Dynamic Modelling, Warsaw, Poland, 16–19 June 1980; pp. 339–347. [Google Scholar]
- Schaefer, B.; Ghasemi, S.A.; Roy, S.; Goedecker, S. Stabilized quasi-Newton optimization of noisy potential energy surfaces. J. Chem. Phys. 2015, 142, 034112. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kemeny, J.G.; Snell, J.L. Mathematical Models in the Social Sciences. Introduction to Higher Mathematics; Blaisdell Publishing Company, A Division of Ginn and Company: New York, NY, USA; Toronto, ON, Canada; London, UK, 1963; Volume VII, 145p. [Google Scholar]
- Beregi, S.; Barton, D.A.W.; Rezgui, D.; Nield, S.A. Real-Time Hybrid Testing Using Iterative Control for Periodic Oscillations, arXive. Available online: https://arxiv.org/abs/2312.06362 (accessed on 15 December 2023).
- Barnafi, N.A.; Pavarino, L.F.; Scacchi, S. Parallel inexact Newton-Krylov and Quasi-Newton Solvers for Nonlinear Elasticity, arXive. Available online: https://arxiv.org/abs/2203.05610 (accessed on 15 December 2023).
- Ortega, J.M.; Rheinboldt, W.C. Iterative Solution of Nonlinear Equations in Several Variables; Academic Press: New York, NY, USA, 1970. [Google Scholar]
- Dennis, J.E., Jr.; Schnabel, R.B. Numerical Methods for Unconstrained Optimization and Nonlinear Equations; Prentice-Hall: Englewood Cliffs, NJ, USA, 1983. [Google Scholar]
- Stoer, J.; Bulirsch, R. Introduction to Numerical Analysis, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
- Martinez, J.M.; Qi, L. Inexact Newton methods for solving nonsmooth equations. J. Comput. Appl. Math. 1995, 60, 127–145. [Google Scholar] [CrossRef] [Scilit]
- Dembo, R.S.; Eisenstat, S.C.; Steihaug, T. Inexact Newton methods. SIAM J. Numer. Anal. 1971, 19, 400–408. [Google Scholar] [CrossRef] [Scilit]
- Birgin, E.G.; Krejic, N.; Martinez, J.M. Globally convergent inexact quasi-Newton methods for solving nonlinear systems. Num. Algorithms. 2003, 32, 249–260. [Google Scholar] [CrossRef] [Scilit]
- Martínez, J.M. Practical quasi-Newton methods for solving nonlinear systems. J. Comput. Applied Math. 2000, 124, 97–121. [Google Scholar] [CrossRef] [Scilit]
- Wolfe, P. The Secant Method for Simultaneous Nonlinear Equations. Commun. ACM 1959, 2, 12–13. [Google Scholar] [CrossRef] [Scilit]
- Popper, G. Numerical method for least square solving of nonlinear equations. Period. Polytech. 1985, 29, 67–69. [Google Scholar]
- Berzi, P. Model investigation for pile bearing capacity prediction. In Proceedings of the Euromech (280) Symposium on Identification of Nonlinear Mechanical Systems from Dynamic Tests, Ecully, France, 29–31 October 1991. [Google Scholar]
- Berzi, P. Pile-Soil Interaction due to Static and Dynamic Load. In Proceedings of the XIII ICSMFE, New Delhi, India, 5–10 January 1994; pp. 609–612. [Google Scholar]
- Berzi, P.; Beccu, R.; Lundberg, B. Identification of a percussive drill rod joint from its response to stress wave loading. Int. J. Impact Eng. 1994, 18, 281–290. [Google Scholar] [CrossRef] [Scilit]
- Rosenbrock, H.H. An automatic Method for finding the Greatest or Least Value of a Function. Comput. J. 1960, 3, 175–184. [Google Scholar] [CrossRef] [Scilit]
- Traub, J.F. Iterative Methods for the Solution of Equations, 1st ed.; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1964. [Google Scholar]
- Ostrowski, A.M. Solution of Equations and Systems of Equations; Academic Press: New York, NY, USA, 1966. [Google Scholar]
- Broyden, C.G. A class of Methods for Solving Nonlinear Simultaneous Equations. Math. Comput. Am. Math. 1965, 19, 577–593. [Google Scholar] [CrossRef]
- Powell, M.J.D. An efficient method for finding the minimum of a function of several variables without calculating derivatives. Comput. J. 1964, 7, 155–162. [Google Scholar] [CrossRef] [Scilit]
- Loshchilov, I.; Schoenauer, M.; Sebag, M. Adaptive Coordinate Descent. In Proceedings of the Genetic and Evolutionary Computation Conference (GECCO), Dublin, Ireland, 12–16 July 2011; ACM Press: New York, NY, USA, 2011; pp. 885–892. [Google Scholar]
- Nelder, J.A.; Mead, R. A simplex method for function minimization. Comput. J. 1965, 7, 308–313. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).















