Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diagnostic information to Solution objects #4

Open
gabrielgellner opened this issue Oct 30, 2015 · 1 comment
Open

Add diagnostic information to Solution objects #4

gabrielgellner opened this issue Oct 30, 2015 · 1 comment

Comments

@gabrielgellner
Copy link
Owner

the solvers generate useful information like the number of function evaluations etc. This information needs to be added to the output objects. What needs to be considered is if it is better to have a type field for this kind of information, or should each piece of information be top level?

Look at examples from Optim.jl and NLopt.jl.

@gabrielgellner
Copy link
Owner Author

Looking at how matlab deals with this when the sol = ode45(...) version is used then the returened struct has the field stats which contain the fields nfevals nsteps nfailed currently we collect nsteps (the number of accepted steps) and nfailed (the number of failed steps). We also collect information on dts and errs which I think is related to the tolerances. I need to add the nfevals. As well as checking what common naming conventions for these fields are in Julia.

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

No branches or pull requests

1 participant