V. Acary, O. Bonnefon, and B. Brogliato, Time-stepping numerical simulation of switched circuits within the nonsmooth dynamical systems approach, IEEE Transactions on ComputerAided Design of Integrated Circuits and Systems, vol.29, issue.7, pp.1042-1055, 2010.

V. Acary, O. Bonnefon, and B. Brogliato, Nonsmooth Modeling and Simulation for Switched Circuits, Lecture Notes in Electrical Engineering, vol.69, 2011.
URL : https://hal.archives-ouvertes.fr/inria-00522358

V. Acary, B. Brogliato, and D. Goeleven, Higher order Moreau's sweeping process: mathematical formulation and numerical simulation, Mathematical Programming, vol.113, issue.1, pp.133-217, 2008.

L. Adam and J. V. Outrata, On optimal control of a sweeping process coupled with an ordinary differential equation, Discrete & Continuous Dynamical Systems-Series B, vol.19, issue.9, 2014.

S. Adly, T. Haddad, and L. Thibault, Convex sweeping process in the framework of measure differential inclusions and evolution variational inequalities, Mathematical Programming, vol.148, issue.1-2, pp.5-47, 2014.
URL : https://hal.archives-ouvertes.fr/hal-01313119

S. Adly, F. Nacry, and L. Thibault, Discontinuous sweeping process with prox-regular sets. ESAIM: Control, Optimisation and Calculus of Variations, vol.23, pp.1293-1329, 2017.
URL : https://hal.archives-ouvertes.fr/hal-01710064

J. Andersson, A General-Purpose Software Framework for Dynamic Optimization, Arenberg Doctoral School, vol.10, p.3001, 2013.

P. Antsaklis and A. Nerode, Hybrid control systems: An introductory discussion to the special issue, IEEE Transactions on Automatic Control, vol.43, issue.4, pp.457-460, 1998.

A. V. Arutyunov, D. Yu-karamzin, and F. L. Pereira, On constrained impulsive control problems, Journal of Mathematical sciences, vol.165, issue.6, pp.654-688, 2010.

M. Bardi and I. Capuzzo-dolcetta, Optimal control and viscosity solutions of HamiltonJacobi-Bellman equations, 2008.

S. C. Bengea and R. A. Decarlo, Optimal control of switching systems, Automatica, vol.41, issue.1, pp.11-27, 2005.

J. Betts, Practical methods for optimal control and estimation using nonlinear programming, vol.19, 2010.

A. Boccia, M. D. De-pinho, and R. Vinter, Optimal control problems with mixed and pure state constraints, SIAM Journal on Control and Optimization, vol.54, issue.6, pp.3061-3083, 2016.

J. F. Bonnans and A. Hermant, Second-order analysis for optimal control problems with pure state constraints and mixed control-state constraints, Annales de l'Institut Henri Poincaré (C) Non Linear Analysis, vol.26, pp.561-598, 2009.
URL : https://hal.archives-ouvertes.fr/hal-00778357

B. Bonnard, L. Faubourg, G. Launay, and E. Trélat, Optimal control with state constraints and the space shuttle re-entry problem, Journal of Dynamical and Control Systems, vol.9, issue.2, pp.155-199, 2003.
URL : https://hal.archives-ouvertes.fr/hal-00086315

B. Bonnard, L. Faubourg, and E. Trélat, Optimal control of the atmospheric arc of a space shuttle and numerical simulations with multiple-shooting method, Mathematical Models and Methods in Applied Sciences, vol.15, issue.01, pp.109-140, 2005.
URL : https://hal.archives-ouvertes.fr/hal-00086338

M. Branicky, V. Borkar, and S. K. Mitter, A unified framework for hybrid control: Model and optimal control theory, IEEE Transactions on Automatic Control, vol.43, issue.1, pp.31-45, 1998.

L. M. Briceno-arias, N. D. Hoang, and J. Peypouquet, Existence, stability and optimality for optimal control problems governed by maximal monotone operators, Journal of Differential Equations, vol.260, issue.1, pp.733-757, 2016.

B. Brogliato, Some perspectives on the analysis and control of complementarity systems, IEEE Transactions on Automatic Control, vol.48, issue.6, pp.918-935, 2003.
URL : https://hal.archives-ouvertes.fr/hal-01660014

B. Brogliato, Absolute stability and the Lagrange-Dirichlet theorem with monotone multivalued mappings, Systems & Control Letters, vol.51, issue.5, pp.343-353, 2004.
URL : https://hal.archives-ouvertes.fr/inria-00071792

B. Brogliato, Nonsmooth Mechanics, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01236953

