Approximate and Stochastic Greedy Optimization