Wrapper_ipopt_autodiff.objective

Wrapper_ipopt_autodiff.objective(x)[source]

The callback for calculating the objective

Parameters

x (array) – The variabless passed to IPOPT

Returns

fopt (float) – The objective function value at x.