An ecologically inspired direct search method for solving optimal control problems with Bézier parameterization

https://doi.org/10.1016/j.engappai.2011.04.005Get rights and content

Abstract

An optimal control problem can be formulated through a set of differential equations describing the trajectory of the control variables that minimize the cost functional (related to both state and control variables). Direct solution methods for optimal control problems treat them from the perspective of global optimization: i.e. perform a global search for the control function that optimizes the required objective. In this article we use a recently developed ecologically inspired optimization technique called Invasive Weed Optimization (IWO) for solving such optimal control problems. Usually the direct solution method operates on discrete n-dimensional vectors and not on continuous functions. Consequently it can become computationally expensive for large values of n. Thus, a parameterization technique is required to represent the control functions using a small number of real-valued parameters. Typically, direct methods based on evolutionary computing techniques parameterize control functions with a piecewise constant approximation. This has obvious limitations both for accuracy in representing arbitrary functions, and for optimization efficiency. In this paper a new parameterization is introduced using Bézier curves, which can accurately represent continuous control functions with only a few parameters. It is combined with IWO into a new evolutionary direct method for optimal control. The effectiveness of the new method is demonstrated by solving a wide variety of optimal control problems.

Highlights

► We apply a novel Bézier parameterization technique to solve optimal control problems. ► A modified version of an ecologically inspired evolutionary algorithm (IWO) is used. ► Competitive performance is achieved in comparison to state-of-the-art methods.

Introduction

