Optimal control




Optimal control theory deals with the problem of finding a control law for a given system such that a certain optimality criterion is achieved.


It is an extension of the calculus of variations, and is a mathematical optimization method for deriving control policies. The method is largely due to the work of Lev Pontryagin and Richard Bellman in the 1950s, after contributions to calculus of variations by Edward J. McShane.[1] Optimal control can be seen as a control strategy in control theory.




Contents






  • 1 General method


  • 2 Linear quadratic control


  • 3 Numerical methods for optimal control


  • 4 Discrete-time optimal control


  • 5 Examples


    • 5.1 Finite time




  • 6 See also


  • 7 References


  • 8 Further reading


  • 9 External links





General method


Optimal control deals with the problem of finding a control law for a given system such that a certain optimality criterion is achieved. A control problem includes a cost functional that is a function of state and control variables. An optimal control is a set of differential equations describing the paths of the control variables that minimize the cost function. The optimal control can be derived using Pontryagin's maximum principle (a necessary condition also known as Pontryagin's minimum principle or simply Pontryagin's Principle),[2] or by solving the Hamilton–Jacobi–Bellman equation (a sufficient condition).


We begin with a simple example. Consider a car traveling in a straight line on a hilly road. The question is, how should the driver press the accelerator pedal in order to minimize the total traveling time? Clearly in this example, the term control law refers specifically to the way in which the driver presses the accelerator and shifts the gears. The system consists of both the car and the road, and the optimality criterion is the minimization of the total traveling time. Control problems usually include ancillary constraints. For example, the amount of available fuel might be limited, the accelerator pedal cannot be pushed through the floor of the car, speed limits, etc.


A proper cost function will be a mathematical expression giving the traveling time as a function of the speed, geometrical considerations, and initial conditions of the system. It is often the case that the constraints are interchangeable with the cost function.


Another optimal control problem is to find the way to drive the car so as to minimize its fuel consumption, given that it must complete a given course in a time not exceeding some amount. Yet another control problem is to minimize the total monetary cost of completing the trip, given assumed monetary prices for time and fuel.


A more abstract framework goes as follows. Minimize the continuous-time cost functional


J=Φ[x(t0),t0,x(tf),tf]+∫t0tfL[x(t),u(t),t]d⁡t{displaystyle J=Phi ,[,{textbf {x}}(t_{0}),t_{0},{textbf {x}}(t_{f}),t_{f},]+int _{t_{0}}^{t_{f}}{mathcal {L}},[,{textbf {x}}(t),{textbf {u}}(t),t,],operatorname {d} t}J=Phi ,[,{textbf {x}}(t_{0}),t_{0},{textbf {x}}(t_{f}),t_{f},]+int _{t_{0}}^{t_{f}}{mathcal {L}},[,{textbf {x}}(t),{textbf {u}}(t),t,],operatorname {d} t

subject to the first-order dynamic constraints (the state equation)


(t)=a[x(t),u(t),t],{displaystyle {dot {textbf {x}}}(t)={textbf {a}},[,{textbf {x}}(t),{textbf {u}}(t),t,],}{dot {textbf {x}}}(t)={textbf {a}},[,{textbf {x}}(t),{textbf {u}}(t),t,],

the algebraic path constraints


b[x(t),u(t),t]≤0,{displaystyle {textbf {b}},[,{textbf {x}}(t),{textbf {u}}(t),t,]leq {textbf {0}},}{textbf {b}},[,{textbf {x}}(t),{textbf {u}}(t),t,]leq {textbf {0}},

and the boundary conditions


ϕ[x(t0),t0,x(tf),tf]=0{displaystyle {boldsymbol {phi }},[,{textbf {x}}(t_{0}),t_{0},{textbf {x}}(t_{f}),t_{f},]=0}{boldsymbol {phi }},[,{textbf {x}}(t_{0}),t_{0},{textbf {x}}(t_{f}),t_{f},]=0