B. Brogliato and L. Thibault, Existence and uniqueness of solutions for non-autonomous complementarity dynamical systems, Journal of Convex Analysis, vol.17, issue.3, pp.961-990, 2010.
URL : https://hal.archives-ouvertes.fr/hal-00756226

M. Brokate and P. Krej?í, Optimal control of ode systems involving a rate independent variational inequality, Discrete & Continuous Dynamical Systems-Series B, vol.18, issue.2, 2013.

A. E. Bryson, Applied Optimal Control: Optimization, Estimation and Control, 1975.

C. Büskens and H. Maurer, SQP-methods for solving optimal control problems with control and state constraints: adjoint variables, sensitivity analysis and real-time control, Journal of computational and applied mathematics, vol.120, issue.1-2, pp.85-108, 2000.

K. Camlibel, L. Iannelli, A. Tanwani, and S. Trenn, Differential-algebraic inclusions with maximal monotone operators, Decision and Control (CDC), 2016 IEEE 55th Conference on, pp.610-615, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01366071

M. K. Camlibel, W. P. Heemels, and J. M. Schumacher, Consistency of a time-stepping method for a class of piecewise-linear networks, IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, vol.49, issue.3, pp.349-357, 2002.

T. H. Cao and B. S. Mordukhovich, Optimal control of a perturbed sweeping process via discrete approximations, Disc. Cont. Dyn. Syst. Ser. B, vol.21, issue.10, pp.3331-3358, 2015.

C. Cassandras, D. L. Pepyne, and Y. Wardi, Optimal control of a class of hybrid systems. Automatic Control, IEEE Transactions on, vol.46, issue.3, pp.398-415, 2001.

C. Castaing and M. D. Monteiro-marques, Bv periodic solutions of an evolution problem associated with continuous moving convex sets, Set-Valued Analysis, vol.3, issue.4, pp.381-399, 1995.

M. K. Çamlibel, Popov-Belevitch-Hautus type controllability tests for linear complementarity systems, Systems & Control Letters, vol.56, issue.5, pp.381-387, 2007.

M. K. Çamlibel, W. P. Heemels, and J. M. Schumacher, On linear passive complementarity systems, European Journal of Control, vol.8, issue.3, pp.220-237, 2002.

M. K. Çamlibel and J. M. Schumacher, On the Zeno behavior of linear complementarity systems, Proceedings of the 40th IEEE Conference on, vol.1, pp.346-351, 2001.

L. Cesari, Optimization-Theory and Applications: Problems with Ordinary Differential Equations, vol.17, 2012.

M. Chyba, E. Hairer, and G. Vilmart, The role of symplectic integrators in optimal control, Optimal Control Applications and Methods, vol.30, issue.4, pp.367-382, 2009.
URL : https://hal.archives-ouvertes.fr/hal-00772085

F. Clarke, Optimization and Nonsmooth Analysis, vol.5, 1990.

F. Clarke, Necessary Conditions in Dynamic Optimization. Number 816, 2005.

F. Clarke and M. D. De-pinho, Optimal control problems with mixed constraints, SIAM Journal on Control and Optimization, vol.48, issue.7, pp.4500-4524, 2010.
URL : https://hal.archives-ouvertes.fr/hal-00863285

F. H. Clarke, A variational proof of Aumann's theorem, Applied Mathematics and Optimization, vol.7, issue.1, pp.373-378, 1981.

F. H. Clarke, The maximum principle under minimal hypotheses, SIAM Journal on Control and Optimization, vol.14, issue.6, pp.1078-1091, 1976.

G. Colombo and V. V. Goncharov, The sweeping processes without convexity. Set-Valued Analysis, vol.7, pp.357-374, 1999.

G. Colombo, R. Henrion, N. D. Hoang, and B. S. Mordukhovich, Discrete approximations of a controlled sweeping process. Set-Valued and Variational Analysis, vol.23, pp.69-86, 2014.
DOI : 10.1007/s11228-014-0299-y

G. Colombo, R. Henrion, D. H. Nguyen, and B. S. Mordukhovich, Optimal control of the sweeping process over polyhedral controlled sets, Journal of Differential Equations, vol.260, issue.4, pp.3397-3447, 2016.
DOI : 10.1016/j.jde.2015.10.039

URL : https://manuscript.elsevier.com/S0022039615005823/pdf/S0022039615005823.pdf

G. Colombo and M. Palladino, The minimum time function for the controlled Moreau's sweeping process, SIAM Journal on Control and Optimization, vol.54, issue.4, pp.2036-2062, 2016.
DOI : 10.1137/15m1043364

