An oracle that returns a function value and gradient at a queried point, used to measure algorithm efficiency.