where x(t){displaystyle {textbf {x}}(t)}{textbf {x}}(t) is the state, u(t){displaystyle {textbf {u}}(t)}{textbf {u}}(t) is the control, t{displaystyle t}t is the independent variable (generally speaking, time), t0{displaystyle t_{0}}t_{0} is the initial time, and tf{displaystyle t_{f}}t_{f} is the terminal time. The terms Φ{displaystyle Phi }Phi and L{displaystyle {mathcal {L}}}{mathcal {L}} are called the endpoint cost and Lagrangian, respectively. Furthermore, it is noted that the path constraints are in general inequality constraints and thus may not be active (i.e., equal to zero) at the optimal solution. It is also noted that the optimal control problem as stated above may have multiple solutions (i.e., the solution may not be unique). Thus, it is most often the case that any solution [x∗(t∗),u∗(t∗),t∗]{displaystyle [{textbf {x}}^{*}(t^{*}),{textbf {u}}^{*}(t^{*}),t^{*}]}[{textbf {x}}^{*}(t^{*}),{textbf {u}}^{*}(t^{*}),t^{*}] to the optimal control problem is locally minimizing.



Linear quadratic control


A special case of the general nonlinear optimal control problem given in the previous section is the linear quadratic (LQ) optimal control problem. The LQ problem is stated as follows. Minimize the quadratic continuous-time cost functional


J=12xT(tf)Sfx(tf)+12∫t0tf[xT(t)Q(t)x(t)+uT(t)R(t)u(t)]d⁡t{displaystyle J={tfrac {1}{2}}mathbf {x} ^{mathsf {T}}(t_{f})mathbf {S} _{f}mathbf {x} (t_{f})+{tfrac {1}{2}}int _{t_{0}}^{t_{f}}[,mathbf {x} ^{mathsf {T}}(t)mathbf {Q} (t)mathbf {x} (t)+mathbf {u} ^{mathsf {T}}(t)mathbf {R} (t)mathbf {u} (t),],operatorname {d} t}{displaystyle J={tfrac {1}{2}}mathbf {x} ^{mathsf {T}}(t_{f})mathbf {S} _{f}mathbf {x} (t_{f})+{tfrac {1}{2}}int _{t_{0}}^{t_{f}}[,mathbf {x} ^{mathsf {T}}(t)mathbf {Q} (t)mathbf {x} (t)+mathbf {u} ^{mathsf {T}}(t)mathbf {R} (t)mathbf {u} (t),],operatorname {d} t}

Subject to the linear first-order dynamic constraints


(t)=A(t)x(t)+B(t)u(t),{displaystyle {dot {mathbf {x} }}(t)=mathbf {A} (t)mathbf {x} (t)+mathbf {B} (t)mathbf {u} (t),}{dot {mathbf {x} }}(t)=mathbf {A} (t)mathbf {x} (t)+mathbf {B} (t)mathbf {u} (t),

and the initial condition


x(t0)=x0{displaystyle mathbf {x} (t_{0})=mathbf {x} _{0}}mathbf {x} (t_{0})=mathbf {x} _{0}

A particular form of the LQ problem that arises in many control system problems is that of the linear quadratic regulator (LQR) where all of the matrices (i.e., A{displaystyle mathbf {A} }mathbf {A} , B{displaystyle mathbf {B} }mathbf {B} , Q{displaystyle mathbf {Q} }mathbf {Q} , and R{displaystyle mathbf {R} }mathbf {R} ) are constant, the initial time is arbitrarily set to zero, and the terminal time is taken in the limit tf→{displaystyle t_{f}rightarrow infty }t_frightarrowinfty (this last assumption is what is known as infinite horizon). The LQR problem is stated as follows. Minimize the infinite horizon quadratic continuous-time cost functional


J=12∫0∞[xT(t)Qx(t)+uT(t)Ru(t)]d⁡t{displaystyle J={tfrac {1}{2}}int _{0}^{infty }[,mathbf {x} ^{mathsf {T}}(t)mathbf {Q} mathbf {x} (t)+mathbf {u} ^{mathsf {T}}(t)mathbf {R} mathbf {u} (t),],operatorname {d} t}{displaystyle J={tfrac {1}{2}}int _{0}^{infty }[,mathbf {x} ^{mathsf {T}}(t)mathbf {Q} mathbf {x} (t)+mathbf {u} ^{mathsf {T}}(t)mathbf {R} mathbf {u} (t),],operatorname {d} t}

