d_fconstr

compas_tno.problems.d_fconstr(fconstr, x0, eps, *args)[source]

Jacobian matrix approximated using finite differences.

Parameters
  • fconstr (callable) – Function with the constraints

  • x0 (array) – Point to compute the pertubation

  • eps (float) – Size of the pertubations

Returns

dfdx (array) – Jacobian of the constraints computed using finite diferences