International Journal of Control Science and Engineering
2012; 2(4): 54-59
doi: 10.5923/j.control.20120204.01
M. El-Kady
Department of Mathematics, Faculty of Science, Helwan University, Cairo, Egypt
Correspondence to: M. El-Kady , Department of Mathematics, Faculty of Science, Helwan University, Cairo, Egypt.
| Email: | ![]() |
Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved.
In this paper Legendre integral method is proposed to solve optimal control problems governed by higher order ordinary differential equations. Legendre approximation method reduced the problem to a constrained optimization problem. Penalty partial quadratic interpolation method is presented to solve the resulting constrained optimization problem. Error estimates for the Legendre approximations are derived and a technique that gives an optimal approximation of the problems is introduced. Numerical results are included to confirm the efficiency and accuracy of the method.
Keywords: Spectral Methods, Legendre Polynomials, Optimal Control Problem
which minimizes the cost functional:![]() | (2.1) |
![]() | (2.2) |
and the linear initial constraints,![]() | (2.3) |
![]() | (2.4) |
and
, respectively, with
. The state variable
, the control variable
are real valued continuous functions on
.To change the time interval
into
, we have:
Hence the optimal control problem becomes:Minimize ![]() | (2.5) |
![]() | (2.6) |
![]() | (2.7) |
![]() | (2.8) |
, Legendre-Gauss-Lobatto (LGL) points as follows:Let
such that
.![]() | (3.1) |
![]() | (3.2) |
,where the elements of
are given by:
![]() | (3.3) |
.
, and generate approximations to the lowest-order derivatives
;…and
, through successive integrations of the highest-order derivative.Suppose that![]() | (4.1) |
are some unknowns. By integration, and making use of the given conditions, we get ![]() | (4.2) |
![]() | (4.3) |
may be defined from the given conditions. Making use of the approximation for the control variable as
, the optimal control problem (2.5)-(2.8) are replaced by the following constrained optimization problems: Minimize![]() | (4.4) |
![]() | (4.5) |
![]() | (4.6) |
![]() | (4.7) |
.The problem (4.6)–(4.7) is solved by using penalty partial quadratic interpolation technique[5]. We therefore use:
to decide whether the computed solution in close enough to the optimal solution.
be approximated by Legendre polynomials, then there exists a number
such that
![]() | (5.1) |
![]() | (5.2) |
.The following theorem gives the error bounds of the system dynamic.Theorem (5.2)Assume the OCP (2.5)-(2.8) is approximated by Legendre approximations and assuming that
is bounded i.e.![]() | (5.3) |
such that![]() | (5.4) |

![]() | (5.5) |
denote the error in approximation
with (4.3), namely ![]() | (5.6) |