Subject to the linear time-invariant first-order dynamic constraints


(t)=Ax(t)+Bu(t),{displaystyle {dot {mathbf {x} }}(t)=mathbf {A} mathbf {x} (t)+mathbf {B} mathbf {u} (t),}{dot  {{mathbf  {x}}}}(t)={mathbf  {A}}{mathbf  {x}}(t)+{mathbf  {B}}{mathbf  {u}}(t),

and the initial condition


x(t0)=x0{displaystyle mathbf {x} (t_{0})=mathbf {x} _{0}}mathbf {x} (t_{0})=mathbf {x} _{0}

In the finite-horizon case the matrices are restricted in that Q{displaystyle mathbf {Q} }mathbf {Q} and R{displaystyle mathbf {R} }mathbf {R} are positive semi-definite and positive definite, respectively. In the infinite-horizon case, however, the matrices Q{displaystyle mathbf {Q} }mathbf {Q} and R{displaystyle mathbf {R} }mathbf {R} are not only positive-semidefinite and positive-definite, respectively, but are also constant. These additional restrictions on
Q{displaystyle mathbf {Q} }mathbf {Q} and R{displaystyle mathbf {R} }mathbf {R} in the infinite-horizon case are enforced to ensure that the cost functional remains positive. Furthermore, in order to ensure that the cost function is bounded, the additional restriction is imposed that the pair (A,B){displaystyle (mathbf {A} ,mathbf {B} )}({mathbf  {A}},{mathbf  {B}}) is controllable. Note that the LQ or LQR cost functional can be thought of physically as attempting to minimize the control energy (measured as a quadratic form).


The infinite horizon problem (i.e., LQR) may seem overly restrictive and essentially useless because it assumes that the operator is driving the system to zero-state and hence driving the output of the system to zero. This is indeed correct. However the problem of driving the output to a desired nonzero level can be solved after the zero output one is. In fact, it can be proved that this secondary LQR problem can be solved in a very straightforward manner. It has been shown in classical optimal control theory that the LQ (or LQR) optimal control has the feedback form


u(t)=−K(t)x(t){displaystyle mathbf {u} (t)=-mathbf {K} (t)mathbf {x} (t)}{mathbf  {u}}(t)=-{mathbf  {K}}(t){mathbf  {x}}(t)

where K(t){displaystyle mathbf {K} (t)}mathbf {K} (t) is a properly dimensioned matrix, given as


K(t)=R−1BTS(t),{displaystyle mathbf {K} (t)=mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} (t),}{displaystyle mathbf {K} (t)=mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} (t),}

and S(t){displaystyle mathbf {S} (t)}{mathbf  {S}}(t) is the solution of the differential Riccati equation. The differential Riccati equation is given as


(t)=−S(t)A−ATS(t)+S(t)BR−1BTS(t)−Q{displaystyle {dot {mathbf {S} }}(t)=-mathbf {S} (t)mathbf {A} -mathbf {A} ^{mathsf {T}}mathbf {S} (t)+mathbf {S} (t)mathbf {B} mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} (t)-mathbf {Q} }{displaystyle {dot {mathbf {S} }}(t)=-mathbf {S} (t)mathbf {A} -mathbf {A} ^{mathsf {T}}mathbf {S} (t)+mathbf {S} (t)mathbf {B} mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} (t)-mathbf {Q} }

For the finite horizon LQ problem, the Riccati equation is integrated backward in time using the terminal boundary condition


S(tf)=Sf{displaystyle mathbf {S} (t_{f})=mathbf {S} _{f}}{mathbf  {S}}(t_{f})={mathbf  {S}}_{f}

For the infinite horizon LQR problem, the differential Riccati equation is replaced with the algebraic Riccati equation (ARE) given as


