Namespaces
Variants
Actions

Variational calculus, numerical methods of

From Encyclopedia of Mathematics
Jump to: navigation, search

The branch of numerical mathematics in which one deals with the determination of extremal values of functionals.

Numerical methods of variational calculus are usually subdivided into two major classes: indirect and direct methods. Indirect methods are based on the use of necessary optimality conditions (cf. Variational calculus; Euler equation; Weierstrass conditions (for a variational extremum); Transversality condition; Pontryagin maximum principle), with the aid of which the original variational problem is reduced to a boundary value problem. Thus, the computational advantages and drawbacks of indirect methods are fully determined by the properties of the respective boundary value problem. In direct methods, the extremum of the functional is found directly. The optimization methods thus employed are a development of the idea of mathematical programming.

The subdivision of the numerical methods of variational calculus into direct and indirect methods is largely arbitrary. In some algorithms both approaches are utilized. Moreover, some methods cannot be classified as belonging to either class. Thus, methods based on sufficient optimality conditions form a separate group.

The first numerical methods of the calculus of variations appeared in the work of L. Euler. However, their most rapid development took place in the mid-20th century as a result of the spread of computers and the possibility, afforded by these techniques, to solve complicated problems in technology. The development of numerical methods in variational calculus mostly concerned the theory of optimal control, which, from the aspect of practical applications, is the most important (cf. Optimal control, mathematical theory of).

Indirect methods.

With the advent of the Pontryagin maximum principle (1956), variational problems can very often be reduced to boundary value problems.

Consider the following problem in optimal control: Find a trajectory and a control for which the functional

(1)

assumes its minimal value, given the differential constraints

(2)

the boundary conditions

(3)
(4)

and control restrictions

(5)

where , are the vectors of the coordinates of the phase and the controls, , is a closed set in an -dimensional space, and (the time) is an independent variable.

According to Pontryagin's maximum principle, the optimal control must, for any , produce the absolute maximum of the Hamilton function

(6)

where is defined by the system of equations

(7)

The control is found from condition (6) and is substituted in (2) and (7). As a result one obtains a closed boundary value problem for a system of differential equations (2) and (7) with boundary conditions (3) and (4).

The scheme of numerical solution which is most frequently employed for this boundary value problem involves the use of Newton's method of fractional steps [3]. One introduces the discrepancy vector

(8)

where the value of is obtained by solving the Cauchy problem for the system (2), (7) with initial conditions (3) and , . The discrepancies (8) are considered as functions of the unknowns , defined by the system of equations

(9)

The system (9) is solved by Newton's method (cf. Newton method); the partial derivatives involved,

are numerically determined by the formula:

where the values of are obtained by solving Cauchy's problem for the system (2), (7), with initial conditions (3) and conditions

where is a small increment of .

The partial derivatives may be determined by a more accurate, but more laborious, method [4], involving the integration of a system of equations in variations for the system (2), (7).

The difficulties in Newton's method consist, in the first place, in the selection of a successful initial approximation for and, secondly, in the unstability of the Cauchy problem, which is very strongly manifested on large intervals . There is no generally valid procedure to overcome the first difficulty. A number of methods (cf. Cauchy problem, numerical methods for ordinary differential equations) are available to deal with the unstability of the Cauchy problem.

If the boundary conditions and the functional are given in a more general form than in (3), (4) and (1) (e.g. in the Bolza problem with mobile ends, in a variational problem with free (mobile) ends), the transversality condition is added to supplement the optimality conditions (6) and (7). After elimination of the arbitrary constants which appear in these conditions, a closed boundary value problem and a corresponding system of equations of the type (9) are obtained.

The solution of the system (9) may also be obtained by any other method used in solving non-linear systems.

Specific methods for solving boundary value problems of a special type have been developed. Thus, linear boundary value problems are solved by the method of transfer of the boundary conditions (shooting method). This method is also employed as a constituent element for the iterative solution of non-linear boundary value problems [1].

Problems in variational calculus are very often solved with the aid of electronic computers, since in this way indirect methods can be effectively and relatively simply realized. However, such techniques are not applicable in all cases; for certain important classes of problems in variational calculus — e.g. problems involving phase restrictions — it is difficult to write down the necessary conditions and these result in boundary value problems with a complicated structure. Moreover, the boundary conditions need not ensure that the solution found in fact supplies an extremum of the functional. This must be verified by introducing sufficient optimality conditions. All this restricts the scope of application of indirect methods.

Direct methods.

The first direct method was proposed by Euler for the solution of the simplest problem in variational calculus. It is known as Euler's method of polygonal lines (or as Euler's finite-difference method). In this method the functional

(10)

is considered on continuous polygonal lines which satisfy given boundary conditions

(11)