R. Cottle, J. Pang, and R. Stone, The Linear Complementarity Problem. SIAM, 2009.

M. D. De-pinho, Mixed constrained control problems, Journal of Mathematical Analysis and Applications, vol.278, issue.2, pp.293-307, 2003.

M. D. De-pinho and J. Rosenblueth, Necessary conditions for constrained problems under Mangasarian-Fromowitz conditions, SIAM Journal on Control and Optimization, vol.47, issue.1, pp.535-552, 2008.

M. Diehl, H. G. Bock, H. Diedam, and P. Wieber, Fast direct multiple shooting algorithms for optimal robot control, Fast motions in Biomechanics and Robotics, pp.65-93, 2006.
DOI : 10.1007/978-3-540-36119-0_4

URL : https://hal.archives-ouvertes.fr/inria-00390435

A. V. Dmitruk and A. M. Kaganovich, The hybrid maximum principle is a consequence of Pontryagin maximum principle, Systems & Control Letters, vol.57, issue.11, pp.964-970, 2008.

A. V. Dmitruk, Maximum principle for the general optimal control problem with phase and regular mixed constraints, Computational Mathematics and Modeling, vol.4, issue.4, pp.364-377, 1993.
DOI : 10.1007/bf01128760

A. Dontchev and W. Hager, The Euler approximation in state constrained optimal control, Mathematics of Computation, vol.70, issue.233, pp.173-203, 2001.
DOI : 10.1090/s0025-5718-00-01184-4

URL : https://www.ams.org/mcom/2001-70-233/S0025-5718-00-01184-4/S0025-5718-00-01184-4.pdf

A. Dontchev, W. Hager, and V. Veliov, Second-order Runge-Kutta approximations in control constrained optimal control, SIAM Journal on Numerical Analysis, vol.38, issue.1, pp.202-226, 2000.
DOI : 10.1137/s0036142999351765

G. Elnagar and M. Kazemi, Pseudospectral Chebyshev optimal control of constrained nonlinear dynamical systems, Computational Optimization and Applications, vol.11, issue.2, pp.195-217, 1998.

F. Facchinei and J. Pang, Finite-Dimensional Variational Inequalities and Complementarity Problems, 2007.

A. Giua, C. Seatzu, and C. Van-der-mee, Optimal control of switched autonomous linear systems, Proceedings of the 40th IEEE Conference on, vol.3, pp.2472-2477, 2001.

D. Goeleven and B. Brogliato, Stability and instability matrices for linear evolution variational inequalities, IEEE Transactions on Automatic Control, vol.49, issue.4, pp.521-534, 2004.
DOI : 10.1109/tac.2004.825654

URL : http://www.inrialpes.fr/bipop/people/brogliato/IEEE-TAC.2004.pdf

Q. Gong, M. Ross, W. Kang, and F. Fahroo, Connections between the covector mapping theorem and convergence of pseudospectral methods for optimal control, Computational Optimization and Applications, vol.41, issue.3, pp.307-335, 2008.

L. Guo, G. Lin, and J. J. Ye, Solving mathematical programs with equilibrium constraints, Journal of Optimization Theory and Applications, vol.166, issue.1, pp.234-256, 2015.
DOI : 10.1007/s10957-014-0699-z

L. Guo and J. J. Ye, Necessary optimality conditions for optimal control problems with equilibrium constraints, SIAM Journal on Control and Optimization, vol.54, issue.5, pp.2710-2733, 2016.
DOI : 10.1137/15m1013493

URL : http://arxiv.org/pdf/1605.00158

W. Hager, Runge-Kutta methods in optimal control and the transformed adjoint system, Numerische Mathematik, vol.87, issue.2, pp.247-282, 2000.
DOI : 10.1007/s002110000178

L. Han, A. Tiwari, M. K. Çamlibel, and J. Pang, Convergence of time-stepping schemes for passive and extended linear complementarity systems, SIAM Journal on Numerical Analysis, vol.47, issue.5, pp.3768-3796, 2009.

M. Hautus and L. Silverman, System structure and singular control, Linear Algebra and its Applications, vol.50, pp.369-402, 1983.

W. P. Heemels, J. M. Schumacher, and S. Weiland, Linear Complementarity Systems, SIAM Journal on Applied Mathematics, vol.60, issue.4, pp.1234-1269, 2000.
URL : https://hal.archives-ouvertes.fr/hal-00756195

W. P. Heemels, J. M. Schumacher, and S. Weiland, Well-posedness of linear complementarity systems, Proceedings of the 38th IEEE Conference on, vol.3, pp.3037-3042, 1999.

