Source: https://w3.ens-rennes.fr/math/people/gregory.vial/files/Optimisation/enonces_exercices.pdf