Get the current iterate, objective value, residual, infeasibility, and termination from a
tao - the
its - the current iterate number (>=0)
f - the current function value
gnorm - the square of the gradient norm, duality gap, or other measure indicating distance from optimality.
cnorm - the infeasibility of the current solution with regard to the constraints.
xdiff - the step length or trust region radius of the most recent iterate.
reason - The termination reason, which can equal
Tao returns the values set by the solvers in the routine
If any of the output arguments are set to
NULL, no corresponding value will be returned.