Resumen:
We prove that a Banach space X has the Radon-Nikodym property if and only if a certain perturbed minimization principle holds.
We apply this result to the construction of everywhere differentiable functions which are solution almost everywhere of some
Hamilton-Jacobi equation.