and which consist of rectilinear segments with end points at given abscissas. Thus, the functional becomes a function of the ordinates of the vertices of the polygonal line, while the initial problem is reduced to the task of minimizing a function of several variables (cf. Euler method).

Since the labour involved in such calculations is considerable, direct methods were neglected for a long time in traditional studies in variational calculus. They were taken up again early in the 20th century. New methods for the reduction to the problem of finding an extremum of a function of several variables were proposed. Of these, the most important one is the Ritz method, according to which the solution of minimizing (10) subject to condition (11) is to be found in the class of functions of the form

where , , are elements of a complete infinite system of linearly independent functions which satisfy the boundary conditions

The problem is reduced to finding a minimum of the function

of variables. Ritz's method is sufficiently general. It is applied to the solution of variational problems in mathematical physics consisting of the minimization of a functional which depends on functions of several variables. A further generalization of the method to include this class of problems is the method, [2], in which the coefficients are considered to be unknown functions of one of the independent variables (e.g. if the problem involves two independent variables and , may be given as ). The initial functional becomes dependent on functions , which may be defined in terms of the necessary conditions, i.e., in the final count, by solving the boundary value problem for a system of Euler equations.

Practical requirements enhanced the interest in non-classical problems of optimal control. The presence in technical problems of complicated restrictions on the phase coordinates and the control functions, the discontinuity of the right-hand sides of differential equations, the possible existence of singular and sliding optimal conditions, etc. — all this stimulated the development of new direct methods. The most popular methods are those involving the idea of descent in the space of controls and of successive analysis of variants (of the type of dynamic programming).

Descent methods in the space of the controls are based on finding a sequence of controls of the form

(12)

which corresponds to a monotone decreasing sequence of values of the functional. For instance, suppose it is required to find a minimum of the functional

(13)

subject to the conditions (2), (3) and (5) ( is a convex and simply-connected set). The increment is found as follows. The variational equations for (2) and the conjugate system (7), subject to the conditions

at the right-hand end, are used to represent the linear part of the increment of the functional (13) as a result of the variation , in the form

In order to decrease the value of the functional (13), the increment

where the value of is calculated on the control and on the corresponding trajectory , must be chosen for each iteration. The regularity of the linearization, and hence also the decrease in the value of the functional (13), is ensured by choosing a sufficiently small value of . The descent process (12) begins from some and is terminated when, as a result of the last iteration, becomes smaller than some given . In the case of a free right-hand end described above, the resulting algorithm is most simple [5], [6], [7]. Another method which does not involve linearization of the initial problem is very effective in solving problems with a free end [8]. If the right-hand end is also subject to boundary conditions, all algorithms become much more complicated. To deal with boundary conditions, a gradient projection procedure is employed in [5], while in [6] failure to satisfy the boundary conditions is penalized by considering the functional

(14)

rather than (13). The method in which the increment of the control is determined by solving an auxiliary linear programming problem, resembles the gradient methods [9].

A large group of direct methods for the numerical solution of optimal control problems is based on the idea of optimal analysis of variants [10], [11], [12]. An important feature of this method is that it may be used to solve problems with phase restrictions of the kind

(15)

where is a closed set in an -dimensional space. Its principal disadvantage is the fact that its use rapidly becomes more difficult as the dimension of the space increases. In these methods the initial problem is reduced to a problem of non-linear programming of a special type. Two ways of effecting such a reduction are usually employed. The first method ultimately yields the problem of minimizing a function which depends only on the controls given at the points of a discrete grid on the axes [13]. In the second method controls are discarded and the task is reduced to minimizing a function of the type

(16)

where is the value of the vector at the point , , subject to the restrictions

(17)

which follow from the restrictions (3), (4) and (15). The procedure employed for the minimization of (l6) subject to (17) may be geometrically interpreted as follows.

Figure: v096210a

Each family of vectors is put into correspondence with a polygon line, as shown in the figure, passing through and lying in the hyperplanes defined by equations . The length of the polygon line is the sum of the lengths of its individual links. The domain of admissible -values is defined by (17), and is separated from the forbidden domain by some polygonal line (the forbidden domain is shown shaded in the figure). The problem is to find the minimum length of a polygonal line located in the admissible domain and connecting the hyperplanes and . The algorithm by which this problem is solved is a multi-step process, during which a certain set of variants known not to contain the optimal polygonal line is marked off at each stage . The zero-th stage consists in defining the function

i.e. the length of the shortest link connecting each point with the hyperplane . Since

the set of polygonal lines not containing the segment may be discarded. In the first stage one constructs the shortest polygonal line

connecting each point with , and the set of polygonal lines not containing the straight line is also discarded, etc. In the -th stage one constructs the shortest polygonal line

(18)