Optimal control deals with the problem of finding a control law for a given system such that a certain optimality criterion can be achieved. The control problem includes a cost functional that is a function of state and control variables. The optimal control problem is formulated as a set of differential equations describing the paths of the control variables that minimize the cost function. It was developed by inter alia—a bunch of Russian mathematicians, among whom the leading role was taken by Pontryagin. Just like for other dynamical systems, the state variables, here, are represented by x(t)Rn. The state variables are controlled by the set of independent functions u(t), called control variables. An obvious goal is to find that optimizes in some sense performance of the dynamical system. Mathematically this problem can be stated as follows:minF(u)=t0tff(t,x(t),u(t))dtsubjectto{x(t)=g(t,x(t),u(t))x(t0)=x0where t0 and tf are the initial and final times and f, g depend on the particular system model. It is to be noted that the optimal control problem, as stated above, may have multiple solutions (i.e., a solution may not be unique). Thus, it is most often the case that any solution to the optimal control problem is only locally minimizing the objective representing system's performance.

There are two general approaches to solve the optimal control problems. These are often labeled as direct and indirect methods (von Stryk and Bulirsch, 1992). An indirect method transforms the problem into another form before solving it. Typically Pontryagin's Maximum Principle (Pontryagin, 1962) is used to find the necessary conditions for the existence of an optimum. This allows the original optimal control problem to be transformed into a Boundary Value Problem (BVP), which can then be solved analytically or numerically using well-known techniques for differential equations. This boundary-value problem actually has a special structure because it arises from taking the derivative of a Hamiltonian. The indirect method is sometimes described as first optimize then discretize because optimality conditions are found before numerical techniques are applied. These techniques were used in early years of optimal control. The disadvantage of indirect methods is that the boundary-value problem is often extremely difficult to solve (particularly for problems that span large time intervals or problems with interior point constraints). An excellent introduction to this method can be found in a recent text by Lenhart and Workman (2007).

In a direct method, optimal control is seen as a standard optimization problem: perform a search for the control function u(t) that optimizes the objective functional. However, optimization routines do not operate on infinite-dimensional spaces. So before optimizing, the state control variables are approximated using an appropriate function approximation like the piecewise constant parameterization. Since the parameterization used is often a straightforward discretization of the continuous space, the direct method has been described as: first discretize then optimize.

Recently a considerable attention has been paid by the researchers towards employing algorithms inspired from natural processes and/or events in order to solve optimization problems. For example, Genetic Algorithms (GAs) (Holland, 1975), which mimics the process of Darwinian evolution and natural genetics, are now a standard optimization tool in engineering. There are also other numerical, direct search and optimization methods, e.g. Ant Colony Optimization (ACO) (Dorigo et al., 1996) and Particle Swarm Optimization (PSO) (Kennedy and Eberhart, 1995). Since past few years, researchers have been attempting to imitate the ecological phenomenon of nature for solving engineering optimization problems. For instance, a novel Evolutionary Algorithm (EA), inspired by the nature of spatial interactions in ecological systems, was proposed by Kirley (2002), where the author examined the response of the evolving population to the process of fragmentation and disturbance cased by natural events (like fire, floods or climate changes). Another ecology-inspired EA for constrained optimization was presented by Yuchi and Kim (2005). In the mentioned research, in each generation, according to the feasibility of the individuals, the whole population is divided into two groups: feasible group and infeasible group. Evaluation and ranking of these two groups are performed in parallel and separately. The best individuals from feasible and infeasible groups are selected together as parents. The number of feasible parents has a sigmoid-type relation with that of the feasible individuals, which is inspired by the natural ecological population growth in a confined space. Following the same tradition, Mehrabian and Lucas (2006) proposed the Invasive Weed Optimization (IWO), a derivative-free, metaheuristic algorithm, mimicking the ecological behavior of colonizing weeds. Weeds have been shown to be very robust and adaptive to the changes in environment. As IWO is designed to capture the properties of the weeds, it has been emerged as a powerful optimization algorithm. Since its inception, IWO has found successful applications in many practical optimization problems like optimization and tuning of a robust controller (Mehrabian and Lucas, 2006), optimal positioning of piezoelectric actuators (Mehrabian and Yousefi-Koma, 2007), developing a recommender system (Rad and Lucas, 2007), antenna array optimization (Roy et al., 2011), design of E-shaped MIMO Antenna (Mallahzadeh et al., 2009) and design of encoding sequences for DNA computing (Zhang et al., 2009).

To use an EA for optimal control, a parameterization strategy is required by which control functions can be represented by the vectors on which the EA may operate. This is commonly known as Control Vector Parameterization (CVP). A wide variety of CVPs have been used with non-evolutionary optimizers, including piecewise constant (Goh and Teo, 1988), Chebyshev polynomials (Vlassenbroeck, 1988), Lagrange polynomials (Biegler, 1984), and piecewise Lagrange polynomials (Vassiliadis et al., 1994). This article presents a new direct evolutionary method to solve optimal control problems where an improved variant of IWO is used along with Bézier curves (Bézier, 1972) to parameterize the control functions. The new method is designed to achieve both accuracy and efficiency simultaneously. Rest of the paper is organized in the following way. Section 2 examines the direct methods for optimal control and the evolutionary direct methods. In Section 3 the Bézier parameterization technique is developed for use in conjunction with IWO. Section 3 also elaborates the IWO algorithm along with its proposed modification. Section 4 discusses the application of this method considering various instantiations of the optimal control problem. The focus here is to confirm that this new direct method is effective and efficient for a wide range of problems. In each case, the examples used can be solved analytically by an indirect method. This permits comparison of the two solutions and validates the proposed method. Section 5 demonstrates the effectiveness of the proposed approach by comparing the result obtained with this approach with the popular ecologically inspired optimization methods. The main focus here is to show that the modified version of IWO performs better as compared to a few significant nature-inspired stochastic algorithms used as evolutionary direct methods. Finally Section 6 concludes the paper uncovering a few future research directions.

Section snippets

Bézier Control Parameterization

Bézier curves were widely publicized in 1962 by the French engineer Bézier (1972), who used them to design automobile bodies. His UNISURF system (Bézier, 1974) has been applied to define the outer panels of several cars marketed by Renault (http://en.wikipedia.org/wiki/Bézier_curve). The curves were first developed in 1959 by Paul de Casteljau using de Casteljau's algorithm, a numerically stable method to evaluate Bézier curves (http://en.wikipedia.org/wiki/Bézier_curve). In 1926, Bernstein

Experiments and results

To demonstrate that IWO/BCP direct method can yield accurate solutions to the standard range of optimal control problems, we consider a wide range of problems from Lenhart and Workman (2007). Thus in addition to one problem in standard form also considered are examples with payoff terms, with fixed state endpoints and with bounded controls. Both minimization and maximization problems are considered. Single state functions and multiple state functions are considered here for completeness. The

Comparison with other Evolutionary Algorithms

We have already mentioned that we parameterize the control function using Bézier curves, and then it is combined with our modified version of Invasive Weed Optimization algorithm to form an evolutionary direct method for optimal control problem. In this section, we demonstrate that our novel modified version of IWO is indeed better than other popular nature inspired stochastic algorithms like Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Differential Evolution (DE) for solving

Conclusions

The method proposed here produces an accurate approximation of the exact solution, using a small number of parameters. Thus the BCP/IWO solution method proves successful for each optimal control problem. For evolutionary direct method it provides a means to improve both the accuracy of the final result and efficiency of the algorithm. It has been demonstrated that this technique is effective for all classes of optimal control problems.

The direct method proposed here has potential to be a

References (29)

  • S. Das et al.

    Differential evolution: a survey of the state-of-the-art

    IEEE Transactions on Evolutionary Computation

    (2011)
  • K.A. De Jong

    Evolutionary Computation: A Unified Approach

    (2006)
  • K. Deb et al.

    Simulated binary crossover for continuous search space

    Complex Systems

    (1995)
  • M. Dorigo et al.

    Ant system: optimization by a colony of cooperating agents

    IEEE Transactions on Systems, Man, and Cybernetics—Part B

    (1996)
  • Cited by (27)

    • Bézier curve parametrisation and echo state network methods for solving optimal control problems of SIR model

      2019, BioSystems
      Citation Excerpt :

      The first method is IWO algorithm, inspired by colonising weeds, that was first introduced by Mehrabian and Lucas (2006). Since its invention, IWO has been used in many applications (Pourjafari and Mojallali, 2012; Zhou et al., 2014, 2015) like the design and optimisation of antenna array, solving optimal control problems (Ghosh et al., 2011), as well as training neural networks (Giri et al., 2010). In the basic IWO, weeds represent the approximations of the solution.

    • Improved invasive weed optimization algorithm (IWO) based on chaos theory for optimal design of PID controller

      2019, Journal of Computational Design and Engineering
      Citation Excerpt :

      This algorithm can be used as a basic design for effective optimization approaches (Xing & Gao, 2014). IWO has been improved in previous studies among which the followings such as “a Cooperative co-evolutionary invasive weed optimization applied to Nash equilibrium search in electricity markets (Hajimirsadeghi, Ghazanfari, Rahimi-Kian, & Lucas, 2009)”, differential IWO (Basak, Maity, & Das, 2013), discrete IWO (Ghalenoei, Hajimirsadeghi, & Lucas, 2009), combined weed colony optimization with differential evolution algorithm (Roy, Islam, Das, Ghosh, & Vasilakos, 2013), IWO for optimal Multi-objective algorithm (Kundu, Suresh, Ghosh, Das, & Panigrahi, 2012), modified IWO (Ghosh, Das, Chowdhury, & Giri, 2011; Pahlavani, Delavar, & Frank, 2012), IWO based on non-dominated sorting (Nikoofard, Hajimirsadeghi, Rahimi-Kian, & Lucas, 2012), combined particle swarm optimization and weed optimization algorithm (Ojha & Naidu, 2015), combined weed optimization and firefly algorithm (Panda, Dutta, & Pradhan, 2017) have gained popularity. Furthermore, IWO has been successfully applied to a variety of optimization problems including optimization of antenna design (Mallahzadeh, Es’Haghi, & Hassani, 2009), telecommunication design optimization (Hung, Chao, Cheng, & Huang, 2010), DC motor control optimization (Khalilpour, Razmjooy, Hosseini, & Moallem, 2011), data clustering (Xio-qiang & Jin-hu, 2015), chase Index (Affolter, Hanne, Schweizer, & Dornberger, 2015), robot path optimization (Prases, Mohanty, & Parhi, 2014), work shop scheduling (Mishram, Bose, & Rao, 2017), and economic load distribution (Jayabarathi, Yazdani, & Ramesh, 2012).

    • A parallel numerical method for solving optimal control problems based on whale optimization algorithm

      2018, Knowledge-Based Systems
      Citation Excerpt :

      In the approach of [2], the set of control values is divided into a partition and then by defining binary decision variables the problem is converted to a quasi-assignment problem which is solved by IWO. Another example is [6], where IWO was utilized to solve the control problems. In order to improve the accuracy of parametrization as piecewise constant functions, Bezier curves are used in parametrization.

    • A new approach for finding smooth optimal feeding profiles in fed-batch fermentations

      2016, Biochemical Engineering Journal
      Citation Excerpt :

      Finally, the parameterization by means of multiple cosine functions (two cosines in this case) which is non-forced continuous and also differentiable for the whole control horizon, because the control profile is a single function and not a connection of different piecewise functions as it is usually done. An alternative smooth and continuous parameterization of the control vector, known as the Bézier parameterization, has also been used recently in different applications [39–40]. The Bézier parameterization defines the value of the input variable as a function of a certain number of control points and an additional fit parameter, which is a number between 0 and 1.

    • Online optimal decoupled sliding mode control based on moving least squares and particle swarm optimization

      2014, Information Sciences
      Citation Excerpt :

      Wai et al. proposed a total sliding-model-based particle swarm optimization to design a controller for the linear induction motor [44]. More recently, in [15], an ecologically inspired direct search method was applied to solve the optimal control problems with Bezier parameterization. Moreover, in [43], a controllable probabilistic particle swarm optimization (CPPSO) algorithm was applied to design a memoryless feedback controller.

    View all citing articles on Scopus
    View full text