CADETProcess.optimization.OptimizationProblem.objective_jacobian

CADETProcess.optimization.OptimizationProblem.objective_jacobian#

OptimizationProblem.objective_jacobian(x: ArrayLike, ensure_minimization: bool | None = False, dx: float | None = 0.001) ndarray[source]#

Compute jacobian of objective functions using finite differences.

Parameters:
xarray_like

Value of the optimization variables in untransformed space.

ensure_minimizationbool, default=False

Flag that ensures minimization objective.

dxfloat

Increment to x to use for determining the function gradient.

Returns:
jacobian: npt.ArrayLike

Value of the partial derivatives at point x.

See also

objectives
approximate_jac