M. Program-stic-amsud, The first author thanks INRIA for providing him a one year research opportunity at INRA-INRIA project MODEMIC. The last author thanks the CIRIC (Communication and Information Research and Innovation Center) for providing him a research opportunity

E. Duran, A. Isambert, C. Joannis-cassan, and P. Spolaore, Commercial applications of microalgae, J. of bioscience and bioengineering, vol.101, pp.87-96, 2006.
URL : https://hal.archives-ouvertes.fr/hal-00133263

M. Barbosa and R. Wijffels, An outlook on microalgal biofuels, Science, vol.329, pp.796-799, 2010.

O. Bernard, N. Bernet, and B. Sialve, Anaerobic digestion of microalgae as a necessary step to make microalgal biodiesel sustainable, Biotechnology Advances, vol.27, pp.409-416, 2009.
URL : https://hal.archives-ouvertes.fr/hal-00854465

A. Akhmetzhanov, O. Bernard, F. Grognard, and P. Masci, Optimization of a photobioreactor biomass production using natural light, 2010.
URL : https://hal.archives-ouvertes.fr/hal-00516705

H. Smith and P. Waltman, The Theory of the Chemostat, Dynamics of Microbial Competition, Cambridge Studies in Mathematical Biology, vol.13, pp.10-1017, 1995.

H. Budman, E. Jervis, and P. Silveston, Forced modulation of biological processes: A review, Chemical Engineering Science, vol.63, pp.5089-5105, 2008.

B. Bonnard and M. Chyba, Singular Trajectories and their role in Control Theory, 2002.
DOI : 10.1007/978-1-4471-5058-9_49

H. Schattler and U. Ledzewicz, Geometric Optimal Control, 2012.
DOI : 10.1007/978-1-4614-3834-2

E. Trélat, Contrôle optimal, théorie et applications, Vuibert, 2005.

F. Bonnans, V. Grelard, and P. Martinon, Bocop, the optimal control solver, open source toolbox for optimal control problems 2011

P. Martinon, Numerical resolution of optimal control problems by a piecewise linear continuation method, 2005.

A. Kolmogorov, Sulla teoria di volterra della lotta per l'esistenza, Giornale Istituto Ital. Attuari, vol.7, pp.74-80, 1936.

F. Zanolin, Continuation theorems for the periodic problem via the translation operator, Rend. Sem. Mat. Univ. Pol. Torino, vol.54, issue.1, 1996.

G. Bastin and D. Dochain, On-line estimation and adaptive control of bioreactors, Analytica Chimica Acta, vol.243, 1990.
DOI : 10.1016/S0003-2670(00)82585-4

D. Dochain and A. Rapaport, Minimal time control of fed-batch processes with growth functions having several maxima, IEEE Trans. Automat. Control, vol.56, issue.11, pp.2671-2676, 2011.
URL : https://hal.archives-ouvertes.fr/hal-00859560

G. Wolkowicz and X. Zhao, N-species competition in a periodic chemostat, Differential Integral Equations, vol.11, issue.3, pp.465-491, 1998.

X. Zhao, Dynamical systems in population biology, 2003.
DOI : 10.1007/978-0-387-21761-1

T. Bayen, F. Mairet, and M. Sebbah, Optimal control problem connected to a one-dimensional kolmogorov equation, preprint, 2013.

L. Cesari, Optimization?Theory and Applications, Problems with Ordinary Differential Equations, Applications of Mathematics, vol.17, 1983.

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

H. Robbins, A Generalized Legendre-Clebsch Condition for the Singular Cases of Optimal Control, IBM Journal of Research and Development, vol.11, issue.4, pp.361-372, 1967.
DOI : 10.1147/rd.114.0361

J. Betts, Practical Methods for Optimal Control using Nonlinear Programming, SIAM): Philadelphia, 2001.
DOI : 10.1115/1.1483351

J. Nocedal and S. Wright, Numerical optimization, 1999.
DOI : 10.1007/b98874

H. Pesch, A practical guide to the solution of real-life optimal control problems, Control and Cybernetics, vol.23, pp.7-60, 1994.

M. Aronna, F. Bonnans, and P. Martinon, A Shooting Algorithm for Optimal Control Problems with Singular Arcs, Journal of Optimization Theory and Applications, vol.16, issue.4, pp.419-459, 2013.
DOI : 10.1007/s10957-012-0254-8

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