Closed antonykamp closed 3 years ago
What is ge_constraint
here? I have the feeling it is not so much because it doesn't support a constraint, but constraints of the type CallableNumericalModel since they don't have a Jacobian/hessian and TrustConstr requires this.
ge_constraint
is a method I forgot to mention.
Yeah I think it is most probably because of CallableNumericalModel not having jacobians or hessians, which is actually expected behavior.
An error was pointed out when translating
test_fit_result
in #289 : In the case, that you want to fit a model with constraints and the minimizerTrustConstr
with the objectiveLogLikelihood
, you get an error message regarding a missing Hessian.The corresponding code was approximately the following: