Prediction of any system’s development is a very important goal, especially in the case of chaotic systems which exist frequently in several real-life and various fields.
These systems are very important for the service of mankind. Those systems include psychology , secure communications , economics system modeling , medicine , etc. Due to the importance of these models, these deserved to be studied. Despite the recent trend of forecasting, this task is often not easy. The chaotic models usually need to study the optimization or the OCP. The Principle of Optimality means to take the best choice (procedure) to minimize the cost (maximize the profit) of the current time (stage) and all subsequent times (stages). The OCPs in general does not have a perfect solution, so solutions are often approximate, which is another aspect of difficulty and sensitivity.
Lorenz system is a reduced version of a larger system studied earlier by Barry Saltzman . This model is a system of three non-linear ordinary differential equations, is extremely sensitive to perturbation of the initial conditions, and this system has strange attractors; thus this system has a chaotic behavior for different values of parameters and different initial conditions as it is in the famous butterfly attractor which is produced for the special values of parameters of (10, 28, 8/3) respectively as these parameters shown sequentially in the model in . Rössler attractor is another famous attractor which is one of the products of the works of a German biochemist Otto Eberhard Rössler. There is a similarity between Lorenz and Rössler attractors, where the latter follows an outward spiral around two fixed points. Although each variable in the system is oscillating around specified values, the oscillations are chaotic . There is a merging of the two models of Lorenz and Rössler in a non-additive form, and because the new additive system losses the chaotic behavior property, some switching between variables was done and some transactions were manipulated  . Although the chaotic systems are difficult to predict in a long-term, this paper discusses the optimal control problem of the Lorenz-Rössler through some external inputs. It is important to mention that the Lorenz-Rössler which should be studied is that which is presented in  and . We use some procedures in the optimal control problem to determine some sets of numbers of parameters and initial conditions that achieve the optimal behavior to the goal state.
The qualitative changes in the trajectories in the phase space due to the change in one or more control parameters are called bifurcations. The bifurcating study is possible for a one-dimensional system with one parameter. But it is difficult in higher-dimensional cases, especially with several parameters. so there is little research in this area .
In the next section, we provide a necessary mathematical introduction. The mathematical system of the Lorenz-Rössler model is presented and a brief discussion of the stability of the system is in Section 3. In Section 4, an analytical investigation of some cases of bifurcation is discussed and many diagrams for those cases are presented. In Section 5, the optimal control problem is discussed followed by many digital examples that were made through simulations. The conclusion is presented in Section 6.
2. Mathematical Introduction
It is known that the optimal control problem requires: A mathematical form for the system to be controlled, description of the constraints, determination of the goal to be accomplished, usually it is an additional boundary condition and determination for the performance measure   . Firstly, we consider the simplest example to find the shortest length between two specified locations and in R2. Consider the case of no constraints on the variables, and for simplicity, we assume that the minimal curve is given as the graph of a smooth function . The problem now can be illustrated as minimizing the integral which is given by
where J is called a functional or the objective function, that must be minimized with respect to t. In a simple case of one dependent variable and no constraints, and conditionally that the optimal curve exist and unique, the general problem now is to find the optimal curve that minimizes the functional
where g is a continuous function in all its variables and has a continuous first and second orders partial derivatives with respect to all its variables. Moreover, and are fixed. If we consider a small variation in the carve, then
where is a small parameter and is an arbitrary real function of t s.t. . It is clear that the optimal curve is a member of the family (2.3) at . See Figure 1.
Thus, the functional in (2.2) can be written as
The necessary condition in order to be extremum function is 
Under the assumption that x and all its derivatives are continuous, with some mathematical processes and considering that and at , the condition (2.6) can be
but at , and , then
, , s.t. and (2.8)
Equation (2.8) gives the necessary condition to minimize J and it is known as the Euler-Lagrange (E-L) equation, which associates with the vibrational problem (2.3).
Figure 1. The best bath between two points A and B that minimize the distance as a goal.
Let us now consider the n first ordinary differential equations (ODEs) as the following forms , and suppose that the optimal state exist and unique, that is the vector of n twice differentiable function. In this case, the functional (2.2) can take the following form
Under the same conditions in the case of one dependent variable, the function which makes the integral (2.9) an extremum must satisfy the n simultaneous E-L equations, which are given by
with the boundary conditions
See  and  for more details. Now, in the case when there are constraints on the states and control variables. The functional that need to maximize (minimize) takes the following form
where and are real valued functions that can be selected to weight the terminal and transient performance respectively. can be called the terminal cost, and can be the instantaneous loss per unit of time. is called Lagrange multipliers (L-m) vector, by integrating the term in (2.12) we get
is called the Hamiltonian function (H.f). Some-times H takes the form
where and one can get for maximization .
Theorem: Assume is the optimal function that maximizes the objective function and is the corresponding trajectory, then must satisfy the following conditions  
This system consists of 2n nonlinear differential equations with n initial conditions and n terminal conditions . For more details about this theorem and its proof see  and . Notable: An additional equation is required if is indeterminate.
3. Lorenz-Rössler Mathematical
The Lorenz-Rössler system is a three-dimensional system with five parameters. This system is described by the following equations as presented in  and 
where and are the state variables of the system, and are the system parameters. Clearly, the zero-state is not a solution of the system (3.1) because the system is not homogeneous, and with a few mathematical calculations we can be sure that this system has the following possible equilibrium states
It is easy to show that the system (3.1) under some conditions, is unstable at least at one of its steady-states, so be it . The Jacobian matrix of the model (3.1) is given by
And valued at stationary state is given by
According the linear stability analysis and theory of linear differential equations, we strive to find the eigenvalues of . The determinant equation of is given by the following equation:
In general, the eigenvalues of are complex numbers. In this regard, we are not concerned with the values of the solutions of (3.8) but with their signs. Based on the linear stability theory, if there are at least one of the eigenvalues in (3.8) is positive, the equilibrium point is unstable. So, for the linear part in (3.8), the eigenvalue is , while for the quadratic polynomial part, and according of the Descartes’ rule of the number of the positive real roots of a polynomial, the quadratic polynomial in (3.8) has at least one positive root if , i.e. . That proof that the Lorenz-Rössler for different values of parameters is unstable at least at .
4. Bifurcation of Lorenz-Rössler System
In this section, we discuss the bifurcation phenomenon of the considered system. At the first equilibrium point, depends upon the following characteristic Equation (3.8), that can be rewritten as the following:
then the values of are , and
The bifurcation phenomena arise when one or more of the eigenvalues equal to zero, by analyzing the values of the last two eigenvalues many cases hold:
Case 1: when , then and , this case is a Saddle-Node bifurcation (SNB).
We chose the parameter as a bifurcation parameter, with giving fixed values of the other parameters the bifurcation diagrams can be drawn as in Figure 2.
Case 2: when and , then
Figure 2. Bifurcation diagrams where , , , , and is the bifurcation parameter.
where Hopf bifurcation (HB) holds. Choosing as a bifurcation parameter with fixed values of the other parameters give a picture of this case in the bifurcation diagram as in Figure 3.
Next we chose the parameter as a bifurcation parameter, with giving fixed values of the other parameters the bifurcation diagrams can be drawn as in Figure 4.
5. Optimal Control Problem in a Period of Time
In the case of constraints on the control variables, Pontryagin maximum principleis considered as a design tool to get the best possible trajectory for a dynamical system by providing a necessary condition that must hold for an optimum, but not (in general) sufficient conditions . So, the basic problem is to find the controllers that maximize/minimize the functional J in (2.12), which is called a co-state function and considered as a type of L-m. We use the PMP to find the best possible controllers with respect to a choice of specified measure.
Figure 3. Bifurcation diagrams where , , , , and is the bifurcation parameter.
The selected measure can be presented as the following forms:
The controlled system of (3.1) that is given by
And the initial and terminal conditions
- are positive control constants.
- is any steady-states of the system as or that are defined in Equations (3.2)-(3.4).
Figure 4. Bifurcation diagrams where , , , , , and is the bifurcation parameter.
- are the controlling inputs that be determined by the PMP with respect to the optimality measure for the system (3.1) near its stead-states.
- are the optimal control inputs.
The selected measure or the objective function (5.1) represents the sum of squares of the deviations of from their goal levels and deviations of the control inputs from their goal levels , ( ).
Now, our aim is to keep the system states to their goal levels and the control inputs to their goal levels (optimal controllers) over time as close as possible. Let us consider the following an additional variable as a replacement of the cost function (5.1)
with the initial condition and the terminal condition .
Then, introduce the co-state variables that are related to the state variables of the system (3.1) and the additional state variable (5.5) respectively. Then the H.f takes the following form
The Hamiltonian equations are given by:
From Equation (5.7), clearly is a constant, so for minimization, we can choose  . Using Equations (5.6) and (5.7) with for simplicity we can get the co-state differential equations as
For minimizing the H.f w.r.t through the conditions , we can get
By substituting (5.11) in the controlled system in (3.1) with Equations (5.8)-(5.10) we get the following system of seven nonlinear differential equations
with the following boundary conditions: , , , .
6. Numerical Simulation
In the following, some numerical solutions of the system in Equations (5.12), that display how the system states converge to the goal state in different cases, and how the co-state variables disappear at the end of time T.
- The optimal control to the stationary state is shown in Figure 5.
- The optimal control to the stationary state is shown in Figure 6 where
Figure 5. Optimal control of the system to at the parameters ( , , , , , ) and the constants ( , , , , , ) with the initial and terminal conditions: , , , , , .
Figure 6. Optimal control of the system to at the parameters ( , , , , , ) and the constants ( , , , , , ) with the initial and terminal conditions: , , , , , .
Figure 5 and Figure 6 indicate that, according to the assumed values of the parameters, the optimal controlled state converge with time to the assumed goal level 0, 0, 5, respectively in Figure 5 and to 0.450, 0.675, 0.325 respectively in Figure 6. Also, in each case the co-state variables disappear with time. The assumed goal levels are represented by the dotted lines. All results indicate the possibility of the optimal control of the Lorenz-Rössler system, and the PMP has shown excellent results in achieving the optimal behavior of the system.
Many studies can be implemented on the Lorenz-Rössler model, but in this paper, we have focused on the issues of the bifurcations and the optimal control problem of the system. The bifurcation analysis of the system at the equilibrium state was discussed and it was found that a saddle-node bifurcation and a Hopf bifurcation can be holed under some conditions. Many bifurcation diagrams have verified those cases using examples that are showing graphically for some chosen parameters. The procedure of the Pontryagin Maximum Principle is considered to solve the optimal control problem. The optimal control inputs were analytically derived and it is found that they are functions of the co-state variables which disappear when the system arrives at the ideal state. Analytical methods are used to solve the necessary conditions, while the non-linear differential equations of the optimal controlled system are solved numerically by the math software Maple, and then some illustrative solutions are shown graphically.
 Alwan, S. and El-Gohary, A. (2011) Chaos, Estimation and Optimal Control of Habitat Destruction Model with Uncertain Parameters. Computer and Mathematics with Applications, 62, 4089-4099.