O. Janin and C. Lamarque, Comparison of several numerical methods for mechanical systems with impacts, International Journal for Numerical Methods in Engineering, vol.51, issue.9, pp.1101-1132, 2001.
URL : https://hal.archives-ouvertes.fr/hal-00814950

C. Kanzow and A. Schwartz, Mathematical programs with equilibrium constraints: enhanced Fritz John-conditions, new constraint qualifications, and improved exact penalty results, SIAM Journal on Optimization, vol.20, issue.5, pp.2730-2753, 2010.

C. Kanzow and A. Schwartz, A new regularization method for mathematical programs with complementarity constraints with strong convergence properties, SIAM Journal on Optimization, vol.23, issue.2, pp.770-798, 2013.

M. Kunze and M. D. Monteiro-marques, Yosida-Moreau regularization of sweeping processes with unbounded variation, Journal of Differential Equations, vol.130, issue.2, pp.292-306, 1996.

L. Han, M. K. Camlibel, J. Pang, and W. P. Heemels, A unified numerical scheme for linear-quadratic optimal control problems with joint control and state constraints, Optimization Methods and Software, vol.27, issue.4-5, pp.761-799, 2012.

J. Lasserre, D. Henrion, C. Prieur, and E. Trélat, Nonlinear optimal control via occupation measures and lmi-relaxations, SIAM Journal on Control and Optimization, vol.47, issue.4, pp.1643-1666, 2008.
URL : https://hal.archives-ouvertes.fr/hal-00136032

D. Leenaerts, On linear dynamic complementarity systems, IEEE Transactions on Circuits and Systems I, vol.46, issue.8, pp.1022-1026, 1999.

S. Leyffer, MacMPEC: AMPL collection of MPECs, 2015.

S. Leyffer, G. López-calva, and J. Nocedal, Interior methods for mathematical programs with complementarity constraints, SIAM Journal on Optimization, vol.17, issue.1, pp.52-77, 2006.

J. Lohéac, E. Trélat, and E. Zuazua, Minimal controllability time for finite-dimensional control systems under state constraints, 2018.

Z. Luo, J. Pang, and D. Ralph, Mathematical Programs with Equilibrium Constraints, 1996.

K. Makowski and L. Neustadt, Optimal control problems with mixed control-phase variable equality and inequality constraints, SIAM Journal on Control, vol.12, issue.2, pp.184-228, 1974.

B. Maury and J. Venel, A mathematical framework for a crowd motion model, Comptes Rendus Mathématique, vol.346, pp.1245-1250, 2008.

M. Mcasey, L. Mou, and W. Han, Convergence of the forward-backward sweep method in optimal control, Computational Optimization and Applications, vol.53, issue.1, pp.207-226, 2012.

B. Mordukhovich, Variational Analysis and Generalized Differentiation II: Applications, vol.330, 2006.

B. Mordukhovich and L. Wang, Optimal control of differential-algebraic inclusions, Optimal Control, Stabilization and Nonsmooth Analysis, pp.73-83, 2004.

J. J. Moreau, Evolution problem associated with a moving convex set in a Hilbert space, Journal of Differential Equations, vol.26, issue.3, pp.347-374, 1977.
URL : https://hal.archives-ouvertes.fr/hal-01660021

J. Outrata, Optimality conditions for a class of mathematical programs with equilibrium constraints, Mathematics of Operations Research, vol.24, issue.3, pp.627-644, 1999.

J. Pang and M. Fukushima, Complementarity constraint qualifications and simplified b-stationarity conditions for mathematical programs with equilibrium constraints, Computational Optimization and Applications, vol.13, issue.1-3, pp.111-136, 1999.

J. Pang and D. E. Stewart, Differential variational inequalities. Mathematical Programming, vol.113, pp.345-424, 2008.
URL : https://hal.archives-ouvertes.fr/hal-01366027

J. Pang and D. E. Stewart, Solution dependence on initial conditions in differential variational inequalities, Mathematical Programming, vol.116, issue.1, pp.429-460, 2009.

B. Passenberg, P. E. Caines, M. Leibold, O. Stursberg, and M. Buss, Optimal control for hybrid systems with partitioned state space, IEEE Transactions on Automatic Control, vol.58, issue.8, pp.2131-2136, 2013.

B. Piccoli, Hybrid systems and optimal control, vol.1, pp.13-18, 1998.

L. Pontryagin, V. G. Boltyanskii, R. V. Gamkrelidze, and E. F. Mishchenko, The Mathematical Theory of Optimal Processes, 1962.

