[algorithms.greedy] add output
[algorithms.greedy] do not return max_err or max_err_mu