0=−SA−ATS+SBR−1BTS−Q{displaystyle mathbf {0} =-mathbf {S} mathbf {A} -mathbf {A} ^{mathsf {T}}mathbf {S} +mathbf {S} mathbf {B} mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} -mathbf {Q} }{displaystyle mathbf {0} =-mathbf {S} mathbf {A} -mathbf {A} ^{mathsf {T}}mathbf {S} +mathbf {S} mathbf {B} mathbf {R} ^{-1}mathbf {B} ^{mathsf {T}}mathbf {S} -mathbf {Q} }

Understanding that the ARE arises from infinite horizon problem, the matrices A{displaystyle mathbf {A} }mathbf {A} , B{displaystyle mathbf {B} }mathbf {B} , Q{displaystyle mathbf {Q} }mathbf {Q} , and R{displaystyle mathbf {R} }mathbf {R} are all constant. It is noted that there are in general multiple solutions to the algebraic Riccati equation and the positive definite (or positive semi-definite) solution is the one that is used to compute the feedback gain. The LQ (LQR) problem was elegantly solved by Rudolf Kalman.[3]



Numerical methods for optimal control


Optimal control problems are generally nonlinear and therefore, generally do not have analytic solutions (e.g., like the linear-quadratic optimal control problem). As a result, it is necessary to employ numerical methods to solve optimal control problems. In the early years of optimal control (c. 1950s to 1980s) the favored approach for solving optimal control problems was that of indirect methods. In an indirect method, the calculus of variations is employed to obtain the first-order optimality conditions. These conditions result in a two-point (or, in the case of a complex problem, a multi-point) boundary-value problem. This boundary-value problem actually has a special structure because it arises from taking the derivative of a Hamiltonian. Thus, the resulting dynamical system is a Hamiltonian system of the form


=∂H/∂λλ˙=−H/∂x{displaystyle {begin{array}{lcl}{dot {textbf {x}}}&=&partial H/partial {boldsymbol {lambda }}\{dot {boldsymbol {lambda }}}&=&-partial H/partial {textbf {x}}end{array}}}begin{array}{lcl} dot{textbf{x}} & = & partial H/partialboldsymbol{lambda} \ dot{boldsymbol{lambda}} & = & -partial H/partialtextbf{x} end{array}

where


H=L+λTa−μTb{displaystyle H={mathcal {L}}+{boldsymbol {lambda }}^{mathsf {T}}{textbf {a}}-{boldsymbol {mu }}^{mathsf {T}}{textbf {b}}}{displaystyle H={mathcal {L}}+{boldsymbol {lambda }}^{mathsf {T}}{textbf {a}}-{boldsymbol {mu }}^{mathsf {T}}{textbf {b}}}

is the augmented Hamiltonian and in an indirect method, the boundary-value problem is solved (using the appropriate boundary or transversality conditions). The beauty of using an indirect method is that the state and adjoint (i.e., λ{displaystyle {boldsymbol {lambda }}}boldsymbol{lambda}) are solved for and the resulting solution is readily verified to be an extremal trajectory. 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). A well-known software program that implements indirect methods is BNDSCO.[4]


The approach that has risen to prominence in numerical optimal control since the 1980s is that of so-called direct methods. In a direct method, the state and/or control are approximated using an appropriate function approximation (e.g., polynomial approximation or piecewise constant parameterization). Simultaneously, the cost functional is approximated as a cost function. Then, the coefficients of the function approximations are treated as optimization variables and the problem is "transcribed" to a nonlinear optimization problem of the form:


Minimize


F(z){displaystyle F({textbf {z}}),} F(textbf{z}),

subject to the algebraic constraints


g(z)=0h(z)≤0{displaystyle {begin{array}{lcl}{textbf {g}}({textbf {z}})&=&{textbf {0}}\{textbf {h}}({textbf {z}})&leq &{textbf {0}}end{array}}} begin{array}{lcl} textbf{g}(textbf{z}) & = & textbf{0} \ textbf{h}(textbf{z}) & leq & textbf{0} end{array}

