Minimization problems for the functional supxF(x, f(x),f′(x))