R. Pytlak, Numerical Methods for Optimal Control Problems with State Constraints, 2006.

R. Rockafellar, R. , and J. Wets, Variational Analysis, vol.317, 2009.

R. T. Rockafellar, Convex Analysis, 2015.

M. Ross, A roadmap for optimal control: the right way to commute, Annals of the New York Academy of Sciences, vol.1065, issue.1, pp.210-231, 2005.

M. Ross and F. Fahroo, Legendre pseudospectral approximations of optimal control problems, New Trends in Nonlinear Dynamics and Control and their Applications, pp.327-342, 2003.

J. M. Sanz-serna, Symplectic Runge-Kutta schemes for adjoint equations, automatic differentiation, optimal control, and more, SIAM Review, vol.58, issue.1, pp.3-33, 2016.

H. Scheel and S. Scholtes, Mathematical programs with complementarity constraints: Stationarity, optimality, and sensitivity. Mathematics of Operations Research, vol.25, pp.1-22, 2000.

M. S. Shaikh and P. E. Caines, On the hybrid optimal control problem: theory and algorithms, IEEE Transactions on Automatic Control, vol.52, issue.9, pp.1587-1603, 2007.

J. Shen and J. Pang, Linear complementarity systems: Zeno states, SIAM Journal on Control and Optimization, vol.44, issue.3, pp.1040-1066, 2005.

G. Smirnov, Introduction to the Theory of Differential Inclusions, vol.41, 2002.

D. Stewart, A high accuracy method for solving odes with discontinuous right-hand side, Numerische Mathematik, vol.58, issue.1, pp.299-328, 1990.

J. Stoer and R. Bulirsch, Introduction to Numerical Analysis, vol.12, 2013.

H. J. Sussmann, A maximum principle for hybrid optimal control problems, Proceedings of the 38th IEEE Conference on Decision and Control (Cat. No.99CH36304), vol.1, pp.425-430, 1999.

H. J. Sussmann, A nonsmooth hybrid maximum principle, Stability and Stabilization of Nonlinear Systems, pp.325-354, 1999.

E. Trélat, Contrôle optimal : Théorie & Applications. Vuibert, vol.2, pp.7117-7175, 2005.

E. Trélat, Optimal control and applications to aerospace: some results and challenges, Journal of Optimization Theory and Applications, vol.154, issue.3, pp.713-758, 2012.

R. Vasudevan, H. Gonzalez, R. Bajcsy, S. Shankar, and . Sastry, Consistent approximations for the optimal control of constrained switched systems-part 1: A conceptual algorithm, SIAM Journal on Control and Optimization, vol.51, issue.6, pp.4463-4483, 2013.

R. Vasudevan, H. Gonzalez, R. Bajcsy, S. Shankar, and . Sastry, Consistent approximations for the optimal control of constrained switched systems-part 2: An implementable algorithm, SIAM Journal on Control and Optimization, vol.51, issue.6, pp.4484-4503, 2013.

A. Vieira, B. Brogliato, and C. Prieur, Preliminary results on the optimal control of linear complementarity systems, IFAC-PapersOnLine, vol.50, issue.1, pp.2977-2982, 2017.

A. Vieira, B. Brogliato, and C. Prieur, Quadratic Optimal Control of Linear Complementarity Systems: First order necessary conditions and numerical analysis, 2018.
URL : https://hal.archives-ouvertes.fr/hal-01690400

R. Vinter, Optimal Control, 2010.
URL : https://hal.archives-ouvertes.fr/inria-00629428

G. Wachsmuth, On LICQ and the uniqueness of Lagrange multipliers, Operations Research Letters, vol.41, issue.1, pp.78-80, 2013.

A. Wächter and L. Biegler, On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical programming, vol.106, pp.25-57, 2006.

P. R. Wolenski and Y. Zhuang, Proximal analysis and the minimal time function, SIAM Journal on Control and Optimization, vol.36, issue.3, pp.1048-1072, 1998.

J. J. Ye, Optimality conditions for optimization problems with complementarity constraints, SIAM Journal on Optimization, vol.9, issue.2, pp.374-387, 1999.

J. J. Ye, Necessary and sufficient optimality conditions for mathematical programs with equilibrium constraints, Journal of Mathematical Analysis and Applications, vol.307, issue.1, pp.350-369, 2005.

J. J. Ye, D. L. Zhu, and Q. J. Zhu, Exact penalization and necessary optimality conditions for generalized bilevel programming problems, SIAM Journal on Optimization, vol.7, issue.2, pp.481-507, 1997.