Depending upon the type of direct method employed, the size of the nonlinear optimization problem can be quite small (e.g., as in a direct shooting or quasilinearization method), moderate (e.g. pseudospectral optimal control[5]) or may be quite large (e.g., a direct collocation method[6]). In the latter case (i.e., a collocation method), the nonlinear optimization problem may be literally thousands to tens of thousands of variables and constraints. Given the size of many NLPs arising from a direct method, it may appear somewhat counter-intuitive that solving the nonlinear optimization problem is easier than solving the boundary-value problem. It is, however, the fact that the NLP is easier to solve than the boundary-value problem. The reason for the relative ease of computation, particularly of a direct collocation method, is that the NLP is sparse and many well-known software programs exist (e.g., SNOPT[7]) to solve large sparse NLPs. As a result, the range of problems that can be solved via direct methods (particularly direct collocation methods which are very popular these days) is significantly larger than the range of problems that can be solved via indirect methods. In fact, direct methods have become so popular these days that many people have written elaborate software programs that employ these methods. In particular, many such programs include DIRCOL,[8] SOCS,[9] OTIS,[10] GESOP/ASTOS,[11] DITAN.[12] and PyGMO/PyKEP.[13] In recent years, due to the advent of the MATLAB programming language, optimal control software in MATLAB has become more common. Examples of academically developed MATLAB software tools implementing direct methods include RIOTS,[14]DIDO,[15]DIRECT,[16] and GPOPS,[17] while an example of an industry developed MATLAB tool is PROPT.[18] These software tools have increased significantly the opportunity for people to explore complex optimal control problems both for academic research and industrial problems. Finally, it is noted that general-purpose MATLAB optimization environments such as TOMLAB have made coding complex optimal control problems significantly easier than was previously possible in languages such as C and FORTRAN.



Discrete-time optimal control


The examples thus far have shown continuous time systems and control solutions. In fact, as optimal control solutions are now often implemented digitally, contemporary control theory is now primarily concerned with discrete time systems and solutions. The Theory of Consistent Approximations[19] provides conditions under which solutions to a series of increasingly accurate discretized optimal control problem converge to the solution of the original, continuous-time problem. Not all discretization methods have this property, even seemingly obvious ones. For instance, using a variable step-size routine to integrate the problem's dynamic equations may generate a gradient which does not converge to zero (or point in the right direction) as the solution is approached. The direct method RIOTS is based on the Theory of Consistent Approximation.



Examples


A common solution strategy in many optimal control problems is to solve for the costate (sometimes called the shadow price) λ(t){displaystyle lambda (t)}lambda (t). The costate summarizes in one number the marginal value of expanding or contracting the state variable next turn. The marginal value is not only the gains accruing to it next turn but associated with the duration of the program. It is nice when λ(t){displaystyle lambda (t)}lambda (t) can be solved analytically, but usually the most one can do is describe it sufficiently well that the intuition can grasp the character of the solution and an equation solver can solve numerically for the values.


Having obtained λ(t){displaystyle lambda (t)}lambda (t), the turn-t optimal value for the control can usually be solved as a differential equation conditional on knowledge of λ(t){displaystyle lambda (t)}lambda (t). Again it is infrequent, especially in continuous-time problems, that one obtains the value of the control or the state explicitly. Usually the strategy is to solve for thresholds and regions that characterize the optimal control and use a numerical solver to isolate the actual choice values in time.



Finite time






Consider the problem of a mine owner who must decide at what rate to extract ore from their mine. They own rights to the ore from date 0{displaystyle 0}{displaystyle 0} to date T{displaystyle T}T. At date 0{displaystyle 0}{displaystyle 0} there is x0{displaystyle x_{0}}x_{0} ore in the ground, and the time-dependent amount of ore x(t){displaystyle x(t)}x(t) left in the ground declines at the rate of u(t){displaystyle u(t)}u(t) that the mine owner extracts it. The mine owner extracts ore at cost u(t)2/x(t){displaystyle u(t)^{2}/x(t)}u(t)^2/x(t) (the cost of extraction increasing with the square of the extraction speed and the inverse of the amount of ore left) and sells ore at a constant price p{displaystyle p}p. Any ore left in the ground at time T{displaystyle T}T cannot be sold and has no value (there is no "scrap value"). The owner chooses the rate of extraction varying with time u(t){displaystyle u(t)}u(t) to maximize profits over the period of ownership with no time discounting.






1. Discrete-time version

The manager maximizes profit Π{displaystyle Pi }Pi :


Π=∑t=0T−1[put−ut2xt]{displaystyle Pi =sum _{t=0}^{T-1}left[pu_{t}-{frac {u_{t}^{2}}{x_{t}}}right]}Pi = sum_{t=0}^{T-1} left[ pu_t - frac{u_t^2}{x_t} right]

subject to the law of evolution for the state variable xt{displaystyle x_{t}}x_{t}


xt+1−xt=−ut{displaystyle x_{t+1}-x_{t}=-u_{t}!}x_{t+1} - x_t = - u_t!

Form the Hamiltonian and differentiate:



H=put−ut2xt−λt+1ut{displaystyle H=pu_{t}-{frac {u_{t}^{2}}{x_{t}}}-lambda _{t+1}u_{t}}H = pu_t - frac{u_t^2}{x_t} - lambda_{t+1} u_t

H∂ut=p−λt+1−2utxt=0{displaystyle {frac {partial H}{partial u_{t}}}=p-lambda _{t+1}-2{frac {u_{t}}{x_{t}}}=0}frac{partial H}{partial u_t} = p - lambda_{t+1} - 2frac{u_t}{x_t} = 0

λt+1−λt=−H∂xt=−(utxt)2{displaystyle lambda _{t+1}-lambda _{t}=-{frac {partial H}{partial x_{t}}}=-left({frac {u_{t}}{x_{t}}}right)^{2}}lambda_{t+1} - lambda_t = -frac{partial H}{partial x_t} = -left( frac{u_t}{x_t} right)^2



As the mine owner does not value the ore remaining at time T{displaystyle T}T,


λT=0{displaystyle lambda _{T}=0!}lambda_T = 0!

Using the above equations, it is easy to solve for the xt{displaystyle x_{t}}x_{t} and λt{displaystyle lambda _{t}}lambda_t series



λt=λt+1+(p−λt+1)24{displaystyle lambda _{t}=lambda _{t+1}+{frac {(p-lambda _{t+1})^{2}}{4}}}lambda_t = lambda_{t+1} + frac{(p-lambda_{t+1})^2}{4}

xt+1=xt2−p+λt+12{displaystyle x_{t+1}=x_{t}{frac {2-p+lambda _{t+1}}{2}}}x_{t+1} = x_t frac{2 - p + lambda_{t+1}}{2}


and using the initial and turn-T conditions, the xt{displaystyle x_{t}}x_{t} series can be solved explicitly, giving ut{displaystyle u_{t}}u_{t}.



2. Continuous-time version

The manager maximizes profit Π{displaystyle Pi }Pi :


Π=∫0T[pu(t)−u(t)2x(t)]dt{displaystyle Pi =int _{0}^{T}left[pu(t)-{frac {u(t)^{2}}{x(t)}}right]dt}Pi = int_0^T left[ pu(t) - frac{u(t)^2}{x(t)} right] dt

subject to the law of evolution for the state variable x(t){displaystyle x(t)}x(t)


(t)=−u(t){displaystyle {dot {x}}(t)=-u(t)} dot x(t) = - u(t)

Form the Hamiltonian and differentiate:



H=pu(t)−u(t)2x(t)−λ(t)u(t){displaystyle H=pu(t)-{frac {u(t)^{2}}{x(t)}}-lambda (t)u(t)}H = pu(t) - frac{u(t)^2}{x(t)} - lambda(t) u(t)

H∂u=p−λ(t)−2u(t)x(t)=0{displaystyle {frac {partial H}{partial u}}=p-lambda (t)-2{frac {u(t)}{x(t)}}=0}frac{partial H}{partial u} = p - lambda(t) - 2frac{u(t)}{x(t)} = 0

λ˙(t)=−H∂x=−(u(t)x(t))2{displaystyle {dot {lambda }}(t)=-{frac {partial H}{partial x}}=-left({frac {u(t)}{x(t)}}right)^{2}}dotlambda(t) = -frac{partial H}{partial x} = -left( frac{u(t)}{x(t)} right)^2



As the mine owner does not value the ore remaining at time T{displaystyle T}T,


λ(T)=0{displaystyle lambda (T)=0}lambda(T) = 0

Using the above equations, it is easy to solve for the differential equations governing u(t){displaystyle u(t)}u(t) and λ(t){displaystyle lambda (t)}lambda (t)



λ˙(t)=−(p−λ(t))24{displaystyle {dot {lambda }}(t)=-{frac {(p-lambda (t))^{2}}{4}}}dotlambda(t) = -frac{(p-lambda(t))^2}{4}

u(t)=x(t)p−λ(t)2{displaystyle u(t)=x(t){frac {p-lambda (t)}{2}}}u(t) = x(t) frac{p- lambda(t)}{2}


and using the initial and turn-T conditions, the functions can be solved to yield


x(t)=(4−pt+pT)2(4+pT)2x0{displaystyle x(t)={frac {(4-pt+pT)^{2}}{(4+pT)^{2}}}x_{0}}{displaystyle x(t)={frac {(4-pt+pT)^{2}}{(4+pT)^{2}}}x_{0}}



See also




  • Active inference


  • APMonitor (Dynamic optimization platform for Python and MATLAB)

  • Bellman equation

  • Bellman pseudospectral method

  • Brachistochrone

  • DIDO

  • DNSS point

  • Dynamic programming

  • Gauss pseudospectral method

  • GEKKO

  • Generalized filtering

  • GPOPS-II


  • JModelica.org (Modelica-based open source platform for dynamic optimization)

  • Kalman filter

  • Linear-quadratic regulator

  • Model Predictive Control

  • PROPT (Optimal Control Software for MATLAB)

  • Pseudospectral optimal control


  • Pursuit-evasion games

  • Sliding mode control

  • SNOPT

  • Stochastic control

  • Trajectory optimization




References





  1. ^ Bryson, A. E. (1996). "Optimal Control—1950 to 1985". IEEE Control Systems Magazine. 16 (3): 26–33. doi:10.1109/37.506395..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ Ross, I. M. (2009). A Primer on Pontryagin's Principle in Optimal Control. Collegiate Publishers. ISBN 978-0-9843571-0-9.


  3. ^ Kalman, Rudolf. A new approach to linear filtering and prediction problems. Transactions of the ASME, Journal of Basic Engineering, 82:34–45, 1960


  4. ^ Oberle, H. J. and Grimm, W., "BNDSCO-A Program for the Numerical Solution of Optimal Control Problems," Institute for Flight Systems Dynamics, DLR, Oberpfaffenhofen, 1989


  5. ^ Ross, I. M.; Karpenko, M. (2012). "Pseudospectral Optimal Control". Annual Reviews in Control. 36 (2): 182–197. doi:10.1016/j.arcontrol.2012.09.002.


  6. ^ Betts, J. T. (2010). Practical Methods for Optimal Control Using Nonlinear Programming (2nd ed.). Philadelphia, Pennsylvania: SIAM Press. ISBN 978-0-89871-688-7.


  7. ^ Gill, P. E., Murray, W. M., and Saunders, M. A., User's Manual for SNOPT Version 7: Software for Large-Scale Nonlinear Programming, University of California, San Diego Report, 24 April 2007


  8. ^ von Stryk, O., User's Guide for DIRCOL (version 2.1): A Direct Collocation Method for the Numerical Solution of Optimal Control Problems, Fachgebiet Simulation und Systemoptimierung (SIM), Technische Universität Darmstadt (2000, Version of November 1999).


  9. ^ Betts, J.T. and Huffman, W. P., Sparse Optimal Control Software, SOCS, Boeing Information and Support Services, Seattle, Washington, July 1997


  10. ^ Hargraves, C. R.; Paris, S. W. (1987). "Direct Trajectory Optimization Using Nonlinear Programming and Collocation". Journal of Guidance, Control, and Dynamics. 10 (4): 338–342. doi:10.2514/3.20223.


  11. ^ Gath, P.F., Well, K.H., "Trajectory Optimization Using a Combination of Direct Multiple Shooting and Collocation", AIAA 2001–4047, AIAA Guidance, Navigation, and Control Conference, Montréal, Québec, Canada, 6–9 August 2001


  12. ^ Vasile M., Bernelli-Zazzera F., Fornasari N., Masarati P., "Design of Interplanetary and Lunar Missions Combining Low-Thrust and Gravity Assists", Final Report of the ESA/ESOC Study Contract No. 14126/00/D/CS, September 2002


  13. ^ Izzo, Dario. "PyGMO and PyKEP: open source tools for massively parallel optimization in astrodynamics (the case of interplanetary trajectory optimization)." Proceed. Fifth International Conf. Astrodynam. Tools and Techniques, ICATT. 2012.


  14. ^ RIOTS, based on Schwartz, Adam (1996). Theory and Implementation of Methods based on Runge–Kutta Integration for Solving Optimal Control Problems (Ph.D.). University of California at Berkeley. OCLC 35140322.


  15. ^ Ross, I. M. and Fahroo, F., User's Manual for DIDO: A MATLAB Package for Dynamic Optimization, Dept. of Aeronautics and Astronautics, Naval Postgraduate School Technical Report, 2002


  16. ^ Williams, P., User's Guide to DIRECT, Version 2.00, Melbourne, Australia, 2008


  17. ^ GOPS, described in Rao, A. V., Benson, D. A., Huntington, G. T., Francolin, C., Darby, C. L., and Patterson, M. A., User's Manual for GPOPS: A MATLAB Package for Dynamic Optimization Using the Gauss Pseudospectral Method, University of Florida Report, August 2008.


  18. ^ Rutquist, P. and Edvall, M. M, PROPT – MATLAB Optimal Control Software," 1260 S.E. Bishop Blvd Ste E, Pullman, WA 99163, USA: Tomlab Optimization, Inc.


  19. ^ E. Polak, On the use of consistent approximations in the solution of semi-infinite optimization and optimal control problems Math. Prog. 62 pp. 385–415 (1993).




