Source: https://www.ceremade.dauphine.fr/~bey/enseignement/Enseignement/All_enseignement_dauphine/Module_optimisation_degead1/Base mycourse/2009-Poly-exos.pdf