Thus, making use of (5.3), we get
.The original constraint (2.6) in view of (4.2) becomes:
Making use of (5.1) then, 
![]() | (5.7) |
with
is defined in (5.2).
which minimizes![]() | (6.1) |
![]() | (6.2) |
![]() | (6.3) |
![]() | (6.4) |
[-1, 1]. At the end, this will lead to the following problem.Minimize ![]() | (6.9) |
![]() | (6.10) |
![]() | (6.11) |
order Legendre, we find the optimal value is
. The optimal state and control are shown in Figs. (1) and (2), respectively. The author in[8] used of cell averaging Chebyshev method by
order Chebyshev for solve this example and get
. ![]() | Figure 1. state variable x(t) of example(1) |
![]() | Figure 2. control varaible u(t) of example(1) |
![]() | (6.12) |
![]() | (6.13) |
.The problem can be converted to the following constrained optimization problem: Minimize![]() | (6.17) |
![]() | (6.18) |
and
, we get the optimal result
with
. Table (1) gives the optimal values of the cost functional
for different values of
. The state and control variables are shown in Figs. (3) and (4), respectively.
|
![]() | Figure 3. State varible x(t) of example (2) |
![]() | Figure 4. control variable u(t) of example (2) |
Subject to:
with the boundary conditions:
.By apply the proposed method; the optimal values of state and control given in Table (2). Table (3) shows that the presented Legendre approximations are more efficiency than the method in[16].
|
|
Subject to:
and
.The optimal cost is
as given in[9]. Table (4) shows the state and control variables as computed by the proposed method.
|
| [1] | J. Blot, Infinite-horizon Pontryagin principles without invertibility, J. Nonlinear Convex Anal. 10 (2009) 177–189. |
| [2] | C. Canuto, M. Y. Hussaini, A. Quarteroni and Zang, T. A. “Spectral Methods in Fluid Dynamic” Springer-Verlag, New York Inc., 1988. |
| [3] | E.H. Doha, “The Ultraspherical Coefficients of Moments of a General Order Derivatives of an Infinitely Differentiable Function "J. Comput. and Appl. Math.,89, (1998)53-72. |
| [4] | S.E. EL-gendi, "Chebyshev Solutions of Differential, Integral, and Integro -Differential Equations " Computer J., 12, (1969) 282-287. |
| [5] | T. M. E1-Gindy & M.S. Salim, “Penalty function with partial quadratic interpolation technique in the constrained optimization problems”, Journal of Institute of Math. Computer Sci. 3 (1), (1990) 85-90. |
| [6] | T. M. El-Gindy, T. M. , El-Hawary, H. M., Salim, M. S. and El-Kady, M. “A Chebyshev Approximation for Solving Optimal Control Problems” , Computers Math. Applic. 29 (6), (1995) 35-45. |
| [7] | V. Lykina, S. Pickenhain, M. Wagner, Different interpretations of the improper integral objective in an infinite horizon control problem, J. Math. Anal. Appl. 340 (2008) 498–510. |
| [8] | M. El-Kady and M. Biomy “Efficient Legendre Pseudospectral Method for Solving Integral and Integro-Differential Equations“ Commun Nonlinear Sci Numer Simulat 15 (2010) 1724–1739. |
| [9] | M. El-Kady and M. Biomy, "Interactive Chebyshev-Legendre Algorithm for Linear Quadratic Optimal Regulator Systems", Int. J. of Wavelets, Multiresolution and Information Proc., Vol. 9, No. 3, (2011) 1–25. |
| [10] | M. El-Kady, Efficient reconstructed Legendre algorithm for solving linear-quadratic optimal control problems Applied Mathematics Letters 25 (2012) 1034–1040 |
| [11] | G.M. Elnagar, "State-control Spectral Chebyshev Parameterization for Linearly Constrained Quadratic Optimal Control Problems", J. Comput. And Applied Mathes. 97, (1997), pp 19-40. |
| [12] | D. Gottlieb, and Orszag, S.A. “Numerical Analysis of Spectral Methods : Theory and Application" CBMS-NSF Regional Conference Series in Applied Mathematics , 26, Philadelphia: SIAM, 1977 |
| [13] | G. Martin "A Newton Method for the Computation of Time-Optimal Boundary Controls of One-Dimensional Vibrating Systems” Journal of Comput. and Applied Math. 114 (2000) 103-119. |
| [14] | S. Mashayekhi, Y. Ordokhani, M. Razzaghi, "Hybrid functions approach for nonlinear constrained optimal control problems",Commun Nonlinear Sci Numer Simulat 17 , (4) (2012) 1831-1843 |
| [15] | A.B. Malinowska, N. Martins, D.F.M. Torres, Transversality conditions for infinite horizon variational problems on time scales, Optim. Lett. 5 (2011) 41–53. |
| [16] | A. A. Salama, "Numerical methods based on extended one-step methods for solving optimal control problems", Appl. Math. Comput. 183 (2006) 243–250. |
| [17] | Szegö, "Orthogonal Polynomials", Am. Math. Soc. Colloq. Pub. ,23, 1985 |
| [18] | E. Ocana Anaya, P. Cartigny, P. Loisel, Singular infinite horizon calculus of variations. Applications to fisheries management, J. Nonlinear Convex Anal. 10 (2009) 157–176. |
| [19] | R. Van Dooren, J. and Vlassenbroeck, "A Chebyshev Technique for Solving Nonlinear Optimal Control Problems”, IEEE Trans. Automat. Contr., 33 (4), (1988) 333-339. |