gradient_complementary_energy_nonlinear

compas_tno.problems.gradient_complementary_energy_nonlinear(variables, M)[source]

Sensitivity of the objective function to minimise nonlinear complementary energy.

Parameters
  • variables (array (k x 1)) – Variables to pass to the function.

  • M (Problem) – The class with necessary matrices, or arguments, to compute the objective function

Returns

grad (array (k x 1)) – The gradient of the objective function in the point. Represents the sensitivity of each variable in the objective function value.