sensitivities_wrapper

compas_tno.problems.sensitivities_wrapper(variables, M)

Jacobian matrix computed analytically based on the constraints and variables assigned.

Parameters:
variablesnp.ndarray

Variables to pass to the function.

MProblem

The class with necessary matrices, or arguments, to compute the objective function

Returns:
np.ndarray

The Jacobian matrix.

Notes

Observe the order in which variables are added.