Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

OptimResult return type #9

Open
sebasv opened this issue Oct 12, 2018 · 1 comment
Open

OptimResult return type #9

sebasv opened this issue Oct 12, 2018 · 1 comment

Comments

@sebasv
Copy link
Contributor

sebasv commented Oct 12, 2018

How do you feel about a default OptimResult return type for all minimizers? I was thinking about a struct that contains:

  • information about termination reason,
  • runtime,
  • number of function evaluations,
  • the gradient/hessian (if applicable),
  • the minimizing point and
  • the target function value

(this list is heavily inspired by scipy.optimize)
More options can be added as more optimizers are coded.

@to266
Copy link
Owner

to266 commented Oct 13, 2018

I'm definitely not against. Currently it's not done just for simplicity reasons, but if users find that other outputs are also useful, it might be a nice thing.

@to266 to266 mentioned this issue Oct 14, 2018
1 task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants