원시데이터 수집 시스템
선정목록으로

Geometric and numerical methods for a state constrained minimum time control problem of an electric vehicle

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Olivier Cots — Toulouse Univ., INP-ENSEEIHT-IRIT, UMR CNRS 5505, 2 rue Camichel 31071 Toulouse, France.
  2. Olivier Cots — Toulouse Univ., INP-ENSEEIHT-IRIT, UMR CNRS 5505, 2 rue Camichel 31071 Toulouse, France.
DOI
10.1051/cocv/2016070
저널
ESAIM Control Optimisation and Calculus of Variations
발행년도
2016
발행기관
EDP Sciences
피인용수
6
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1051/cocv/2016070
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W2556803685

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this article, the minimum time control problem of an electric vehicle is modeled as a Mayer problem in optimal control, with affine dynamics with respect to the control and with state constraints. The candidates as minimizers are selected among a set of extremals, solutions of a Hamiltonian system given by the maximum principle. An analysis, with the techniques of geometric control, is used first to reduce the set of candidates and then to construct the numerical methods. This leads to a numerical investigation based on indirect methods using the HamPath software. Multiple shooting and homotopy techniques are used to build a synthesis with respect to the bounds of the boundary sets.

본문 167,363자

본문 펼치기
GEOMETRIC AND NUMERICAL METHODS FOR A STATE CONSTRAINED MINIMUM TIME CONTROL PROBLEM OF AN ELECTRIC VEHICLE Olivier Cots <sup>1</sup> Abstract . In this article, the minimum time control problem of an electric vehicle is modeled as a Mayer problem in optimal control, with affine dynamics with respect to the control and with state constraints. The candidates as minimizers are selected among a set of extremals, solutions of a Hamiltonian system given by the maximum principle. An analysis, with the techniques of geometric control, is used first to reduce the set of candidates and then to construct the numerical methods. This leads to a numerical investigation based on indirect methods using the `HamPath` software. Multiple shooting and homotopy techniques are used to build a synthesis with respect to the bounds of the boundary sets. AMS Subject Classification. 49K15, 49M05, 90C90, 80M50. October 26, 2021. Introduction In this article, we are interested in the optimal control of an electric car, with a hybrid motor which can be operated in two discrete modes, _u_ ( _t_ ) _∈{−_ 1 _,_ 1 _}_, leading either to acceleration with energy consumption, or to a breaking-induced recharging of the battery. This vehicle can be seen as a specific type of hybrid electric vehicle (HEV), which is a vast field of research. Some recent works on controlling HEVs and further references can be found in [19, 28]. Moreover, the particular model we are interested in, see equations (1), have already been studied from the optimal control point of view. In recent papers [24, 26], F. Messine _et_ _al._ solved the problem of the minimization of the energy consumption of an electric vehicle described by equations (1) during its displacement. In this article, we intend to analyze a complementary optimal control problem by a different approach, combining geometric control and numerical methods based on the maximum principle. Besides, as mentioned in [26], optimization of driving strategy and optimization-driven assistant systems are on the rise from these last few decades, especially because of recent technological advances and successfully operating autonomous cars. One can found recent works, using different numerical approaches, such as indirect methods for off-line optimization in [20], or nonlinear model predictive control for real-time optimization in [21]. The dynamics of the electric vehicle is described with three differential states: the electric current _i_ (in ampere), the position of the car _α_ (in meter) and the angular velocity _ω_ (in radian per second). The dynamical _Keywords_ _and_ _phrases:_ Geometric optimal control; state constraints; shooting and homotopy methods; electric car. 1 Toulouse Univ., INP-ENSEEIHT-IRIT, UMR CNRS 5505, 2 rue Camichel, 31071 Toulouse, France; `olivier.cots@enseeiht.fr` 2 system is the following: <u>d</u> _<u>i</u>_ <u>1</u> d _t_ <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> _Lm_ <u>d</u> _<u>α</u>_ _<u>r</u>_ d _t_ <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> _Kr_ - _−_ _Rm i_ ( _t_ ) _−_ _Km ω_ ( _t_ ) + _V_ alim _u_ ( _t_ )� _ω_ ( _t_ ) (1) <sup><u>1</u></sup> _<u>r</u>_ 2 <sup>_ρSCx_</sup> _KrM_ <sup>_|ω_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_| ω_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_._</sup> <u>d</u> _<u>ω</u>_ <u>dd</u> _<u>ωt</u>_ <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_−_</sup> <sup>_<u>K</u>_</sup> _r_ <sup>_<u>r</u>_</sup> <sup>_<u>K</u>_</sup> _r_ <sup>_<u>r</u>_</sup> <sup>_g Kf_</sup> <sup>+</sup> <sup>_<u>K</u>_</sup> _rr_ <sup>22</sup> _rr_ <sup>22</sup> <sup>_<u>K</u>_</sup> _M_ <sup>_<u>m</u>_</sup> _i_ ( _t_ ) _−_ <sup><u>1</u></sup> 2 To prevent the motor from mechanical damages, the current is bounded by _|i_ ( _t_ ) _| ≤_ _i_ max, _i_ max _>_ 0. The convexification of the control domain leads to consider the control in the whole interval [ _−_ 1 _,_ 1]. This convexification is justified by the fact that the motor can switch from one discrete mode to another at extremely high frequency. We may also fix some constraints on the maximal speed ( _i.e._ linear velocity) of the car. The linear velocity (in km/h) is given by the relation _v_ ( _t_ ) = _ω_ ( _t_ ) _×_ 3 _._ 6 _r/Kr_ and we bound it by _|v_ ( _t_ ) _|_ _≤_ _v_ max, _v_ max _>_ 0. For given boundary conditions in the state space, the problem of interest is the minimization of the transfer time. Note that we consider only positive angular velocity so we replace _|ω_ ( _t_ ) _|_ by _ω_ ( _t_ ) in the dynamics. The parameters, given in Table 1, correspond to an electric solar car. Parameter Description Unit Parameter Description Unit _Cx_ Aerodynamic coefficient _Rm_ Inductor resistance ohms _ρ_ Air density kg/m <sup>3</sup> _Km_ Motor torque coefficient _V_ alim Battery voltage volt _r_ Radius of the wheels m _Kf_ Friction coefficient _Kr_ Reduction coefficient (of the wheels on the road) _R_ bat Resistance of the battery ohms _g_ Gravity constant m.s <sup>_−_</sup> <sup>2</sup> _S_ Surface in front of the vehicle m <sup>2</sup> _Lm_ Inductance of the rotor henry _M_ Total mass kg Table 1. Description of the electric solar car parameters. Let denote by _q_ := ( _i, α, ω_ ) the state, _M_ := R <sup>3</sup> the state space, _q_ 0 _∈_ _M_ the initial point, _Mc_ a submanifold of _M_ with boundary, _Mf_ the terminal submanifold and _U_ := [ _−_ 1 _,_ 1] the control domain. The optimal control problem with control and state constraints is of the form: _u_ min( _·_ ) _, tf_ <sup>_tf_</sup> <sup>_,_</sup> _q_ ˙( _t_ ) = _f_ ( _q_ ( _t_ ) _, u_ ( _t_ )) = _f_ 0( _q_ ( _t_ )) + _u_ ( _t_ ) _f_ 1( _q_ ( _t_ )) _,_ _t ∈_ [0 _, tf_ ] _,_ _u_ ( _t_ ) _∈_ _U,_ _q_ ( _t_ ) _∈_ _Mc_ _⊂_ _M,_ _tf_ _>_ 0 _,_ with boundary conditions _q_ (0) = _q_ 0 _∈_ _M_ and _q_ ( _tf_ ) _∈_ _Mf_ _⊂_ _M._ The optimal solution can be found as an extremal solution of the maximum principle (with state constraints) and analyzed with the recent advanced techniques of geometric optimal control. The in-depth analysis of the minimum time problem without state constraints leads to the conclusion that the optimal policy is a single positive bang arc, therefore the optimal control is constant and maximum everywhere. There are no subarcs with intermediate values on the norm of the control, namely singular arcs. If we take into account the state constraints, then it introduces more complex structures with boundary ( _q_ ( _t_ ) _∈_ _∂Mc_ ) and interior ( _q_ ( _t_ ) _∈_ _M_ ˚ _c_ ) arcs. We fully determine each type of extremals and we give new junction conditions between bang and boundary arcs. Besides, the local classification of the bang-bang extremals near the switching surface combined with the analysis of the state constrained problem provides a local time minimal synthesis which gives better insight into the structure of the optimal solutions. These theoretical results are first used to reduce the set of candidates as minimizers, but they are also necessary to build up the numerical methods. This geometric analysis leads to a numerical investigation 3 based on indirect methods using the `HamPath` software. For one particular optimal control problem, we have to define the associated Multi-Point Boundary Value Problem which is solved by shooting techniques. However, we are interested in solving a family of optimal control problems and thus, we use differential path following (or homotopy) methods. We combine multiple shooting and homotopy techniques to study first a practical case ( _i_ max = 150) and then to build a synthesis with respect to the parameters _i_ max and _v_ max. The paper is organized as follows. The optimal control problem is defined in section 1. In section 2, we analyze the state unconstrained problem, while section 3 is devoted to the state constrained case. The numerical methods are presented in section 4 and section 5 describes the numerical simulations. Section 6 concludes the article. 1. The Mathematical model and the Mayer optimal control problem 1.1. Preliminaries We first recall some basic facts from symplectic and differential geometries to introduce the Hamiltonian function and the adjoint vector (or covector). Most of the notations are taken from [1]. Let _M_ be a smooth manifold of dimension _n_ . Let _T_ <sup>_∗_</sup> _M_ denote the cotangent bundle of _M_ and _σ_ the canonical symplectic form on _T_ <sup>_∗_</sup> _M_ . Recall that ( _T_ <sup>_∗_</sup> _M, σ_ ) is a _symplectic manifold_, that is, _σ_ is a smooth exterior 2-form on _T_ <sup>_∗_</sup> _M_ which is closed and non-degenerated. For a smooth function _h_ on _T_ <sup>_∗_</sup> _M_, we write _⃗h_ the _Hamiltonian vector_ _field_ on _T_ <sup>_∗_</sup> _M_ defined by _i⃗hσ_ = _−_ d _h_, where _i⃗hσ_ is the interior product of _σ_ by _⃗h_ : _∀_ _z_ _∈_ _T_ <sup>_∗_</sup> _M_, _∀_ _w_ _∈_ _Tz_ ( _T_ <sup>_∗_</sup> _M_ ), _i⃗hσz_ _· w_ := _σz_ ( _⃗h_ ( _z_ ) _, w_ ). The function _h_ is called the _Hamiltonian_ function. Let ( _q, p_ ) denote the Darboux coordinates on _T_ <sup>_∗_</sup> _M_ . In these canonical coordinates, the Liouville 1-form _s_ _∈_ Λ <sup>1</sup> ( _T_ <sup>_∗_</sup> _M_ ) writes _s_ = _p_ d _q_, and the canonical symplectic form is _σ_ = d _s_ = d _p ∧_ d _q_ . If _ϕ_ : _M_ _→_ _N_ is a smooth mapping between smooth manifolds, then its differential _ϕ∗_ : _TqM_ _→_ _TxN_, _q_ _∈_ _M_, _x_ = _ϕ_ ( _q_ ), has an adjoint mapping _ϕ_ <sup>_∗_</sup> := ( _ϕ∗_ ) <sup>_∗_</sup> : _Tx_ <sup>_∗N_</sup> <sup>_→_</sup> <sup>_T ∗_</sup> _q_ <sup>_M_</sup> <sup>defined</sup> <sup>as</sup> <sup>follows:</sup> <sup>_∀_</sup> <sup>_px_</sup> <sup>_∈_</sup> <sup>_T ∗_</sup> _x_ <sup>_N_</sup> <sup>,</sup> <sup>_ϕ∗px_</sup> <sup>=</sup> <sup>_px_</sup> <sup>_◦_</sup> <sup>_ϕ∗_</sup> <sup>,</sup> <sup>and</sup> <sup>_∀_</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_TqM_</sup> <sup>,</sup> adjoint mapping _ϕ_ <sup>_∗_</sup> := ( _ϕ∗_ ) <sup>_∗_</sup> : _Tx_ <sup>_∗N_</sup> <sup>_→_</sup> <sup>_T ∗_</sup> _q_ <sup>_M_</sup> <sup>defined</sup> <sup>as</sup> <sup>follows:</sup> <sup>_∀_</sup> <sup>_px_</sup> <sup>_∈_</sup> <sup>_T ∗_</sup> _x_ <sup>_N_</sup> <sup>,</sup> <sup>_ϕ∗px_</sup> <sup>=</sup> <sup>_px_</sup> <sup>_◦_</sup> <sup>_ϕ∗_</sup> <sup>,</sup> <sup>and</sup> <sup>_∀_</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_TqM_</sup> <sup>,</sup> _⟨ϕ_ <sup>_∗_</sup> _px, v⟩_ = _⟨px, ϕ∗v⟩_ . If _ϕ_ is a diffeomorphism on _M_, then it induces the lifted diffeomorphism Φ on _T_ <sup>_∗_</sup> _M_, Φ( _p, q_ ) := ( _ϕ_ ( _q_ ) _,_ ( _ϕ_ <sup>_∗_</sup> ) <sup>_−_</sup> <sup>1</sup> _p_ ), which is a Mathieu symplectic transformation. _Notation_ Here, we adopt the following notation used throughout the paper. Let _F_ 0, _F_ 1 be two smooth vector fields on _M_, _c_ a smooth function on M. We use ad _F_ 0 to denote the operator acting on vector fields _F_ 1 _�→_ [ _F_ 0 _, F_ 1] := _F_ 0 _· F_ 1 _−_ _F_ 1 _· F_ 0, with ( _F_ 0 _· F_ 1)( _x_ ) = d _F_ 1( _x_ ) _F_ 0( _x_ ), which gives the _Lie_ _bracket_ . The _Lie_ _derivative_ _LF_ 0 _c_ of _c_ along _F_ 0 is simply written _F_ 0 _· c_ . Denoting _H_ 0, _H_ 1 the Hamiltonian lifts of _F_ 0, _F_ 1, then the _Poisson_ _bracket_ of _H_ 0 and _H_ 1 is _{H_ 0 _, H_ 1 _}_ := <sup>_−→_</sup> _H_ 0 _· H_ 1. We also use the notation _H_ 01 (resp. _F_ 01) to write the bracket _{H_ 0 _, H_ 1 _}_ (resp. [ _F_ 0 _, F_ 1]) and so forth. Besides, since _H_ 0, _H_ 1 are Hamiltonian lifts, we have _{H_ 0 _, H_ 1 _}_ = _⟨p,_ [ _F_ 0 _, F_ 1] _⟩_ . 1.2. Electric car model The dynamics of the electric car is given by the smooth control vector field: ( _q, u_ ) _∈_ _M ×U_ _→_ _f_ ( _q, u_ ) _∈_ _TqM_ . We make a simple normalization introducing the diffeomorphism on _M_, _x_ <sup>_∗N_</sup> <sup>_→_</sup> <sup>_T ∗_</sup> _q_ <sup>_∗_</sup> _q_ <sup>_M_</sup> <sup>defined</sup> <sup>as</sup> <sup>follows:</sup> <sup>_∀_</sup> <sup>_px_</sup> <sup>_∈_</sup> <sup>_T ∗_</sup> _x_ _,_ <sup>_<u>q</u>_</sup> <sup><u>2</u></sup> _αf_ _<u>q</u>_ <u>3</u> _,_ _ω_ max ã _x_ := _ϕ_ ( _q_ ) = Å _<u>q</u>_ <u>1</u> _i_ max _,_ _q_ = ( _q_ 1 _, q_ 2 _, q_ 3) _,_ where _i_ max _>_ 0 is the maximal current, _αf_ _>_ 0 is the wished final position ( _i.e._ the position to reach at final time) and _w_ max _>_ 0 is the maximal angular velocity. We define also _v_ max := _w_ max _×_ 3 _._ 6 _r/Kr_ the maximal linear velocity. The dynamics becomes: _x_ ˙ ( _t_ ) = d _ϕ_ ( _ϕ_ <sup>_−_</sup> <sup>1</sup> ( _x_ ( _t_ ))) _· f_ ( _ϕ_ <sup>_−_</sup> <sup>1</sup> ( _x_ ( _t_ )) _, u_ ( _t_ )) := _F_ ( _x_ ( _t_ ) _, u_ ( _t_ )) _,_ and any covector _p ∈_ _Tq_ <sup>_∗M_</sup> <sup>is</sup> <sup>transformed</sup> <sup>to</sup> <sup>the</sup> <sup>covector</sup> <sup>_px_</sup> <sup>,</sup> <sup>with</sup> <sup>the</sup> <sup>relation</sup> <sup>_p_</sup> <sup>=</sup> <sup>_t_</sup> <sup>d</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_ϕ−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>))</sup> <sup>_px_</sup> <sup>.</sup> 4 Remark 1.1. From now on, we denote by _p_ the covector _px_ to simplify notations. We introduce the vector of parameters _, Rm, Km, V_ alim _,_ <sup>_<u>r</u>_</sup> _Kr_ _, g Kf_ _,_ _M_ <sup><u>1</u></sup> _M_ <sup><u>1</u></sup> <sup>_,_</sup> <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>_ρ S Cx, R_</sup> <sup>bat</sup> <sup>_, i_</sup> <sup>max</sup> <sup>_, αf_</sup> <sup>_, ω_</sup> <sup>max</sup> ã _w_ := Å <u>1</u> _Lm_ _,_ and we have _∀i ∈_ �1 _,_ 12�, _wi_ _>_ 0. In the _x_ -coordinates, the dynamics writes _x_ ˙ ( _t_ ) = _F_ 0( _x_ ( _t_ )) + _u_ ( _t_ ) _F_ 1( _x_ ( _t_ )) _,_ _x_ ( _t_ ) _∈_ R <sup>3</sup> _,_ (2) where the smooth vector fields are given by _F_ 0( _x_ ) = ( _a_ 1 _x_ 1 + _a_ 2 _x_ 3) <sup>_<u>∂</u>_</sup> _∂x_ 1 _<u>∂</u>_ + _a_ 3 _x_ 3 _∂x_ 2 + ( _a_ 4 + _a_ 5 _x_ 1 + _a_ 6 _x_ <sup>2</sup> 3 <sup>)</sup> <sup>_<u>∂</u>_</sup> _∂x_ 3 _,_ _F_ 1( _x_ ) = _a_ 7 _<u>∂</u>_ _∂x_ 1 _,_ with _a_ 1 = _−w_ 1 _w_ 2 _,_ _a_ 2 = _−_ <sup>_<u>w</u>_</sup> <sup><u>1</u></sup> <sup>_<u>w</u>_</sup> <sup><u>3</u></sup> <sup>_<u>w</u>_</sup> <sup><u>12</u></sup> _w_ 10 _,_ _a_ 3 = <sup>_<u>w</u>_</sup> <sup><u>5</u></sup> <sup>_<u>w</u>_</sup> <sup><u>12</u></sup> _w_ 11 _,_ _<u>w</u>_ <u>6</u> _a_ 4 = _−_ _w_ 5 _w_ 12 _,_ _a_ 5 = <sup>_<u>w</u>_</sup> <sup><u>3</u></sup> <sup>_<u>w</u>_</sup> <sup><u>7</u></sup> <sup>_<u>w</u>_</sup> <sup><u>10</u></sup> <sup>_<u>w</u>_</sup> <sup><u>7</u></sup> <sup>_<u>w</u>_</sup> <sup><u>10</u></sup> _,_ _a_ 6 = _−w_ 5 _w_ 7 _w_ 8 _w_ 12 _,_ _a_ 7 = <sup>_<u>w</u>_</sup> <sup><u>1</u></sup> <sup>_<u>w</u>_</sup> <sup><u>4</u></sup> 5 <sup>2</sup> <sup>_w_</sup> <sup>12</sup> _w_ 10 _w_ 10 _w_ 5 <sup>2</sup> _._ Definition 1.2. _The_ _minimum_ _time_ _control_ _problem_ _of_ _the_ _electric_ _vehicle_ is the following optimal control problem ( _P_ tmin): starting from _x_ 0 = (0 _,_ 0 _,_ 0), reach in the minimum time _tf_ the fixed normalized position _x_ 2( _tf_ ) = 1 (corresponding to _q_ 2( _tf_ ) = _αf_ ), while satisfying the following control and path constraints: _u_ ( _t_ ) _∈_ _U_ := [ _−_ 1 _,_ 1] _,_ _t ∈_ [0 _, tf_ ] _a.e.,_ _x_ ( _t_ ) _∈_ _Mc_ := [ _−_ 1 _,_ 1] _×_ R _×_ [ _−_ 1 _,_ 1] _⊂_ _M_ := R <sup>3</sup> _,_ _t ∈_ [0 _, tf_ ] _._ In this article we are interested in solving ( _P_ tmin) for different values of _w_ 10 = _i_ max and _w_ 12 = _ω_ max. The problem ( _P_ tmin) can be stated as a _Mayer_ _problem_ summerized this way:    _g_ ( _tf_ _, x_ ( _tf_ )) := _tf_ _−→_ _u_ min( _·_ ) _, tf_ <sup>_,_</sup> _x_ ˙ ( _t_ ) = _F_ 0( _x_ ( _t_ )) + _u_ ( _t_ ) _F_ 1( _x_ ( _t_ )) _,_ _u_ ( _t_ ) _∈_ _U,_ _t ∈_ [0 _, tf_ ] _a.e.,_ _tf_ _>_ 0 _,_ _x_ (0) = _x_ 0 _,_ _x_ ( _t_ ) _∈_ _Mc,_ _t ∈_ [0 _, tf_ ] _,_ _b_ ( _x_ ( _tf_ )) := _x_ 2( _tf_ ) _−_ 1 = 0 _._ ( _P_ tmin) Remark 1.3. In [24,26], the authors investigate the problem of the minimization of the energy consumption, the transfer time _tf_ being fixed. It is then reasonable to study the minimum time problem. The energy minimum problem can be stated as a Mayer problem of the following form:    _g_ ( _tf_ _,_ - _x_ ( _tf_ )) := _x_ 4( _tf_ ) _−→_ min _u_ ( _·_ ) <sup>_,_</sup> _x_ - := ( _x, x_ 4) _∈_ R <sup>4</sup> _,_ _tf_ fixed _,_ _x_ �˙ ( _t_ ) = _F_ <sup>‹</sup> 0( _x_ �( _t_ )) + _u_ ( _t_ ) _F_ <sup>‹</sup> 1( _x_ �( _t_ )) _,_ _u_ ( _t_ ) _∈_ _U,_ _t ∈_ [0 _, tf_ ] _a.e.,_ _x_ (0) = _x_ 0 _,_ _x_ 4(0) = 0 _,_ _x_ ( _t_ ) _∈_ _Mc,_ _t ∈_ [0 _, tf_ ] _,_ _b_ ( _x_ ( _tf_ )) = 0 _,_ ( _P_ emin) _<u>∂</u>_ where _F_ <sup>‹</sup> 0( _x_ �) := _F_ 0( _x_ ) + _w_ 9 _w_ 10 <sup>2</sup> <sup>_x_</sup> <sup>2</sup> 1 _∂x_ 4 and _F_ <sup>‹</sup> 1( _x_ �) := _F_ 1( _x_ ) + _w_ 4 _w_ 10 _x_ 1 _<u>∂</u>_ . _∂x_ 4 5 2. Geometric analysis of problem ( _P_ tmin) without state constraints 2.1. Necessary optimality conditions Let consider the problem ( _P_ tmin) and assume the state constraints are relaxed: _Mc_ = _M_ . This optimal control problem can be written as the infinite dimensional minimization problem: min _{tf_ _| tf_ _>_ 0 _,_ _u_ ( _·_ ) _∈U,_ _b ◦_ _Ex_ 0( _tf_ _, u_ ( _·_ )) = 0 _},_ where _x_ 0 _∈_ _M_ is fixed, _U_ := L <sup>_∞_</sup> ([0 _, tf_ ] _, U_ ) is the set of _admissible_ _controls_ <sup>1</sup>, and where _Ex_ 0 is the _end-point_ _mapping_ defined by: _Ex_ 0 : R <sup>+</sup> _× U_ _→_ _M_, _Ex_ 0( _t, u_ ( _·_ )) := _x_ ( _t, x_ 0 _, u_ ( _·_ )), where _t_ _�→_ _x_ ( _t, x_ 0 _, u_ ( _·_ )) is the trajectory solution of (2), corresponding to the control _u_ ( _·_ ) such that _x_ (0 _, x_ 0 _, u_ ( _·_ )) = _x_ 0. This leads to the following necessary optimality conditions according to the Pontryagin Maximum Principle (PMP), see [3]. Define the pseudo-Hamiltonian: _H_ : _T_ <sup>_∗_</sup> _M_ _× U_ _−→_ R ( _x, p, u_ ) _�−→_ _H_ ( _x, p, u_ ) := _⟨p, F_ 0( _x_ ) + _u F_ 1( _x_ ) _⟩_ _._ By virtue of the _maximum principle_, if (¯ _u_ ( _·_ ) _,_ _t_ <sup>¯</sup> _f_ ) is optimal then the associated trajectory _x_ ¯( _·_ ) is the projection of an absolutely continuous integral curve (¯ _x_ ( _·_ ) _,_ ¯ _p_ ( _·_ )): [0 _,_ _t_ <sup>¯</sup> _f_ ] _→_ _T_ <sup>_∗_</sup> _M_ of <sup>_−→_</sup> _H_ := ( <sup>_<u>∂H</u>_</sup> _∂p_ <sup>_, −_</sup> <sup>_<u>∂H</u>_</sup> _∂x_ <sup>)</sup> <sup>such</sup> <sup>that</sup> <sup>the</sup> <sup>following</sup> _maximization_ _condition_ holds for almost every _t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ]: _H_ (¯ _x_ ( _t_ ) _,_ ¯ _p_ ( _t_ ) _,_ ¯ _u_ ( _t_ )) = max _u∈U_ <sup>_H_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_p_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_, u_</sup> <sup>)</sup> <sup>_._</sup> (3) Note that the function _h_ (¯ _x_ ( _t_ ) _,_ ¯ _p_ ( _t_ )) := _H_ (¯ _x_ ( _t_ ) _,_ ¯ _p_ ( _t_ ) _,_ ¯ _u_ ( _t_ )) is constant. The boundary conditions must be satisfied and we have the following _transversality_ _conditions_ : _p_ ¯( _t_ <sup>¯</sup> _f_ ) = _µ b_ <sup>_′_</sup> (¯ _x_ ( _t_ <sup>¯</sup> _f_ )) = (0 _, µ,_ 0) _,_ _µ ∈_ R _._ Since _tf_ is free, if _u_ ¯( _·_ ) is continuous at time _t_ <sup>¯</sup> _f_, then _H_ (¯ _x_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _p_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _u_ ( _t_ <sup>¯</sup> _f_ )) = _−p_ <sup>0</sup> <sup>_<u>∂g</u>_</sup> _p_ <sup>0</sup> _∈_ R _._ (4) _∂t_ <sup>(¯</sup> <sup>_tf_</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_x_</sup> <sup>(¯</sup> <sup>_tf_</sup> <sup>)) =</sup> <sup>_−p_</sup> <sup>0</sup> <sup>_,_</sup> Moreover, the constant _p_ <sup>0</sup> is nonpositive and (¯ _p_ ( _·_ ) _, p_ <sup>0</sup> ) _̸_ = (0 _,_ 0). Either _p_ <sup>0</sup> = 0 ( _abnormal_ _case_ ), or _p_ <sup>0</sup> can be set to _−_ 1 by homogeneity ( _normal case_ ). Since _x_ 2 is cyclic, _p_ 2 defines a first integral and the translation _x_ 2 _→_ _x_ 2 + _c_ defines a one-parameter group of symmetries. This is due to Noether theorem in Hamiltonian form. Hence, by symmetry, we can fix _x_ 2(0) = 0. The adjoint equation is _p_ ˙( _t_ ) = _−p_ ( _t_ ) _F_ 0 <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)) =</sup> <sup>_−_</sup> <sup>(</sup> <sup>_a_</sup> <sup>1</sup> <sup>_p_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_a_</sup> <sup>5</sup> <sup>_p_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_<u>∂</u>_</sup> _∂p_ 1 _−_ ( _a_ 2 _p_ 1( _t_ ) + _a_ 3 _p_ 2 + 2 _a_ 6 _x_ 3( _t_ ) _p_ 3( _t_ )) <sup>_<u>∂</u>_</sup> _∂p_ 3 _._ Note that _h_ defines a second first integral and that _p_ ¯2 = _µ̸_ = 0, otherwise we would have _p_ ¯( _t_ <sup>¯</sup> _f_ ) = 0 which would imply _h_ (¯ _x_ ( _t_ ) _,_ ¯ _p_ ( _t_ )) = _−p_ <sup>0</sup> = 0, and (¯ _p_ ( _t_ <sup>¯</sup> _f_ ) _, p_ <sup>0</sup> ) = (0 _,_ 0) is not possible. Proposition 2.1. _p_ <sup>0</sup> = 0 _(abnormal_ _case)_ _if_ _and_ _only_ _if_ _x_ ¯3( _t_ <sup>¯</sup> _f_ ) = 0 _._ _Proof._ We have _H_ (¯ _x_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _p_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _u_ ( _t_ <sup>¯</sup> _f_ )) = _p_ ¯2 _a_ 3 _x_ ¯3( _t_ <sup>¯</sup> _f_ ) = _−p_ <sup>0</sup>, with _p_ ¯2 _̸_ = 0. The result follows. 1 The set of admissible controls is the set of L _∞_ -mappings on [0 _, tf_ ] taking their values in _U_ such that the associated trajectory _x_ ( _·_ ) is globally defined on [0 _, tf_ ]. 6 Definition 2.2. A triple ( _x_ ( _·_ ) _, p_ ( _·_ ) _, u_ ( _·_ )) where ( _x_ ( _·_ ) _, p_ ( _·_ )) is an integral curve of _⃗H_ and satisfying (3) is called an _extremal_ . Any extremal satisfying the boundary conditions, the transversality conditions and condition (4) is called a BC-extremal. Let (¯ _z_ ( _·_ ) _,_ ¯ _u_ ( _·_ )) be an extremal, with _z_ ¯( _·_ ) := (¯ _x_ ( _·_ ) _,_ ¯ _p_ ( _·_ )). If _h_ is defined and smooth in a neighborhood of _z_ ¯ then _h_ defines a _true_ _Hamiltonian_, and _z_ ¯ is also an integral curve of _⃗h_ . We define the _Hamiltonian lifts_ _H_ 0( _x, p_ ) := _⟨p, F_ 0( _x_ ) _⟩_, _H_ 1( _x, p_ ) := _⟨p, F_ 1( _x_ ) _⟩_ and the _switching function_ Φ( _t_ ) := _H_ 1( _x_ ( _t_ ) _, p_ ( _t_ )). _Regular_ _extremals_ It follows from (3) that if Φ( _t_ ) _̸_ = 0, _u_ ( _t_ ) = sign(Φ( _t_ )). We say that a trajectory _x_ ( _·_ ) restricted to a subinterval _I_ _⊂_ [0 _, tf_ ], not reduced to a singleton, is a _bang_ _arc_ if _u_ ( _·_ ) is constant on _I_, taking values in _{−_ 1 _,_ 1 _}_ . The trajectory is called _bang-bang_ if it is the concatenation of a finite number of bang arcs. _Singular_ _extremals_ We say that a trajectory _x_ ( _·_ ) restricted to a subinterval _I_ _⊂_ [0 _, tf_ ], not reduced to a singleton, is a _singular_ _arc_ if the associated extremal lift satisfies Φ( _t_ ) = 0, _∀t ∈_ _I_ . A trajectory _x_ ( _·_ ) defined on [0 _, tf_ ], with _x_ (0) = _x_ 0, is singular if the associated control _u_ ( _·_ ) is a critical point of _u_ ( _·_ ) _�→_ _Ex_ 0( _u_ ( _·_ ) _, tf_ ). In this case, _u_ ( _·_ ) is said to be singular. From the geometric point of view, a control _u_ ¯( _·_ ) _∈U_ such that _Ex_ 0(¯ _u_ ( _·_ ) _, tf_ ) _∈_ _∂A_ ( _x_ 0 _, tf_ ), where _A_ ( _x_ 0 _, tf_ ) := _{Ex_ 0( _u_ ( _·_ ) _, tf_ ) _| u_ ( _·_ ) _∈U}_ is the accessibility set at time _tf_, is singular. 2.2. Lie bracket configuration The local behavior of the affine control system (2) is determined by the values of the drift _F_ 0, the control vector field _F_ 1, and all their Lie brackets at a reference point _x_ _∈_ _M_ . Loosely speaking, the values and dependencies of these vector fields at _x_ is called the _Lie_ _bracket_ _configuration_ of the system at _x_ . According to [27, Chapter 7], the concept of _codimension_ is crucial to organize the Lie bracket conditions into groups of increasing degrees of degeneracy. The codimension is given by the number of linearly independent “relevant” equality relations that hold between these vector fields at _x_ . As both the dimension of the state space and the codimension of the Lie bracket configuration at the point _x_ increase, the local optimal synthesis becomes increasingly more complex. According to the following lemma, the 3-dimensional system (2) is a part of the codimension-0 case <sup>2</sup> . Lemma 2.3. _We_ _have:_ _F_ 101 = _F_ 1001 = 0 _,_ _F_ 10001 = 2 _a_ <sup>2</sup> 5 <sup>_a_</sup> <sup>6</sup> <sup>_a_</sup> <sup>2</sup> 7 _∂x∂_ 3 <sup>_,_</sup> _F_ 01 = _−a_ 7 - _a_ 1 _∂x∂_ 1 <sup>+</sup> <sup>_a_</sup> <sup>5</sup> _∂x∂_ 3 - _,_ _,_ �� _a_ 21 <sup>+</sup> <sup>_a_</sup> <sup>2</sup> <sup>_a_</sup> <sup>5</sup> - _∂x∂_ 1 <sup>+</sup> <sup>_a_</sup> <sup>3</sup> <sup>_a_</sup> <sup>5</sup> _∂x∂_ 2 <sup>+</sup> <sup>_a_</sup> <sup>5</sup> - _a_ 1 + 2 _a_ 6 _x_ 3� _∂x∂_ 3 _i)_    _F_ 001 = _a_ 7 _ii)_ dim Span( _F_ 1( _x_ ) _, F_ 01( _x_ ) _, F_ 001( _x_ )) = 3 _and_ Lie _x_ ( _{F_ 0 _, F_ 1 _}_ ) = _TxM_ _,_ _x ∈_ _M_ _(_ <sup>3</sup> _)._ _iii)_ dim Span( _F_ 0( _x_ ) _, F_ 1( _x_ ) _, F_ 01( _x_ )) = 3 _,_ _x ∈_ _M_ _,_ _x_ 3 _̸_ = 0 _._ _Proof._ The proof is straightforward. i) Computing, _F_ 01 = ad _F_ 0 _· F_ 1 = _−F_ 1 _· F_ 0 and _F_ 001 = ad _F_ 0 _· F_ 01 = _−F_ 01 _· F_ 0. Computing again, _F_ 101 = _F_ 1 _·_ _F_ 01 _−F_ 01 _·F_ 1 = 0, since _F_ 1 and _F_ 01 does not depend on _x_ . Using the _Jacobi identity_, _F_ 1001 = [ _F_ 1 _,_ [ _F_ 0 _, F_ 01]] = _−_ [ _F_ 0 _,_ [ _F_ 01 _, F_ 1]] _−_ [ _F_ 01 _,_ [ _F_ 1 _, F_ 0]] = [ _F_ 0 _, F_ 101] + [ _F_ 01 _, F_ 01] = 0. Computing, _F_ 10001 = 2 _a_ <sup>2</sup> 5 <sup>_a_</sup> <sup>6</sup> <sup>_a_</sup> 7 <sup>2</sup> _∂x∂_ 3 <sup>.</sup> _−_ [ _F_ 0 _,_ [ _F_ 01 _, F_ 1]] _−_ [ _F_ 01 _,_ [ _F_ 1 _, F_ 0]] = [ _F_ 0 _, F_ 101] + [ _F_ 01 _, F_ 01] = 0. Computing, _F_ 10001 = 2 _a_ <sup>2</sup> 5 <sup>_a_</sup> <sup>6</sup> <sup>_a_</sup> 7 <sup>2</sup> _∂x∂_ 3 <sup>.</sup> ii) Let _x ∈_ _M_, then det( _F_ 1( _x_ ) _, F_ 01( _x_ ) _, F_ 001( _x_ )) = _a_ 3 _a_ <sup>2</sup> 5 <sup>_a_</sup> <sup>3</sup> 7 _̸_ <sup>= 0,</sup> <sup>so</sup> <sup>Lie</sup> <sup>_x_</sup> <sup>(</sup> <sup>_{F_</sup> <sup>0</sup> <sup>_, F_</sup> <sup>1</sup> <sup>_}_</sup> <sup>) =</sup> <sup>_TxM_</sup> <sup>.</sup> ii) Let _x ∈_ _M_, then det( _F_ 1( _x_ ) _, F_ 01( _x_ ) _, F_ 001( _x_ )) = _a_ 3 _a_ <sup>2</sup> 5 <sup>_a_</sup> <sup>3</sup> 7 _̸_ <sup>= 0,</sup> <sup>so</sup> <sup>Lie</sup> <sup>_x_</sup> <sup>(</sup> <sup>_{F_</sup> <sup>0</sup> <sup>_, F_</sup> <sup>1</sup> <sup>_}_</sup> <sup>) =</sup> <sup>_TxM_</sup> <sup>.</sup> iii) Let _x ∈_ _M_, then det( _F_ 0( _x_ ) _, F_ 1( _x_ ) _, F_ 01( _x_ )) = _a_ 3 _a_ 5 _a_ <sup>2</sup> 7 <sup>_x_</sup> <sup>3</sup> _̸_ <sup>= 0,</sup> <sup>when</sup> <sup>_x_</sup> <sup>3</sup> _̸_ <sup>= 0.</sup> <sup>2</sup> 7 <sup>_x_</sup> <sup>3</sup> _̸_ <sup>= 0,</sup> <sup>when</sup> <sup>_x_</sup> <sup>3</sup> _̸_ <sup>= 0.</sup> 2The points such that _x_ 3 = 0 have different linearly independent equality relations than the others. 3Lie _x_ ( _{F_ 0 _, F_ 1 _}_ ) is the Lie algebra generated by the family _{F_ 0 _, F_ 1 _}_ at _x_ . 7 2.3. Regular extremals Lemma 2.4. _The_ _switching_ _function_ Φ _is_ C <sup>3</sup> _._ _Proof._ Φ = _H_ 1 = _a_ 7 _p_ 1 is absolutely continuous, so differentiable almost everywhere. Φ <sup>˙</sup> = _H_ 01 = _−a_ 7( _a_ 1 _p_ 1 + _a_ 5 _p_ 3) is absolutely continuous, therefore continuous, and so Φ is C <sup>1</sup> . Likewise Φ <sup>˙</sup> = _H_ 01, Φ <sup>¨</sup> = _H_ 001 + _u H_ 101 = _H_ 001 (since _H_ 101 = 0 by lemma 2.3) and <sup>...</sup> Φ = _H_ 0001 + _u H_ 1001 = _H_ 0001 (since _H_ 1001 = 0) are absolutely continuous and we can conclude that Φ is C <sup>3</sup> . Proposition 2.5. _Every_ _extremal_ _is_ _bang-bang._ _Proof._ Let ( _z_ ( _·_ ) _, u_ ( _·_ )) be an extremal defined on [0 _, tf_ ]. Let assume there exists a singular part _zs_ ( _·_ ) = ( _xs_ ( _·_ ) _, ps_ ( _·_ )) defined on _I_ _⊂_ [0 _, tf_ ]. Then for all _t_ _∈_ _I_, 0 = Φ( _t_ ) = _H_ 1( _zs_ ( _t_ )). Differentiating twice with respect to time, we have 0 = _H_ 1( _zs_ ( _t_ )) = _H_ 01( _zs_ ( _t_ )) = _H_ 001( _zs_ ( _t_ )) which implies _ps_ ( _·_ ) = 0 since _F_ 1( _xs_ ( _t_ )), _F_ 01( _xs_ ( _t_ )) and _F_ 001( _xs_ ( _t_ )) are independent, which is not possible. Proposition 2.6. _The_ _switching_ _function_ _has_ _finitely_ _many_ _zeros._ _Proof._ Following the proof of [18, proposition 2.1], if not, then along ( _z_ ( _·_ ) _, u_ ( _·_ )) defined on [0 _, tf_ ], there exists a sequence ( _tk_ ) _k_, _tk_ _∈_ [0 _, tf_ ], all disctinct, such that Φ( _tk_ ) = 0. But _tf_ is fixed, so there exists a subsequence, always noted ( _tk_ ) _k_, which converges to _t_ <sup>¯</sup> . As Φ is C <sup>0</sup>, Φ( _t_ <sup>¯</sup> ) = 0. But Φ is also C <sup>1</sup>, hence <u>Φ(</u> _<u>tk</u>_ <u>)</u> _<u>−</u>_ <u>Φ(</u> _<u>t</u>_ <sup>¯</sup> <u>)</u> = 0 _−→_ Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) = 0 _._ _tk −_ _t_ <sup>¯</sup> Besides, by Rolle’s theorem, for every _k_, there exists at least one _τk_ _∈_ ( _tk, tk_ +1) such that Φ( <sup>˙</sup> _τk_ ) = 0, and by squeeze theorem the sequence ( _τk_ ) _k_ converges to _t_ <sup>¯</sup> . But Φ is also C <sup>2</sup> and we have <u>Φ(˙</u> _<u>τk</u>_ <u>)</u> _<u>−</u>_ <u>Φ(˙</u> _<u>t</u>_ ¯) = 0 _−→_ Φ( <sup>¨</sup> _t_ <sup>¯</sup> ) = 0 _._ _τk −_ _t_ <sup>¯</sup> In conclusion, at time _t_ <sup>¯</sup> _∈_ [0 _, tf_ ], Φ( _t_ <sup>¯</sup> ) = Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) = Φ( <sup>¨</sup> _t_ <sup>¯</sup> ) = 0, whence _p_ ( _t_ <sup>¯</sup> ) = 0 which is impossible. Hence, any BC-extremal is a concatenation of only bang arcs. It is a difficult task to give upper bounds on the number of switchings for global time-optimal trajectories. However, any global time-optimal trajectory is locally time-optimal and next section is dedicated to the classification of such local bang-bang time-optimal trajectories. 2.4. Classification of bang-bang extremals We define first the colinear set _C_ := _{x ∈_ _M_ _| F_ 0( _x_ ) _∥_ _F_ 1( _x_ ) _}_ . Then _x_ _∈_ _C_ if and only if _x_ 3 = 0 and _a_ 4 + _a_ 5 _x_ 1 = 0. The point ( _x, u_ ) = ( _−_ <sup>_<u>a</u>_</sup> _a_ <sup><u>4</u></sup> 5 <sup>_, x_</sup> <sup>2</sup> <sup>_,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_<u>a</u>_</sup> _a_ <sup><u>1</u></sup> 5 <sup>_<u>a</u>_</sup> _a_ 7 <sup><u>4</u></sup> <sup>),</sup> <sup>_x_</sup> <sup>2</sup> <sup>_∈_</sup> <sup>R,</sup> <sup>is</sup> <sup>an</sup> <sup>equilibrium</sup> <sup>point</sup> <sup>of</sup> <sup>the</sup> <sup>control</sup> <sup>system</sup> <sup>(2).</sup> <sup>_<u>a</u>_</sup> _a_ <sup><u>4</u></sup> 5 <sup>_, x_</sup> <sup>2</sup> <sup>_,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_<u>a</u>_</sup> _a_ <sup><u>1</u></sup> 5 <sup>_<u>a</u>_</sup> _a_ 7 <sup><u>4</u></sup> _a_ 4 + _a_ 5 _x_ 1 = 0. The point ( _x, u_ ) = ( _−_ <sup>_<u>a</u>_</sup> _a_ <sup><u>4</u></sup> 5 <sup>_, x_</sup> <sup>2</sup> <sup>_,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_<u>a</u>_</sup> _a_ <sup><u>1</u></sup> 5 <sup>_<u>a</u>_</sup> _a_ 7 <sup><u>4</u></sup> <sup>),</sup> <sup>_x_</sup> <sup>2</sup> <sup>_∈_</sup> <sup>R,</sup> <sup>is</sup> <sup>an</sup> <sup>equilibrium</sup> <sup>point</sup> <sup>of</sup> <sup>the</sup> <sup>control</sup> <sup>system</sup> <sup>(2).</sup> Let then define the following sets: <sup>+</sup> 1 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>1(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_>_</sup> <sup>0</sup> <sup>_},_</sup> Σ <sup>0</sup> 1 <sup>_−_</sup> 1 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>1(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_<_</sup> <sup>0</sup> <sup>_},_</sup> Σ <sup>+</sup> 1 <sup>0</sup> 1 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>1(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_},_</sup> Σ <sup>_−_</sup> 1 and <sup>+</sup> 01 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>01(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_>_</sup> <sup>0</sup> <sup>_},_</sup> Σ <sup>0</sup> <sup>_−_</sup> 01 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>01(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_<_</sup> <sup>0</sup> <sup>_} ._</sup> Σ <sup>+</sup> 01 <sup>0</sup> 01 <sup>:=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>01(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_},_</sup> Σ <sup>_−_</sup> 01 Singular extremals (if any) are entirely contained in Σ _s_ := Σ <sup>0</sup> 1 Singular extremals (if any) are entirely contained in Σ _s_ := Σ <sup>0</sup> 1 <sup>_∩_</sup> <sup>Σ</sup> 01 <sup>0</sup> <sup>.</sup> <sup>A</sup> <sup>crucial</sup> <sup>point</sup> <sup>is</sup> <sup>to</sup> <sup>apply</sup> <sup>the</sup> <sup>results</sup> obtained by Kupka [22] (see also [5]) to classify extremal curves near the _switching_ _surface_ Σ <sup>0</sup> 1 <sup>.</sup> <sup>We</sup> <sup>label</sup> <sup>_γb_</sup> a bang extremal, _γ_ +, _γ−_, a bang extremal such that _u_ ( _·_ ) = +1, _u_ ( _·_ ) = _−_ 1 and _γs_ a singular extremal. We denote by _γ_ 1 _γ_ 2, the concatenation of an arc _γ_ 1 followed by an arc _γ_ 2. Since for every _z_ _∈_ _T_ <sup>_∗_</sup> _M_, ker d _H_ 1( _z_ ) is transverse to ker d _H_ 01( _z_ ), then Σ <sup>0</sup> 1 <sup>and</sup> <sup>Σ0</sup> 01 <sup>are</sup> <sup>both</sup> <sup>smooth</sup> <sup>submanifold</sup> <sup>of</sup> <sup>codimension</sup> <sup>1</sup> <sup>transverse</sup> <sup>at</sup> <sup>each</sup> transverse to ker d _H_ 01( _z_ ), then Σ <sup>0</sup> 1 <sup>and</sup> <sup>Σ0</sup> 01 <sup>are</sup> <sup>both</sup> <sup>smooth</sup> <sup>submanifold</sup> <sup>of</sup> <sup>codimension</sup> <sup>1</sup> <sup>transverse</sup> <sup>at</sup> <sup>each</sup> point. 8 2.4.1. _Normal_ _switching_ _points_ It is the case when a bang arc has a contact of order 1 with the switching surface. Let _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ Σ <sup>0</sup> 1 <sup>_\_</sup> <sup>Σ</sup> 01 <sup>0</sup> and assume _x_ ¯ _∈/_ _C_ . The point _z_ ¯ is called _normal_ . Let ( _z_ ( _·_ ) _, u_ ( _·_ )) be a regular extremal passing through _z_ ¯ at time _t_ <sup>¯</sup>, then Φ( _t_ <sup>¯</sup> ) = _H_ 1(¯ _z_ ) = 0, Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) = _H_ 01(¯ _z_ ) _̸_ = 0 and Φ changes its sign at _t_ <sup>¯</sup> . Since Φ( _t_ <sup>¯</sup> + _s_ ) = Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _s_ + _o_ ( _s_ ) near _t_ <sup>¯</sup>, then locally _u_ ( _t_ <sup>¯</sup> + _s_ ) = <sup><u>Φ(</u></sup> <sup>_<u>t</u>_</sup> <sup>¯</sup> <sup><u>+</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> _|_ Φ( _t_ <sup>¯</sup> + _s_ ) _|_ <sup>=</sup> <u>Φ(˙</u> _<u>t</u>_ ¯) _|_ Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _|_ _·_ <sup>_<u>s</u>_</sup> _|s|_ <sup>+</sup> <sup>_o_</sup> <sup>(1)</sup> <sup>_,_</sup> so near _z_ ¯, every extremal is of the form _γ_ + _γ−_ if Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _<_ 0 and _γ−γ_ + if Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _>_ 0, see Fig. 1. Σ <sup>+</sup> 1 Σ <sup>+</sup> 1 Σ <sup>0</sup> 1 _~~•~~_ _z_ ¯ Σ <sup>0</sup> 1 _~~•~~_ _z_ ¯ Σ <sup>_−_</sup> 1 1 1 Σ <sup>_−_</sup> 1 1 1 Figure 1. Bang-Bang extremal with contact of order 1. (Left) Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _<_ 0. (Right) Φ( <sup>˙</sup> _t_ <sup>¯</sup> ) _>_ 0. Proposition 2.7. _Let_ _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ _,_ _x_ ¯ _̸ ∈_ _C,_ _then_ _z_ ¯ _is_ _a_ _normal_ _switching_ _point_ _if_ _and_ _only_ _if_ _p_ ¯1 = 0 _and_ _p_ ¯3 _̸_ = 0 _._ _If_ _z_ ¯ _is_ _a_ _normal_ _switching_ _point,_ _then_ _locally,_ _any_ _extremal_ _is_ _of_ _the_ _form_ _γ_ + _γ−_ _if_ _p_ ¯3 _>_ 0 _and_ _γ−γ_ + _if_ _p_ ¯3 _<_ 0 _._ 2.4.2. _The_ _fold_ _case_ It is the case when a bang arc has a contact of order 2 with the switching surface. Let _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ Σ _s_ and assume _x_ ¯ _∈/_ _C_ . We define _H±_ := _H_ 0 _± H_ 1 and then we get Σ <sup>0</sup> 1 <sup>=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>+(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_H−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_}_</sup> <sup>and</sup> and assume _x_ ¯ _∈/_ _C_ . We define _H±_ := _H_ 0 _± H_ 1 and then we get Σ <sup>0</sup> 1 <sup>=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| H_</sup> <sup>+(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_H−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_}_</sup> <sup>and</sup> Σ <sup>0</sup> 01 <sup>=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| {H_</sup> <sup>+</sup> <sup>_, H−}_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_}_</sup> <sup>.</sup> Lemma 2.8. _Let_ ( _z_ ( _·_ ) _, u_ ( _·_ )) _be_ _a_ _regular_ _extremal_ _passing_ _through_ _z_ ¯ _∈_ Σ _s_ _at_ _time_ _t_ <sup>¯</sup> _,_ _then_ _both_ _Hamiltonian_ _vector_ _fields_ <sup>_−→_</sup> _H_ + _and_ _H_ <sup>_−→_</sup> _−_ _are_ _tangent_ _to_ Σ <sup>0</sup> 1 <sup>_at_</sup> <sup>_z_</sup> <sup>(¯</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_z_</sup> <sup>¯</sup> <sup>_._</sup> <sup>0</sup> 01 <sup>=</sup> <sup>_{z_</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_| {H_</sup> <sup>+</sup> <sup>_, H−}_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) = 0</sup> <sup>_}_</sup> <sup>.</sup> _Proof._ <sup>_−→_</sup> _H_ +(¯ _z_ ) _∈_ _Tz_ ¯Σ <sup>0</sup> 1 <sup>0</sup> 1 <sup>_at_</sup> <sup>_z_</sup> <sup>(¯</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_z_</sup> <sup>¯</sup> <sup>_._</sup> _Proof._ <sup>_−→_</sup> _H_ +(¯ _z_ ) _∈_ _Tz_ ¯Σ <sup>0</sup> 1 <sup>since</sup> <sup>( d</sup> <sup>_H_</sup> <sup>+</sup> <sup>_−_</sup> <sup>d</sup> <sup>_H−_</sup> <sup>)</sup> <sup>_· −→_</sup> _H_ + = _{H_ + _, H_ + _−_ _H−}_ = _−{H_ + _, H−}_ which is zero at _z_ ¯ since _z_ ¯ _∈_ Σ <sup>0</sup> 01 <sup>.</sup> <sup>The</sup> <sup>same</sup> <sup>result</sup> <sup>goes</sup> <sup>for</sup> _H_ <sup>_−→_</sup> _−_ . If we set Φ <sup>¨</sup> _±_ := _H_ 001 _± H_ 101 then if both Φ <sup>¨</sup> _±̸_ = 0, the contact of the trajectories of <sup>_−→_</sup> _H_ + and _H_ <sup>_−→_</sup> _−_ with Σ <sup>0</sup> 1 <sup>is</sup> of order 2. Such a point is called a _fold_ . According to [22], we have three cases: i) Φ <sup>¨</sup> +Φ <sup>¨</sup> _−_ _>_ 0: parabolic case, ii) Φ <sup>¨</sup> + _>_ 0 and Φ <sup>¨</sup> _−_ _<_ 0: hyperbolic case, iii) Φ <sup>¨</sup> + _<_ 0 and Φ <sup>¨</sup> _−_ _>_ 0: elliptic case. Proposition 2.9. _The_ _contacts_ _with_ _the_ _switching_ _surface_ _are_ _at_ _most_ _of_ _order_ _2._ _Let_ _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ _,_ _x_ ¯ _̸ ∈_ _C,_ _then_ _z_ ¯ _is_ _a_ _fold_ _point_ _if_ _and_ _only_ _if_ _p_ ¯1 = _p_ ¯3 = 0 _and_ _p_ ¯2 _̸_ = 0 _,_ _and_ _if_ _z_ ¯ _is_ _a_ _fold_ _point,_ _it_ _is_ _parabolic._ _Proof._ With exactly the same argument as in Proposition 2.5, contacts of order 3 or more are not possible. Let _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ _T_ <sup>_∗_</sup> _M_, then _z_ ¯ is a fold point iff _H_ 1(¯ _z_ ) = _H_ 01(¯ _z_ ) = 0 and _H_ 001(¯ _z_ ) _̸_ = 0, since Φ = <sup>¨</sup> _H_ 001, which gives the result. It is then a parabolic point since Φ <sup>¨</sup> + = Φ <sup>¨</sup> _−_ = _H_ 001. We give the generic classification of extremals near a fold point only in the parabolic case. In this case, if there exists a singular extremal of minimal order passing through _z_ ¯ ( _i.e._ _H_ 101(¯ _z_ ) _̸_ = 0), this extremal is not admissible and every extremal curve near _z_ ¯ is bang-bang with at most two switchings, _i.e._ is of the form _γ_ + _γ−γ_ + or _γ−γ_ + _γ−_ (by convention each arc of the sequence can be empty). One extremal is time minimizing while the other is time maximizing, depending on the sign of Φ( <sup>¨</sup> _t_ <sup>¯</sup> ), see Fig. 2. <sup>0</sup> 01 <sup>.</sup> <sup>The</sup> <sup>same</sup> <sup>result</sup> <sup>goes</sup> <sup>for</sup> _H_ <sup>_−→_</sup> _−_ . If we set Φ <sup>¨</sup> _±_ := _H_ 001 _± H_ 101 then if both Φ <sup>¨</sup> _±̸_ = 0, the contact of the trajectories of <sup>_−→_</sup> _H_ + and _H_ <sup>_−→_</sup> _−_ with Σ <sup>0</sup> 1 9 Σ <sup>+</sup> 1 Σ <sup>0</sup> 1 _~~•~~_ _z_ 0 <sup>_~~•~~_</sup> _z_ ¯ 1 _z_ 0 <sup>_~~•~~_</sup> Σ <sup>_−_</sup> 1 1 Σ <sup>_−_</sup> 01 Σ <sup>0</sup> 01 <sup>_−_</sup> 01 Σ <sup>+</sup> 01 Σ <sup>0</sup> 01 Figure 2. Local optimal synthesis in a neighborhood of _z_ ¯, for Φ( <sup>¨</sup> _t_ <sup>¯</sup> ) _>_ 0. _Application_ _to_ _problem_ ( _P_ tmin) Let ( _z_ ( _·_ ) _, u_ ( _·_ )) be a regular extremal passing through _z_ ¯ at time _t_ <sup>¯</sup>, then Φ( _t_ <sup>¯</sup> + _s_ ) = 2 <sup><u>1</u></sup> <sup>¨Φ(¯</sup> <sup>_t_</sup> <sup>)</sup> <sup>_s_</sup> <sup>2 +</sup> <sup>_o_</sup> <sup>�</sup> <sup>_s_</sup> <sup>2�</sup> <sup>near</sup> <sup>_t_</sup> <sup>¯,</sup> and locally, _u_ ( _t_ <sup>¯</sup> + _s_ ) = <sup><u>Φ(</u></sup> <sup>_<u>t</u>_</sup> <sup>¯</sup> <sup><u>+</u></sup> <sup>_<u>s</u>_</sup> <sup><u>)</u></sup> _|_ Φ( _t_ <sup>¯</sup> + _s_ ) _|_ <sup>=</sup> <u>Φ(¨</u> _<u>t</u>_ ¯) _|_ Φ( <sup>¨</sup> _t_ <sup>¯</sup> ) _|_ + _o_ (1) _._ Since _z_ ¯ is a fold point, then Φ( <sup>¨</sup> _t_ <sup>¯</sup> ) = _a_ 3 _a_ 5 _a_ 7 _p_ 2, with _p_ 2 constant along any extremal and _a_ 3 _a_ 5 _a_ 7 _>_ 0. Besides, if ( _z_ ( _·_ ) _, u_ ( _·_ )) is a normal BC-extremal, then according to section 2.1, 1 = _h_ ( _z_ ( _tf_ )) = _H_ 0( _z_ ( _tf_ )) = _a_ 3 _x_ 3( _tf_ ) _p_ 2, _a_ 3 _>_ 0, and because we want to steer the vehicle from a zero position to a positive position in minimum time, _x_ 3( _tf_ ) must be positive. As a consequence, _p_ 2 _>_ 0. Let consider now a normal switching point _z_ 0, close to _z_ ¯. Let ( _z_ ( _·_ ) _, u_ ( _·_ )) be an extremal of the form _γ_ + _γ−γ_ +, _γ−_ non-empty, passing through _z_ 0 at time _t_ 0. The switching function may be approximated by Φ( _t_ 0 + _s_ ) _≈_ Φ( <sup>˙</sup> _t_ 0) _s_ + <sup><u>1</u></sup> ¨Φ( _t_ 0) _s_ <sup>2</sup> _,_ 2 with Φ( <sup>˙</sup> _t_ 0) _<_ 0 and Φ( <sup>¨</sup> _t_ 0) _>_ 0. Hence, the switching function vanishes at _t_ 0 and near _t_ 0 + _s_ <sup>_∗_</sup>, where _s_ <sup>_∗_</sup> = _−_ 2 <u>Φ(˙</u> _<u>t</u>_ <u>0)</u> ¨Φ( _t_ 0) _>_ 0 _._ Putting all together, we have the following proposition. Proposition 2.10. _Let_ _z_ ¯ _∈_ _T_ <sup>_∗_</sup> _M_ _be_ _a_ _fold_ _point,_ _then_ _H_ 001(¯ _z_ ) _>_ 0 _for_ _any_ _normal_ _BC-extremal_ _passing_ _trough_ _z_ ¯ _and_ _the_ _optimal_ _policy_ _near_ _z_ ¯ _is_ _γ_ + _γ−γ_ + _._ _Besides,_ _the_ _length_ _s_ _of_ _γ−_ _is_ _given_ _by_ _<u>p</u>_ <u>3(</u> _<u>t</u>_ <u>0)</u> _s ≈_ 2 _a_ 3 _p_ 2 + _p_ 3( _t_ 0) ( _a_ 1 + 2 _a_ 6 _x_ 3( _t_ 0)) <sup>_,_</sup> _where_ _t_ 0 _is_ _the_ _first_ _switching_ _time,_ _between_ _γ_ + _and_ _γ−._ 2.5. Optimality of the _γ_ + trajectory We conclude the section 2 showing that the strategy _γ_ + is optimal. The transversality conditions imply that any BC-extremal ends at a fold point. By proposition 2.10, the last bang arc must be a positive bang. Let _t_ ¯ _f_ _≈_ 5 _._ 6156 denote the time when the _γ_ + BC-extremal reaches the target _x_ 2 = 1. Since the final submanifold _Mf_ is of codimension 1 and by homogeneity, the final adjoint vector is uniquely determined for each _xf_ _∈_ _Mf_ . For 10 all _xf_ _∈_ _Mf_ the final adjoint vector is _pf_ := (0 _, p_ 2 _,_ 0), with _p_ 2 _>_ 0, and we can fix _p_ 2 = 1. Let _Zf_ := _Mf_ _× {pf_ _}_ and write _z_ ( _·, zf_ ), _zf_ _∈_ _Zf_, the solution of _H_ + starting from _zf_ and computed with backward integration. If for all _zf_ _∈_ _Zf_ and for all _t ∈_ (0 _,_ _t_ <sup>¯</sup> _f_ ], _φ_ ( _t_ ) = _H_ 1( _z_ ( _t, zf_ )) _̸_ = 0, then the strategy _γ_ + is optimal. Proposition 2.11. _For_ _the_ _case_ _study_ _of_ _problem_ ( _P_ tmin) _described_ _in_ _section_ _5.1,_ _the_ _strategy_ _γ_ + _is_ _optimal._ _Proof._ The final submanifold is _Mf_ = [ _−_ 1 _,_ 1] _× {_ 1 _} ×_ [0 _,_ 1]. According to the left subgraph of Figure 3, for all _zf_ _∈_ _Zf_ and for all _t ∈_ (0 _,_ _t_ <sup>¯</sup> _f_ ], _φ_ ( _t_ ) = _H_ 1( _z_ ( _t, zf_ )) _̸_ = 0. The values of the parameters are given in Table 3 with _αf_ = 100, _i_ max = 1200 and _v_ max = 120. 0.14 1 0.12 0.8 0.1 0.6 0.08 0.06 0.04 0.02 0 0.4 0.2 0 -0.2 0 1 2 3 4 5 6 t -1 0 0.5 1 10 x1 x3 Figure 3. (Left) The blue plain lines represent the switching functions _φ_ ( _t_ ) = _H_ 1( _z_ ( _t, zf_ )), _t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ], for a set of points _zf_ := ( _xf_ _, pf_ ) with _xf_ _∈_ _Mf_, _pf_ = (0 _,_ 1 _,_ 0), where _Mf_ is sampled using a fine grid, and where _z_ ( _·, zf_ ) is the solution of _H_ + starting from _zf_ computed with backward integration. The red dashed line is the switching function when the dynamics eq. (2) is linear, _i.e._ _a_ 6 = 0. (Right) The evolution of _Mf_ at times 0, 0 _._ 25 _t_ <sup>¯</sup> _f_, 0 _._ 5 _t_ <sup>¯</sup> _f_, 0 _._ 75 _t_ <sup>¯</sup> _f_ and _t_ <sup>¯</sup> _f_, by backward integration. The blue curve is the optimal _γ_ + trajectory. 3. Geometric analysis of problem ( _P_ tmin) (with state constraints) 3.1. Abstract formulation In this section, we consider the problem ( _P_ tmin) with state constraints on _x_ 1 and _x_ 3, _i.e._ on the electric current and the speed of the vehicle. For both state variables _xi_, _i_ = 1 _,_ 3, there are two constraints: _xi_ _≤_ 1 and _−_ 1 _≤_ _xi_ but these two constraints cannot be active at the same time, that is we cannot have _xi_ ( _t_ ) = 1 and _xi_ ( _t_ ) = _−_ 1 at a time _t_ . Moreover, since _x_ 1 and _x_ 3 may saturate one of their constraint at the same time only in very particular cases, we present the necessary conditions of optimality considering only a scalar constraint of the form _c_ ( _x_ ( _t_ )) _≤_ 0, _∀_ _t ∈_ [0 _, tf_ ]. The optimal control problem ( _P_ tmin) with a scalar state constraint can be written as the infinite dimensional minimization problem: min _{tf_ _| tf_ _>_ 0 _,_ _u_ ( _·_ ) _∈U,_ _b ◦_ _Ex_ 0( _tf_ _, u_ ( _·_ )) = 0 _,_ _c ◦_ _Ex_ 0( _t, u_ ( _·_ )) _≤_ 0 _,_ _t ∈_ [0 _, tf_ ] _} ._ It is still possible to express necessary conditions in terms of Lagrange multipliers as before but this has to be done in distributions spaces and the Lagrange multipliers must be expressed as Radon measures (see e. g. [15]). To emphasize the main difference with the state unconstrained case, we write the following optimization problem with only inequality constraints (we omit “( _·_ )” for readability): min _u∈U_ <sup>_J_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_,_</sup> subject to _S_ ( _u_ ) _≤_ 0 _._ 11 Here _S_ maps _U_ into the Banach space of scalar-valued continuous function on [0 _, tf_ ] denoted by C <sup>0</sup> ([0 _, tf_ ]) and supplied with the uniform norm. According to [17, theorem 1], if _J_ is a real-valued Fr´echet differentiable function on _U_ and _S_ : _U_ _→_ C <sup>0</sup> ([0 _, tf_ ]) a Fr´echet differentiable mapping, then if _u_ ¯ _∈U_ minimizes _J_ subject to _S_ (¯ _u_ ) _≤_ 0, then there exists a scalar _p_ <sup>0</sup> _≤_ 0, a linear form Λ _∈_ (C <sup>0</sup> ([0 _, tf_ ])) <sup>_∗_</sup>, Λ _≤_ 0 and non-increasing such that the Lagrangian _p_ <sup>0</sup> _J_ ( _u_ ) + _⟨_ Λ _, S_ ( _u_ ) _⟩_ is stationary at _u_ ¯. Besides, _⟨_ Λ _, S_ (¯ _u_ ) _⟩_ = 0 and from Riesz’s theorem there exists a measure <sup>4</sup> _µ_ ¯ such that _⟨_ Λ _, S_ (¯ _u_ ) _⟩_ = - _tf_ 0 <sup>_S_</sup> <sup>(¯</sup> <sup>_u_</sup> <sup>) d¯</sup> <sup>_µ,_</sup> <sup>where</sup> <sup>the</sup> <sup>integral</sup> <sup>is</sup> <sup>in</sup> <sup>the</sup> <sup>Stieltjes</sup> <sup>sense.</sup> 3.2. Necessary optimality conditions We recall the necessary conditions due to [17] and [23] and follow the presentation of [8], which exhibits the role of the Lie bracket configuration. 3.2.1. _Definitions_ We call a _boundary_ _arc_, labeled _γc_, an arc defined on an interval _I_ = [ _a, b_ ] (not reduced to a singleton), such that _c_ ( _γc_ ( _t_ )) = 0, for every _t ∈_ _I_ . The times _a_ and _b_ are called the _entry-_ and _exit-time_ of the boundary arc; _a_ and _b_ are also termed _junction_ _times_ . An arc _γ_ is said to have a _contact_ _point_ with the boundary at _t_ <sup>¯</sup> _∈_ [0 _, tf_ ] if _c_ ( _γ_ ( _t_ <sup>¯</sup> )) = 0 and _c_ ( _γ_ ( _t_ )) _<_ 0 for _t̸_ = _t_ <sup>¯</sup> in a neighborhood of _t_ <sup>¯</sup> . A subarc _γ_ on which _c_ ( _γ_ ( _t_ )) _<_ 0 is called an _interior_ _arc_ . The _generic_ _order_ of the constraint is the integer _m_ such that _F_ 1 _· c_ = _F_ 1 _·_ ( _F_ 0 _· c_ ) = _· · ·_ = _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>2</sup> _· c_ ) = 0 and _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>1</sup> _· c_ ) _̸_ = 0 _._ If the order of a boundary arc _γc_ is _m_, then its associated feedback control can be The _generic_ _order_ of the constraint is the integer _m_ such that _F_ 1 _· c_ = _F_ 1 _·_ ( _F_ 0 _· c_ ) = _· · ·_ = _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>2</sup> and _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>1</sup> _· c_ ) _̸_ = 0 _._ If the order of a boundary arc _γc_ is _m_, then its associated feedback control can be generically computed by differentiating _m_ times the mapping _t_ _�→_ _c_ ( _γc_ ( _t_ )) and solving with respect to _u_ the linear equation: _c_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> = _F_ 0 <sup>_m_</sup> <sup>_· c_</sup> <sup>+</sup> <sup>_u F_</sup> <sup>1</sup> <sup>_·_</sup> <sup>(</sup> <sup>_F m_</sup> 0 <sup>_−_</sup> <sup>1</sup> _· c_ ) = 0 _._ A boundary arc is contained in _c_ = _c_ ˙ = _· · ·_ = _c_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> = 0, and the constraint _c_ = 0 is called _primary_ while the constraints _c_ ˙ = _· · ·_ = _c_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> = 0 are called _secondary_ . The boundary feedback control is denoted by _c_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> = _F_ 0 <sup>_m_</sup> _<u>F</u>_ <u>0</u> <sup>_m_</sup> _uc_ := _−_ _<u>F</u>_ <u>0</u> <sup>_m_</sup> <sup>_<u>· c</u>_</sup> _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>1</sup> 0 <sup>_m−_</sup> <sup>1</sup> _· c_ ) <sup>_._</sup> 3.2.2. _Assumptions_ Let _t �→_ _γc_ ( _t_ ), _t ∈_ [ _t_ 1 _, t_ 2] _⊂_ [0 _, tf_ ], be a boundary arc associated with _uc_ ( _·_ ). We introduce the assumptions: ( A1 ) ( _F_ 1 _·_ ( _F_ 0 <sup>_m−_</sup> <sup>1</sup> _· c_ ))( _γc_ ( _t_ )) _̸_ = 0 for _t ∈_ [ _t_ 1 _, t_ 2], with _m_ the order of the constraint. ( A2 ) _|uc_ ( _t_ ) _| ≤_ 1 for _t ∈_ [ _t_ 1 _, t_ 2], _i.e._ the boundary control is admissible. ( A3 ) _|uc_ ( _t_ ) _| <_ 1 for _t ∈_ ( _t_ 1 _, t_ 2), _i.e._ the control is not saturating on the interior of the boundary arc. ( A <sup>2</sup> 1 <sup>)</sup> ( _F_ 01 _· c_ )( _γc_ ( _t_ )) _̸_ = 0 for _t ∈_ [ _t_ 1 _, t_ 2]. Remark 3.1. Assumptions A1 and A <sup>2</sup> 1 <sup>are</sup> <sup>always</sup> <sup>satisfied</sup> <sup>for</sup> <sup>problem</sup> <sup>(</sup> <sup>_P_</sup> <sup>tmin),</sup> <sup>see</sup> <sup>the</sup> <sup>proof</sup> <sup>of</sup> <sup>proposition</sup> 3.10. Assumption A2 is satisfied by any BC-extremals by definition. Assumption A3 is always satisfied for the constraint _c_ 1 (see section 3.3.3 for the definition of _c_ 1) of order 1 since _uc_ 1( _·_ ) is strictly increasing (see the second item of section 5.3 page 24). About the constraint _c_ 3 of order 2, for some limit cases, _uc_ 3( _·_ ) _≡_ 1. This can be seen on Figure 13 page 29. 3.2.3. _A_ _maximum_ _principle_ _with_ _a_ _single_ _state_ _constraint_ Define the pseudo-Hamiltonian: _H_ : _T_ <sup>_∗_</sup> _M_ _× U_ _×_ R _−→_ R ( _x, p, u, η_ ) _�−→_ _H_ ( _x, p, u, η_ ) := _⟨p, F_ 0( _x_ ) + _u F_ 1( _x_ ) _⟩_ + _η c_ ( _x_ ) _,_ 4In our case, _µ_ ¯ _≤_ 0 because _p_ 0 _≤_ 0. In [17, theorem 1] _p_ 0 _≥_ 0 and _µ_ ¯ _≥_ 0. 12 where _η_ is the _Lagrange_ _multiplier_ _of_ _the_ _constraint_ . Consider (¯ _u_ ( _·_ ) _,_ _t_ <sup>¯</sup> _f_ ) _∈U_ _×_ R <sup>*</sup> + <sup>an</sup> <sup>optimal</sup> <sup>solution</sup> <sup>with</sup> associated trajectory _x_ ¯( _·_ ). Assume that the optimal control is piecewise smooth and that along each boundary arc, assumptions A1 and A2 are satisfied. Then we have the following necessary optimality conditions: i) There exists a function _η_ ¯( _·_ ) _≤_ 0, a real number _p_ <sup>0</sup> _≤_ 0 and a function _p_ ( _·_ ) _∈_ _BV_ ([0 _,_ _t_ <sup>¯</sup> _f_ ] _,_ (R <sup>_n_</sup> ) <sup>_∗_</sup> ) such that: _x_ ˙¯( _t_ ) = <sup>_<u>∂H</u>_</sup> _∂p_ <sup>_<u>∂H</u>_</sup> _∂x_ <sup>(¯</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_p_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_u_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_η_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_,_</sup> _t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ] a.e. <sup>_<u>∂H</u>_</sup> _p_ ˙¯( _t_ ) = _−_ <sup>_<u>∂H</u>_</sup> _∂p_ <sup>(¯</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_p_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_u_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_η_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_,_</sup> _∂x_ ii) The maximization condition holds for almost every _t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ]: _H_ (¯ _x_ ( _t_ ) _,_ ¯ _p_ ( _t_ ) _,_ ¯ _u_ ( _t_ ) _,_ ¯ _η_ ( _t_ )) = max _u∈U_ <sup>_H_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> <sup>¯</sup> <sup>_p_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_, u,_</sup> <sup>¯</sup> <sup>_η_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_._</sup> (5) iii) The boundary conditions are satisfied and we have the following transversality conditions: _p_ ¯( _t_ <sup>¯</sup> _f_ ) = (0 _, µ,_ 0), _µ ∈_ R _._ Since _tf_ is free, if _u_ ¯( _·_ ) is continuous at time _t_ <sup>¯</sup> _f_, then _H_ (¯ _x_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _p_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _u_ ( _t_ <sup>¯</sup> _f_ ) _,_ ¯ _η_ ( _t_ <sup>¯</sup> _f_ )) = _−p_ <sup>0</sup> _._ iv) The function _η_ ¯( _·_ ) is continuous on the interior of the boundary arcs and _η_ ¯( _t_ ) _c_ (¯ _x_ ( _t_ )) = 0 _,_ _∀t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ] _._ v) Let _T_ denote the set of contact and junction times with the boundary. Then at _τ_ _∈T_ we have _H_ [ _τ_ <sup>+</sup> ] = _H_ [ _τ_ <sup>_−_</sup> ] _,_ where [ _τ_ ] stands for (¯ _x_ ( _τ_ ) _,_ ¯ _p_ ( _τ_ ) _,_ ¯ _u_ ( _τ_ ) _,_ ¯ _η_ ( _τ_ )) _,_ (6) _p_ ¯( _τ_ <sup>+</sup> ) = _p_ ¯( _τ_ <sup>_−_</sup> ) _−_ _ντ c_ <sup>_′_</sup> (¯ _x_ ( _τ_ )) _,_ where _ντ_ := _µ_ ¯( _τ_ <sup>+</sup> ) _−_ _µ_ ¯( _τ_ <sup>_−_</sup> ) _≤_ 0 (since _µ_ ¯ is non-increasing) _._ (7) Remark 3.2. _•_ In this context, an extremal is a quadruple ( _x_ ( _·_ ) _, p_ ( _·_ ) _, u_ ( _·_ ) _, η_ ( _·_ )) satisfying i), ii), iv) and v). It is a BC-extremal if iii) also holds. _•_ On a boundary arc, the maximisation condition (5) with assumption A3 imply that Φ = 0 on the interior of the boundary arc. _•_ The adjoint vector may be discontinuous at _τ_ _∈T_, and _η_ ¯( _·_ ) = d¯ _µ_ ( _·_ ) _/_ d _t_ on [0 _,_ _t_ <sup>¯</sup> _f_ ] _\ T_ . 3.3. Computations of the multiplier and the jump and the junction conditions We may find in [8, 23] the determination of the multiplier _η_ and the jump _ντ_ together with the analysis of the junction conditions, which is based on the concept of order and related to the classification of extremals. We give next some results for _m_ = 1 and _m_ = 2 since higher order constraints are not present in the problem ( _P_ tmin). 3.3.1. _Case_ _m_ = 1 For a first-order constraint, assuming A1 and A3, we have the following lemma from [8]. Lemma 3.3. _Let_ _m_ = 1 _._ _Then:_ _i)_ _along_ _the_ _boundary,_ _η_ = <sup>_<u>H</u>_</sup> <sup><u>01</u></sup> _F_ 1 _·_ <sup>_<u>H</u>_</sup> <sup><u>01</u></sup> _F_ 1 _· c_ <sup>_;_</sup> _ii)_ _if_ _the_ _control_ _is_ _discontinuous_ _at_ _a_ _contact_ _or_ _junction_ _time_ _τ_ _of_ _a_ _bang_ _arc_ _with_ _the_ _boundary_ _then_ _ντ_ = 0 _._ _iii)_ _we_ _have_ <u>Φ(</u> _<u>τ</u>_ <sup>_−_</sup> <u>)</u> <u>Φ(</u> _<u>τ</u>_ <sup>+</sup> <u>)</u> _ντ_ = ( _F_ 1 _· c_ )( _x_ ( _τ_ )) <sup>_at_</sup> <sup>_an_</sup> <sup>_entry_</sup> <sup>_point_</sup> <sup>_and_</sup> <sup>_ντ_</sup> <sup>=</sup> <sup>_−_</sup> ( _F_ 1 _· c_ )( _x_ ( _τ_ )) <sup>_at_</sup> <sup>_an_</sup> <sup>_exit_</sup> <sup>_point._</sup> 13 _Proof._ i) Along the boundary, Φ = 0 since A3 is satisfied; differentiating, we obtain (with a slight abuse of notation) 0 = Φ = <sup>˙</sup> _{H, H_ 1 _}_ = _H_ 01 + _η {c, H_ 1 _}_ + _c {η, H_ 1 _}_ = _H_ 01 _−_ _η F_ 1 _· c_ and _F_ 1 _· c̸_ = 0 along the boundary arc since A1 holds. Item i) is proved. ii) See [8, lemma 2.4]. iii) According to (7), _p_ ( _τ_ <sup>+</sup> ) = _p_ ( _τ_ <sup>_−_</sup> ) _−_ _ντ c_ <sup>_′_</sup> ( _x_ ( _τ_ )) at a junction point _x_ ( _τ_ ). If _τ_ is an entry-time, then Φ( _τ_ <sup>+</sup> ) = _H_ 1( _x_ ( _τ_ <sup>+</sup> ) _, p_ ( _τ_ <sup>+</sup> )) = _⟨p_ ( _τ_ <sup>+</sup> ) _, F_ 1( _x_ ( _τ_ <sup>+</sup> )) _⟩_ = 0 and we have 0 = Φ( _τ_ <sup>_−_</sup> ) _−_ _ντ_ ( _F_ 1 _· c_ )( _x_ ( _τ_ )). The proof is similar at an exit-point. Remark 3.4. The second item of lemma 3.3 is a particular case of [23, corollary 5.2] which states that if _τ_ is a junction time between a bang arc and a boundary arc and if _m_ + _r_ is odd, where _r_ is the lowest order derivative of the optimal control which is discontinuous at _τ_, then _ντ_ = 0. For this particular case where _m_ = 1 and _r_ = 0, it is still true even for a contact point (see lemma 3.3) but this is not proved in general in [23, corollary 5.2]. We profit from this lemma to get new junction conditions between bang and boundary arcs. We first need to define the sign of an arc. To do that, we first consider a non-empty arc _γb_ defined on the interval [ _t_ 0 _, t_ 1]. We define the sign of the bang arc by _sb_ := sign(Φ _|γb_ ), _i.e._ the sign of Φ on ( _t_ 0 _, t_ 1), which is constant. In a same way, for a first-order constraint _c_, we define the sign of a non-empty arc _γc_ by _sc_ := sign(( _F_ 1 _· c_ ) _|γc_ ), assuming A1 . Using these definitions, we have the following lemma which gives more insight into the junction conditions for the first-order case and which is necessary to define the multiple shooting function, see section 4.2. Lemma 3.5. _Let_ _consider_ _two_ _non-empty_ _arcs_ _γb_ _and_ _γc,_ _with_ _c_ _a_ _constraint_ _of_ _order_ _1,_ _assume_ A1 _and_ A3 _along_ _γc_ _and_ _note_ _sb_ = sign(Φ _|γb_ ) _,_ _sc_ = sign(( _F_ 1 _· c_ ) _|γc_ ) _._ _We_ _note_ _τ_ _the_ _junction_ _time_ _between_ _γb_ _and_ _γc_ _and_ _zτ_ _∈_ _T_ <sup>_∗_</sup> _M_ _its_ _associated_ _point._ _i)_ _If_ _the_ _sequence_ _is_ _γbγc_ _and_ _a)_ _if_ _sb sc_ _>_ 0 _or_ _zτ −_ _∈_ Σ <sup>0</sup> 1 _a)_ _if_ _sb sc_ _>_ 0 _or_ _zτ −_ _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_else_</sup> _b)_ _if_ _sb sc_ _<_ 0 _and_ _zτ −̸_ _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_(so_</sup> _b)_ _if_ _sb sc_ _<_ 0 _and_ _zτ −̸_ _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_(so_</sup> <sup>_the_</sup> <sup>_control_</sup> <sup>_is_</sup> <sup>_continuous_</sup> <sup>_at_</sup> <sup>_τ_</sup> <sup>_)._</sup> _ii)_ _If_ _the_ _sequence_ _is_ _γcγb_ _and_ _a)_ _if_ _sb sc_ _<_ 0 _or_ _zτ_ + _∈_ Σ <sup>0</sup> 1 _a)_ _if_ _sb sc_ _<_ 0 _or_ _zτ_ + _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_else_</sup> _b)_ _if_ _sb sc_ _>_ 0 _and_ _zτ_ + _̸_ _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_(so_</sup> _̸_ <sup>0</sup> 1 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_(so_</sup> <sup>_the_</sup> <sup>_control_</sup> <sup>_is_</sup> <sup>_continuous_</sup> <sup>_at_</sup> <sup>_τ_</sup> <sup>_)._</sup> _Proof._ Let prove first item _i-a)_ . From lemma 3.3 and equation (7), at time _τ_ we have <u>Φ(</u> _<u>τ</u>_ <sup>_−_</sup> <u>)</u> ( _F_ 1 _· c_ )( _x_ ( _τ_ )) <sup>=</sup> <sup>_ντ_</sup> <sup>_≤_</sup> <sup>0</sup> <sup>_,_</sup> and if _sb sc_ _>_ 0 then <u>Φ(</u> _<u>τ</u>_ <sup>_−_</sup> <u>)</u> ( _F_ 1 _· c_ )( _x_ ( _τ_ )) <sup>_≥_</sup> <sup>0</sup> <sup>_,_</sup> thus _ντ_ = 0 and Φ is continuous at _τ_ and Φ( _τ_ ) = 0. Item _i-a)_ is proved. Now, if _sb sc_ _<_ 0 and _zτ −̸_ _∈_ Σ <sup>0</sup> 1 <sup>,</sup> then Φ( _τ_ <sup>_−_</sup> ) _̸_ = 0 and then _ντ_ _<_ 0. Item _i-b)_ is proved. Items _ii-a)_ and _ii-b)_ are proved with the same argumentation. Remark 3.6. In the numerical results, see section 5, we have trajectories of the form _γ_ + _γc_ 1 _γ_ +, with _F_ 1 _·_ _c_ 1 _>_ 0. By lemma 3.5, the jump is zero at the entry-time of _γc_ 1 and the control is continuous at the exit-time _τ_ of _γc_ 1 if at _t_ = _τ_ <sup>+</sup>, the extremal has no contact with the switching surface. 3.3.2. _Case_ _m_ = 2 For a second-order constraint, assuming A1, A <sup>2</sup> 1 <sup>and</sup> <sup>A3</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup> <sup>the</sup> <sup>following</sup> <sup>lemma.</sup> Lemma 3.7. _Let_ _m_ = 2 _._ _Then:_ 14 _i)_ _along_ _a_ _boundary_ _arc,_ _we_ _have_ _η_ = <sup>_<u>H</u>_</sup> <sup><u>001 +</u></sup> <sup>_<u>uc H</u>_</sup> <sup><u>101</u></sup> <sup><u>+</u></sup> <sup>_<u>uc H</u>_</sup> <sup><u>101</u></sup> ; _F_ 01 _· c_ _ii)_ _at_ _a_ _contact_ _or_ _junction_ _point_ _at_ _time_ _τ_ _,_ _we_ _have_ Φ( _τ_ <sup>+</sup> ) = Φ( _τ_ <sup>_−_</sup> ); _iii)_ _we_ _have_ <u>Φ(˙</u> _<u>τ</u>_ <sup>+</sup> <u>)</u> ( _F_ 01 _· c_ )( _x_ ( _τ_ )) <sup>_at_</sup> <sup>_an_</sup> <sup>_exit_</sup> <sup>_point._</sup> _ντ_ = <u>Φ(˙</u> _<u>τ</u>_ <sup>_−_</sup> <u>)</u> ( _F_ 01 _· c_ )( _x_ ( _τ_ )) <sup>_at_</sup> <sup>_an_</sup> <sup>_entry_</sup> <sup>_point_</sup> <sup>_and_</sup> <sup>_ντ_</sup> <sup>=</sup> <sup>_−_</sup> For an order 2 constraint _c_, we define the sign of a non-empty arc _γc_ by _sc_ := sign(( _F_ 01 _· c_ ) _|γc_ ), assuming A <sup>2</sup> 1 <sup>.</sup> Lemma 3.8. _Let_ _consider_ _two_ _non-empty_ _arcs_ _γb_ _and_ _γc,_ _with_ _c_ _a_ _constraint_ _of_ _order_ _2,_ _assume_ A1 _,_ A <sup>2</sup> 1 Lemma 3.8. _Let_ _consider_ _two_ _non-empty_ _arcs_ _γb_ _and_ _γc,_ _with_ _c_ _a_ _constraint_ _of_ _order_ _2,_ _assume_ A1 _,_ A <sup>2</sup> 1 <sup>_and_</sup> A3 _along_ _γc_ _and_ _note_ _sb_ = sign(Φ _|γb_ ) _,_ _sc_ = sign(( _F_ 01 _· c_ ) _|γc_ ) _._ _We_ _note_ _τ_ _the_ _junction_ _time_ _between_ _γb_ _and_ _γc_ _and_ _zτ_ _∈_ _T_ <sup>_∗_</sup> _M_ _its_ _associated_ _point._ _For_ _both_ _sequences_ _γbγc_ _and_ _γcγb,_ _if_ _sb sc_ _<_ 0 _or_ _zτ −_ _∈_ Σ <sup>0</sup> 01 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _and_ _zτ_ _∈_ _T_ <sup>_∗_</sup> _M_ _its_ _associated_ _point._ _For_ _both_ _sequences_ _γbγc_ _and_ _γcγb,_ _if_ _sb sc_ _<_ 0 _or_ _zτ −_ _∈_ Σ <sup>0</sup> 01 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>=</sup> <sup>0</sup> <sup>_,_</sup> _else_ _if_ _sb sc_ _>_ 0 _and_ _zτ −̸_ _∈_ Σ <sup>0</sup> 01 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_._</sup> _Proof._ Just notice that the signs of Φ and Φ <sup>˙</sup> are equal after an exit point and are opposite before an entry point. Then, the proof is similar to the proof of lemma 3.5. Remark 3.9. In the numerical results, see section 5, we have trajectories with sequences of the form _γ−γc_ 3, with _F_ 01 _· c_ 3 _<_ 0. By lemma 3.8, the jump is non zero at the junction if at this time, the extremal has no contact of order 2 with the switching surface. 3.3.3. _Application_ _to_ _problem_ ( _P_ tmin) Let define the space _C_ := _C_ 1 _∪_ _C_ 3 _∪_ _C_ 13 where the boundary sets are _C_ 1 := _{x ∈_ _M_ _| |x_ 1 _|_ = 1 _,_ _|x_ 3 _|̸_ = 1 _}_, _C_ 3 := _{x ∈_ _M_ _| |x_ 1 _|̸_ = 1 _,_ _|x_ 3 _|_ = 1 _}_ and _C_ 13 := _{x ∈_ _M_ _| |x_ 1 _|_ = _|x_ 3 _|_ = 1 _}_ . For each state constraint, we write _ci_ ( _x_ ) := _si xi −_ 1, _i_ _∈{_ 1 _,_ 3 _}_, _si_ _∈{−_ 1 _,_ 1 _}_, and we label _γcα_, _α_ _∈{_ 1 _,_ 3 _,_ 13 _}_, a boundary arc defined on _I_ such that for every _t ∈_ _I_, _γcα_ ( _t_ ) _∈_ _Cα_ . Assuming A3, we have the following proposition. Proposition 3.10. _We_ _have:_ _i)_ _the_ _constraint_ _on_ _the_ _electric_ _current,_ _i.e._ _on_ _x_ 1 _,_ _is_ _of_ _order_ _1._ _The_ _feedback_ _boundary_ _control_ _and_ _the_ _multiplier_ _associated_ _to_ _a_ _boundary_ _arc_ _γc_ 1 _are_ _given_ _by:_ _̸_ <sup>0</sup> 01 <sup>_,_</sup> <sup>_then_</sup> <sup>_ντ_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_._</sup> _uc_ 1( _x_ ( _t_ )) := _−_ <sup><u>1</u></sup> _a_ 7 ( _a_ 1 _s_ 1 + _a_ 2 _x_ 3( _t_ )) _,_ _ηc_ 1( _z_ ( _t_ )) := _−s_ 1 _a_ 5 _p_ 3( _t_ ) _._ _ii)_ _the_ _constraint_ _on_ _the_ _angular_ _velocity,_ _i.e._ _on_ _x_ 3 _,_ _is_ _of_ _order_ _2._ _The_ _feedback_ _boundary_ _control_ _and_ _the_ _multiplier_ _associated_ _to_ _a_ _boundary_ _arc_ _γc_ 3 _are_ _constant_ _and_ _given_ _by:_ _uc_ 3( _x_ ( _t_ )) := _−_ <sup><u>1</u></sup> _a_ 7 Å _−_ <sup>_<u>a</u>_</sup> <sup><u>1 (</u></sup> <sup>_<u>a</u>_</sup> <sup><u>4 +</u></sup> <sup>_<u>a</u>_</sup> <sup><u>6)</u></sup> _a_ 5 + _a_ 2 _s_ 3 ã _,_ _ηc_ 3( _z_ ( _t_ )) := _−s_ 3 _a_ 3 _p_ 2 _._ _Besides,_ _on_ _the_ _boundary_ _arc_ _γc_ 3 _the_ _electric_ _current_ _is_ _constant_ _and_ _strictly_ _positive_ _and_ _we_ _have_ _x_ 1( _·_ ) = _−_ <sup>_<u>a</u>_</sup> <sup><u>4 +</u></sup> <sup>_<u>a</u>_</sup> <sup><u>6</u></sup> _a_ 5 _>_ 0 _._ _iii)_ _There_ _exists_ _boundary_ _arcs_ _γc_ 13 _only_ _if_ _a_ 4 + _a_ 5 + _a_ 6 = 0 _and_ _if_ _γc_ 13 _is_ _a_ _boundary_ _arc,_ _then_ _s_ 1 = 1 _along_ _γc_ 13 _._ _Proof._ i) Let consider a boundary arc _γc_ 1 defined on _I_ . Then we have for every _t ∈_ _I_, 0 = <sup><u>d</u></sup> d _t_ <sup>_c_</sup> <sup>1(</sup> <sup>_γc_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>)) = (</sup> <sup>_F_</sup> <sup>_· c_</sup> <sup>1)(</sup> <sup>_γc_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>)) =</sup> <sup>_s_</sup> <sup>1 (</sup> <sup>_a_</sup> <sup>1</sup> <sup>_x_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_a_</sup> <sup>2</sup> <sup>_x_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>)) +</sup> <sup>_u_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_s_</sup> <sup>1</sup> <sup>_a_</sup> <sup>7</sup> <sup>_,_</sup> with ( _F_ 1 _· c_ 1) ( _γc_ 1( _t_ )) = _s_ 1 _a_ 7 _̸_ = 0 (so A1 is satisfied) and _x_ 1( _t_ ) = _s_ 1. Besides, _ηc_ 1 = _H_ 01 _/F_ 1 _· c_ 1, _cf._ lemma 3.3 with _H_ 01 given at lemma 2.3 and _p_ 1 = 0 along _γc_ 1 since A3 is assumed. Whence the results. 15 ii) Let consider a boundary arc _γc_ 3 defined on _I_ . Then we have for every _t ∈_ _I_, _x_ 3( _t_ ) = _s_ 3 and 0 = <sup><u>d</u></sup> d _t_ <sup>_c_</sup> <sup>3(</sup> <sup>_γc_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>)) = (</sup> <sup>_F_</sup> <sup>_· c_</sup> <sup>3)(</sup> <sup>_γc_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>)) =</sup> <sup>_s_</sup> <sup>3</sup> - _a_ 4 + _a_ 5 _x_ 1( _t_ ) + _a_ 6 _x_ 23 <sup>(</sup> <sup>_t_</sup> <sup>)�</sup> <sup>=</sup> <sup>_s_</sup> <sup>3</sup> <sup>(</sup> <sup>_a_</sup> <sup>4</sup> <sup>+</sup> <sup>_a_</sup> <sup>5</sup> <sup>_x_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_a_</sup> <sup>6)</sup> <sup>_._</sup> The electric current is constant and strictly positive since _a_ 4 + _a_ 5 _x_ 1( _t_ ) + _a_ 6 = 0, with _a_ 4 _<_ 0, _a_ 5 _>_ 0 and _a_ 6 _<_ 0. Differentiating a second time we have 0 = d <sup><u>d</u></sup> _t_ <sup>22</sup> <sup>_c_</sup> <sup>3(</sup> <sup>_γc_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>)) =</sup> <sup>_s_</sup> <sup>3</sup> <sup>_a_</sup> <sup>5</sup> <sup>_x_</sup> <sup>˙</sup> <sup>1(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_s_</sup> <sup>3</sup> <sup>_a_</sup> <sup>5 (</sup> <sup>_a_</sup> <sup>1</sup> <sup>_x_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_a_</sup> <sup>2</sup> <sup>_x_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_u_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_a_</sup> <sup>7)</sup> <sup>_,_</sup> _x_ 3( _t_ ) = _s_ 3 _,_ with ( _F_ 1 _·_ ( _F_ 0 _· c_ 3)) ( _γc_ 3( _t_ )) = _s_ 3 _a_ 5 _a_ 7 _̸_ = 0, so A1 and A <sup>2</sup> 1 <sup>are satisfied since here</sup> <sup>_F_</sup> <sup>01</sup> <sup>_· c_</sup> <sup>=</sup> <sup>_−F_</sup> <sup>1</sup> <sup>_·_</sup> <sup>(</sup> <sup>_F_</sup> <sup>0</sup> <sup>_· c_</sup> <sup>).</sup> <sup>The</sup> result follows with _ηc_ 3 given at lemma 3.7, _H_ 001, _H_ 101 and _F_ 01 given at lemma 2.3, and with _p_ 1 = _p_ 3 = 0 along _γc_ 3 since A3 holds. iii) According to _i_ ) and _ii_ ), on a boundary arc _γc_ 13, _x_ 1 = _s_ 1 and _a_ 4 + _a_ 5 _x_ 1 + _a_ 6 = 0, _x_ 1 _>_ 0. Whence the result. 3.4. Local time minimal synthesis We end this section with an application of theorem 4.4 from [8]. This theorem is local and valid only in the parabolic case. It asserts the following. One consider the time minimization problem for a 3-dimensional system of the form (2), _|u| ≤_ 1, with the scalar constraint _c_ ( _x_ ) _≤_ 0. Let _x_ ¯ _∈_ _c_ <sup>_−_</sup> <sup>1</sup> ( _{_ 0 _}_ ) and assume the following: (1) at the point _x_ ¯, the vectors _F_ 0, _F_ 1 and _F_ 01 form a frame and [ _F_ 0 _± F_ 1 _, F_ 01](¯ _x_ ) = _a F_ 0(¯ _x_ ) + _b F_ 1(¯ _x_ ) + _c F_ 01(¯ _x_ ) _,_ where _a >_ 0; (2) the constraint is of order 2 and assumptions A1 and A3 hold at the point _x_ ¯. Then the boundary arc passing through _x_ ¯ is small time optimal if and only if the arc _γ_ + is contained in the nonadmissible domain _c ≥_ 0. In this case, the local time minimal synthesis with a boundary arc is of the form _γ_ + _γ−_ <sup>_T_</sup> <sup>_γcγ_</sup> _−_ <sup>_T_</sup> <sup>_γ_</sup> <sup>+,</sup> <sup>where</sup> <sup>_γ_</sup> _−_ <sup>_T_</sup> <sup>are</sup> <sup>arcs</sup> <sup>tangent</sup> <sup>to</sup> <sup>the</sup> <sup>boundary</sup> <sup>arc.</sup> <sup>Therefore,</sup> <sup>we</sup> <sup>have</sup> <sup>the</sup> <sup>following</sup> <sup>proposition.</sup> _−_ <sup>_T_</sup> <sup>_γcγ_</sup> _−_ <sup>_T_</sup> _−_ <sup>_T_</sup> <sup>_γ_</sup> <sup>+,</sup> <sup>where</sup> <sup>_γ_</sup> _−_ <sup>_T_</sup> _−_ <sup>_T_</sup> <sup>are</sup> <sup>arcs</sup> <sup>tangent</sup> <sup>to</sup> <sup>the</sup> <sup>boundary</sup> <sup>arc.</sup> <sup>Therefore,</sup> <sup>we</sup> <sup>have</sup> <sup>the</sup> <sup>following</sup> <sup>proposition.</sup> Proposition 3.11. _Let_ _x_ ¯ _∈_ _c_ <sup>_−_</sup> 3 <sup>1</sup> Proposition 3.11. _Let_ _x_ ¯ _∈_ _c_ <sup>_−_</sup> 3 <sup>1(</sup> <sup>_{_</sup> <sup>0</sup> <sup>_}_</sup> <sup>)</sup> <sup>_with_</sup> <sup>_s_</sup> <sup>3</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>_and_</sup> <sup>_assume_</sup> <sup>A3</sup> <sup>_at_</sup> <sup>_the_</sup> <sup>_point_</sup> <sup>_x_</sup> <sup>¯</sup> <sup>_._</sup> <sup>_Assume_</sup> <sup>_also_</sup> <sup>_that_</sup> <sup>_the_</sup> <sup>_arc_</sup> <sup>_γ_</sup> <sup>+</sup> _passing_ _through_ _x_ ¯ _is_ _contained_ _in_ _the_ _nonadmissible_ _domain_ _c_ 3 _≥_ 0 _._ _Then_ _the_ _local_ _time_ _minimal_ _synthesis_ _is_ _of_ _the_ _form_ _γ_ + _γ−_ <sup>_T_</sup> <sup>_γc_</sup> 3 <sup>_γ_</sup> _−_ <sup>_T_</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_._</sup> _Proof._ The constraint _c_ 3 is of order 2, assumption A1 holds since ( _F_ 1 _·_ ( _F_ 0 _· c_ 3)) (¯ _x_ ) = _a_ 5 _a_ 7 _̸_ = 0 and [ _F_ 0 _±_ _F_ 1 _, F_ 01](¯ _x_ ) = _F_ 001(¯ _x_ ) = _a F_ 0(¯ _x_ ) + _b F_ 1(¯ _x_ ) + _c F_ 01(¯ _x_ ), with _a_ = _a_ 5 _a_ 7 _/x_ ¯3 _>_ 0. 4. Numerical methods In this section, we present the numerical methods used to find BC-extremals of problem ( _P_ tmin). All the methods are implemented within the `HamPath` code, see [11]. The software is based upon indirect methods: simple, multiple shooting, differential path following (or homotopy) methods and exponential mappings. One focus on the description of the shooting and homotopic functions, the methods being automatically generated by the `HamPath` code. One pay a special attention in section 4.2 on the strategy we develop to define the shooting functions associated to problems with state constraints. Remark 4.1. From now on, the state constraints are _c_ 1( _x_ ) = _x_ 1 _−_ 1 and _c_ 3( _x_ ) = _x_ 3 _−_ 1. Remark 4.2. We only present the shooting functions associated to the structures we encounter in section 5.3 during numerical experiments. _−_ <sup>_T_</sup> <sup>_γc_</sup> 3 <sup>_γ_</sup> _−_ <sup>_T_</sup> _−_ <sup>_T_</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_._</sup> 16 4.1. Simple shooting method 4.1.1. _Structure_ _γ_ + If _i_ max and _ω_ max (or _v_ max = _ω_ max _×_ 3 _._ 6 _r/Kr_ ) are big enough the solution of problem ( _P_ tmin) has only interior arcs and then the optimal trajectory is of the form _γ_ +, see proposition 2.11. We need the following definitions. Definition 4.3. For fixed _z_ ¯0 _∈_ _T_ <sup>_∗_</sup> _M_ and _t_ <sup>¯</sup> _≥_ 0, we define in a neighborhood of (¯ _z_ 0 _,_ _t_ <sup>¯</sup> ) (if possible), the following _exponential_ _mapping_ ( _z_ 0 _, t_ ) _�→_ exp( _t_ <sup>_−→_</sup> _H_ )( _z_ 0) as the trajectory _z_ ( _·_ ) at time _t_ of the Hamiltonian vector <sup>_−→_</sup> _H_, _i.e._ _z_ ˙( _s_ ) = <sup>_−→_</sup> _H_ ( _z_ ( _s_ )) for every _s ∈_ [0 _, t_ ], satisfying _z_ (0) = _z_ 0. Definition 4.4. Let <sup>_−→_</sup> _H_ be a Hamiltonian vector on _T_ <sup>_∗_</sup> _M_, and let _z_ ( _·_ ) be a trajectory of <sup>_−→_</sup> _H_ defined on [0 _, tf_ ]. The differential equation on [0 _, tf_ ] _δz_ ı˙ ( _t_ ) = d <sup>_−→_</sup> _H_ ( _z_ ( _t_ )) _· δz_ ( _t_ ) is called a _Jacobi_ _equation_, or _variational_ _system_, along _z_ ( _·_ ). Let _δz_ ( _·_ ) be a solution of the variational system along _z_ ( _·_ ), we write _δz_ ( _t_ ) =: exp( _t_ d <sup>_−→_</sup> _H_ _|z_ ( _·_ ))( _δz_ (0)). Let ( _z_ ( _·_ ) _, u_ ( _·_ )) be a regular extremal defined on [0 _, tf_ ] with only one single positive bang arc. We have _z_ ( _t_ ) = exp( _t_ <sup>_−→_</sup> _H_ +)( _z_ (0)), _t_ _∈_ [0 _, tf_ ], where _H_ +( _z_ ) = _H_ ( _z, u_ ( _z_ )) = _H_ 0( _z_ ) + _H_ 1( _z_ ). Let denote by _π_ the following projection: in coordinates, writing _z_ := ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_, then _π_ ( _z_ ) := ( _x_ 2 _, p_ 1 _, p_ 3). We define now the _simple_ _shooting_ _function_ Ñ _π_ _−→_ ä _H_ +)( _z_ 0) é Ä exp( _tf_ Ü1ê 0 0 1 _S_ 1( _p_ 0 _, tf_ ) := _H_ + Ä exp( _tf_ Ä _−_ _,_ _−→_ ä _H_ +)( _z_ 0) where _z_ 0 := ( _x_ 0 _, p_ 0), with _x_ 0 = (0 _,_ 0 _,_ 0) fixed. If (¯ _p_ 0 _,_ _t_ <sup>¯</sup> _f_ ) is a zero of _S_ 1, then the constant control _u_ ( _·_ ) = +1 with the integral curve _t �→_ exp( _t_ <sup>_−→_</sup> _H_ +)(¯ _z_ 0), with _z_ ¯0 := ( _x_ 0 _,_ ¯ _p_ 0), for _t ∈_ [0 _,_ _t_ <sup>¯</sup> _f_ ], is a BC-extremal, _i.e._ the extremal satisfies the necessary optimality conditions, see section 2.1. The _simple_ _shooting_ _method_ consists in finding a zero of the simple shooting function _S_ 1, _i.e._ in solving _S_ 1( _p_ 0 _, tf_ ) = 0. 4.1.2. _`HamPath`_ _code_ The Fortran hybrid Newton method `hybrj` (from the `minpack` library [25]) is used to solve the nonlinear system _S_ 1( _p_ 0 _, tf_ ) = 0. Providing _H_ + and _S_ 1 to `HamPath`, the code generates automatically the Jacobian of the shooting function given to the solver. To make the implementation of _S_ 1 easier, `HamPath` supplies the exponential mapping. Automatic Differentiation ( `tapenade` software [16]) is used to produce <sup>_−→_</sup> _H_ + and is combined with Runge-Kutta integrators ( `dopri5`, `dop853`, see [13] and `radau`, see [14]) to assemble the exponential mapping. We detail how the Jacobian of the shooting function is computed. If we note _z_ ( _t, z_ 0) := exp( _t_ <sup>_−→_</sup> _H_ +)( _z_ 0), then the Jacobian is given by ( _tf_ _, z_ 0) _δz_ 0 d _π_ ( _z_ ( _tf_ _, z_ 0)) _·_ <sup>_<u>∂z</u>_</sup> d _H_ + ( _z_ ( _tf_ _, z_ 0)) _· H_ <sup>_−→_</sup> +( _z_ ( _tf_ _, z_ 0)) è ã _,_ _δp_ 0 _∈_ R <sup>_n_</sup> _,_ _<u>∂S</u>_ <u>1</u> _∂p_ 0 _<u>∂S</u>_ <u>1</u> _∂tf_ Ö ( _p_ 0 _, tf_ ) _δp_ 0 = ( _p_ 0 _, tf_ ) _δtf_ = _δtf_ _∂z_ 0 Å0R _n_ _δp_ 0 d _H_ + ( _z_ ( _tf_ _, z_ 0)) _·_ <sup>_<u>∂z</u>_</sup> _∂z_ 0 ( _tf_ _, z_ 0) _δz_ 0 d _π_ ( _z_ ( _tf_ _, z_ 0)) _·_ <sup>_−→_</sup> _H_ +( _z_ ( _tf_ _, z_ 0)) _,_ _δz_ 0 := _,_ _δtf_ _∈_ R _,_ where _<u>∂z</u>_ _∂z_ 0 ( _tf_ _, z_ 0) _δz_ 0 = exp( _tf_ d <sup>_−→_</sup> _H_ + _|z_ ( _·,z_ 0))( _δz_ 0) _,_ 17 and d _H_ + ( _z_ ( _tf_ _, z_ 0)) _·_ _H_ <sup>_−→_</sup> +( _z_ ( _tf_ _, z_ 0)) = _{H_ + _, H_ + _}_ ( _z_ ( _tf_ _, z_ 0)) = 0. To assemble automatically the Jacobian, `HamPath` uses AD to compute d _π_, d _H_ + and d _H_ <sup>_−→_</sup> +, and produces the exponential mapping associated to the variational system. 4.2. Multiple shooting method We need the following propositions (inspired by [1, lemma 20.21] and [12, proposition 1]) to define the shooting functions when the solutions have boundary arcs. We introduce for that the canonical _x_ -projection: _πx_ ( _x, p_ ) := _x_, ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ . Proposition 4.5. _Let_ _c_ ( _x_ ) _≤_ 0 _be_ _a_ _scalar_ _constraint_ _of_ _order_ _1,_ _and_ _define_ _for_ _z_ := ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ _the_ _true_ _Hamiltonian_ _Hc_ ( _z_ ) := _H_ ( _z, uc_ ( _x_ ) _, ηc_ ( _z_ )) = _H_ 0( _z_ ) + _uc_ ( _x_ ) _H_ 1( _z_ ) + _ηc_ ( _z_ ) _c_ ( _x_ ) _,_ _with_ _<u>H</u>_ <u>01(</u> _<u>z</u>_ <u>)</u> _uc_ ( _x_ ) = _−_ <sup><u>(</u></sup> <sup>_<u>F</u>_</sup> <sup><u>0</u></sup> <sup>_<u>· c</u>_</sup> <sup><u>)(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _ηc_ ( _z_ ) = ( _F_ 1 _· c_ )( _x_ ) <sup>_,_</sup> ( _F_ 1 _· c_ )( _x_ ) <sup>_._</sup> _Let_ _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ Σ <sup>0</sup> 1 <sup>_,_</sup> <sup>_c_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>_;_</sup> <sup>_there_</sup> <sup>_is_</sup> <sup>_exactly_</sup> <sup>_one_</sup> <sup>_extremal_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, p_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, u_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, η_</sup> <sup>(</sup> <sup>_·_</sup> <sup>))</sup> <sup>_passing_</sup> <sup>_through_</sup> <sup>_z_</sup> <sup>¯</sup> <sup>_,_</sup> <sup>_such_</sup> <sup>_that_</sup> _c ◦_ _x_ ( _·_ ) = 0 _,_ _H_ 1 _◦_ _z_ ( _·_ ) = 0 _,_ _z_ ( _·_ ) := ( _x_ ( _·_ ) _, p_ ( _·_ )) _,_ _and_ _it_ _is_ _defined_ _by_ _the_ _flow_ _of_ _Hc._ _Proof._ First we show that the space _{x ∈_ _M_ _| c_ ( _x_ ) = 0 _} ∩_ Σ <sup>0</sup> 1 <sup>is</sup> <sup>invariant</sup> <sup>with</sup> <sup>respect</sup> <sup>to</sup> <sup>the</sup> <sup>flow</sup> <sup>of</sup> <sup>_Hc_</sup> <sup>.</sup> <sup>Let</sup> _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ Σ <sup>0</sup> 1 <sup>,</sup> <sup>_c_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>) = 0,</sup> <sup>and</sup> <sup>let</sup> <sup>_z_</sup> <sup>(</sup> <sup>_·_</sup> <sup>) := (</sup> <sup>_x_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, p_</sup> <sup>(</sup> <sup>_·_</sup> <sup>))</sup> <sup>be</sup> <sup>the</sup> <sup>associated</sup> <sup>integral</sup> <sup>curve</sup> <sup>of</sup> <sup>_Hc_</sup> <sup>passing</sup> <sup>through</sup> <sup>_z_</sup> <sup>¯</sup> <sup>at</sup> time 0. Let _ϕ_ := ( _g, H_ 1) _◦_ _z_ ( _·_ ), with _g_ := _c ◦_ _πx_ ; then _ϕ_ is differentiable and _ϕ_ ˙ 1( _t_ ) = _{Hc, g}_ ( _z_ ( _t_ )) _ηc_ + _{ηc, g}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _._ _H_ 1 + _{c ◦_ _πx, g}_ <u>�</u> �� <u>�</u> = 0 = _{H_ 0 _, g}_ + _{H_ 1 _, g}_ ( _uc ◦_ _πx_ ) <u>�</u> <u>��</u> <u>�</u> = 0 by definition of _uc_ + _{uc ◦_ _πx, g}_ <u>�</u> <u>��</u> <u>�</u> = 0 _ϕ_ ˙ 2( _t_ ) = _{Hc, H_ 1 _}_ ( _z_ ( _t_ )) ( _uc ◦_ _πx_ ) + _{uc ◦_ _πx, H_ 1 _} H_ 1 + _{ηc, H_ 1 _}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _._ = _H_ 01 + _{c ◦_ _πx, H_ 1 _} ηc_ <u>�</u> <u>��</u> <u>�</u> = 0 by definition of _ηc_ + _{H_ 1 _, H_ 1 _}_ <u>�</u> <u>��</u> <u>�</u> = 0 so _ϕ_ ˙ ( _t_ ) = _A_ ( _t_ ) _ϕ_ ( _t_ ), with ò _A_ ( _t_ ) := ï _{ηc, c ◦_ _πx}_ 0 _{ηc, H_ 1 _}_ _{uc ◦_ _πx, H_ 1 _}_ ( _z_ ( _t_ )) _._ Since _ϕ_ (0) = 0, _ϕ_ is indentically zero and _z_ ( _·_ ) remains in _{x ∈_ _M_ _| c_ ( _x_ ) = 0 _} ∩_ Σ <sup>0</sup> 1 <sup>.</sup> <sup>Now,</sup> _c_ <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) =</sup> <sup>_<u>∂H</u>_</sup> _∂z_ <sup>_<u>∂H</u>_</sup> _∂u_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) (</sup> <sup>_uc ◦_</sup> <sup>_πx_</sup> <sup>)</sup> <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) +</sup> <sup>_<u>∂H</u>_</sup> _∂η_ _c_ <sup>_<u>∂H</u>_</sup> _∂η_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>))</sup> <sup>_η′_</sup> _c_ <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_,_</sup> _Hc_ <sup>_′_</sup> <sup>_<u>∂H</u>_</sup> _∂z_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) +</sup> <sup>_<u>∂H</u>_</sup> _∂u_ with _<u>∂H</u>_ _<u>∂H</u>_ _<u>∂H</u>_ _∂u_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) =</sup> <sup>_H_</sup> <sup>1(</sup> <sup>_z_</sup> <sup>)</sup> and _∂η_ _∂η_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) =</sup> <sup>_c_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> so <sup>_−→_</sup> _Hc_ ( _z_ ( _t_ )) = <sup>_−→_</sup> _H_ ( _z_ ( _t_ ) _, uc_ ( _x_ ( _t_ )) _, ηc_ ( _z_ ( _t_ ))) as _H_ 1 and _c ◦_ _πx_ vanish along _z_ ( _·_ ), and ( _z_ ( _·_ ) _, uc_ _◦_ _x_ ( _·_ ) _, ηc_ _◦_ _z_ ( _·_ )) is extremal. For the second-order case, we have the following proposition. 18 Proposition 4.6. _Let_ _c_ ( _x_ ) _≤_ 0 _be_ _a_ _scalar_ _constraint_ _of_ _order_ _2,_ _and_ _define_ _for_ _z_ := ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ _the_ _true_ _Hamiltonian_ _Hc_ ( _z_ ) := _H_ ( _z, uc_ ( _x_ ) _, ηc_ ( _z_ )) = _H_ 0( _z_ ) + _uc_ ( _x_ ) _H_ 1( _z_ ) + _ηc_ ( _z_ ) _c_ ( _x_ ) _,_ _with_ <u>(</u> _<u>F</u>_ <u>0</u> <sup>2</sup> _uc_ ( _x_ ) = _−_ ( _F_ 1 _·_ ( <sup><u>) +</u></sup> <sup>_<u>uc</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <sup>_<u>H</u>_</sup> <sup><u>101(</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)</u></sup> _._ ( _F_ 01 _· c_ )( _x_ ) <u>(</u> _<u>F</u>_ <u>0</u> <sup>2</sup> <sup>_<u>· c</u>_</sup> <sup><u>)(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _ηc_ ( _z_ ) = <sup>_<u>H</u>_</sup> <sup><u>001(</u></sup> <sup>_<u>z</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>uc</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <sup>_<u>H</u>_</sup> <sup><u>101(</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)</u></sup> ( _F_ 1 _·_ ( _F_ 0 _· c_ ))( _x_ ) <sup>_,_</sup> ( _F_ 01 _· c_ )( _x_ ) _i)_ _Assume_ _that_ _the_ _control_ _is_ _constant,_ _i.e._ _∀x_ _∈_ _M_ _,_ _u_ <sup>_′_</sup> _c_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>_._</sup> <sup>_Let_</sup> <sup>_z_</sup> <sup>¯</sup> <sup>:=</sup> <sup>(¯</sup> <sup>_x,_</sup> <sup>¯</sup> <sup>_p_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>_T ∗M_</sup> <sup>_,_</sup> <sup>_c_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>_and_</sup> ( _F_ 0 _· c_ )(¯ _x_ ) = 0 _;_ _there_ _is_ _exactly_ _one_ _extremal_ ( _x_ ( _·_ ) _, p_ ( _·_ ) _, u_ ( _·_ ) _, η_ ( _·_ )) _passing_ _through_ _z_ ¯ _,_ _such_ _that_ _c ◦_ _x_ ( _·_ ) = 0 _and_ ( _F_ 0 _· c_ ) _◦_ _x_ ( _·_ ) = 0 _,_ _and_ _it_ _is_ _defined_ _by_ _the_ _flow_ _of_ _Hc._ _ii)_ _Let_ _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ Σ <sup>0</sup> 1 <sup>_∩_</sup> <sup>Σ</sup> 01 <sup>0</sup> <sup>_,_</sup> <sup>_c_</sup> <sup>(¯</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>_and_</sup> <sup>(</sup> <sup>_F_</sup> <sup>0</sup> <sup>_· c_</sup> <sup>)(¯</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>_;_</sup> <sup>_there_</sup> <sup>_is_</sup> <sup>_exactly_</sup> <sup>_one_</sup> <sup>_extremal_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, p_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, u_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, η_</sup> <sup>(</sup> <sup>_·_</sup> <sup>))</sup> _passing_ _through_ _z_ ¯ _,_ _such_ _that_ _c ◦_ _x_ ( _·_ ) = 0 _,_ ( _F_ 0 _· c_ ) _◦_ _x_ ( _·_ ) = 0 _,_ _H_ 1 _◦_ _z_ ( _·_ ) = 0 _and_ _H_ 01 _◦_ _z_ ( _·_ ) = 0 _,_ _z_ ( _·_ ) := ( _x_ ( _·_ ) _, p_ ( _·_ )) _,_ _and_ _it_ _is_ _defined_ _by_ _the_ _flow_ _of_ _Hc._ _Proof._ First we show that the spaces _E_ 1 := _{x ∈_ _M_ _| c_ ( _x_ ) = 0 _} ∩{x ∈_ _M_ _|_ ( _F_ 0 _· c_ )( _x_ ) = 0 _}_ and _E_ 2 := _E_ 1 _∩_ Σ <sup>0</sup> 1 <sup>_∩_</sup> <sup>Σ</sup> 01 <sup>0</sup> <sup>=</sup> <sup>_E_</sup> <sup>1</sup> <sup>_∩_</sup> <sup>Σ</sup> <sup>_s_</sup> are invariant with respect to the flow of _Hc_ . Let _z_ ¯ := (¯ _x,_ ¯ _p_ ) _∈_ _T_ <sup>_∗_</sup> _M_, and let _z_ ( _·_ ) := ( _x_ ( _·_ ) _, p_ ( _·_ )) be the associated integral curve of _Hc_ passing through ¯ _z_ at time 0. Let _ϕ_ := ( _g, f, H_ 1 _, H_ 01) _◦z_ ( _·_ ), with _g_ := _c◦πx_ and _f_ := ( _F_ 0 _·c_ ) _◦πx_ ; then _ϕ_ is differentiable and we have the following. _ϕ_ ˙ 1( _t_ ) = _{Hc, g}_ ( _z_ ( _t_ )) _H_ 1 + _{c ◦_ _πx, g}_ - <u>��</u> = 0 _ηc_ + _{ηc, g}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) = = _{H_ 0 _, g}_ + _{H_ 1 _, g}_ ( _uc ◦_ _πx_ ) <u>�</u> <u>��</u> <u>�</u> = 0 ( _c_ of order 2) - ( _F_ 0 _· c_ ) _◦_ _πx_ + _{ηc, g}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _,_ + _{uc ◦_ _πx, g}_ <u>�</u> <u>��</u> <u>�</u> = 0 _ϕ_ ˙ 2( _t_ ) = _{Hc, f_ _}_ ( _z_ ( _t_ )) _H_ 1 + _{c ◦_ _πx, f_ _}_ <u>�</u> <u>��</u> <u>�</u> = 0 _ηc_ + _{ηc, f_ _}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _,_ _ηc_ + _{ηc, H_ 1 _}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _,_ = _{H_ 0 _, f_ _}_ + _{H_ 1 _, f_ _}_ ( _uc ◦_ _πx_ ) <u>�</u> �� = 0 by definition of _uc_ + _{uc ◦_ _πx, f_ _}_ - <u>��</u> <u>�</u> = 0 _ϕ_ ˙ 3( _t_ ) = _{Hc, H_ 1 _}_ ( _z_ ( _t_ )) ( _uc ◦_ _πx_ ) + _{uc ◦_ _πx, H_ 1 _} H_ 1 + _{c ◦_ _πx, H_ 1 _}_ - <u>��</u> <u>�</u> = 0 = _H_ 01 + _{H_ 1 _, H_ 1 _}_ - <u>��</u> <u>�</u> = 0 _ϕ_ ˙ 4( _t_ ) = _{Hc, H_ 01 _}_ ( _z_ ( _t_ )) + _{uc ◦_ _πx, H_ 01 _} H_ 1 + _{ηc, H_ 01 _}_ ( _c ◦_ _πx_ ) ( _z_ ( _t_ )) _,_ = _H_ 001 + _H_ 101 ( _uc ◦_ _πx_ ) + _{c ◦_ _πx, H_ 01 _} ηc_ <u>�</u> �� = 0 by definition of _ηc_ 19 so _ϕ_ ˙ ( _t_ ) = _A_ ( _t_ ) _ϕ_ ( _t_ ), with    ( _z_ ( _t_ )) _,_ _A_ ( _t_ ) :=  _{ηc, g}_ 1 0 0 _{ηc, f_ _}_ 0 0 0 _{ηc, H_ 1 _}_ 0 _{uc ◦_ _πx, H_ 1 _}_ 1 _{ηc, H_ 01 _}_ 0 _{uc ◦_ _πx, H_ 01 _}_ 0 and we have also ò ï _ϕ_ ˙ 1( _t_ ) _ϕ_ ˙ 2( _t_ ) _ϕ_ 2( _t_ ) ò = ï _{ηc, g}_ ( _z_ ( _t_ )) 1 _{ηc, f_ _}_ ( _z_ ( _t_ )) 0 ò ï _ϕ_ 1( _t_ ) _._ So if _ϕ_ 1(0) = _ϕ_ 2(0) = 0, _i.e._ _z_ ¯ _∈_ _E_ 1, then _ϕ_ 1 and _ϕ_ 2 are indentically zero and _z_ ( _·_ ) remains in _E_ 1. Now if _ϕ_ (0) = 0, _i.e._ _z_ ¯ _∈_ _E_ 2, then _ϕ_ is indentically zero and _z_ ( _·_ ) remains in _E_ 2. Now, _c_ <sup>_<u>∂H</u>_</sup> _∂η_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>))</sup> <sup>_η′_</sup> _c_ <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) =</sup> <sup>_<u>∂H</u>_</sup> _∂z_ <sup>_<u>∂H</u>_</sup> _∂u_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) (</sup> <sup>_uc ◦_</sup> <sup>_πx_</sup> <sup>)</sup> <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) +</sup> <sup>_<u>∂H</u>_</sup> _∂η_ _Hc_ <sup>_′_</sup> <sup>_<u>∂H</u>_</sup> _∂z_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) +</sup> <sup>_<u>∂H</u>_</sup> _∂u_ _c_ <sup>_′_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_,_</sup> with _<u>∂H</u>_ _∂η_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) =</sup> <sup>_c_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _<u>∂H</u>_ _<u>∂H</u>_ _∂u_ <sup>(</sup> <sup>_z, uc_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, ηc_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)) =</sup> <sup>_H_</sup> <sup>1(</sup> <sup>_z_</sup> <sup>)</sup> and _∂η_ so _•_ if _z_ ¯ _∈_ _E_ 1 and if we assume ( _uc ◦_ _πx_ ) <sup>_′_</sup> = 0 then _H_ <sup>_−→_</sup> _c_ ( _z_ ( _t_ )) = <sup>_−→_</sup> _H_ ( _z_ ( _t_ ) _, uc_ ( _x_ ( _t_ )) _, ηc_ ( _z_ ( _t_ ))) as _z_ ( _·_ ) remains in _E_ 1, and ( _z_ ( _·_ ) _, uc ◦_ _x_ ( _·_ ) _, ηc ◦_ _z_ ( _·_ )) is extremal. Item i) is proved. _•_ if _z_ ¯ _∈_ _E_ 2 then _H_ <sup>_−→_</sup> _c_ ( _z_ ( _t_ )) = <sup>_−→_</sup> _H_ ( _z_ ( _t_ ) _, uc_ ( _x_ ( _t_ )) _, ηc_ ( _z_ ( _t_ ))) as _z_ ( _·_ ) remains in _E_ 2, and ( _z_ ( _·_ ) _, uc ◦_ _x_ ( _·_ ) _, ηc ◦_ _z_ ( _·_ )) is extremal. Item ii) is proved. 4.2.1. _Structure_ _γ_ + _γc_ 1 _γ_ + _and_ _limit_ _case_ _γ_ + <sup>_c_</sup> <sup>1</sup> We introduce for _z_ := ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ the true Hamiltonian _Hc_ 1( _z_ ) := _H_ ( _z, uc_ 1( _x_ ) _, ηc_ 1( _z_ )) = _H_ 0( _z_ ) + _uc_ 1( _x_ ) _H_ 1( _z_ ) + _ηc_ 1( _z_ ) _c_ 1( _x_ ) _,_ where _c_ 1( _x_ ) = _x_ 1 _−_ 1, and _uc_ 1 and _ηc_ 1 are given by proposition 3.10. Here we consider a trajectory with a structure of the form _γ_ + _γc_ 1 _γ_ +, with non-empty arcs. We note _t_ 1 _< t_ 2 the junction times. To define the _multiple_ _shooting_ _function_ associated to this structure, we need the results about the transversality conditions and the level of the Hamiltonian from section 2.1, and we use also lemmas 3.3, 3.5 and proposition 4.5. We assume that A3 holds along _γc_ 1, and that at _t_ 2, there is no contact with the switching surface. Then, since _F_ 1 _· c_ 1 _≡_ _a_ 7 _>_ 0, then A1 is also satisfied, and from lemma 3.5 we have at _t_ 1, _ν_ 1 = 0, and at _t_ 2, _ν_ 2 _<_ 0 and the control is continuous at _t_ 2. Proposition 4.5 gives two conditions at time _t_ 1: _c_ 1 ( _πx_ ( _z_ 1)) = _H_ 1 ( _z_ 1) = 0. The multiple shooting function _S_ 2( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, z_ 1 _, z_ 2) is then given by the following equations. 0 = _c_ 1 ( _πx_ ( _z_ 1)) _,_ 0 = _H_ 1 ( _z_ 1) _,_ 1 = _uc_ 1 ( _πx_ ( _z_ 2)) _,_ 2 <sup>+)</sup> ä Ä _,_ 1 = _H_ + exp(( _tf_ _−_ _t_ 2) _H_ <sup>_−→_</sup> +)( _z_ 2 <sup>+</sup> 2 <sup>+)</sup> ä _,_ (1 _,_ 0 _,_ 0) = _π_ Ä exp(( _tf_ _−_ _t_ 2) _H_ <sup>_−→_</sup> +)( _z_ 2 <sup>+</sup> _−→_ 0 = exp( _t_ 1 _H_ +)( _z_ 0) _−_ _z_ 1 _,_ 0 = exp(( _t_ 2 _−_ _t_ 1) <sup>_−−→_</sup> _Hc_ 1)( _z_ 1) _−_ _z_ 2 _,_ where _z_ 0 := ( _x_ 0 _, p_ 0), _x_ 0 = (0 _,_ 0 _,_ 0) is fixed, _z_ 2 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_ν_</sup> <sup>2</sup> <sup>_c_</sup> 1 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>2))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>.</sup> <sup>The</sup> <sup>last</sup> <sup>two</sup> <sup>equations</sup> <sup>are</sup> <sup>classical</sup> matching conditions: see [10] for details about multiple shooting methods. The _multiple_ _shooting_ _method_ in the case of structure _γ_ + _γc_ 1 _γ_ + consists in finding a zero of the multiple shooting function _S_ 2, _i.e._ in solving _S_ 2( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, z_ 1 _, z_ 2) = 0 _._ A zero of the shooting function _S_ 2 = 0 gives a BC-extremal of the form _γ_ + _γc_ 1 _γ_ + which satisfies the necessary conditions of optimality of section 3.2.3. 20 Limit case _γ_ + <sup>_c_</sup> <sup>1</sup> Limit case _γ_ + <sup>_c_</sup> <sup>1.</sup> <sup>In</sup> <sup>the</sup> <sup>limit</sup> <sup>case</sup> <sup>where</sup> <sup>_t_</sup> <sup>1</sup> <sup>=</sup> <sup>_t_</sup> <sup>2,</sup> <sup>we</sup> <sup>have</sup> <sup>a</sup> <sup>contact</sup> <sup>with</sup> <sup>the</sup> <sup>boundary</sup> <sup>_C_</sup> <sup>1</sup> <sup>instead</sup> <sup>of</sup> <sup>a</sup> <sup>junction.</sup> We note _γ_ + <sup>_c_</sup> <sup>1</sup> <sup>an</sup> <sup>arc</sup> <sup>_γ_</sup> <sup>+</sup> <sup>with</sup> <sup>a</sup> <sup>contact</sup> <sup>point</sup> <sup>with</sup> <sup>_C_</sup> <sup>1.</sup> + <sup>_c_</sup> <sup>1</sup> <sup>an</sup> <sup>arc</sup> <sup>_γ_</sup> <sup>+</sup> <sup>with</sup> <sup>a</sup> <sup>contact</sup> <sup>point</sup> <sup>with</sup> <sup>_C_</sup> <sup>1.</sup> 4.2.2. _Structure_ _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>_and_</sup> <sup>_limit_</sup> <sup>_case_</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> + We define the multiple shooting function _S_ 3 associated to the structure _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> We define the multiple shooting function _S_ 3 associated to the structure _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3.</sup> <sup>We</sup> <sup>assume</sup> <sup>that</sup> A3 holds along _γc_ 1, and that at _t_ 2 (the exit-time of _γc_ 1), there is no contact with the switching surface. The last bang arc has a contact point with the boundary _C_ 3 so is labeled _γ_ + <sup>_c_</sup> <sup>3.</sup> <sup>The</sup> <sup>multiple</sup> <sup>shooting</sup> <sup>function</sup> last bang arc has a contact point with the boundary _C_ 3 so is labeled _γ_ + <sup>_c_</sup> <sup>3.</sup> <sup>The</sup> <sup>multiple</sup> <sup>shooting</sup> <sup>function</sup> _S_ 3( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, t_ 5 _, ν_ 5 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4 _, z_ 5) is defined by the following equations. 0 = _c_ 1 ( _πx_ ( _z_ 1)) _,_ 0 = _H_ 1 ( _z_ 1) _,_ 1 = _uc_ 1 ( _πx_ ( _z_ 2)) _,_ 0 = _H_ 1 ( _z_ 3) _,_ 0 = _H_ 1 ( _z_ 4) _,_ 0 = _c_ 3 ( _πx_ ( _z_ 5)) _,_ 0 = ( _F_ 0 _· c_ 3)( _πx_ ( _z_ 5)) _,_ 5 <sup>+)</sup> ä 5 <sup>+)</sup> ä Ä _,_ 1 = _H_ + exp(( _tf_ _−_ _t_ 5) _H_ <sup>_−→_</sup> +)( _z_ 5 <sup>+</sup> _,_ (1 _,_ 0 _,_ 0) = _π_ Ä exp(( _tf_ _−_ _t_ 5) _H_ <sup>_−→_</sup> +)( _z_ 5 <sup>+</sup> _−→_ 0 = exp( _t_ 1 _H_ +)( _z_ 0) _−_ _z_ 1 _,_ 0 = exp(( _t_ 2 _−_ _t_ 1) <sup>_−−→_</sup> _Hc_ 1)( _z_ 1) _−_ _z_ 2 _,_ 0 = exp(( _t_ 3 _−_ _t_ 2) _H_ <sup>_−→_</sup> +)( _z_ 2 <sup>+)</sup> <sup>_−_</sup> <sup>_z_</sup> <sup>3</sup> <sup>_,_</sup> 0 = exp(( _t_ 4 _−_ _t_ 3) _H_ <sup>_−→_</sup> _−_ )( _z_ 3) _−_ _z_ 4 _,_ 0 = exp(( _t_ 5 _−_ _t_ 4) _H_ <sup>_−→_</sup> +)( _z_ 4) _−_ _z_ 5 _,_ where _z_ 0 := ( _x_ 0 _, p_ 0), _x_ 0 = (0 _,_ 0 _,_ 0) is fixed, _z_ 2 <sup>+</sup> 2 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_ν_</sup> <sup>2</sup> <sup>_c_</sup> 1 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>2))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>,</sup> <sup>and</sup> <sup>_z_</sup> 5 <sup>+</sup> where _z_ 0 := ( _x_ 0 _, p_ 0), _x_ 0 = (0 _,_ 0 _,_ 0) is fixed, _z_ 2 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_ν_</sup> <sup>2</sup> <sup>_c_</sup> 1 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>2))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>,</sup> <sup>and</sup> <sup>_z_</sup> 5 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>5</sup> <sup>_−_</sup> <sup>_ν_</sup> <sup>5</sup> <sup>_c_</sup> 3 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>5))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>.</sup> <sup>The</sup> _multiple shooting method_ in the case of structure _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>consists in finding a zero of the multiple shooting</sup> _multiple shooting method_ in the case of structure _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>consists in finding a zero of the multiple shooting</sup> function _S_ 3, _i.e._ in solving _S_ 3( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, t_ 5 _, ν_ 5 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4 _, z_ 5) = 0 _,_ and we get a BC-extremal of the form _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3.</sup> Limit case _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . In the limit case where _t_ 3 = _t_ 4, we have a contact of order 2 with the switching surface instead of two consecutive contacts of order 1, see 2.4.2. We note _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> an arc _γ_ + with a contact point of order 2 with the switching surface defined by _H_ 1 = 0 followed by a contact point with _C_ 3. In this case, we have one unknown _τ_ instead of two ( _t_ 3 and _t_ 4), with associated point _zτ_ (instead of _z_ 3 and _z_ 4) but we may add as extra unknown the parameter _v_ max; all others parameters from _w_ remain fixed. Now, we may replace _H_ 1( _z_ 3) = _H_ 1( _z_ 4) = 0 by _H_ 1( _zτ_ ) = _H_ 01( _zτ_ ) = 0. 4.2.3. _Structure_ _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 We introduce for _z_ := ( _x, p_ ) _∈_ _T_ <sup>_∗_</sup> _M_ the true Hamiltonian _Hc_ 3( _z_ ) := _H_ ( _z, uc_ 3( _x_ ) _, ηc_ 3( _z_ )) = _H_ 0( _z_ ) + _uc_ 3( _x_ ) _H_ 1( _z_ ) + _ηc_ 3( _z_ ) _c_ 3( _x_ ) _,_ where _c_ 3( _x_ ) = _x_ 3 _−_ 1, and _uc_ 3 and _ηc_ 3 are given by proposition 3.10. We define now the multiple shooting function _S_ 4 associated to the strucutre _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3, We assume that A3 holds along _γc_ 1 and _γc_ 3 ( A1 is satisfied along _γc_ 1 and _γc_ 3), and that at _t_ 2 (the exit-time of _γc_ 1), there is no contact with the switching surface. We use propositions 4.5 and 4.6 and lemmas 3.3, 3.5, 3.7 and 3.8 with the results from section 2.1 to get the multiple shooting function _S_ 4. One can recall that the transversality conditions _p_ 1( _tf_ ) = _p_ 3( _tf_ ) = 0 are equivalent to Φ( _tf_ ) = Φ( <sup>˙</sup> _tf_ ) = 0, and that the control is constant along _γc_ 3. Then according to proposition 4.6, we only need to check that _c_ 3 and _F_ 0 _· c_ 3 are zero at the entry-time of _γc_ 3. The following equations describe the 21 multiple shooting function _S_ 4( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, ν_ 4 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4). 0 = _c_ 1 ( _πx_ ( _z_ 1)) _,_ 0 = _H_ 1 ( _z_ 1) _,_ 1 = _uc_ 1 ( _πx_ ( _z_ 2)) _,_ 0 = _H_ 1 ( _z_ 3) _,_ 0 = _c_ 3 ( _πx_ ( _z_ 4)) _,_ 0 = ( _F_ 0 _· c_ 3)( _πx_ ( _z_ 4)) _,_ 4 <sup>+)</sup> ä _,_ Ä _,_ 1 = _H_ + exp(( _tf_ _−_ _t_ 4) _H_ <sup>_−→_</sup> +)( _z_ 4 <sup>+</sup> 4 <sup>+)</sup> ä (1 _,_ 0 _,_ 0) = _π_ Ä exp(( _tf_ _−_ _t_ 4) _H_ <sup>_−→_</sup> +)( _z_ 4 <sup>+</sup> _−→_ 0 = exp( _t_ 1 _H_ +)( _z_ 0) _−_ _z_ 1 _,_ 0 = exp(( _t_ 2 _−_ _t_ 1) <sup>_−−→_</sup> _Hc_ 1)( _z_ 1) _−_ _z_ 2 _,_ 0 = exp(( _t_ 3 _−_ _t_ 2) _H_ <sup>_−→_</sup> +)( _z_ 2 <sup>+)</sup> <sup>_−_</sup> <sup>_z_</sup> <sup>3</sup> <sup>_,_</sup> 0 = exp(( _t_ 4 _−_ _t_ 3) _H_ <sup>_−→_</sup> _−_ )( _z_ 3) _−_ _z_ 4 _,_ 2 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>2</sup> <sup>_−ν_</sup> <sup>2</sup> <sup>_c_</sup> 1 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>2))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>, and</sup> <sup>_z_</sup> 4 <sup>+</sup> where _z_ 0 := ( _x_ 0 _, p_ 0), _x_ 0 = (0 _,_ 0 _,_ 0) fixed, _z_ 2 <sup>+</sup> where _z_ 0 := ( _x_ 0 _, p_ 0), _x_ 0 = (0 _,_ 0 _,_ 0) fixed, _z_ 2 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>2</sup> <sup>_−ν_</sup> <sup>2</sup> <sup>_c_</sup> 1 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>2))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>, and</sup> <sup>_z_</sup> 4 <sup>+</sup> <sup>:=</sup> <sup>_z_</sup> <sup>4</sup> <sup>_−ν_</sup> <sup>4</sup> <sup>_c_</sup> 3 <sup>_′_</sup> <sup>(</sup> <sup>_πx_</sup> <sup>(</sup> <sup>_z_</sup> <sup>4))</sup> _∂p_ <sup>_<u>∂</u>_</sup> <sup>.</sup> <sup>The</sup> <sup>_multiple_</sup> _shooting method_ in the case of structure _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 consists in finding a zero of the multiple shooting function _S_ 4, _i.e._ in solving _S_ 4( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, ν_ 4 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4) = 0 _,_ and we get a BC-extremal of the form _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3. Limit case _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 with _uc_ 3( _·_ ) _≡_ +1. This is a particular case when the boundary and regular arcs are identical. This phenomenon happens at the interface between _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> <sup>+</sup> <sup>_γ−γc_</sup> 3 <sup>(with</sup> <sup>_uc_</sup> 3 <sup>_<_</sup> <sup>1)</sup> trajectories, see section 3.4. Limit case _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 with _t_ 2 = _t_ 3. In the limit case when _t_ 2 = _t_ 3, we have a trajectory of the form _γ_ + _γc_ 1 _γ−γc_ 3. From _S_ 4, it is straightforward to obtain the multiple shooting function _S_ 5 associated to the structure _γ_ + _γc_ 1 _γ−γc_ 3. 4.2.4. _`HamPath`_ _code_ For any case presented in section 4.2, the user must provide the true Hamiltonians and the shooting function. The `HamPath` code supply automatically (by AD and integrating the Hamiltonian and variational systems) the exponential mappings, the Jacobian of the shooting function and the nonlinear solver. 4.3. Differential path following method The shooting method solves a single optimal control problem, _i.e._ all the parameters in _w_ are fixed. To solve a one-parameter family of optimal control problems, _e.g._ for different values of _w_ 10 = _i_ max, we use differential path following techniques with arclength parametrization (or homotopy method). Let _h_ : R <sup>_N_</sup> _×_ R _→_ R <sup>_N_</sup>, _h_ ( _y, λ_ ), denote an homotopic function. For example, one can consider the homotopic function defined by _S_ 1, with _y_ := ( _p_ 0 _, tf_ ), _N_ = 4 and _λ_ := _w_ 10 ( _i_ max is here an independent variable). We are interested in solving _h_ = 0. Under some assumptions, the solutions set forms a one-dimensional manifold. The classical difficulties about homotopic methods consist in assuring that a curve in _h_ <sup>_−_</sup> <sup>1</sup> ( _{_ 0 _}_ ) exists, is sufficiently smooth and will intersect a fixed target homotopic level in finite length. Suppose _h_ is continuously differentiable and that we know _y_ 0 such that _h_ ( _y_ 0 _, λ_ 0) = 0 and ã rank Å _<u>∂h</u>_ _∂y_ <sup>(</sup> <sup>_y_</sup> <sup>0</sup> <sup>_, λ_</sup> <sup>0)</sup> = _N._ Suppose also that 0 is a regular value of _h_ . Then a continuously differentiable curve starting from ( _y_ 0 _, λ_ 0) exists and is either diffeomorphic to a circle or the real line. The curves in _h_ <sup>_−_</sup> <sup>1</sup> ( _{_ 0 _}_ ) are disjoints, and we call each branch of _h_ <sup>_−_</sup> <sup>1</sup> ( _{_ 0 _}_ ) a path of zeros. Unlike well-known prediction-correction methods, see [2], the `HamPath` code implements an algorithm which merely follow the path of zeros by integrating the associated differential system with a high order Runge-Kutta 22 scheme, without any correction. The key point is to compute efficiently the Jacobian of the homotopic function with the tools presented in section 4.1.2. See [7,11] for more details about the algorithm. We group together in Table 2, the different homotopies we need for the numerical results. Shooting fun. Homotopic fun. Structure Homotopic par. _S_ 1( _p_ 0 _, tf_ ) _h_ 1 _γ_ + _i_ max _S_ 2( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, z_ 1 _, z_ 2) _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> _γ_ + _γc_ 1 _γ_ + _i_ max _S_ 2( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, z_ 1 _, z_ 2) _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> _γ_ + _γc_ 1 _γ_ + _v_ max _S_ 3( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, t_ 5 _, ν_ 5 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4 _, z_ 5) _h_ 3 _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> _v_ max _S_ 4( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, ν_ 4 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4) _h_ 4 _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 _v_ max _S_ 5( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, t_ 3 _, ν_ 3 _, z_ 1 _, z_ 2 _, z_ 3) _h_ 5 _γ_ + _γc_ 1 _γ−γc_ 3 _v_ max Table 2. The homotopic function name with the associated shooting function, the associated strategy and the homotopic parameter. 5. Numerical results _Lm_ _Rm_ _Km_ _V_ alim _r_ _Kr_ _g_ _Kf_ _M_ _ρ_ _S_ _Cx_ _R_ bat 0.05 0.03 0.27 150.0 0.33 10.0 9.81 0.03 250.0 1.293 2.0 0.4 0.05 Table 3. Names and values of the electric solar car parameters. 5.1. Case study In the following subsections, we present the numerical results we obtained for different instances of problem ( _P_ tmin). From the experimental point of view we are interested in parameter values which are real world data, and we choose to model an electrical solar car. These values are taken from [26] and given in Table 3. The different instances of problem ( _P_ tmin) depend on the values of _i_ max and _v_ max. The parameter _αf_ will be fixed to 100. In this setting, the state unconstrained problem is quite simple since the optimal trajectory is _γ_ +, see proposition 2.11. The complexity comes from the two state constraints of orders 1 and 2. Different phenomenons are expected depending on which constraint is active. Let consider first an homotopy on the bound of an order 1 state constraint, let’s say _i_ max. For big enough values of _i_ max, the optimal trajectory has no contact point nor boundary arc. It is known that if we start to decrease the value of _i_ max until we get a trajectory with a contact point, then for values of _i_ max just smaller, the contact point is turned into a boundary arc of small length. This is quite different for an order 2 state constraint. We start again with a big value of _v_ max and then we decrease _v_ max until we have a trajectory with a contact point. Then, for just smaller values of _v_ max, we still have trajectories with only a contact point and not a boundary arc. This can be seen in subsection 5.3. Some examples with state constraints of different orders are solved (analytically) in Bryson _et_ _al._ [9] and Jacobson _et_ _al._ [17]. 23 5.2. Procedure to study the influence of _i_ max and _v_ max on BC-extremals We start this section with a remark which is crucial for the numerical experiments of section 5. Remark 5.1. Actually, from any zero of any shooting function is associated a unique 4-tuple ( _x_ ( _·_ ) _, p_ ( _·_ ) _, u_ ( _·_ ) _, η_ ( _·_ )) which is not necessarily a BC-extremal. The shooting method does not guarantee that the state _x_ ( _·_ ) satisfies the path constraints and that the times are well ordered. Indeed, solving for example _S_ 2 = 0 could give a time _t_ 2 smaller than the time _t_ 1. Hence, when we solve the shooting equations, we have to check a posteriori that the associated 4-tuple is a BC-extremal. To guarantee that the 4-tuple is a BC-extremal we check that _c_ 1( _x_ ( _t_ )) _≤_ 0 and _c_ 3( _x_ ( _t_ )) _≤_ 0 for all _t_ _∈_ [ _t_ 0 _, tf_ ], and we check that _ti_ _≤_ _ti_ +1, where _ti_ is either the initial time or the final time or a switching time. Definition 5.2. We say that the 4-tuple associated to a zero of a shooting function is _admissible_ if it is a BC-extremal and _non_ _admissible_ if it is not a BC-extremal. We say that a structure is _admissible_ if it exists a zero of the associated shooting function for which the associated 4-tuple is admissible, and we say that a structure is _non_ _admissible_ in the other case. The procedure to study the influence of _i_ max and _v_ max on the structure of the BC-extremals is the following: (1) The maximum principle combined with geometric analysis is applied first to reduce the set of possible types of extremals, then to compute the parameterization of each kind of possible extremals ( _i.e._ it gives the analytical expressions of the control and the Lagrange multiplier _η_ ), and finally to give junction conditions. (2) For a given admissible structure, in order to apply indirect numerical methods, we need first to define the associated shooting function, and then the shooting function is computed, and its regularity and invertibility are checked. (3) All the study is about how the structures evolve with respect to the parameters _i_ max and _v_ max. Hence, we fix starting values for _i_ max and _v_ max, and we fix an initial admissible structure. In our case, we fix _i_ max and _v_ max big enough such that _γ_ + is admissible (it is even the optimal structure, see proposition 2.11). (4) Numerical simulations based on indirect methods are applied; starting from a BC-extremal given by the shooting methods, we use homotopy methods to deform the BC-extremal until we detect <sup>5</sup> that the associated 4-tuple becomes non admissible. (5) When we detect along an homotopy that the 4-tuple is non admissible, we determine the new structure combining the theoretical results with the reason for the change in the structure and then we look for a new adimissible 4-tuple. Let note Λ := ( _i_ max _, v_ max) the value when the structure has to change. Before starting a new homotopy we valid the new structure by checking first that this new structure is admissible and then by checking that the limit cases for both structures (the old and the new) at Λ give the same trajectory. Remark 5.3. In this procedure, we do not check the global optimality of the BC-extremals but only the fact that the structures are valid, _i.e._ admissible and have compatible limit cases. This procedure is exactly the method we use in section 5.3. To explain in detail the construction of the synthesis in section 5.4, we need the following definition about the degree of an admissible structure at a given point Λ := ( _i_ max _, v_ max). Definition 5.4. We say that a structure _γ_ is of _degree_ _1_ _at_ Λ <sup>¯</sup> if it exists a neighborhood _V_ _⊂_ R <sup>2</sup> of Λ <sup>¯</sup> such that for every Λ _∈V_, _γ_ is admissible at Λ ( _i.e._ when the values of the parameters _i_ max and _v_ max are given by Λ). We say that a structure _γ_ is of _degree_ _k_ _at_ Λ, <sup>¯</sup> _k_ _≥_ 2, if for every sufficiently small neighborhood _V_ of Λ, <sup>¯</sup> there exists _k_ structures _γi_, there exists _k_ sets _Di_ of non empty interior and a set _I_ of empty interior such that 5With the `HamPath` code, we can check if the structure is admissible at each integration step of the homotopy method, and we can stop the homotopy if a change in the structure occurs. 24 _{I, D_ 1 _, · · ·_ _, Dk}_ is a partition of _V_ and such that for every Λ _i_ _∈_ _Di_, _i_ = 1 _, · · ·_ _, k_, _γi_ is of degree 1 at Λ _i_, and the structures are compatible, _i.e._ the limit cases at a given point of _V_ give the same trajectory. Remark 5.5. In the Figure 19 presenting the synthesis, the structures of degree 2 are given by the blue lines, while the structures of degree greater than 3 are represented by red points. The structures of degree 1 are contained in the domains of non-empty interiors. In section 5.3, to study the practical case when _i_ max = 150, we only perform homotopies on structures of degree 1 and we detect a change when we reach a structure <sup>6</sup> of degree 2. To construct the synthesis with respect to the parameters _i_ max and _v_ max we do the following: (1) We start an homotopy on a structure of degree 1 until we reach a structure of degree 2. We start a new homotopy with the new valid structure of degree 1 and continue the exploration. (2) We compute the branch (a blue line on Figure 19) corresponding to a structure of degree 2 by homotopy until we reach a structure of degree greater than 3. We can see that the construction of the synthesis is heuristic and about exploration. Thus, the synthesis represented by the Figures 19 and 20 is not necessarily complete. Moreover, this procedure does not guarantee the optimality of the BC-extremals but this synthesis is a first step toward the optimal synthesis. 5.3. Influence of the maximal current and the maximal velocity (with _αf_ = 100 ) _v_ max 110 _v_ max <sup>_c_</sup> <sup>3</sup> _γc_ 3 _v_ max _v_ max <sup>+</sup> 2 _~~◦~~_ _h_ <sup>(</sup> <sup>_b_</sup> <sup>)</sup> <sup>(</sup> <sup>_b_</sup> <sup>)</sup> 2 _~~•~~_ _h_ 3 _~~•~~_ _h_ 4 _~~•~~_ _h_ 5 _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> _h_ 1 _•_ _◦_ 10 _~~◦~~_ 150 _i_ <sup>_c_</sup> max <sup>1</sup> 1100 _i_ max Figure 4. Schematic view of the method used to compute the sub-optimal synthesis for _αf_ = 100, _i_ max = 150 and _v_ max _∈_ [10 _,_ 110], starting from ( _i_ max _, v_ max) = (1100 _,_ 110). The symbol _•_ represents a change of structure while _◦_ means a choice to start or stop an homotopy. The scale is not respected. See Table 2 for the corresponding structures. From now on, the parameter _αf_ is fixed to 100, so the car has to cover 100m in minimum time. We are interested in the case _i_ max = 150 since it has a practical interest, see [26]. In this case, the optimal trajectories may have boundary arcs. Thus, we start with values of _i_ max and _v_ max big enough to deal with trajectories without boundary arcs. Then we first decrease the value of _i_ max to _i_ max = 150 and finally we build a suboptimal synthesis for _i_ max = 150 and _v_ max _∈_ [10 _,_ 110]. A schematic view of the method is presented in Figure 4, that we explain hereinafter. _•_ Let fix ( _i_ max _, v_ max) = (1100 _,_ 110). By proposition 2.11 the optimal trajectory is in this case _γ_ +. _•_ When ( _i_ max _, v_ max) = ( _i_ <sup>_c_</sup> max <sup>1</sup> <sup>_,_</sup> <sup>110),</sup> <sup>the</sup> <sup>trajectory</sup> <sup>has</sup> <sup>now</sup> <sup>a</sup> <sup>contact</sup> <sup>point</sup> <sup>with</sup> <sup>the</sup> <sup>boundary</sup> <sup>_C_</sup> <sup>1,</sup> <sup>thus</sup> the strategy is _γ_ + <sup>_c_</sup> <sup>1,</sup> <sup>_c_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> <sup>_x_</sup> <sup>1</sup> <sup>_−_</sup> <sup>1.</sup> <sup>For</sup> <sup>(</sup> <sup>_i_</sup> <sup>max</sup> <sup>_, v_</sup> <sup>max)</sup> <sup>=</sup> <sup>(</sup> <sup>_i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_ε,_</sup> <sup>110),</sup> <sup>_ε_</sup> <sup>_>_</sup> <sup>0</sup> <sup>small,</sup> <sup>the</sup> <sup>contact</sup> <sup>point</sup> has turned into a boundary arc since the constraint is of order 1. The structure becomes _γ_ + _γc_ 1 _γ_ +, with 6We can consider in this case that the probability to reach a structure of degree greater than 3 is zero. 25 _t_ 1 _< t_ 2 the junction times with the boundary. According to lemma 3.5, _ν_ 1 = 0 and _ν_ 2 _<_ 0, so the control is continuous at _t_ 2. Moreover, the boundary control _uc_ 1( _·_ ) is strictly increasing since _a_ 4 + _a_ 5 + _a_ 6 _>_ 0, so it has to be discontinuous at time _t_ 1 and continuous at time _t_ 2 and A3 is satisfied. _•_ When ( _i_ max _, v_ max) = (150 _, v_ max <sup>_c_</sup> <sup>3</sup> <sup>), the last arc has a contact point with the boundary</sup> <sup>_C_</sup> <sup>3</sup> <sup>(</sup> <sup>_c_</sup> <sup>3(</sup> <sup>_x_</sup> <sup>) =</sup> <sup>_x_</sup> <sup>3</sup> <sup>_−_</sup> <sup>1).</sup> For just smaller values of _v_ max, _i.e._ for _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>_−_</sup> <sup>_ε_</sup> <sup>,</sup> <sup>_ε_</sup> <sup>_>_</sup> <sup>0</sup> <sup>small,</sup> <sup>the</sup> <sup>structure</sup> <sup>has</sup> <sup>to</sup> <sup>change.</sup> Indeed, the last bang arc would cross the boundary, so this arc becomes a sequence _γ_ + _γ−γ_ + (there is no singular arc, see proposition 2.5). It is quite different from previous item, since here the constraint is of order 2; the trajectory for _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>_−_</sup> <sup>_ε_</sup> <sup>still</sup> <sup>has</sup> <sup>a</sup> <sup>contact</sup> <sup>point</sup> <sup>with</sup> <sup>_C_</sup> <sup>3.</sup> <sup>As</sup> <sup>a</sup> <sup>consequence,</sup> the limit case for _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>is</sup> <sup>not</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_c_</sup> <sup>3</sup> <sup>but</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> and the last bang arc has a contact of + <sup>_c_</sup> <sup>3</sup> <sup>but</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> the limit case for _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>is</sup> <sup>not</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_c_</sup> <sup>3</sup> <sup>but</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> and the last bang arc has a contact of order 2 with the switching surface. _γc_ 3 _•_ When ( _i_ max _, v_ max) = (150 _, v_ max <sup>),</sup> <sup>the</sup> <sup>boundary</sup> <sup>control</sup> <sup>_u_</sup> _c_ 3 <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>is</sup> <sup>admissible,</sup> <sup>_i.e._</sup> <sup>_u_</sup> _c_ 3 <sup>(</sup> <sup>_·_</sup> <sup>) = 1,</sup> <sup>which</sup> <sup>gives</sup> _γc_ 3 _γc_ 3 _v_ max <sup>_≈_</sup> <sup>65</sup> <sup>_._</sup> <sup>6042.</sup> <sup>The</sup> <sup>structure</sup> <sup>for</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> max <sup>_−_</sup> <sup>_ε_</sup> <sup>is</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> _c_ 3 <sup>.</sup> _γc_ 3 _γc_ 3 _v_ max <sup>_≈_</sup> <sup>65</sup> <sup>_._</sup> <sup>6042.</sup> <sup>The</sup> <sup>structure</sup> <sup>for</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> max <sup>_−_</sup> <sup>_ε_</sup> <sup>is</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> _c_ 3 <sup>.</sup> _•_ When ( _i_ max _, v_ max) = (150 _, v_ max <sup>+</sup> <sup>) the second bang arc collapses, and the trajectories become</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ−γc_</sup> 3 <sup>.</sup> _γc_ 3 max <sup>_≈_</sup> <sup>65</sup> <sup>_._</sup> <sup>6042.</sup> <sup>The</sup> <sup>structure</sup> <sup>for</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> 5.3.1. _Homotopies_ _h_ 1 _and_ _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> _and_ _intermediate_ _trajectory_ _of_ _the_ _form_ _γ_ + <sup>_c_</sup> <sup>1</sup> 2 + We first choose _i_ max and _v_ max big enough to get a trajectory with only interior arcs. In this case, the optimal trajectory is of the form _γ_ +. We fix _i_ max = 1100A and _v_ max = 110km.h <sup>_−_</sup> <sup>1</sup> and we solve _S_ 1( _y_ 1) = 0, where _y_ 1 := ( _p_ 0 _, tf_ ). The solution is _y_ ¯1 _≈_ (0 _._ 3615 _,_ 6 _._ 4479 _,_ 0 _._ 2416 _,_ 5 _._ 6156) <sup>7</sup> . The trajectory _x_ ( _·_ ) with its associated costate _p_ ( _·_ ) are portrayed in Figure 5. Let _i_ <sup>_c_</sup> max <sup>1</sup> <sup>=</sup> <sup>_i_</sup> <sup>max</sup> <sup>_×_</sup> <sup>max</sup> _t∈_ [0 _,tf_ ] <sup>_x_</sup> <sup>1(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_≈_</sup> <sup>1081</sup> <sup>_._</sup> <sup>94,</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>1100</sup> <sup>_,_</sup> <sup>denote</sup> <sup>the</sup> maximal current along the trajectory _x_ ( _·_ ). This maximal current does not depend on _i_ max for the trajectories of the form _γ_ +. For ( _i_ max _, v_ max) = ( _i_ <sup>_c_</sup> max <sup>1</sup> <sup>_,_</sup> <sup>110),</sup> <sup>then</sup> <sup>the</sup> <sup>structure</sup> <sup>is</sup> <sup>_γ_</sup> + <sup>_c_</sup> <sup>1.</sup> <sup>We</sup> <sup>use</sup> <sup>the</sup> <sup>differential</sup> <sup>homotopy</sup> of the form _γ_ +. For ( _i_ max _, v_ max) = ( _i_ <sup>_c_</sup> max <sup>1</sup> <sup>_,_</sup> <sup>110),</sup> <sup>then</sup> <sup>the</sup> <sup>structure</sup> <sup>is</sup> <sup>_γ_</sup> + <sup>_c_</sup> <sup>1.</sup> <sup>We</sup> <sup>use</sup> <sup>the</sup> <sup>differential</sup> <sup>homotopy</sup> method presented in section 4.3 to solve _h_ 1( _y_ 1 _, i_ max) = 0, for _i_ max _∈_ [ _i_ <sup>_c_</sup> max <sup>1</sup> <sup>_,_</sup> <sup>1100],</sup> <sup>starting</sup> <sup>from</sup> <sup>_i_</sup> <sup>max</sup> <sup>= 1100.</sup> When _i_ max _<_ _i_ <sup>_c_</sup> max <sup>1</sup> <sup>the</sup> <sup>structure</sup> <sup>is</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> <sup>+.</sup> To initialize the shooting method and solve _S_ 2( _y_ 2) = 0, _y_ 2 := ( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, z_ 1 _, z_ 2), we use the BC-extremal _γ_ + with _i_ max = _i_ <sup>_c_</sup> max <sup>1</sup> <sup>from</sup> <sup>the</sup> <sup>path</sup> <sup>of</sup> <sup>zeros</sup> <sup>of</sup> <sup>_h_</sup> <sup>1.</sup> <sup>Then</sup> we solve _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, i_</sup> <sup>max)</sup> <sup>=</sup> <sup>0,</sup> <sup>for</sup> <sup>_i_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[150</sup> <sup>_, i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>],</sup> <sup>starting</sup> <sup>from</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_ic_</sup> max <sup>1</sup> <sup>.</sup> <sup>Figure</sup> <sup>6</sup> <sup>displays</sup> <sup>the</sup> <sup>initial,</sup> we solve _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, i_</sup> <sup>max)</sup> <sup>=</sup> <sup>0,</sup> <sup>for</sup> <sup>_i_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[150</sup> <sup>_, i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>],</sup> <sup>starting</sup> <sup>from</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_ic_</sup> max <sup>1</sup> <sup>.</sup> <sup>Figure</sup> <sup>6</sup> <sup>displays</sup> <sup>the</sup> <sup>initial,</sup> the junction and the final times and the jump _ν_ 2 along the path of zeros of _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>One</sup> <sup>may</sup> <sup>notice</sup> <sup>that</sup> <sup>the</sup> the junction and the final times and the jump _ν_ 2 along the path of zeros of _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>One</sup> <sup>may</sup> <sup>notice</sup> <sup>that</sup> <sup>the</sup> jump is not zero when _i_ max = _i_ <sup>_c_</sup> max <sup>1</sup> <sup>.</sup> <sup>As</sup> <sup>a</sup> <sup>consequence,</sup> <sup>the</sup> <sup>extremals</sup> <sup>at</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_ic_</sup> max <sup>1</sup> <sup>from</sup> <sup>the</sup> <sup>paths</sup> <sup>of</sup> <sup>zeros</sup> <sup>of</sup> _h_ 1 and _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> are not equal. The state trajectories are the same but not the costate trajectories. However, the _h_ 1 and _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> are not equal. The state trajectories are the same but not the costate trajectories. However, the differences between the costates are clearly shown in Figure 7. As a matter of fact, from the solution (¯ _y_ 1 _, i_ <sup>_c_</sup> max <sup>1</sup> <sup>)</sup> of _h_ 1( _y_ 1 _, i_ <sup>_c_</sup> max <sup>1</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>it</sup> <sup>is</sup> <sup>possible</sup> <sup>to</sup> <sup>determine</sup> <sup>completely</sup> <sup>the</sup> <sup>solution</sup> <sup>(¯</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, ic_</sup> max <sup>1</sup> <sup>)</sup> <sup>of</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_a_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>and</sup> <sup>we</sup> of _h_ 1( _y_ 1 _, i_ <sup>_c_</sup> max <sup>1</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>it</sup> <sup>is</sup> <sup>possible</sup> <sup>to</sup> <sup>determine</sup> <sup>completely</sup> <sup>the</sup> <sup>solution</sup> <sup>(¯</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, ic_</sup> max <sup>1</sup> <sup>)</sup> <sup>of</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_a_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>and</sup> <sup>we</sup> can easily initialize the homotopy _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> 1 0.5 0 −0.5 ~~x~~ 1 ~~x~~ ~~2~~ <u>x</u> <u>3</u> ~~p~~ <u>1</u> <u>p</u> <u>3</u> 1 0.8 0.6 0.4 0.2 0 −0.2 0 0.2 0.4 0.6 0.8 1 t/t f 0 0.2 0.4 0.6 0.8 1 t/t f Figure 5. Trajectory _γ_ +. State and costate for ( _i_ max _, v_ max) = (1100 _,_ 110). The component _p_ 2 _≈_ 6 _._ 4479 is constant. The terminal constraint _x_ 2( _tf_ ) = 1 is satisfied. 7The value of _y_ ¯1 with all the digits gives a very accurate solution since _∥S_ 1(¯ _y_ 1) _∥≈_ 1 _._ 5 _e−_ 15. 26 <u>1508</u> _<u>i</u>_ <sup>_c_</sup> <u>m</u> <sup>1</sup> ax 7 6 5 4 3 2 1 0 200 400 600 800 1000 i max 150 _i_ <sup>_c_</sup> max <sup>1</sup> 0 −0.05 −0.1 −0.15 −0.2 −0.25 −0.3 −0.35 −0.4 200 400 600 800 1000 i max Figure 6. Homotopy _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> Figure 6. Homotopy _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>(Left) The initial, the junction and the final times along the path</sup> of zeros of _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>The</sup> <sup>junction</sup> <sup>times</sup> <sup>collapse</sup> <sup>at</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>.</sup> <sup>The</sup> <sup>length</sup> <sup>of</sup> <sup>the</sup> <sup>boundary</sup> <sup>arc</sup> of zeros of _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>).</sup> <sup>The</sup> <sup>junction</sup> <sup>times</sup> <sup>collapse</sup> <sup>at</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>.</sup> <sup>The</sup> <sup>length</sup> <sup>of</sup> <sup>the</sup> <sup>boundary</sup> <sup>arc</sup> increases as _i_ max decreases. (Right) The jump _ν_ 2 _≤_ 0 along the path. 1 0.5 0 −0.5 1 0.8 0.6 0.4 0.2 0 −0.2 1 0.8 0.6 0.4 0.2 0 −0.2 0 0.2 0.4 0.6 0.8 1 _τ_ 0.2 0.4 t/t f 0.6 0.8 1 0 _τ_ 0.2 0.4 t/t f 0.6 0.8 1 _τ_ 0.2 0.4 t/t f 0.6 0.8 1 0 _τ_ 0.2 0.4 t/t f 0.6 0.8 1 _τ_ 0.2 0.4 t/t f Figure 7. Trajectories _γ_ + <sup>_c_</sup> <sup>1</sup> + <sup>_c_</sup> <sup>1.</sup> <sup>The</sup> <sup>BC-extremal</sup> <sup>of</sup> <sup>the</sup> <sup>form</sup> <sup>_γ_</sup> + <sup>_c_</sup> <sup>1</sup> Figure 7. Trajectories _γ_ + <sup>_c_</sup> <sup>1.</sup> <sup>The</sup> <sup>BC-extremal</sup> <sup>of</sup> <sup>the</sup> <sup>form</sup> <sup>_γ_</sup> + <sup>_c_</sup> <sup>1</sup> <sup>at</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>_i_</sup> max <sup>_c_</sup> <sup>1</sup> <sup>from</sup> <sup>_h_</sup> <sup>1</sup> <sup>is</sup> represented by dashed lines while the one from _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> is represented by solid lines. The contact with the boundary is at time _τ_ = _t_ 1 = _t_ 2, where _t_ 1, _t_ 2 are the junction times of trajectories _γ_ + _γc_ 1 _γ_ +. (Left) The state trajectories (compare with Figure 5). (Middle) _p_ 1( _·_ ). (Right) _p_ 3( _·_ ). The trajectories are identical while the adjoint vectors are similar only after _τ_ . 5.3.2. _Homotopies_ _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> _and_ _h_ 3 _and_ _intermediate_ _trajectory_ _of_ _the_ _form_ _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> 2 + Up to this point, we have a trajectory _γ_ + _γc_ 1 _γ_ + for ( _i_ max _, v_ max) = (150 _,_ 110). Now we start to decrease the value of _v_ max to obtain all the trajectories for _i_ max = 150. We start by computing the path of zeros of _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> until we reach _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>,</sup> <sup>for</sup> <sup>which</sup> <sup>the</sup> <sup>associated</sup> <sup>trajectory</sup> <sup>has</sup> <sup>a</sup> <sup>contact</sup> <sup>point</sup> <sup>with</sup> <sup>the</sup> <sup>boundary</sup> <sup>_C_</sup> <sup>3.</sup> <sup>Let</sup> _x_ ( _·_ ) denote the trajectory of the form _γ_ + _γc_ 1 _γ_ + for ( _i_ max _, v_ max) = (150 _,_ 110). Then the maximal speed is given by _v_ max <sup>_c_</sup> <sup>3</sup> <sup>=</sup> <sup>_v_</sup> <sup>max</sup> <sup>_×_</sup> <sup>max</sup> _t∈_ [0 _,tf_ ] <sup>_x_</sup> <sup>3(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_≈_</sup> <sup>70</sup> <sup>_._</sup> <sup>3716,</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>110</sup> <sup>_,_</sup> <sup>and</sup> <sup>it</sup> <sup>does</sup> <sup>not</sup> <sup>depend</sup> <sup>on</sup> <sup>_v_</sup> <sup>max</sup> <sup>for</sup> <sup>the</sup> <sup>trajectories</sup> of the form _γ_ + _γc_ 1 _γ_ +, for which _i_ max = 150 is fixed. For ( _i_ max _, v_ max) = (150 _, v_ max <sup>_c_</sup> <sup>3</sup> <sup>),</sup> <sup>then</sup> <sup>the</sup> <sup>structure</sup> <sup>is</sup> _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . We solve _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, v_</sup> <sup>max),</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>_,_</sup> <sup>110],</sup> <sup>starting</sup> <sup>from</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>110.</sup> <sup>Along</sup> <sup>the</sup> <sup>path</sup> <sup>of</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . We solve _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . We solve _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)(</sup> <sup>_y_</sup> <sup>2</sup> <sup>_, v_</sup> <sup>max),</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>_,_</sup> <sup>110],</sup> <sup>starting</sup> <sup>from</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>110.</sup> <sup>Along</sup> <sup>the</sup> <sup>path</sup> <sup>of</sup> zeros of _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> the initial, the junction and the final times, and the jump _ν_ 2 are constant. When _v_ max _<_ _v_ max <sup>_c_</sup> <sup>3</sup> zeros of _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> the initial, the junction and the final times, and the jump _ν_ 2 are constant. When _v_ max _<_ _v_ max <sup>_c_</sup> <sup>3</sup> the structure is _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3.</sup> <sup>We</sup> <sup>fix</sup> <sup>now</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>,</sup> <sup>and</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>150.</sup> <sup>To</sup> <sup>initialize</sup> <sup>the</sup> <sup>shooting</sup> <sup>method</sup> the structure is _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3.</sup> <sup>We</sup> <sup>fix</sup> <sup>now</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>,</sup> <sup>and</sup> <sup>_i_</sup> <sup>max</sup> <sup>=</sup> <sup>150.</sup> <sup>To</sup> <sup>initialize</sup> <sup>the</sup> <sup>shooting</sup> <sup>method</sup> and solve _S_ 3( _y_ 3) = 0, _y_ 3 := ( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, t_ 5 _, ν_ 5 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4 _, z_ 5) _,_ we use the BC-extremal _γ_ + _γc_ 1 _γ_ + at _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>from</sup> <sup>the</sup> <sup>path</sup> <sup>of</sup> <sup>zeros</sup> <sup>of</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>).</sup> <sup>Then</sup> <sup>we</sup> <sup>solve</sup> <sup>_h_</sup> <sup>3(</sup> <sup>_y_</sup> <sup>3</sup> <sup>_, v_</sup> <sup>max)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_v_</sup> max _γc_ 3 <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>],</sup> <sup>starting</sup> _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>from</sup> <sup>the</sup> <sup>path</sup> <sup>of</sup> <sup>zeros</sup> <sup>of</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>).</sup> <sup>Then</sup> <sup>we</sup> <sup>solve</sup> <sup>_h_</sup> <sup>3(</sup> <sup>_y_</sup> <sup>3</sup> <sup>_, v_</sup> <sup>max)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_v_</sup> max _γc_ 3 <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>],</sup> <sup>starting</sup> _γc_ 3 from _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>with</sup> <sup>_v_</sup> max <sup>_≈_</sup> <sup>65</sup> <sup>_._</sup> <sup>6042.</sup> <sup>Figure</sup> <sup>8</sup> <sup>shows</sup> <sup>the</sup> <sup>initial,</sup> <sup>the</sup> <sup>switching,</sup> <sup>the</sup> <sup>junction</sup> <sup>and</sup> <sup>the</sup> _γc_ 3 from _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>with</sup> <sup>_v_</sup> max <sup>_≈_</sup> <sup>65</sup> <sup>_._</sup> <sup>6042.</sup> <sup>Figure</sup> <sup>8</sup> <sup>shows</sup> <sup>the</sup> <sup>initial,</sup> <sup>the</sup> <sup>switching,</sup> <sup>the</sup> <sup>junction</sup> <sup>and</sup> <sup>the</sup> final times along the path of zeros of _h_ 3, while the jumps _ν_ 2 and _ν_ 5 are portrayed in Figure 9. Figure 10 gives details about the limit case when _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>.</sup> 27 _v_ max _γc_ 3 _v_ max <sup>_c_</sup> <sup>3</sup> 8 7.5 7 6.5 6 5.5 5 4.5 66 67 68 69 70 vmax _v_ max _γc_ 3 _v_ max <sup>_c_</sup> <sup>3</sup> _v_ max _γc_ 3 _v_ max <sup>_c_</sup> <sup>3</sup> 4.5 4.4 4.3 4.2 4.1 4 66 67 68 69 70 vmax 0.1 0.08 0.06 0.04 0.02 0 66 67 68 69 70 vmax Figure 8. Homotopy _h_ 3. The initial, the switching, the junction and the final times along the path of zeros of _h_ 3. (Left) The times _t_ 0 _≡_ 0 and _t_ 1. (Middle) The times _t_ 2, _t_ 3 and _t_ 4. (Right) The times _t_ 5 and _tf_ . The length _t_ 2 _−t_ 1 of _γc_ 1 is constant while the length of _γ−_ vanishes when _v_ max = _v_ max <sup>_c_</sup> <sup>3</sup> <sup>,</sup> <sup>_i.e._</sup> <sup>when</sup> <sup>the</sup> <sup>trajectory</sup> <sup>is</sup> <sup>of</sup> <sup>the</sup> <sup>form</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . _v_ max _γc_ 3 _v_ max <sup>_c_</sup> <sup>3</sup> −0.45 −0.46 −0.47 −0.48 −0.49 −0.5 −0.51 66 67 68 69 70 vmax _v_ max _γc_ 3 _v_ max <sup>_c_</sup> <sup>3</sup> 0 −0.002 −0.004 −0.006 −0.008 −0.01 66 67 68 69 70 vmax Figure 9. Homotopy _h_ 3. The jumps _ν_ 2 _≤_ 0 (left) and _ν_ 5 _≤_ 0 (right) along the path of zeros of _h_ 3. 5.3.3. _Homotopy_ _h_ 4 _and_ _intermediate_ _case_ _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 _,_ _with_ _uc_ 3( _·_ ) _≡_ +1 _,_ _between_ _h_ 3 _and_ _h_ 4 _γc_ 3 The BC-extremal at _v_ max = _v_ max <sup>from</sup> <sup>_h_</sup> 3 <sup>is</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> + <sup>_c_</sup> <sup>3</sup> <sup>with</sup> <sup>_c_</sup> <sup>3(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_≡_</sup> <sup>0</sup> <sup>along</sup> <sup>the</sup> <sup>last</sup> max _γc_ 3 <sup>from</sup> <sup>_h_</sup> 3 <sup>is</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> + <sup>_c_</sup> <sup>3</sup> _γc_ 3 The BC-extremal at _v_ max = _v_ max <sup>from</sup> <sup>_h_</sup> 3 <sup>is</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> + <sup>_c_</sup> <sup>3</sup> <sup>with</sup> <sup>_c_</sup> <sup>3(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_≡_</sup> <sup>0</sup> <sup>along</sup> <sup>the</sup> <sup>last</sup> <sup>bang</sup> <sup>arc.</sup> <sup>For</sup> this specific value of _v_ max, the boundary control _uc_ 3 is admissible if we replace the last bang arc by an arc _γc_ 3 _γc_ 3. For _v_ max = _v_ max <sup>_−_</sup> <sup>_ε_</sup> <sup>,</sup> <sup>_ε_</sup> <sup>_>_</sup> <sup>0</sup> <sup>small,</sup> <sup>the</sup> <sup>trajectory</sup> <sup>becomes</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> _c_ 3 <sup>and</sup> <sup>the</sup> <sup>boundary</sup> <sup>control</sup> <sup>along</sup> _γc_ 3 _γc_ 3. For _v_ max = _v_ max <sup>_−_</sup> <sup>_ε_</sup> <sup>,</sup> <sup>_ε_</sup> <sup>_>_</sup> <sup>0</sup> <sup>small,</sup> <sup>the</sup> <sup>trajectory</sup> <sup>becomes</sup> <sup>_γ_</sup> + <sup>_γ_</sup> _c_ 1 <sup>_γ_</sup> + <sup>_γ_</sup> _−_ <sup>_γ_</sup> _c_ 3 <sup>and</sup> <sup>the</sup> <sup>boundary</sup> <sup>control</sup> <sup>along</sup> the arc _γc_ 3 is strictly admissible, _i.e._ assumption A3 holds. Here again, we use the last solution from _h_ 3 to _γc_ 3 initialize and solve _S_ 4( _y_ 4) = 0, _y_ 4 := ( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, ν_ 4 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4) _,_ with _v_ max = _v_ max <sup>.</sup> <sup>Then</sup> <sup>we</sup> <sup>solve</sup> _γc_ 3 initialize and solve _S_ 4( _y_ 4) = 0, _y_ 4 := ( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, ν_ 2 _, t_ 3 _, t_ 4 _, ν_ 4 _, z_ 1 _, z_ 2 _, z_ 3 _, z_ 4) _,_ with _v_ max = _v_ max <sup>.</sup> <sup>Then</sup> <sup>we</sup> <sup>solve</sup> _γc_ 3 _γc_ 3 _h_ 4( _y_ 4 _, v_ max) = 0 for _v_ max _∈_ [ _v_ max <sup>+</sup> <sup>_, v_</sup> max <sup>]</sup> <sup>starting</sup> <sup>from</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> max <sup>.</sup> <sup>The</sup> <sup>homotopy</sup> <sup>process</sup> <sup>has</sup> <sup>to</sup> <sup>stop</sup> <sup>when</sup> _γc_ 3 _γc_ 3 _h_ 4( _y_ 4 _, v_ max) = 0 for _v_ max _∈_ [ _v_ max <sup>+</sup> <sup>_, v_</sup> max <sup>]</sup> <sup>starting</sup> <sup>from</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> max <sup>.</sup> <sup>The</sup> <sup>homotopy</sup> <sup>process</sup> <sup>has</sup> <sup>to</sup> <sup>stop</sup> <sup>when</sup> _t_ 2 _≥_ _t_ 3 (or _ν_ 2 _≥_ 0), which gives _v_ max <sup>+</sup> <sup>_≈_</sup> <sup>64</sup> <sup>_._</sup> <sup>1641.</sup> <sup>Figure</sup> <sup>11</sup> <sup>shows</sup> <sup>the</sup> <sup>initial,</sup> <sup>the</sup> <sup>switching,</sup> <sup>the</sup> <sup>junction</sup> <sup>and</sup> _γc_ 3 max <sup>]</sup> <sup>starting</sup> <sup>from</sup> <sup>_v_</sup> max <sup>=</sup> <sup>_v_</sup> max <sup>+</sup> <sup>_, v_</sup> _t_ 2 _≥_ _t_ 3 (or _ν_ 2 _≥_ 0), which gives _v_ max <sup>+</sup> <sup>_≈_</sup> <sup>64</sup> <sup>_._</sup> <sup>1641.</sup> <sup>Figure</sup> <sup>11</sup> <sup>shows</sup> <sup>the</sup> <sup>initial,</sup> <sup>the</sup> <sup>switching,</sup> <sup>the</sup> <sup>junction</sup> <sup>and</sup> the final times along the path of zeros of _h_ 4, while the jumps _ν_ 2 and _ν_ 4 are portrayed in Figure 12. Figure 13 gives details about the limit case when _v_ max = _v_ max <sup>+</sup> <sup>.</sup> max <sup>+</sup> <sup>.</sup> 5.3.4. _Homotopy_ _h_ 5 _and_ _intermediate_ _case_ _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 _,_ _with_ _t_ 2 = _t_ 3 _,_ _between_ _h_ 4 _and_ _h_ 5 Here is the last homotopy. We use the solution from _h_ 4 at _v_ max = _v_ max <sup>+</sup> <sup>to</sup> <sup>initialize</sup> Here is the last homotopy. We use the solution from _h_ 4 at _v_ max = _v_ max <sup>+</sup> <sup>to</sup> <sup>initialize</sup> <sup>and</sup> <sup>solve</sup> <sup>_S_</sup> <sup>5(</sup> <sup>_y_</sup> <sup>5)</sup> <sup>=</sup> <sup>0,</sup> _y_ 5 := ( _p_ 0 _, tf_ _, t_ 1 _, t_ 2 _, t_ 3 _, ν_ 3 _, z_ 1 _, z_ 2 _, z_ 3) _._ This is done easily since _t_ 3, _ν_ 3 and _z_ 3 are given respectively by _t_ 4, _ν_ 4 and _z_ 4 from the solution from _h_ 4. In other words, at _v_ max = _v_ max <sup>+</sup> <sup>,</sup> <sup>the</sup> <sup>extremals</sup> <sup>are</sup> <sup>the</sup> <sup>same</sup> <sup>from</sup> <sup>both</sup> <sup>the</sup> <sup>solutions</sup> from the solution from _h_ 4. In other words, at _v_ max = _v_ max <sup>+</sup> <sup>,</sup> <sup>the</sup> <sup>extremals</sup> <sup>are</sup> <sup>the</sup> <sup>same</sup> <sup>from</sup> <sup>both</sup> <sup>the</sup> <sup>solutions</sup> from _h_ 4 and _h_ 5. This is new compare to the others homotopies <sup>8</sup>, for which the limit cases have different adjoint 8Except obviously between _h_ <sup>(</sup> 2 <sup>_a_</sup> <sup>)</sup> and _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>).</sup> 28 1 0.8 0.6 0.4 0.2 0 −0.2 −0.4 0 0.2 0.4 t/t f _τ_ 0.61 _τ_ 2 0.8 1 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0 0 0.2 0.4 t/t f _τ_ 0.61 _τ_ 2 0.8 1 1 0.8 0.6 0.4 0.2 0 0.2 0.4 t/t f _τ_ 0.61 _τ_ 2 0.8 1 0 0 0.2 0.4 0.6 0.8 1 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 t/t f _<u>τ</u>_ <u>1</u> _<u>τ</u>_ <u>2</u> + <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> Figure 10. Trajectories _γ_ + _γc_ 1 _γ_ + <sup>_c_</sup> <sup>3</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . The BC-extremal _γ_ + _γc_ 1 _γ_ + <sup>_c_</sup> <sup>3</sup> Figure 10. Trajectories _γ_ + _γc_ 1 _γ_ + <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> . The BC-extremal _γ_ + _γc_ 1 _γ_ + <sup>_c_</sup> <sup>3</sup> <sup>at</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> _v_ max <sup>_c_</sup> <sup>3</sup> <sup>from</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> is represented by dashed lines while the one _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> from _h_ 3 is represented <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> is represented by dashed lines while the one _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> _v_ max <sup>_c_</sup> <sup>3</sup> <sup>from</sup> <sup>_h_</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>)</sup> is represented by dashed lines while the one _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> from _h_ 3 is represented by solid lines. The contact with the boundary _C_ 3 is at time _τ_ 2, while the contact of order 2 with Σ <sup>0</sup> 1 <sup>is</sup> <sup>at</sup> <sup>time</sup> <sup>_τ_</sup> <sup>1</sup> <sup>_< τ_</sup> <sup>2.</sup> <sup>(Top-Left)</sup> <sup>The</sup> <sup>state</sup> <sup>trajectories</sup> <sup>(compare</sup> <sup>with</sup> <sup>Figure</sup> <sup>5).</sup> <sup>(Top-Right)</sup> The control. (Bottom-Left) The component _p_ 1( _·_ ). (Bottom-Right) The component _p_ 3( _·_ ). max <sup>+</sup> _v_ _γc_ 3 max _γc_ 3 max _<u>v</u>_ <sup>+</sup> _γc_ 3 <u>max</u> _v_ <sup>+</sup> _v_ <sup>+</sup> max <sup>+</sup> _v_ 0.1 0.08 0.06 0.04 0.02 <u>max</u> <sup>+</sup> _<u>v</u>_ 4.2 4.18 4.16 4.14 4.12 4.1 4.08 0 64.2 64.4 64.6 64.8 65 65.2 65.4 65.6 vmax 64.2 64.4 64.6 64.8 65 65.2 65.4 65.6 vmax 7.62 7.61 7.6 7.59 7.58 7.57 7.56 7.55 7.54 7.53 64.2 64.4 64.6 64.8 65 65.2 65.4 65.6 vmax Figure 11. Homotopy _h_ 4. The initial, the switching, the junction and the final times along the path of zeros of _h_ 4. (Left) The times _t_ 0 _≡_ 0 and _t_ 1. (Middle) The times _t_ 2, _t_ 3 and _t_ 4. (Right) The final time _tf_ . The length _t_ 3 _−_ _t_ 2 vanishes when _v_ max = _v_ max <sup>+</sup> <sup>.</sup> vectors. Figures 16 and 17 only shows the components _p_ 1( _·_ ) and _p_ 3( _·_ ) of the extremal for _v_ max = _v_ max <sup>+</sup> <sup>since</sup> <sup>the</sup> trajectory is quite similar from the one in Figure 13 and the shape of the control can be guessed from Figure 13. Figure 14 shows the initial, the junction and the final times along the path of zeros of _h_ 5, while the jumps _ν_ 3 and the length _t_ 3 _−_ _t_ 2 of the arc _γ−_ are portrayed in Figure 15. One may note that the final time has not a linear shape with respect to _v_ max. It increases more and more when _v_ max decreases, contrary to the length of the boundary arc _γc_ 1 which decreases linearly. Besides, the length of _γ−_ is small but not constant. 5.3.5. _Norm_ _of_ _homotopic_ _functions_ _along_ _the_ _paths_ _of_ _zeros_ _for_ _v_ max _∈_ [10 _,_ 110] Finding zeros of shooting functions (or homotopic functions) guarantees the complete characterization of the associated BC-extremals. We represent on Figure 18 the norm along the paths of zeros of the following _γc_ 3 _γc_ 3 homotopic functions: _h_ 5, _h_ 4, _h_ 3 and _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>),</sup> <sup>respectively</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>in</sup> <sup>[10</sup> <sup>_, v_</sup> max <sup>+</sup> <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max <sup>+</sup> <sup>_, v_</sup> max <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>]</sup> <sup>and</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>),</sup> <sup>respectively</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>in</sup> <sup>[10</sup> <sup>_, v_</sup> max <sup>+</sup> <sup>],</sup> <sup>[</sup> <sup>_v_</sup> <sup>+</sup> _γc_ 3 max <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max <sup>+</sup> <sup>_, v_</sup> max _γc_ 3 <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>]</sup> <sup>and</sup> 29 max <sup>+</sup> _v_ _v_ <sup>+</sup> x 10 x 10−3 _γc_ 3 max max <sup>+</sup> _v_ _v_ <sup>+</sup> −4 _γc_ 3 max 0 −2 −4 −6 −8 −10 −12 −14 −16 64.2 64.4 64.6 64.8 65 65.2 65.4 65.6 vmax −9.7 −9.8 −9.9 −10 −10.1 −10.2 64.2 64.4 64.6 64.8 65 65.2 65.4 65.6 vmax Figure 12. Homotopy _h_ 4. The jumps _ν_ 2 _≤_ 0 (left) and _ν_ 4 _≤_ 0 (right) along the path of zeros of _h_ 3. Note that the jump _ν_ 2 vanishes when _v_ max = _v_ max <sup>+</sup> <sup>,</sup> <sup>see</sup> <sup>lemma</sup> <sup>3.5.</sup> <sup>The</sup> <sup>jump</sup> _ν_ 4 _<_ 0 according to lemma 3.8. 1 0.8 0.6 0.4 0.2 0 0 0.2 0.4 0.6 0.8 1 t/t f 0.03 0.025 0.02 0.015 0.01 0.005 0 0.52 0.54 0.56 0.58 0.6 0.62 0.64 t/t f 1 0.5 0 −0.5 −1 0 0.2 0.4 0.6 0.8 1 t/t f 0.1 0 −0.1 −0.2 −0.3 −0.4 0.52 0.54 0.56 0.58 0.6 0.62 0.64 t/t f Figure 13. Trajectories _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> Figure 13. Trajectories _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>and</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> 1 <sup>_γ_</sup> <sup>+</sup> <sup>_γ−γc_</sup> 3 <sup>,</sup> <sup>with</sup> <sup>_uc_</sup> 3 <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>=</sup> <sup>+1.</sup> <sup>The</sup> <sup>BC-</sup> _γc_ 3 extremal _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>at</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>_v_</sup> max <sup>from</sup> <sup>_h_</sup> 3 <sup>is</sup> <sup>represented</sup> <sup>by</sup> <sup>dashed</sup> <sup>lines</sup> <sup>while</sup> <sup>the</sup> <sup>one</sup> _γc_ 3 extremal _γ_ + _γc_ 1 _γ_ + _γ−γ_ + <sup>_c_</sup> <sup>3</sup> <sup>at</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>_v_</sup> max <sup>from</sup> <sup>_h_</sup> 3 <sup>is</sup> <sup>represented</sup> <sup>by</sup> <sup>dashed</sup> <sup>lines</sup> <sup>while</sup> <sup>the</sup> <sup>one</sup> _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 from _h_ 4 is represented by solid lines. (Top-Left) The state trajectories. (TopRight) The control. (Bottom-Left) Zoom on the component _p_ 1( _·_ ). (Bottom-Right) Zoom on the component _p_ 3( _·_ ). About the trajectory _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 with _uc_ 3( _·_ ) = +1, the components _p_ 1( _·_ ) and _p_ 3( _·_ ) are identically zero along _γc_ 3 since this extremal is a limit case from _h_ 4 for which for each solution, the functions Φ and Φ <sup>˙</sup> are zero along _γc_ 3. Note that the sine wave shapes of the trajectory at Figure 7 have changed into square wave shapes. + <sup>_c_</sup> <sup>3</sup> <sup>at</sup> <sup>_v_</sup> <sup>max</sup> <sup>=</sup> <sup>_v_</sup> [ _v_ max <sup>_c_</sup> <sup>3</sup> <sup>_,_</sup> <sup>110].</sup> <sup>At</sup> <sup>the</sup> <sup>end</sup> <sup>of</sup> <sup>each</sup> <sup>homotopy</sup> <sup>we</sup> <sup>perform</sup> <sup>a</sup> <sup>correction</sup> <sup>using</sup> <sup>the</sup> <sup>shooting</sup> <sup>methods</sup> <sup>which</sup> <sup>explains</sup> the discontinuities at _v_ max <sup>+</sup> <sup>,</sup> <sup>_v_</sup> max _γc_ 3 <sup>and</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>see</sup> <sup>that</sup> <sup>the</sup> <sup>corrections</sup> <sup>give</sup> <sup>very</sup> <sup>accurate</sup> <sup>solutions</sup> <sup>while</sup> the discontinuities at _v_ max <sup>+</sup> <sup>,</sup> <sup>_v_</sup> max _γc_ 3 <sup>and</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>see</sup> <sup>that</sup> <sup>the</sup> <sup>corrections</sup> <sup>give</sup> <sup>very</sup> <sup>accurate</sup> <sup>solutions</sup> <sup>while</sup> along the homotopies, the norm increases quickly before reaching asymptotic values. We can notice two different max <sup>+</sup> <sup>,</sup> <sup>_v_</sup> 30 10 _v_ max <sup>+</sup> <u>10</u> _v_ <sup>+</sup> 10 _v_ max <sup>+</sup> 0.1 0.08 0.06 0.04 0.02 <u>max</u> 0 10 20 30 40 50 60 vmax 4 3.5 3 2.5 2 1.5 1 0.5 10 20 30 40 50 60 vmax 35 30 25 20 15 10 10 20 30 40 50 60 vmax Figure 14. Homotopy _h_ 5. The initial, the junction and the final times along the path of zeros of _h_ 5. (Left) The times _t_ 0 _≡_ 0 and _t_ 1. (Middle) The times _t_ 2, _t_ 3. (Right) The final time _tf_ . The length _t_ 3 _−_ _t_ 2 is small but not constant, see Figure 15. The length of the first bang arc is still constant. 10 _v_ max <sup>+</sup> −0.01 −0.012 −0.014 −0.016 −0.018 <u>10</u> _<u>v</u>_ <sup>+</sup> <u>max</u> 0.04 0.035 0.03 0.025 0.02 10 20 30 40 50 60 vmax −0.02 10 20 30 40 50 60 vmax Figure 15. Homotopy _h_ 5. The length _t_ 3 _−_ _t_ 2 (left) and the jump _ν_ 3 (right) along _h_ 5. 0.06 0.05 0.04 0.03 0.02 0.01 0 0 0.2 0.4 0.6 0.8 1 t/t f x 10−6 0 −2 −4 −6 −8 −10 −12 −14 0.5355 0.536 0.5365 0.537 0.5375 0.538 0.5385 t/t f Figure 16. Trajectory _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 , with _t_ 2 = _t_ 3 . The BC-extremal _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 with _t_ 2 = _t_ 3 is the same as the BC-extremal _γ_ + _γc_ 1 _γ−γc_ 3 from _h_ 5 at _v_ max = _v_ max <sup>+</sup> <sup>.</sup> (Left) The component _p_ 1( _·_ ) with a zoom (Right) around _γ−_ . _p_ 1( _·_ ) is zero along _γc_ 1 and _γc_ 3. behaviours. Along _h_ <sup>_−_</sup> 5 <sup>1(0),</sup> <sup>the</sup> <sup>asymptotic</sup> <sup>value</sup> <sup>is</sup> <sup>around 2</sup> <sup>_e−_</sup> <sup>9</sup> <sup>which</sup> <sup>is consistent</sup> <sup>with the tolerances</sup> <sup>of 1</sup> <sup>_e−_</sup> <sup>10</sup> 31 4 3.5 3 2.5 2 1.5 1 0.5 0 0 0.2 0.4 0.6 0.8 1 t/t f 0.01 0.005 0 −0.005 −0.01 0.5355 0.536 0.5365 0.537 0.5375 0.538 0.5385 t/t f Figure 17. Trajectory _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 , with _t_ 2 = _t_ 3 . The BC-extremal _γ_ + _γc_ 1 _γ_ + _γ−γc_ 3 with _t_ 2 = _t_ 3 is the same as the BC-extremal _γ_ + _γc_ 1 _γ−γc_ 3 from _h_ 5 at _v_ max = _v_ max <sup>+</sup> <sup>.</sup> (Left) The component _p_ 3( _·_ ) with a zoom (Right) around _γ−_ . The component _p_ 3( _·_ ) is zero only along _γc_ 3. given to the Runge-Kutta method ( `dopri5` ). Along the other homotopies, the asymptotic value is greater but around 4 _e_ <sup>_−_</sup> <sup>5</sup> which is accurate enough. Norm of homotopic functions w.r.t vmax 10 <sup>0</sup> 10 <sup>-5</sup> 10 <sup>-10</sup> _v_ max <sup>+</sup> _v_ max <sup>_c_</sup> <sup>3</sup> 10 <sup>-15</sup> 20 40 60 80 100 _γc_ 3 vmax _v_ max _v_ _γc_ 3 max Figure 18. Norm along the paths of zeros of the following homotopic functions: _h_ 5, _h_ 4, _h_ 3 and _h_ <sup>(</sup> 2 <sup>_b_</sup> <sup>),</sup> <sup>respectively</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>in</sup> <sup>[10</sup> <sup>_, v_</sup> max <sup>+</sup> <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max <sup>+</sup> <sup>_, v_</sup> max _γc_ 3 <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max _γc_ 3 <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>]</sup> <sup>and</sup> <sup>[</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>_,_</sup> <sup>110].</sup> <sup>(</sup> 2 <sup>_b_</sup> <sup>),</sup> <sup>respectively</sup> <sup>for</sup> <sup>_v_</sup> <sup>max</sup> <sup>in</sup> <sup>[10</sup> <sup>_, v_</sup> max <sup>+</sup> <sup>],</sup> <sup>[</sup> <sup>_v_</sup> <sup>+</sup> _γc_ 3 max <sup>],</sup> <sup>[</sup> <sup>_v_</sup> max <sup>+</sup> <sup>_, v_</sup> max _γc_ 3 <sup>_, v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>]</sup> <sup>and</sup> <sup>[</sup> <sup>_v_</sup> max <sup>_c_</sup> <sup>3</sup> <sup>_,_</sup> <sup>110].</sup> 5.4. Synthesis with respect to _i_ max and _v_ max We present in Figure 19 the best sub-optimal synthesis we obtain using all the techniques and results established throughout this paper. See section 5.2 for the procedure to construct this sub-optimal synthesis. We also need the proposition 5.6 to get the results presented in Figure 20. We make this synthesis for _i_ max _≥_ 10, _v_ max _≥_ 10 and _αf_ = 100. 32 Proposition 5.6. _Let_ _consider_ _a_ _boundary_ _arc_ _γc_ 1 _defined_ _on_ [ _t_ 1 _, t_ 2] _with_ ( _z_ ( _·_ ) _, uc_ 1( _·_ ) _, ηc_ 1( _·_ )) _its_ _associated_ _extremal._ _Let_ _assume_ _there_ _exists_ _τ_ _∈_ [ _t_ 1 _, t_ 2] _such_ _that_ _H_ 1( _z_ ( _τ_ )) = _H_ 01( _z_ ( _τ_ )) = 0 _and_ _that_ A3 _holds_ _along_ _γ_ 1 _._ _Then_ _either_ _τ_ = _t_ 1 _or_ _τ_ = _t_ 2 _._ _Proof._ Let assume _τ_ _∈_ ( _t_ 1 _, t_ 2). Along _γc_ 1, _ηc_ 1 = _H_ 01 _/_ ( _F_ 1 _·_ _c_ 1) _≤_ 0 with _F_ 1 _·_ _c_ 1 _≡_ _a_ 7 _>_ 0, so _H_ 01 _≤_ 0. At time _τ_, _H_ 01( _z_ ( _τ_ )) = 0 and _H_ ˙ 01( _z_ ( _τ_ )) = _H_ 001( _z_ ( _τ_ )) _−_ _ηc_ 1( _z_ ( _τ_ ))( _F_ 01 _· c_ 1)( _x_ ( _τ_ )) = _H_ 001( _z_ ( _τ_ )) _̸_ = 0, since dim Span( _F_ 1( _x_ ( _τ_ )) _, F_ 01( _x_ ( _τ_ )) _, F_ 001( _x_ ( _τ_ ))) = 3 and _p_ ( _τ_ ) _̸_ = 0. As a consequence, the sign of _H_ 01 changes when crossing _t_ = _τ_, which is not possible. Remark 5.7. To build this synthesis we do not deal with the possible local minima since the aim of this paper is not to prove the global optimality of the synthesis but to describe how we can build it starting from one point, _i.e._ one BC-extremal for a given value of ( _i_ max _, v_ max). Here we start from the optimal trajectory _γ_ +. To construct this synthesis we catch the changes along the homotopies and determine the new strategy using the theoretical results. However, if we consider a general optimal control problem depending on a parameter _λ_, then to get a <u>better</u> synthesis, for a given _λ_ we should compare the cost associated to each component of _h_ <sup>_−_</sup> <sup>1</sup> ( _{_ 0 _}_ ) _∩{λ_ = _λ}_, for each homotopic function _h_ . This approach is crucial when the optimal control problem has for example many local solutions, see [6]. 120 _<u>uc</u>_ <u>1</u> <u>(</u> _<u>tf</u>_ <u>) = +1</u> _γ_ + <sup>_<u>c</u>_</sup> <sup>1</sup> _γ_ + _γ◦c_ 1 _◦_ <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> <sup>1</sup> <sup>_γ_</sup> <sup>+</sup> 100 _γ_ + <sup>_c_</sup> <sup>1</sup> + <sup>_c_</sup> <sup>1</sup> <sup>_γ−γ_</sup> + <sup>_c_</sup> <sup>3</sup> _◦_ <sup>_<u>γ</u>_</sup> <sup>+</sup> _~~γ~~_ + <sup>_<u>H</u>_</sup> <sup>~~1~~</sup> <sup>_<u>,c</u>_</sup> <sup>3</sup> _◦_ <sup>_γ_</sup> <sup>+</sup> <sup>_γ−γ_</sup> + <sup>_c_</sup> <sup>3</sup> + _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> + _~~◦~~_ <sup>_<u>γ</u>_</sup> <sup><u>+</u></sup> <sup>_<u>γc</u>_</sup> <sup><u>1</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>+</u></sup> <sup>_<u>γ−γ</u>_</sup> <u>+</u> <sup>_c_</sup> <sup>3</sup> 80 60 40 20 _uc_ 3 _≡_ +1 _uc_ 3 _≡_ +1 _◦_ _~~γ~~_ + _~~γ~~_ _c_ 1 _~~γ~~_ + _~~γ~~_ _−_ _~~γ~~_ _c_ 3 _<u>γ</u>_ ~~+~~ <sup>_c_</sup> <sup>1</sup> See Fig. 20 _x_ 3( _tf_ ) = +1 _<u>γ</u>_ ~~+~~ <sup>_c_</sup> <sup>1</sup> <sup>_<u>γ−γc</u>_</sup> 3 _uc_ 1 ( _t_ 2) = +1 _<u>◦</u>_ <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> <sup>1</sup> <sup>_γ−γc_</sup> <sup>3</sup> _γ_ + _δc_ 1 _γ−γc_ 3 _◦_ <sup>_γ_</sup> <sup>+</sup> <sup>_γ−γc_</sup> <sup>3</sup> 150 200 400 600 800 1000 1200 i max Figure 19. Synthesis with respect to _i_ max and _v_ max. The structures are displayed on the graph. The sequence labeled _γ_ + _δc_ 1 _γ−_ means that there is a contact point with the constraint set _C_ 1 at the switching time between _γ_ + and _γ−_ . The blue lines represent structures of degree 2 while at the red points we have structures of degree 3 or 4. 6. Conclusion In this paper, we have presented the minimum time control problem of an electric vehicle which have been modeled as a Mayer problem in optimal control, with affine dynamics with respect to the control (scalar) and with two state constraints, one of order 1 and the other of order 2, see sections 1.2 and 3.3.3. We have tackled 33 75 70 _γ_ + _γc_ 1 _◦_ _uc_ 1 ( _tf_ ) = +1 _γ_ + _γc_ 1 _γ−γ_ + <sup>_~~c~~_</sup> <sup>1</sup> <sup>_~~,c~~_</sup> <sup>3</sup> _◦_ <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> <sup>1</sup> <sup>_γ_</sup> <sup>+</sup> _γ_ + _γc_ 1 _δH_ 1 _γ_ <u>+</u> <sup>_c_</sup> <sup>3</sup> _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> _γ_ + _γc_ 1 _γ_ + <sup>_H_</sup> <sup>1</sup> <sup>_,c_</sup> <sup>3</sup> _γ_ + _γc_ 1 _γ_ + _δH_ 1 _,c_ 3 _uc_ 1 ( _t_ 2) = +1 65 _~~◦~~_ _~~<u>γ</u>~~_ ~~+~~ _~~<u>γc</u>~~_ <u>1</u> _~~<u>γ</u>~~_ ~~+~~ _~~<u>γ−γc</u>~~_ <u>3</u> _γ_ + _γc_ 1 _γ−γ_ + <sup>_c_</sup> <sup>3</sup> + _◦_ <sup>_γ_</sup> <sup>+</sup> <sup>_γc_</sup> <sup>1</sup> <sup>_γ_</sup> <sup>+</sup> <sup>_γ−γc_</sup> <sup>3</sup> _uc_ 3 _≡_ +1 _uc_ 1 ( _t_ 2) = +1 _x_ 3( _tf_ ) = +1 _◦_ _γ_ + _γc_ 1 _γ−γc_ 3 60 40 60 80 100 120 140 160 i max Figure 20. Zoom of the synthesis . The structures are displayed on the graph. The sequence labeled _γc_ 1 _δH_ 1 means that there is a contact point of order 2 with the switching surface at the exit-time of the boundary arc. first the state unconstrained problem from the application of the Pontryagin Maximum Principle, see section 2.1, which gives necessary conditions of optimality. Then we used in section 2.2 the Lie bracket configuration to show that the only existing extremals are bang-bang with finitely many switchings (see section 2.3) and we proved in 2.5 that the optimal trajectory is of the form _γ_ +. Nevertheless, the classification of bang-bang extremals, presented in section 2.4, was an efficient tool to describe the behavior of some possible extremals (here for the state constrained case) and to get better insight into such extremals, see section 5.3.2. The analysis of problem ( _P_ tmin), _i.e._ with the state constraints, consisted first in computing the boundary controls and the multipliers associated to the state constraints, for both the first and second-order constraints. On the other hand, we gave new junction conditions, see section 3.3, which have been used to define multiple shooting functions in sections 4.2.1 and 4.2.3. Moreover, we gave a local time minimal synthesis, see section 3.4, that we encountered in the numerical simulations in sections 5.3.3 and 5.3.4. Finally, in section 5.4, we obtained a synthesis of solutions which satisfy the necessary conditions of optimality ( _i.e._ BC-extremals) with respect to the parameters _i_ max and _v_ max, with _x_ 1(0), _x_ 3(0), _αf_ fixed, and for one specific car. The same techniques could be applied to other problems, such as the problem of the minimization of the electric energy ( _P_ emin). In this case, the final time _tf_ is fixed and the structure of the optimal trajectories depends on _tf_, see Figure 21. The dynamics associated to problem ( _P_ emin) is bilinear on the state and the control variables and this leads to more complex optimal structures with singular extremals. Even though the state unconstrained problem ( _P_ emin) is more complex than the time minimal case, the same tools such as Lie bracket configuration and local classification can be used. The main difference comes from the fact that the final time is now a parameter and one may study its influence on the optimal trajectories. This was already done in [6], where a state unconstrained and affine scalar control problem of Mayer form was analyzed taking into account the influence of the final time. Moreover, the state constrained case should be clarified with the same tools as those presented in this paper. References [1] A. A. Agrachev & Y. L. Sachkov, _Control_ _theory_ _from_ _the_ _geometric_ _viewpoint_, vol 87 of _Encyclopaedia_ _of_ _Mathematical_ _Sciences_, Springer-Verlag, Berlin (2004), xiv+412. 34 1 0.8 0.6 0.4 0.2 0 0 0.2 0.4 0.6 0.8 1 t/t f 1 0.8 0.6 0.4 0.2 0 0 0.2 0.4 0.6 0.8 1 t/t f Figure 21. Problem ( _P_ emin). Optimal control for problem ( _P_ emin) for _tf_ = 1 _._ 25 _T_ min (left) and _tf_ = 1 _._ 50 _T_ min (right), with _T_ min _≈_ 5 _._ 6156, _αf_ = 100, _i_ max = 1100 and _v_ max = 110. The structure is _γ_ + _γsγ_ + _γsγ_ + for _tf_ = 1 _._ 25 _T_ min and _γ_ + _γsγ_ + for _tf_ = 1 _._ 50 _T_ min. The solutions have been computed with the `Bocop` [4] software. [2] E. Allgower & K. Georg, _Introduction_ _to_ _numerical_ _continuation_ _methods_, vol. 45 of _Classics_ _in_ _Applied_ _Mathematics_, Soc. for Industrial and Applied Math., Philadelphia, PA, USA, (2003), xxvi+388. [3] V. G. Boltyanski˘ı, R. V. Gamkrelidze, E. F. Mishchenko, & L. S. Pontryagin, _The_ _mathematical_ _theory_ _of_ _optimal_ _processes_ . Classics of Soviet Mathematics. Gordon & Breach Science Publishers, New York, (1986), xxiv+360. [4] F. J. Bonnans, P. Martinon & V. Gr´elard. _Bocop_ _-_ _A_ _collection_ _of_ _examples_, Technical report, INRIA, 2012. RR-8053. [5] B. Bonnard & M. Chyba, _Singular_ _trajectories_ _and_ _their_ _role_ _in_ _control_ _theory_, vol 40 of _Mathematics_ _&_ _Applications_, Springer-Verlag, Berlin (2003), xvi+357. [6] B. Bonnard, M. Claeys, O. Cots & P. Martinon, _Geometric_ _and_ _numerical_ _methods_ _in_ _the_ _contrast_ _imaging_ _problem_ _in_ _nuclear_ _magnetic_ _resonance_, Acta Appl. Math., 135 (2014), no. 1, 5–45. [7] B. Bonnard & O. Cots, _Geometric numerical methods and results in the control imaging problem in nuclear magnetic resonance_, Math. Models Methods Appl. Sci., 24 (2012), no. 1, 187–212. [8] B. Bonnard, L. Faubourg, G. Launay & E. Tr´elat, _Optimal_ _Control_ _With_ _State_ _Constraints_ _And_ _The_ _Space_ _Shuttle_ _Re-entry_ _Problem_, J. Dyn. Control Syst., 9 (2003), no. 2, 155–199. [9] A. E. Bryson, W. F. Denham & S.E. Dreyfus, _Optimal programming problems with inequality constraints I: necessary conditions_ _for_ _extremal_ _solutions._, AIAA Journal, 1 (1963), no. 11, 2544–2550. [10] R. Bulirsch & J. Stoer, _Introduction_ _to_ _numerical_ _analysis_, vol. 12 of _Texts_ _in_ _Applied_ _Mathematics_, Springer-Verlag, New York, 2 <sup>_nd_</sup> edition, 1993, xvi+744. [11] J.-B. Caillau, O. Cots & J. Gergaud, _Differential_ _continuation_ _for_ _regular_ _optimal_ _control_ _problems_, Optimization Methods and Software, 27 (2011), no. 2, 177–196. [12] J.-B. Caillau & B. Daoud, _Minimum_ _time_ _control_ _of_ _the_ _restricted_ _three-body_ _problem_, SIAM J. Control Optim., 50 (2012), no. 6, 3178–3202. [13] E. Hairer, S. P. Nørsett & G. Wanner, _Solving_ _Ordinary_ _Differential_ _Equations_ _I,_ _Nonstiff_ _Problems_, vol 8 of _Springer_ _Serie_ _in_ _Computational_ _Mathematics_, Springer-Verlag, second edn (1993). [14] E. Hairer & G. Wanner, _Solving_ _Ordinary_ _Differential_ _Equations_ _II,_ _Stiff_ _and_ _Differential-Algebraic_ _Problems_, vol 14 of _Springer_ _Serie_ _in_ _Computational_ _Mathematics_, Springer-Verlag, second edn (1996). [15] R. F. Hartl, S. P. Sethi & R. G. Vickson, _A_ _survey_ _of_ _the_ _maximum_ _principles_ _for_ _optimal_ _control_ _problems_ _with_ _state_ _constraints_, SIAM Rev., 37 (1995), no. 2, 181–218. [16] L. Hasco¨et & V. Pascual, _The_ _Tapenade_ _Automatic_ _Differentiation_ _tool:_ _principles,_ _model,_ _and_ _specification_, Rapport de recherche RR-7957, INRIA (2012). [17] D. H. Jacobson, M. M. Lele & J. L. Speyer, _New_ _Necessary_ _Conditions_ _of_ _Optimality_ _for_ _Control_ _Problems_ _with_ _State-Variable_ _Inequality_ _Constraints_, J. Math. Anal. Appl., 35 (1971), 255–284. [18] J. Gergaud & T. Haberkorn, _Homotopy_ _Method_ _for_ _minimum_ _consumption_ _orbit_ _transfer_ _problem_, ESAIM Control Optim. Calc. Var., 12 (2006), no 2, 294–310. [19] B. De Jager, T. Van Keulen & J. Kessels, _Optimal_ _Control_ _of_ _Hybrid_ _Vehicles_, in _Advances_ _in_ _Industrial_ _Control_, Springer Verlag, (2013). [20] S. Jan, _Minimizing_ _the_ _fuel_ _consumption_ _of_ _a_ _vehicle_ _from_ _the_ _Shell_ _Eco-marathon:_ _a_ _numerical_ _study_, ESAIM Control Optim. Calc. Var., 19 (2013), no 2, 516–532. 35 [21] C. Kirches, H. Bock, J. Schl¨oder & S. Sager, _Mixed-integer_ _NMPC_ _for_ _predictive_ _cruise_ _control_ _of_ _heavy-duty_ _trucks_, In European Control Conference, pp. 4118–4123. Zurich, Switzerland (2013). [22] I. Kupka. _Geometric_ _theory_ _of_ _extremals_ _in_ _optimal_ _control_ _problems._ _i._ _the_ _fold_ _and_ _maxwell_ _case_, Trans. Amer. Math. Soc., 299 (1987), no. 1, 225–243. [23] H. Maurer, _On_ _optimal_ _control_ _problems_ _with_ _bounded_ _state_ _variables_ _and_ _control_ _appearing_ _linearly_, SIAM J. Control Optim., 15 (1971), no. 3, 345–362. [24] A. Merakeb, F. Messine & M. Aid`ene, _A_ _Branch_ _and_ _Bound_ _algorithm_ _for_ _minimizing_ _the_ _energy_ _consumption_ _of_ _an_ _electrical_ _vehicle_ 4OR, 12 (2014), no. 3, 261–283. [25] J. J. Mor´e, B. S. Garbow & K. E. Hillstrom, _User_ _Guide_ _for_ _MINPACK-1_, ANL-80-74, Argonne National Laboratory, (1980). [26] S. Sager, M. Claeys & F. Messine, _Efficient_ _upper_ _and_ _lower_ _bounds_ _for_ _global_ _mixed-integer_ _optimal_ _control_ Journal of Global Optimization, 61 (2015), no. 4, 721–743. [27] H. Sch¨attler &, U. Ledzewicz, _Geometric_ _optimal_ _control:_ _theory,_ _methods_ _and_ _examples_, vol 38 of _Interdisciplinary_ _applied_ _mathematics_, Springer Science & Business Media, New York (2012), xiv+640. [28] A. Sciarretta & L. Guzzella, _Control_ _of_ _hybrid_ _electric_ _vehicles_, IEEE Control Syst. Mag., 27 (2007), no. 2, 60–70. The author is thankful to Bernard Bonnard, Jean-Baptiste Caillau and Joseph Gergaud for their geometric and numerical influences on this work.

섹션 본문

섹션 본문이 없습니다.

참고문헌 19건

  1. Control Theory from the Geometric Viewpoint Encyclopaedia of mathematical sciences · Springer Nature · 2004 10.1007/978-3-662-06404-7
  2. Introduction to Numerical Continuation Methods 2003 10.1137/1.9780898719154
  3. Geometric and Numerical Methods in the Contrast Imaging Problem in Nuclear Magnetic Resonance Acta Applicandae Mathematicae · Springer Science+Business Media · 2014 10.1007/s10440-014-9947-3
  4. GEOMETRIC NUMERICAL METHODS AND RESULTS IN THE CONTRAST IMAGING PROBLEM IN NUCLEAR MAGNETIC RESONANCE Mathematical Models and Methods in Applied Sciences · World Scientific · 2013 10.1142/s0218202513500504
  5. (제목 없음) Journal of Dynamical and Control Systems · Springer Science+Business Media · 2003 10.1023/a:1023289721398
  6. OPTIMAL PROGRAMMING PROBLEMS WITH INEQUALITY CONSTRAINTS AIAA Journal · American Institute of Aeronautics and Astronautics · 1963 10.2514/3.2107
  7. Differential continuation for regular optimal control problems Optimization methods & software · Taylor & Francis · 2011 10.1080/10556788.2011.593625
  8. Minimum Time Control of the Restricted Three-Body Problem SIAM Journal on Control and Optimization · Society for Industrial and Applied Mathematics · 2012 10.1137/110847299
  9. Examples of Stiff Equations Springer series in computational mathematics · Springer Nature · 1996 10.1007/978-3-642-05221-7_1
  10. A Survey of the Maximum Principles for Optimal Control Problems with State Constraints SIAM Review · Society for Industrial and Applied Mathematics · 1995 10.1137/1037043
  11. New necessary conditions of optimality for control problems with state-variable inequality constraints Journal of Mathematical Analysis and Applications · Elsevier BV · 1971 10.1016/0022-247x(71)90219-8
  12. Optimal Control of Hybrid Vehicles Advances in industrial control · Springer Nature · 2013 10.1007/978-1-4471-5076-3
  13. Mixed-integer NMPC for predictive cruise control of heavy-duty trucks 2022 European Control Conference (ECC) · 2013 10.23919/ecc.2013.6669210
  14. On Optimal Control Problems with Bounded State Variables and Control Appearing Linearly SIAM Journal on Control and Optimization · Society for Industrial and Applied Mathematics · 1977 10.1137/0315023
  15. A Branch and Bound algorithm for minimizing the energy consumption of an electrical vehicle 4OR · Springer Science+Business Media · 2013 10.1007/s10288-013-0247-y
  16. User guide for MINPACK-1. [In FORTRAN] 1980 10.2172/6997568
  17. Efficient upper and lower bounds for global mixed-integer optimal control Journal of Global Optimization · Springer Science+Business Media · 2014 10.1007/s10898-014-0156-4
  18. Geometric Optimal Control Interdisciplinary applied mathematics · Springer Nature · 2012 10.1007/978-1-4614-3834-2
  19. Control of hybrid electric vehicles IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/mcs.2007.338280