Line Search Based Optimization using Function Approximations with Tunable Accuracy