d_fobj

compas_tno.problems.d_fobj(fobj, x0, eps, *args)

Gradient approximated by hand using finite differences.

Parameters:
fconstrcallable

Function with the constraints

x0array

Point to compute the pertubation

epsfloat

Size of the pertubations

Returns:
df0dxarray

Gradient of the function computed using finite diferences