Further reading




  • Bertsekas, D. P. (1995). Dynamic Programming and Optimal Control. Belmont: Athena. ISBN 1-886529-11-6.


  • Bryson, A. E.; Ho, Y.-C. (1975). Applied Optimal Control: Optimization, Estimation and Control (Revised ed.). New York: John Wiley and Sons. ISBN 0-470-11481-9.


  • Stengel, R. F. (1994). Optimal Control and Estimation. New York: Dover (Courier). ISBN 0-486-68200-5.


  • Fleming, W. H.; Rishel, R. W. (1975). Deterministic and Stochastic Optimal Control. New York: Springer. ISBN 0-387-90155-8.


  • Kamien, M. I.; Schwartz, N. L. (1991). Dynamic Optimization: The Calculus of Variations and Optimal Control in Economics and Management (Second ed.). New York: Elsevier. ISBN 0-444-01609-0.


  • Kirk, D. E. (1970). Optimal Control Theory: An Introduction. Englewood Cliffs: Prentice-Hall. ISBN 0-13-638098-0.



External links



  • Optimal Control Course Online

  • Dr. Benoît CHACHUAT: Automatic Control Laboratory – Nonlinear Programming, Calculus of Variations and Optimal Control.

  • DIDO - MATLAB tool for optimal control

  • GEKKO - Python package for optimal control

  • GESOP – Graphical Environment for Simulation and OPtimization





  • GPOPS-II – General-Purpose MATLAB Optimal Control Software

  • PROPT – MATLAB Optimal Control Software

  • Elmer G. Wiens: Optimal Control – Applications of Optimal Control Theory Using the Pontryagin Maximum Principle with interactive models.

  • Pontryagin's Principle Illustrated with Examples


  • On Optimal Control by Yu-Chi Ho

  • Pseudospectral optimal control: Part 1

  • Pseudospectral optimal control: Part 2




Comments

Popular posts from this blog

Information security

Lambak Kiri

章鱼与海女图