connecting each point with , and the set of polygonal lines not containing the polygonal line is discarded. The last stage yields the solution of the initial problem — the shortest polygonal line connecting the hypersurfaces and :

Formula (18) is a recurrence relation which describes the multi-step process for finding the solution. It is the base of dynamic programming and of Bellman's optimality principle.

In accordance with (18), the minimum must be found on sets with, generally speaking, the cardinality of the continuum. The numerical realization involves a finite-dimensional approximation of them. To do this one constructs — in addition to the grid with respect to (e.g. with a constant step ) — also a grid with respect to with step (). The problem is then reduced to finding the shortest path in a special graph, with the grid nodes as vertices. Let be the node lying in the hyperplane ; let

be the length of the segment connecting two nodes and in neighbouring hyperplanes; and let be the length of the shortest path connecting the node with the hyperplane . The recurrence relation (18) will then assume the form

where the minimum is taken over the numbers of all nodes located in the admissible domain of the hyperplane . In the general case this minimum is found by inspecting all nodes. This method makes it possible to find a global extremum of the function (16), subject to (3), (4) and (15), with an accuracy determined by the steps and of the grids. In order that the method converge to the solution of the initial problem, certain relations between these steps (e.g. of the type ) must hold. The method requires the use of fast computers with large memories. For this reason, the first step in practical work is to find a solution on a coarse grid, after which a finer grid is used to obtain a more exact solution in a neighbourhood of the solution thus found. This is done with the aid of one of the methods for finding a local extremum (cf. Travelling-tube method; Local variations, method of; Travelling-wave method).

References

[1] N.N. Moiseev, "Computational methods in the theory of optimal systems" , Moscow (1971) (In Russian)
[2] L.V. Kantorovich, V.I. Krylov, "Approximate methods of higher analysis" , Noordhoff (1958) (Translated from Russian)
[3] V.K. Isaev, V.V. Sonin, "Numerical aspects of the problem of optimum flight as a boundary value problem" USSR Comput. Math. Math. Phys. , 5 : 2 (1965) pp. 117–129 Zh. Vychisl. Mat. i Mat. Fiz. , 5 : 2 (1965) pp. 252–261
[4] S. Dzhurovich, D. Makintair, Raketnaya Tekhn. : 9 (1962) pp. 47–53
[5] V. Denkhem, V. Braison, Raketnaya Tekhn. i Kosmonavtika : 1 (1964) pp. 34–47
[6] L.I. Shatrovskii, "On a numerical method of solving problems of optimum control" USSR Comput. Math. Math. Phys. , 2 : 3 (1962) pp. 511–514 Zh. Vychisl. Mat. i Mat. Fiz. , 2 : 3 (1962) pp. 488–491
[7] T.M. Eneev, Kosmicheskie Issl. , 4 : 5 (1966) pp. 651–659
[8] I.A. Krylov, F.L. Chernous'ko, "On a method of successive approximations for the solution of problems of optimal control" USSR Comput. Math. Math. Phys. , 2 : 6 (1962) pp. 1371–1382 Zh. Vychisl. Mat. i Mat. Fiz. , 2 : 6 (1962) pp. 1132–1139
[9] R.P. Fedorenko, "Approximate solution of some optimal control problems" USSR Comput. Math. Math. Phys. , 4 : 6 (1964) pp. 89–116 Zh. Vychisl. Mat. i Mat. Fiz. , 4 : 6 (1964) pp. 1045–1064
[10] R. Bellman, "Dynamic programming" , Princeton Univ. Press (1957)
[11] V.S. Mikhalevich, "Sequential optimization algorithms and their application. Part I" Cybernetics , 1 : 1 (1965) pp. 44–56 Kibernetika (Kiev) , 1 : 1 (1965) pp. 45–56
[12] N.N. Moiseev, "Numerical methods of optimal control theory using variations in the state space" Cybernetics , 2 : 3 (1966) pp. 1–24 Kibernetika (Kiev) , 2 : 3 (1966) pp. 1–29
[13] Yu.M. Ermol'ev, V.P. Gulenko, "The finite-difference method in optimal control problems" Cybernetics , 3 : 3 (1967) pp. 1–16 Kibernetika (Kiev) , 3 : 3 (1967) pp. 1–20


Comments

"Phase coordinates" are usually called "state variablestate variables" in the Western literature.

References

[a1] A.E. Bryson, Y.-C. Ho, "Applied optimal control" , Hemisphere (1975)
How to Cite This Entry:
Variational calculus, numerical methods of. I.B. VapnyarskiiI.A. Vatel' (originator), Encyclopedia of Mathematics. URL: http://www.encyclopediaofmath.org/index.php?title=Variational_calculus,_numerical_methods_of&oldid=15104
This text originally appeared in Encyclopedia of Mathematics - ISBN 1402006098