Skip to content

Conversation

jrmaddison
Copy link
Contributor

@jrmaddison jrmaddison commented Oct 9, 2025

#221 did not in fact fix #153, as ReducedFunctionalNumpy.derivative and ReducedFunctionalNumpy.hessian use a default apply_riesz=True (which differs from the AbstractReducedFunctional base class).

A second attempt.

Comment on lines +158 to +159
dJ = partial(rf_np.derivative, apply_riesz=False)
H = partial(rf_np.hessian, apply_riesz=False)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't fixed this, but I think this is wrong? We want to discard the control value supplied by SciPy here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

derivative_options argument to minimize is likely incorrect

1 participant