The Jacobi necessary and sufficient conditions for Lipschitz continuous extrema