opt.utils.compute_error

compute_error(x_obj, x_approx)[source]

Relative or absolute error between x_obj and x_approx.